generated from nhcarrigan/template
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user