feat: add prestige dual-path system (P1 #22)
Some checks failed
Accessibility Checks / a11y-audit (pull_request) Failing after 2s
Smoke Test / smoke (pull_request) Failing after 3s

Two endings after The Beacon Shines:
- ACCEPT: prestigeU++, +10% demand on restart
- REJECT: prestigeS++, +10% creativity + dismantle sequence

Prestige persists in localStorage across playthroughs.
This commit is contained in:
Alexander Whitestone
2026-04-12 12:19:31 -04:00
parent fb5205092b
commit 0ece82b958

View File

@@ -5,6 +5,8 @@
// === GLOBALS (mirroring Paperclips' globals.js pattern) ===
const CONFIG = {
PRESTIGE_DEMAND_MULT: 0.10, // 10% demand boost per prestigeU
PRESTIGE_CREATIVITY_MULT: 0.10, // 10% creativity boost per prestigeS
HARMONY_DRAIN_PER_WIZARD: 0.05,
PACT_HARMONY_GAIN: 0.2,
WATCH_HARMONY_GAIN: 0.1,
@@ -158,7 +160,9 @@ const G = {
// Time tracking
playTime: 0,
startTime: 0,
flags: {}
flags: {},
prestigeU: 0, // Accept path: cycle prestige (demand boost)
prestigeS: 0, // Reject path: sovereignty prestige (creativity boost)
};
// === PHASE DEFINITIONS ===