This commit is contained in:
Pin-alternative
2022-06-27 10:56:30 +10:00
parent dd4a03878e
commit d58455d082
13 changed files with 94 additions and 31 deletions
-6
View File
@@ -366,8 +366,6 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/oviposition = FALSE
/// Does john spaceman look like a gluttonous slob if he pregent?
var/pregnancy_inflation = FALSE
/// Does john spaceman like being stuffed
var/egg_stuffing = FALSE
//SPLURT END
/datum/preferences/New(client/C)
@@ -849,7 +847,6 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "<h3>Pregnancy preferences</h3>"
dat += "<b>Can impregnate:</b><a style='display:block;width:100px' href ='?_src_=prefs;preference=virility;task=input'>[virility ? "Enabled" : "Disabled"]</a>"
dat += "<b>Can get pregnant:</b><a style='display:block;width:100px' href ='?_src_=prefs;preference=fertility;task=input'>[fertility ? "Enabled" : "Disabled"]</a>"
dat += "<b>Can be stuffed with eggs:</b><a style='display:block;width:100px' href ='?_src_=prefs;preference=egg_stuffing;task=input'>[egg_stuffing ? "Enabled" : "Disabled"]</a>"
if(fertility)
dat += "<b>Pregnancy type:</b><a style='display:block;width:100px' href ='?_src_=prefs;preference=oviposition;task=input'>[oviposition ? "Oviposition" : "Live Birth"]</a>"
dat += "<b>Pregnancy inflation:</b><a style='display:block;width:100px' href ='?_src_=prefs;preference=pregnancy_inflation;task=input'>[pregnancy_inflation ? "Enabled" : "Disabled"]</a>"
@@ -2064,9 +2061,6 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if("pregnancy_inflation")
pregnancy_inflation = !pregnancy_inflation
if("egg_stuffing")
egg_stuffing = !egg_stuffing
//SPLURT EDIT END
if("hair")
@@ -1192,7 +1192,6 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
S["fertile"] >> fertility
S["oviposition"] >> oviposition
S["pregnancy_inflation"] >> pregnancy_inflation
S["egg_stuffing"] >> egg_stuffing
//SPLURT EDIT END
cit_character_pref_load(S)
@@ -1391,7 +1390,6 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
WRITE_FILE(S["fertile"], fertility)
WRITE_FILE(S["oviposition"], oviposition)
WRITE_FILE(S["pregnancy_inflation"], pregnancy_inflation)
WRITE_FILE(S["egg_stuffing"], egg_stuffing)
WRITE_FILE(S["headshot"], features["headshot_link"])
//SPLURT EDIT END