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

@@ -22,6 +22,20 @@ KNIFE
if(!istype(M, /mob))
return
if (src.icon_state == "forkloaded") //This is a poor way of handling it, but a proper rewrite of the fork to allow for a more varied foodening can happen when I'm in the mood. --NEO
if(M == user)
for(var/mob/O in viewers(M, null))
O.show_message(text("\blue [] eats a delicious forkful of omelette!", user), 1)
M.reagents.add_reagent("nutriment", 1)
else
for(var/mob/O in viewers(M, null))
O.show_message(text("\blue [] feeds [] a delicious forkful of omelette!", user, M), 1)
M.reagents.add_reagent("nutriment", 1)
src.icon_state = "fork"
return
if((usr.mutations & 16) && prob(50))
M << "\red You stab yourself in the eye."
M.sdisabilities |= 1