Files
Bubberstation/code/modules/client/preferences/glasses.dm
SkyratBot 79f51c06b1 [MIRROR] Nearsighted quirk lets you pick the look of the glasses you spawn with [MDB IGNORE] (#8929)
* Nearsighted quirk lets you pick the look of the glasses you spawn with (#62145)

expansion: Nearsighter quirk now lets you pick the look of your prescription glasses from the character preference menu
imageadd: Added thin prescription glasses

* Nearsighted quirk lets you pick the look of the glasses you spawn with

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-10-23 00:35:04 +01:00

17 lines
510 B
Plaintext

/datum/preference/choiced/glasses
category = PREFERENCE_CATEGORY_SECONDARY_FEATURES
savefile_key = "glasses"
savefile_identifier = PREFERENCE_CHARACTER
/datum/preference/choiced/glasses/init_possible_values()
return GLOB.nearsighted_glasses
/datum/preference/choiced/glasses/is_accessible(datum/preferences/preferences)
if (!..(preferences))
return FALSE
return "Nearsighted" in preferences.all_quirks
/datum/preference/choiced/glasses/apply_to_human(mob/living/carbon/human/target, value)
return