Stops utensils from working on mouthless humanoids

This commit is contained in:
Tastyfish
2016-02-16 22:52:56 -05:00
parent 6a099a21a2
commit e27fb5d27f
4 changed files with 14 additions and 3 deletions
@@ -50,6 +50,11 @@
return ..()
if (reagents.total_volume > 0)
// Mouthless people cannot eat
if(!M.can_eat())
user << "<span class=warning>[M] cannot eat with a fork!</span>"
return
if(M == user)
M.visible_message("<span class='notice'>\The [user] eats some [loaded] from \the [src].</span>")
reagents.trans_to(M, reagents.total_volume)