Skip to content

Commit

Permalink
[MIRROR] Fixes feeding through masks using spoons and ladles (#2109)
Browse files Browse the repository at this point in the history
* Fixes feeding through masks using spoons and ladles (#81633)

* Fixes feeding through masks using spoons and ladles

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Echriser <[email protected]>
  • Loading branch information
3 people authored Feb 24, 2024
1 parent e5b9072 commit 9e8e102
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/game/objects/items/kitchen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."),
Expand Down

0 comments on commit 9e8e102

Please sign in to comment.