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:
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[];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user