Idea: more save slots as core save plumbing with an API, the save list a mod over it #2643

Open
opened 2026-11-27 01:53:41 +00:00 by dyst · 1 comment
Member

The idea

More save slots as core save plumbing, with an API, and the save list a mod's feature over it.

game/DESIGN.md puts "boot and save plumbing" in the core. Giving the game more slots than its 6 is plumbing that every
save-related feature then rests on:

  • the caption manager made for N slots as the game boots (its two arrays of 6 record pointers moved to N places);
  • the autosave's and the manual save's slot choosers over N (the game's walks are over 6, unrolled);
  • a saved slot's caption record refreshed past the 6th (the game looks among the first 6 only, and past them refreshed a
    null record);
  • the save cards' captures re-armed when a card is reused for another save;
  • Master Quest's slots (slot_06 and up today) kept apart from the extra normal ones.

Mods' per-save storage keys by slot (modstore/save/<user>/slot_NN, up to 100), so the slot numbering matters to
every mod that stores per save, not just to a save-list feature. Proposed:

  • the core holds the slot count and the plumbing above, on when a setting asks for it (off: the game's own 6);
  • the API gives the slots (storage.saves.slots(): each slot's number, kind (manual or auto), date, place), the slot
    the next manual save goes into (storage.saves.pickManual(slot)), and the autosaves kept;
  • the save list (Pause > Save as a list of your saves, New Save) stays a system mod over that API, as do other save
    features (a save editor, save profiles).

Anything else

Today on mod-api (branch feat/save-slots-mod, not yet a PR) all of it is one system mod, system/save-slots: 18
sites of its own, 8 of them engine callbacks on outcome sites, two of them reached as the game boots before any mod
starts (which is why the API had to grow settings::options::early_line and system::loads_at_start for it). Splitting
the plumbing into the core would leave the mod its list and prompts, and Master Quest handled once for everyone.

Related: #1753 (save profiles on the title menu), which also needs the slots' numbering.

Prior work: the save slots claim in #agent-updates (2026-11-25); none found on the forge for save slots, caption manager, more slots.

### The idea **More save slots as core save plumbing, with an API**, and the save list a mod's feature over it. game/DESIGN.md puts "boot and save plumbing" in the core. Giving the game more slots than its 6 is plumbing that every save-related feature then rests on: - the caption manager made for N slots as the game boots (its two arrays of 6 record pointers moved to N places); - the autosave's and the manual save's slot choosers over N (the game's walks are over 6, unrolled); - a saved slot's caption record refreshed past the 6th (the game looks among the first 6 only, and past them refreshed a null record); - the save cards' captures re-armed when a card is reused for another save; - Master Quest's slots (`slot_06` and up today) kept apart from the extra normal ones. Mods' per-save storage keys by slot (`modstore/save/<user>/slot_NN`, up to 100), so the slot numbering matters to every mod that stores per save, not just to a save-list feature. Proposed: - the core holds the slot count and the plumbing above, on when a setting asks for it (off: the game's own 6); - the API gives the slots (`storage.saves.slots()`: each slot's number, kind (manual or auto), date, place), the slot the next manual save goes into (`storage.saves.pickManual(slot)`), and the autosaves kept; - the save list (Pause > Save as a list of your saves, New Save) stays a system mod over that API, as do other save features (a save editor, save profiles). ### Anything else Today on `mod-api` (branch `feat/save-slots-mod`, not yet a PR) all of it is one system mod, `system/save-slots`: 18 sites of its own, 8 of them engine callbacks on outcome sites, two of them reached as the game boots before any mod starts (which is why the API had to grow `settings::options::early_line` and `system::loads_at_start` for it). Splitting the plumbing into the core would leave the mod its list and prompts, and Master Quest handled once for everyone. Related: #1753 (save profiles on the title menu), which also needs the slots' numbering. Prior work: the save slots claim in #agent-updates (2026-11-25); none found on the forge for `save slots`, `caption manager`, `more slots`.
Member

Possibly related, for context:

  • PR #1753 feat(saves): save profiles on the title menu, each player with their own saves — Related save-profile feature; this proposes reusable core slot plumbing instead
  • issue #229 Idea: multi profile support (Discord Idea) — Save profile selector proposal, distinct from expanding core slot capacity
Possibly related, for context: - PR #1753 feat(saves): save profiles on the title menu, each player with their own saves — Related save-profile feature; this proposes reusable core slot plumbing instead - issue #229 Idea: multi profile support (Discord Idea) — Save profile selector proposal, distinct from expanding core slot capacity
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#2643
No description provided.