mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-25 06:26:16 -04:00
wip
This commit is contained in:
parent
bf687c48ee
commit
8099ced71b
16 changed files with 2031 additions and 1937 deletions
|
@ -16,13 +16,13 @@ import {
|
|||
sumOfValues,
|
||||
} from "./game_utils";
|
||||
import { getHistory } from "./gameOver";
|
||||
import {noCreative} from "./upgrades";
|
||||
|
||||
export function creativeMode(gameState: GameState) {
|
||||
return {
|
||||
icon: icons["icon:creative"],
|
||||
text: t("lab.menu_entry"),
|
||||
help:
|
||||
// highScoreForMode("creative") ||
|
||||
(getTotalScore() < creativeModeThreshold &&
|
||||
t("lab.unlocks_at", { score: creativeModeThreshold })) ||
|
||||
t("lab.help"),
|
||||
|
@ -40,13 +40,6 @@ export async function openCreativeModePerksPicker() {
|
|||
),
|
||||
choice: Upgrade | Level | "reset" | void;
|
||||
|
||||
let noCreative: PerkId[] = [
|
||||
"extra_levels",
|
||||
"shunt",
|
||||
"one_more_choice",
|
||||
"instant_upgrade",
|
||||
];
|
||||
|
||||
while (
|
||||
(choice = await asyncAlert<Upgrade | Level | "reset">({
|
||||
title: t("lab.menu_entry"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue