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

19
src/types.d.ts vendored
View file

@ -1,5 +1,5 @@
import {rawUpgrades} from "./upgrades";
import {options} from "./options";
import { rawUpgrades } from "./upgrades";
import { options } from "./options";
export type colorString = string;
@ -301,14 +301,9 @@ export type OptionDef = {
help: string;
};
export type OptionId = keyof typeof options;
export type UpgradeLike = {
id: PerkId;
name: string;
requires: string;
threshold: number;
};
export type UnlockCondition = {
required: PerkId[];
forbidden: PerkId[];
minScore: number;
}
required: PerkId[];
forbidden: PerkId[];
minScore: number;
};