From 9e8e102f272575b2dc008a9fa4506f92d8f9b14e Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Sun, 25 Feb 2024 01:56:06 +0300 Subject: [PATCH] [MIRROR] Fixes feeding through masks using spoons and ladles (#2109) * Fixes feeding through masks using spoons and ladles (#81633) * Fixes feeding through masks using spoons and ladles --------- Co-authored-by: NovaBot <154629622+NovaBot13@users.noreply.github.com> Co-authored-by: Echriser --- code/game/objects/items/kitchen.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/objects/items/kitchen.dm b/code/game/objects/items/kitchen.dm index 5b8666705dd..bc424788771 100644 --- a/code/game/objects/items/kitchen.dm +++ b/code/game/objects/items/kitchen.dm @@ -236,6 +236,13 @@ if(!target_mob.reagents || reagents.total_volume <= 0) return ..() + if(target_mob.is_mouth_covered(ITEM_SLOT_HEAD) || target_mob.is_mouth_covered(ITEM_SLOT_MASK)) + if(target_mob == user) + target_mob.balloon_alert(user, "can't eat with mouth covered!") + else + target_mob.balloon_alert(user, "[target_mob.p_their()] mouth is covered!") + return TRUE + if(target_mob == user) user.visible_message( span_notice("[user] scoops a spoonful into [user.p_their()] mouth."),