feat(saves): edit account levels and avatars

Read rank thresholds and available avatar artwork from the selected copy. Persist avatar selections in the player profile and preserve free research points when a level changes.
This commit is contained in:
N0VAN0M4LY committed 2026-11-29 18:19:05 +08:00
1 parent d043a8f0f8
commit 5d1d7001b8
22 files changed
+337 -63

No files matched your search

@@ -11,6 +11,7 @@ import type { GamePackName } from '../game-files.ts';
export interface DatasetSource {
readBlk(pack: GamePackName, path: string): BlkBlock;
readText(pack: GamePackName, path: string): string;
readBytes(pack: GamePackName, path: string): Uint8Array;
/** Every file path in a pack, sorted. */
listFiles(pack: GamePackName): readonly string[];
}