feat: major endgame content expansion

- Add 6 new zones (Celestial Reaches through Eternal Throne) with sequential unlock chain
- Add 30 new bosses (5 per zone) scaling to 3e24 HP for true endgame challenge
- Add 36 new quests (6 per zone) with timers up to 96h for long-term progression
- Add 6 new adventurer tiers (seraph_knight through eternal_champion) requiring prestige 6-25
- Add ~36 new equipment pieces with boss drops and purchasable essence/crystal sinks
- Add new upgrades including endgame click/global multipliers and adventurer-specific unlocks
- Add 17 new achievements covering clicks (100K/1M), gold (quadrillion/quintillion), bosses (20/30/60), quests (30/50/72), adventurers (50K), prestige (5/10/25), and equipment (25/40)
- Extend formatNumber to support Q/Qt/S/Sp suffixes for numbers up to 1e24
This commit is contained in:
2026-03-06 16:34:35 -08:00
committed by Naomi Carrigan
parent e780dc5f6c
commit fa1c46f17f
8 changed files with 1992 additions and 2 deletions
+13 -1
View File
@@ -1,9 +1,21 @@
/**
* Formats a number with K/M/B/T suffixes for display.
* Formats a number with K/M/B/T/Q/Qt/S/Sp suffixes for display.
* Numbers below 1000 show one decimal place.
*/
export const formatNumber = (value: number): string => {
if (!isFinite(value) || isNaN(value)) return "0";
if (value >= 1e24) {
return `${(value / 1e24).toFixed(2)}Sp`;
}
if (value >= 1e21) {
return `${(value / 1e21).toFixed(2)}S`;
}
if (value >= 1e18) {
return `${(value / 1e18).toFixed(2)}Qt`;
}
if (value >= 1e15) {
return `${(value / 1e15).toFixed(2)}Q`;
}
if (value >= 1_000_000_000_000) {
return `${(value / 1_000_000_000_000).toFixed(2)}T`;
}