MIGRATIONS DELETIONS AND QUIRKS OH MY
This commit is contained in:
@@ -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 55
|
||||
#define SAVEFILE_VERSION_MAX 56
|
||||
|
||||
/*
|
||||
SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn
|
||||
@@ -358,6 +358,18 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
if(length(old_flavor_text) && !length(features["feature_flavor_text"]))
|
||||
features["feature_flavor_text"] = old_flavor_text
|
||||
|
||||
// hey what happened to 55
|
||||
|
||||
// dullahans as a species cease to exist
|
||||
if(current_version < 56)
|
||||
var/species_id = S["species"]
|
||||
if(species_id = SPECIES_DULLAHAN)
|
||||
S["species"] = SPECIES_HUMAN
|
||||
if(islist(S["all_quirks"])
|
||||
S["all_quirks"] += "Dullahan"
|
||||
else
|
||||
S["all_quirks"] = list("Dullahan")
|
||||
|
||||
/datum/preferences/proc/load_path(ckey,filename="preferences.sav")
|
||||
if(!ckey)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user