mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 05:51:56 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user