mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
Build 29095000
This commit is contained in:
parent
096f7d4abd
commit
4c324d211c
27 changed files with 500 additions and 1350 deletions
|
@ -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[],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue