core/prestige_service library

Classes

PrestigeService
The classic idle/incremental-game "prestige"/"ascension" loop (Cookie Clicker, Adventure Capitalist, ...): once primaryCurrency reaches prestigeThreshold, the player can soft-reset softResetCurrencies (wiped back to 0) in exchange for relicsPerPrestige of metaCurrency — a currency that's NEVER soft-reset, and permanently raises currentMultiplier via prestigeMultiplier (economy_math.dart, the pure formula this and tool/economy_sim.dart's balancing simulator both call, so they can't silently drift apart).