It is now possible to actually eat omelettes with the fork now, instead of just stabbing yourself (or others) in the eye with it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1217 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-03-20 04:57:36 +00:00
parent d474cff95c
commit f6bc873e70
2 changed files with 21 additions and 0 deletions

View File

@@ -1593,12 +1593,19 @@
bitesize = 1
attackby(obj/item/weapon/W as obj, mob/user as mob)
if(istype(W,/obj/item/weapon/kitchen/utensil/fork))
if (W.icon_state == "forkloaded")
user << "\red You already have omelette on your fork."
return
W.icon = 'kitchen.dmi'
W.icon_state = "forkloaded"
if (herp)
world << "[user] takes a piece of omelette with his fork!"
else
viewers(3,user) << "[user] takes a piece of omelette with his fork!"
reagents.remove_reagent("nutriment", 1)
if (reagents.total_volume <= 0)
del(src)
/obj/item/weapon/reagent_containers/food/snacks/omeletteforkload