Build 29095000

This commit is contained in:
Renan LE CARO 2025-04-26 22:40:32 +02:00
parent 096f7d4abd
commit 4c324d211c
27 changed files with 500 additions and 1350 deletions

View file

@ -1,22 +1,22 @@
import {GameState, PerkId} from "./types";
import { GameState, PerkId } from "./types";
import { getSettingValue, setSettingValue } from "./settings";
import { allLevels, icons } from "./loadGameData";
import { t } from "./i18n/i18n";
import { toast } from "./toast";
import { schedulGameSound } from "./gameStateMutators";
import {getLevelUnlockCondition} from "./get_level_unlock_condition";
import { getLevelUnlockCondition } from "./get_level_unlock_condition";
let list: {
minScore: number;
forbidden: PerkId[];
required: PerkId[];
}[];
let unlocked : Set<string> |null = null
let unlocked: Set<string> | null = null;
export function monitorLevelsUnlocks(gameState: GameState) {
if(!unlocked){
unlocked = new Set(
if (!unlocked) {
unlocked = new Set(
getSettingValue("breakout_71_unlocked_levels", []) as string[],
);
}