mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-27 23:46:14 -04:00
wip
This commit is contained in:
parent
62a1feb015
commit
02c0634ad7
15 changed files with 84 additions and 358 deletions
|
@ -913,7 +913,6 @@ async function applyFullScreenChoice() {
|
|||
async function openUnlockedUpgradesList() {
|
||||
const ts = getTotalScore();
|
||||
const upgradeActions = upgrades
|
||||
.sort((a, b) => a.threshold - b.threshold)
|
||||
.map(({ name, id, threshold, help, category, fullHelp }) => ({
|
||||
text: name,
|
||||
disabled: ts < threshold,
|
||||
|
@ -928,7 +927,9 @@ async function openUnlockedUpgradesList() {
|
|||
? t("unlocks.minTotalScore", { score: threshold })
|
||||
: help(1),
|
||||
tooltip: ts < threshold ? "" : fullHelp(1)+ ' [id:'+id+ ']',
|
||||
}));
|
||||
threshold
|
||||
}))
|
||||
.sort((a, b) => a.threshold - b.threshold);
|
||||
|
||||
const tryOn = await asyncAlert<RunParams>({
|
||||
title: t("unlocks.title_upgrades", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue