* Update preferences_savefile.dm

* Revert "Runtimes go BRRR (#10184)"

This reverts commit a701a112d7.

* Revert "Revert "Runtimes go BRRR (#10184)""

This reverts commit c3bd37b0fa.

* Update preferences_savefile.dm

* Update preferences_savefile.dm

* Update preferences_savefile.dm

* Update preferences_savefile.dm
This commit is contained in:
Jamie D
2020-10-28 17:47:21 +00:00
committed by GitHub
parent 0857f7b35b
commit 2b33c8fa36

View File

@@ -5,7 +5,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 27
#define SAVEFILE_VERSION_MAX 28
/*
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
@@ -117,7 +117,12 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
if(current_version < 26) //The new donator hats system obsolesces the old one entirely, we need to update.
donor_hat = null
donor_item = null
if(current_version < 27)
map = TRUE
flare = TRUE
if(current_version < 28)
if(!job_preferences)
job_preferences = list()
/datum/preferences/proc/load_path(ckey,filename="preferences.sav")
if(!ckey)
@@ -298,6 +303,8 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
WRITE_FILE(S["pda_color"], pda_color)
WRITE_FILE(S["skillcape"], skillcape)
WRITE_FILE(S["show_credits"], show_credits)
WRITE_FILE(S["map"], map)
WRITE_FILE(S["flare"], flare)
// yogs start - Donor features & Yogstoggle
WRITE_FILE(S["yogtoggles"], yogtoggles)
@@ -399,8 +406,12 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
//Jobs
S["joblessrole"] >> joblessrole
//Load prefs
S["job_preferences"] >> job_preferences
if(!job_preferences)
job_preferences = list()
//Quirks
S["all_quirks"] >> all_quirks