From 379a368ccd7b4116304f8dba1041eecf595d015c Mon Sep 17 00:00:00 2001
From: Toastical <20125180+Toastical@users.noreply.github.com>
Date: Wed, 6 Aug 2025 04:25:10 +0300
Subject: [PATCH] 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>
---
code/modules/reagents/reagent_containers/dropper.dm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/code/modules/reagents/reagent_containers/dropper.dm b/code/modules/reagents/reagent_containers/dropper.dm
index b054040b05a..df31f12952d 100644
--- a/code/modules/reagents/reagent_containers/dropper.dm
+++ b/code/modules/reagents/reagent_containers/dropper.dm
@@ -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("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.", \
+ "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.")
+ reagents.remove_any(amount_per_transfer_from_this)
+ return
+
if(H.glasses)
safe_thing = H.glasses
if(H.wear_mask)