mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 10:33:30 +01:00
Tweak: Makes embalming headless corpses with a dropper no longer possible. Adds 2 fail messages for embalming a headless corpse with a dropper. (#29827)
* special handling for headless embalmings * actually check the head and not the hat * Update code/modules/reagents/reagent_containers/dropper.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> --------- Signed-off-by: Toastical <20125180+Toastical@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
var/mob/living/carbon/human/H = target
|
||||
var/obj/item/safe_thing = null
|
||||
|
||||
if(!H.get_organ(BODY_ZONE_HEAD))
|
||||
user.visible_message("<span class='warning'>With a blank stare, [user] drips something where [H]'s eyes should be, but the body has no head to be found. Perhaps [user] is as dead inside as [user.p_their()] patient.</span>", \
|
||||
"<span class='warning'>You mindlessly drip something into [H]'s eyes, not realizing that [H.p_their()] head is missing. It's hard to tell which of you is more dead inside.</span>")
|
||||
reagents.remove_any(amount_per_transfer_from_this)
|
||||
return
|
||||
|
||||
if(H.glasses)
|
||||
safe_thing = H.glasses
|
||||
if(H.wear_mask)
|
||||
|
||||
Reference in New Issue
Block a user