Skip to content

Commit

Permalink
Working Joes can no longer Drink
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben10083 committed Dec 20, 2023
1 parent 92c1793 commit 589c6c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/objects/items/reagent_containers/food/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 589c6c0

Please sign in to comment.