Log inGet started
World

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: give amount XP.
  • kill: count kills (amount / 25 rounded, at least one), each giving kill XP.
  • coin: give amount coins, with their XP.
  • currency: give amount meta currency.
  • finishLevel: finish level id.
  • checkpoint: reach checkpoint id (the pad's entity id when empty), named by label.
  • 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: unlock id.
  • buy: buy unlock id with meta currency (a toast says why it failed).
  • event: report game event id, 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 to id (e.g. slots).
  • curve: switch curve to id (e.g. steep).
  • theme: switch the look to id (e.g. pixel).
  • screen: change one presentation, id = kind:presentation (e.g. bar:ring, or bar:off).