This commit is contained in:
azykov@mail.ru
2026-09-09 11:49:24 +03:00
parent bd9b5d9aec
commit a3f2f4eeef
20 changed files with 490 additions and 70 deletions
+3
View File
@@ -29,6 +29,9 @@ export interface SaveData {
/** Cumulative coins earned from converting resources — unlike inventory.coins, this never goes
* down when coins are spent on upgrades. */
totalCoinsEarned?: number;
/** Real seconds elapsed this life (ticked deltaTime, not in-game clock time) — stops
* accumulating once dead, same as the other life stats above. */
playTimeSeconds?: number;
}
function isValidSave(value: unknown): value is SaveData {