From 589c6c0f935c63d00b7c5cd1b995deac6a55947f Mon Sep 17 00:00:00 2001 From: Ben10083 Date: Tue, 19 Dec 2023 21:12:50 -0500 Subject: [PATCH] Working Joes can no longer Drink --- code/game/objects/items/reagent_containers/food/drinks.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/reagent_containers/food/drinks.dm b/code/game/objects/items/reagent_containers/food/drinks.dm index 9f88990e5350..7ef9a790972b 100644 --- a/code/game/objects/items/reagent_containers/food/drinks.dm +++ b/code/game/objects/items/reagent_containers/food/drinks.dm @@ -23,6 +23,10 @@ to_chat(user, SPAN_DANGER("The [src.name] is empty!")) return FALSE + if(HAS_TRAIT(M, TRAIT_CANNOT_EAT)) + to_chat(user, SPAN_DANGER("[user == M ? "You are" : "[M] is"] unable to drink!")) + return + if(M == user) to_chat(M, SPAN_NOTICE(" You swallow a gulp from \the [src].")) if(reagents.total_volume)