beacon: implement the Unbuilding endgame

This commit is contained in:
Timmy
2026-04-13 21:44:02 -04:00
committed by Alexander Whitestone
parent 1081b9e6c4
commit aa88937509
8 changed files with 877 additions and 6 deletions

View File

@@ -215,6 +215,10 @@ function saveGame() {
swarmRate: G.swarmRate || 0,
strategicFlag: G.strategicFlag || 0,
projectsCollapsed: G.projectsCollapsed !== false,
dismantleTriggered: G.dismantleTriggered || false,
dismantleActive: G.dismantleActive || false,
dismantleStage: G.dismantleStage || 0,
dismantleComplete: G.dismantleComplete || false,
savedAt: Date.now()
};
@@ -246,7 +250,8 @@ function loadGame() {
'drift', 'driftEnding', 'beaconEnding', 'pendingAlignment',
'lastEventAt', 'totalEventsResolved', 'buyAmount',
'sprintActive', 'sprintTimer', 'sprintCooldown',
'swarmFlag', 'swarmRate', 'strategicFlag', 'projectsCollapsed'
'swarmFlag', 'swarmRate', 'strategicFlag', 'projectsCollapsed',
'dismantleTriggered', 'dismantleActive', 'dismantleStage', 'dismantleComplete'
];
G.isLoading = true;