This commit is contained in:
Renan LE CARO 2025-04-23 10:56:50 +02:00
parent 181e156f60
commit 0ec9cdf798
17 changed files with 2089 additions and 2227 deletions

View file

@ -18,10 +18,7 @@ export function startingPerkMenuButton() {
}
export function isBlackListedForStart(u: Upgrade) {
return !!(
u.requires ||
u.threshold > getTotalScore()
);
return !!(u.requires || u.threshold > getTotalScore());
}
export function isStartingPerk(u: Upgrade): boolean {
return (
@ -38,7 +35,7 @@ export async function openStartingPerksEditor() {
text: u.name,
tooltip: u.help(1),
value: [u],
checked
checked,
};
});
const checkedList = buttons.filter((b) => b.checked);