mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-19 21:46:42 +00:00
* 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>
17 lines
510 B
Plaintext
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
|