Skip to content

Commit

Permalink
yummers (#11372)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat authored Sep 9, 2024
1 parent 7aea2a7 commit 9d909e9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions code/modules/clothing/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d909e9

Please sign in to comment.