Adds phobias as roundstart quirks (#46524)

* Phobia as quirk

* Changed value

* Valueless again

* Moved to neutral

* Actually gives trauma roundstart
This commit is contained in:
Names Are Hard
2019-09-27 00:26:51 -07:00
committed by Rob Bailey
parent d924308199
commit 057be7fdf2
2 changed files with 28 additions and 1 deletions
+13 -1
View File
@@ -68,6 +68,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
var/list/randomise = list(RANDOM_UNDERWEAR = TRUE, RANDOM_UNDERWEAR_COLOR = TRUE, RANDOM_UNDERSHIRT = TRUE, RANDOM_SOCKS = TRUE, RANDOM_BACKPACK = TRUE, RANDOM_JUMPSUIT_STYLE = TRUE, RANDOM_HAIRSTYLE = TRUE, RANDOM_HAIR_COLOR = TRUE, RANDOM_FACIAL_HAIRSTYLE = TRUE, RANDOM_FACIAL_HAIR_COLOR = TRUE, RANDOM_SKIN_TONE = TRUE, RANDOM_EYE_COLOR = TRUE)
var/list/genders = list(MALE, FEMALE, PLURAL)
var/list/friendlyGenders = list("Male" = "male", "Female" = "female", "Other" = "plural")
var/phobia = "spiders"
var/list/custom_names = list()
var/preferred_ai_core_display = "Blue"
@@ -466,6 +467,12 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "</td>"
mutant_category = 0
//Adds a thing to select which phobia because I can't be assed to put that in the quirks window
if("Phobia" in all_quirks)
dat += "<h3>Phobia</h3>"
dat += "<a href='?_src_=prefs;preference=phobia;task=input'>[phobia]</a><BR>"
if(CONFIG_GET(flag/join_with_mutant_humans))
if("wings" in pref_species.default_features && GLOB.r_wings_list.len >1)
@@ -1394,10 +1401,15 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if(pickedPDAStyle)
pda_style = pickedPDAStyle
if("pda_color")
var/pickedPDAColor = input(user, "Choose your PDA Interface color.", "Character Preference",pda_color) as color|null
var/pickedPDAColor = input(user, "Choose your PDA Interface color.", "Character Preference", pda_color) as color|null
if(pickedPDAColor)
pda_color = pickedPDAColor
if("phobia")
var/phobiaType = input(user, "What are you scared of?", "Character Preference", phobia) as null|anything in SStraumas.phobia_types
if(phobiaType)
phobia = phobiaType
else
switch(href_list["preference"])
if("publicity")