This commit is contained in:
Renan LE CARO 2025-04-11 09:36:31 +02:00
parent bf687c48ee
commit 8099ced71b
16 changed files with 2031 additions and 1937 deletions

View file

@ -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"),