mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-20 19:49:39 +01:00
expansion: Nearsighter quirk now lets you pick the look of your prescription glasses from the character preference menu imageadd: Added thin prescription glasses
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
|