mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
## About The Pull Request Forgot to check if I could make it modular before making pull request, it can be. Updating a previous PR to be modular where it makes sense. Some files are left as commented edits where it makes more sense to do so. ## Why It's Good For The Game Better follows contribution guidelines. ## Proof Of Testing Functions the same way/no changes in how it runs, just how code is structured.
21 lines
632 B
Plaintext
21 lines
632 B
Plaintext
/datum/preference/choiced/permanent_limp
|
|
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
|
savefile_key = "permanent_limp"
|
|
savefile_identifier = PREFERENCE_CHARACTER
|
|
|
|
/datum/preference/choiced/permanent_limp/init_possible_values()
|
|
return GLOB.permanent_limp_choice
|
|
|
|
/datum/preference/choiced/permanent_limp/create_default_value()
|
|
return "Left, minor"
|
|
|
|
/datum/preference/choiced/permanent_limp/is_accessible(datum/preferences/preferences)
|
|
. = ..()
|
|
if (!.)
|
|
return FALSE
|
|
|
|
return "Permanent Limp" in preferences.all_quirks
|
|
|
|
/datum/preference/choiced/permanent_limp/apply_to_human(mob/living/carbon/human/target, value)
|
|
return
|