From 9d909e96b69b446e1218d1ddf8f176d12c1f3077 Mon Sep 17 00:00:00 2001 From: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:18:05 -0400 Subject: [PATCH] yummers (#11372) --- code/modules/clothing/clothing.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 89b2a95d5e7e2..9e178c26bbbb8 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -126,10 +126,11 @@ /obj/item/clothing/attack(mob/attacker, mob/user, params) if(user.a_intent == INTENT_HARM) return //Harm intent does not eat - //if(!ismoth(attacker) || !ispsyphoza(attacker)) - // return ..() //Not a clotheater species? No Clotheating! - //if((clothing_flags & NOTCONSUMABLE) && (resistance_flags & INDESTRUCTIBLE) && (armor.getRating(MELEE) != 0)) - // return ..() //Any remaining flags that make eating it impossible? + var/obj/item/organ/tongue/tongue = attacker.getorganslot(ORGAN_SLOT_TONGUE) + if(!istype(tongue, /obj/item/organ/tongue/moth) && !istype(tongue, /obj/item/organ/tongue/psyphoza)) + return ..() //Not a clotheater tongue? No Clotheating! + if((clothing_flags & NOTCONSUMABLE) && (resistance_flags & INDESTRUCTIBLE) && (armor.getRating(MELEE) != 0)) + return ..() //Any remaining flags that make eating it impossible? if (isnull(moth_snack)) moth_snack = new