mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
## About The Pull Request `/datum/modular_persistence` wasn't keeping things tidy ## Why It's Good For The Game Hard del bad ## Proof Of Testing Yes ## Changelog N/A
Modular Persistence
Module ID: MODULAR_PERSISTENCE
Description:
An extremely easy to extend per-character persistence file. Supports all the basic types, plus lists.
Simply add the vars you want to have saved to /datum/modular_persistence, and make sure those var values are updated before round end so that they're saved.
Loaded and saved on only station-side players for now. Will be expanded to support more in the future.
TG Proc/File Changes:
code\modules\mob\dead\new_player\new_player.dm:/mob/dead/new_player/proc/AttemptLateSpawncode\controllers\subsystem\persistence.dm:/datum/controller/subsystem/persistence/proc/collect_data
Defines:
modular_skyrat\modules\modular_persistence\code\modular_persistence.dm:GLOB.modular_persistence_ignored_vars
Credits:
- RimiNosha - Code