This commit is contained in:
Renan LE CARO 2025-04-23 17:25:37 +02:00
parent 401e9b4548
commit 62a1feb015
32 changed files with 1483 additions and 1435 deletions

View file

@ -8,7 +8,9 @@ import { levelIconHTML } from "./levelIcon";
import { automaticBackgroundColor } from "./pure_functions";
export const upgrades = [...rawUpgrades].sort((a, b) => a.category - b.category || a.threshold - b.threshold) as Upgrade[];
export const upgrades = [...rawUpgrades].sort(
(a, b) => a.category - b.category || a.threshold - b.threshold,
) as Upgrade[];
const palette = _palette as Palette;
const rawLevelsList = _rawLevelsList as RawLevel[];
@ -43,4 +45,3 @@ export const allLevelsAndIcons = rawLevelsList.map(
export const allLevels = allLevelsAndIcons.filter(
(l) => !l.name.startsWith("icon:"),
);