Log inGet started
World

Rogue Ice

Branchmain
Branchesmain
Commit9e9ef62cbb

README.md

Meta

ROGUE ICE meta progression, used by game.rules.Engine (behind the game.rules.Director component):

  • Meta.load() / Meta.save(meta) — the persisted meta record { prestige, lifetimePrestige, achievements = {id=true}, unlocked = {cardId=true}, runs, cups, bestAct } plus derived hasSave and bonuses, kept in runtime_data at rogueIce/meta in the local player's own store (the world store for an anonymous session).
  • Meta.saveRun(run) / Meta.loadRun() — the in-progress run at rogueIce/run, so Continue resumes it in a later session; saveRun(nil) clears it.
  • Meta.recompute(meta) — unlocks every card and goalie whose unlock = { prestige = n } is met by lifetime Prestige or { achievement = id } by an earned achievement; returns the newly unlocked ids and refreshes meta.bonuses (start money/hype bought by lifetime Prestige).
  • Meta.cardAvailable, Meta.goalieAvailable, Meta.achievement(id), Meta.conditionMet.