From bf53b6574026f624216329a81396dabcdb322dd5 Mon Sep 17 00:00:00 2001 From: RKz Date: Sun, 25 Aug 2024 11:43:00 -0400 Subject: [PATCH] yummers --- 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 723509ef40772..d60cbae710d4d 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