diff --git a/code/controllers/subsystem/processing/quirks.dm b/code/controllers/subsystem/processing/quirks.dm index 85f75e48e91b..0396ad18bd18 100644 --- a/code/controllers/subsystem/processing/quirks.dm +++ b/code/controllers/subsystem/processing/quirks.dm @@ -17,7 +17,7 @@ PROCESSING_SUBSYSTEM_DEF(quirks) if(!quirks.len) SetupQuirks() - quirk_blacklist = list(list("Blind","Nearsighted"),list("Jolly","Depression","Apathetic","Hypersensitive"),list("Ageusia","Vegetarian","Deviant Tastes"),list("Ananas Affinity","Ananas Aversion"),list("Alcohol Tolerance","Light Drinker")) + quirk_blacklist = list(list("Blind","Nearsighted"),list("Jolly","Depression","Apathetic","Hypersensitive"),list("Ageusia","Vegetarian","Deviant Tastes"),list("Ananas Affinity","Ananas Aversion"),list("Alcohol Tolerance","Light Drinker"),list("Prosthetic Limb (Left Arm)","Prosthetic Limb (Right Arm)","Prosthetic Limb (Left Leg)","Prosthetic Limb (Right Leg)","Prosthetic Limb")) return ..() /datum/controller/subsystem/processing/quirks/proc/SetupQuirks() diff --git a/code/datums/traits/negative.dm b/code/datums/traits/negative.dm index 1c94bedac575..466ce4959dbb 100644 --- a/code/datums/traits/negative.dm +++ b/code/datums/traits/negative.dm @@ -337,10 +337,14 @@ desc = "An accident caused you to lose one of your limbs. Because of this, you now have a random prosthetic!" value = -1 var/slot_string = "limb" + var/specific = null medical_record_text = "During physical examination, patient was found to have a prosthetic limb." /datum/quirk/prosthetic_limb/on_spawn() var/limb_slot = pick(BODY_ZONE_L_ARM, BODY_ZONE_R_ARM, BODY_ZONE_L_LEG, BODY_ZONE_R_LEG) + if(specific) + limb_slot = specific + var/mob/living/carbon/human/H = quirk_holder var/obj/item/bodypart/old_part = H.get_bodypart(limb_slot) var/obj/item/bodypart/prosthetic @@ -365,6 +369,26 @@ to_chat(quirk_holder, "Your [slot_string] has been replaced with a surplus prosthetic. It is fragile and will easily come apart under duress. Additionally, \ you need to use a welding tool and cables to repair it, instead of bruise packs and ointment.") +/datum/quirk/prosthetic_limb/left_arm + name = "Prosthetic Limb (Left Arm)" + desc = "An accident caused you to lose your left arm. Because of this, it's replaced with a prosthetic!" + specific = BODY_ZONE_L_ARM + +/datum/quirk/prosthetic_limb/right_arm + name = "Prosthetic Limb (Right Arm)" + desc = "An accident caused you to lose your right arm. Because of this, it's replaced with a prosthetic!" + specific = BODY_ZONE_R_ARM + +/datum/quirk/prosthetic_limb/left_leg + name = "Prosthetic Limb (Left Leg)" + desc = "An accident caused you to lose your left leg. Because of this, it's replaced with a prosthetic!" + specific = BODY_ZONE_L_LEG + +/datum/quirk/prosthetic_limb/right_leg + name = "Prosthetic Limb (Right Leg)" + desc = "An accident caused you to lose your right leg. Because of this, it's replaced with a prosthetic!" + specific = BODY_ZONE_R_LEG + /datum/quirk/insanity name = "Reality Dissociation Syndrome" desc = "You suffer from a severe disorder that causes very vivid hallucinations. Mindbreaker toxin can suppress its effects, and you are immune to mindbreaker's hallucinogenic properties. This is not a license to grief."