Files
Bubberstation/code/modules/client/preferences/phobia.dm
SkyratBot a856e05b35 [MIRROR] Adds a little button to quirks that allows for relatively easy customization [MDB IGNORE] (#24953)
* Adds a little button to quirks that allows for relatively easy customization

* Fixing diffs

---------

Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-11-13 07:37:09 -05:00

17 lines
492 B
Plaintext

/datum/preference/choiced/phobia
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
savefile_key = "phobia"
savefile_identifier = PREFERENCE_CHARACTER
/datum/preference/choiced/phobia/init_possible_values()
return GLOB.phobia_types
/datum/preference/choiced/phobia/is_accessible(datum/preferences/preferences)
if (!..(preferences))
return FALSE
return "Phobia" in preferences.all_quirks
/datum/preference/choiced/phobia/apply_to_human(mob/living/carbon/human/target, value)
return