Skip to content

Commit

Permalink
Adds explicit find-alcohol code to glasses
Browse files Browse the repository at this point in the history
  • Loading branch information
Putnam3145 committed Oct 1, 2023
1 parent 4659168 commit 28ea167
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/modules/food/food/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@
. += "<span class='notice'>\The [src] is almost full!</span>"
else
. += "<span class='notice'>\The [src] is full!</span>"
if(reagents)
var/datum/reagent/ethanol/R = locate() in reagents
if(istype(R))
. += "<span class='notice'>It contains alcohol.</span>"


////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 28ea167

Please sign in to comment.