mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
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>
This commit is contained in:
@@ -425,7 +425,25 @@
|
||||
return
|
||||
user.visible_message("<span class='danger'>[user] [pick("chomps","bites")] off [the_item]'s [limb]!</span>")
|
||||
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("<span class='danger'>[user] eats \the [the_item].</span>")
|
||||
|
||||
Reference in New Issue
Block a user