mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-26 09:13:14 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user