From 99ef4aa4cea0d9efa79c16f3d0cd039b25ee4be6 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Tue, 12 Mar 2024 03:50:07 -0700 Subject: [PATCH] It hurts to lose your groin. (#24494) * It hurts to lose your groin. * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Applied review suggestion from DGamerL * Update code/game/dna/mutations/mutation_powers.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/game/dna/mutations/mutation_powers.dm --------- Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> --- code/game/dna/mutations/mutation_powers.dm | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/code/game/dna/mutations/mutation_powers.dm b/code/game/dna/mutations/mutation_powers.dm index 17fcf498cbc..8c02201cdee 100644 --- a/code/game/dna/mutations/mutation_powers.dm +++ b/code/game/dna/mutations/mutation_powers.dm @@ -425,7 +425,25 @@ return user.visible_message("[user] [pick("chomps","bites")] off [the_item]'s [limb]!") playsound(user.loc, 'sound/items/eatfood.ogg', 50, 0) - limb.droplimb(0, DROPLIMB_SHARP) + + // Most limbs will drop here. Groin won't, but this + // still spills out the organs that were in it. + limb.droplimb(FALSE, DROPLIMB_SHARP) + if(istype(limb, /obj/item/organ/external/groin)) + limb.receive_damage(100, sharp = TRUE) + + var/obj/item/organ/external/left_leg = H.get_organ(BODY_ZONE_L_LEG) + if(istype(left_leg)) + left_leg.droplimb(FALSE, DROPLIMB_SHARP) + + var/obj/item/organ/external/right_leg = H.get_organ(BODY_ZONE_R_LEG) + if(istype(right_leg)) + right_leg.droplimb(FALSE, DROPLIMB_SHARP) + + var/obj/item/organ/external/chest = H.get_organ(BODY_ZONE_CHEST) + if(istype(chest)) + chest.receive_damage(50, sharp = TRUE) + doHeal(user) else user.visible_message("[user] eats \the [the_item].")