feat: add auto-prestige toggle via runestone shop upgrade

Adds a new Utility category to the prestige shop with the "Autonomous Ascension" upgrade (100 runestones). Once purchased, a toggle button appears in the shop that enables automatic prestige — the client RAF loop checks the threshold on each tick and fires the prestige API automatically using the current character name.

 This feature was implemented with help from Hikari~ 🌸
This commit is contained in:
2026-03-07 00:15:10 -08:00
committed by Naomi Carrigan
parent acda4c2fc4
commit b27454669e
10 changed files with 115 additions and 5 deletions
+26
View File
@@ -642,6 +642,32 @@ body {
font-size: 0.8rem;
}
.auto-prestige-toggle {
border-radius: var(--radius-sm);
border: 1px solid var(--colour-border);
cursor: pointer;
font-size: 0.85rem;
font-weight: 600;
padding: 0.4rem 0.8rem;
transition: background 0.2s, border-color 0.2s;
white-space: nowrap;
}
.auto-prestige-toggle.enabled {
background: var(--colour-success);
border-color: var(--colour-success);
color: #fff;
}
.auto-prestige-toggle.disabled {
background: var(--colour-surface);
color: var(--colour-text-muted);
}
.auto-prestige-toggle:hover {
border-color: var(--colour-accent);
}
/* ===================== LOGIN PAGE ===================== */
.login-page {
align-items: center;