mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
You can now pick the limb you want replaced with the Prosthetic Limb Quirk. (#78517)
## About The Pull Request The Prosthetic Limb quirk allows you to pick the limb you want. The default is still random ## Why It's Good For The Game Good for character customization, which is always nice. Statics who got a specific limb replaced can now represent that properly in-game. Also, this makes the quirk show up on the dummy on the character customization again. This *does* cause a slight issue where when you switch to another character, it keeps the previous' skin color, but it's minor enough that i think the benefits are worth the drawback. If asked i will make it not appear on the dummy though. ## Changelog DATA_, with great help from Kapu🆑 add: You can now choose the prosthetic you want with the Prosthetic Limb quirk. /🆑
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/datum/preference/choiced/prosthetic
|
||||
category = PREFERENCE_CATEGORY_SECONDARY_FEATURES
|
||||
savefile_key = "prosthetic"
|
||||
savefile_identifier = PREFERENCE_CHARACTER
|
||||
|
||||
/datum/preference/choiced/prosthetic/init_possible_values()
|
||||
return list("Random") + GLOB.limb_choice
|
||||
|
||||
/datum/preference/choiced/prosthetic/is_accessible(datum/preferences/preferences)
|
||||
. = ..()
|
||||
if (!.)
|
||||
return FALSE
|
||||
|
||||
return "Prosthetic Limb" in preferences.all_quirks
|
||||
|
||||
/datum/preference/choiced/prosthetic/apply_to_human(mob/living/carbon/human/target, value)
|
||||
return
|
||||
Reference in New Issue
Block a user