Accentuate the positive with **Personality**: A (soft) mood rework (#92941)

Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com>
This commit is contained in:
MrMelbert
2025-10-02 19:00:13 +00:00
committed by GitHub
co-authored by SmArtKar
parent 0124adacc7
commit 3ea7b03369
110 changed files with 2557 additions and 314 deletions
+26 -1
View File
@@ -13,7 +13,7 @@
/// You do not need to raise this if you are adding new values that have sane defaults.
/// Only raise this value when changing the meaning/format/name/layout of an existing value
/// where you would want the updater procs below to run
#define SAVEFILE_VERSION_MAX 49
#define SAVEFILE_VERSION_MAX 50
#define IS_DATA_OBSOLETE(version) (version == SAVE_DATA_OBSOLETE)
#define SHOULD_UPDATE_DATA(version) (version >= SAVE_DATA_NO_ERROR && version < SAVEFILE_VERSION_MAX)
@@ -137,6 +137,31 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
quirk_to_migrate = "Cyborg Pre-screened dogtag",
new_typepath = /obj/item/clothing/accessory/dogtag/borg_ready,
)
if(current_version < 50)
migrate_quirk_to_personality(
quirk_to_migrate = "Extrovert",
new_typepath = /datum/personality/extrovert,
)
migrate_quirk_to_personality(
quirk_to_migrate = "Introvert",
new_typepath = /datum/personality/introvert,
)
migrate_quirk_to_personality(
quirk_to_migrate = "Bad Touch",
new_typepath = /datum/personality/aloof,
)
migrate_quirk_to_personality(
quirk_to_migrate = "Apathetic",
new_typepath = /datum/personality/apathetic,
)
migrate_quirk_to_personality(
quirk_to_migrate = "Snob",
new_typepath = /datum/personality/snob,
)
migrate_quirk_to_personality(
quirk_to_migrate = "Spiritual",
new_typepath = /datum/personality/spiritual,
)
/// checks through keybindings for outdated unbound keys and updates them
/datum/preferences/proc/check_keybindings()