Log inGet started
World

Spellbound

Branchmain
Branchesmain
Commit38b165e9ac

README.md

sb_persist

Spellbound's progression + persistence. Owns the player profile — card collection, saved 30-card decks, currency, packs, unlocked classes, win/loss record, and settings — serialised to a JSON file under the world source (save/profile.json), so it ships and syncs with the world. Provides the default starter profile, the auto deck-builder, deck validation (copy + ownership limits), and rarity-weighted pack opening. vfs.write is locked in play mode, so saves land in edit mode and accumulate in-memory during a play session.