From e0b507fcadcb215533e1118fe5d1f55e8c0eabfc Mon Sep 17 00:00:00 2001 From: tattax <71668564+tattax@users.noreply.github.com> Date: Sat, 18 Jun 2022 18:10:10 -0300 Subject: [PATCH] z --- code/modules/mob/living/inhand_holder.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/inhand_holder.dm b/code/modules/mob/living/inhand_holder.dm index 0a73fdeb0303..fead80b021d7 100644 --- a/code/modules/mob/living/inhand_holder.dm +++ b/code/modules/mob/living/inhand_holder.dm @@ -83,6 +83,13 @@ /obj/item/clothing/mob_holder/container_resist() release() +/obj/item/clothing/mob_holder/pre_attack(atom/A, mob/living/user, params) + if(isobj(A) && ismachinery(A)) + if(istype(A, /obj/machinery/deepfryer)) + to_chat(user, span_warning("You wouldn't deepfry [name].....")) + return + . = ..() + /obj/item/clothing/mob_holder/drone/deposit(mob/living/L) . = ..() if(!isdrone(L))