Save Point: Profiles, Levels and Unlocks Kit
README.md
SavePad
A floor pad that does one thing to the save of whoever steps on it. Put it on any entity; it needs no sibling components and draws its own glowing disc and floating label. Every machine checks only its own player against the pad, so stepping on it changes your profile and nobody else's.
Fields: action (below), amount, id, label (empty writes one from the action), radius (metres), cooldown (seconds after stepping off), color, showLabel.
action values:
xp: giveamountXP.kill: count kills (amount/ 25 rounded, at least one), each giving kill XP.coin: giveamountcoins, with their XP.currency: giveamountmeta currency.finishLevel: finish levelid.checkpoint: reach checkpointid(the pad's entity id when empty), named bylabel.died: the player dies, with the current style's consequences.newRun: start a new roguelite run (shows a toast in other styles).save: save now.reset: wipe the current save back to a new profile.unlock: unlockid.buy: buy unlockidwith meta currency (a toast says why it failed).event: report game eventid, granting unlocks tied to it.unlocks: open the unlock panel.profile: open your own profile card.playerCard: open the nearest other player's card (yours when nobody is near).slots: switch to the slots style if needed and open the slot picker.mode: switch saving style toid(e.g.slots).curve: switch curve toid(e.g.steep).theme: switch the look toid(e.g.pixel).screen: change one presentation,id=kind:presentation(e.g.bar:ring, orbar:off).