feat: Implement Dismantle Sequence - The Unbuilding (endgame) #16
Paperclips-style endgame sequence. When the player reaches maximum (1B total code OR 10+ beacon nodes, Phase 6, Pact sealed), the game offers THE UNBUILDING choice. 8-stage dismantle sequence: 1. Research projects fade 2. Buildings dismantle 3. Strategy engine + combat dissolve 4. Education panel vanishes 5. Resources disappear one by one (quantum chip pattern) 6. Actions fall silent 7. Phase bar dissolves 8. System log goes dark Final moment: single golden beacon dot remains. "That is enough." Features: - Timed intervals between stages (Paperclips pacing) - Resource disappearances at specific tick marks (quantum chip effect) - Warm golden particles around final dot - Sound effects per stage - Full save/load persistence of dismantle state - "NOT YET" deferral option — player controls when it starts - Stats summary + Play Again on final screen - Events suppressed during dismantle - Restore visuals on reload (instant-hide for already-dismantled panels)
This commit is contained in:
@@ -158,7 +158,13 @@ const G = {
|
||||
// Time tracking
|
||||
playTime: 0,
|
||||
startTime: 0,
|
||||
flags: {}
|
||||
flags: {},
|
||||
|
||||
// Dismantle / Unbuilding endgame
|
||||
dismantleTriggered: false,
|
||||
dismantleActive: false,
|
||||
dismantleStage: 0,
|
||||
dismantleComplete: false
|
||||
};
|
||||
|
||||
// === PHASE DEFINITIONS ===
|
||||
|
||||
Reference in New Issue
Block a user