Forgot to make crayons eatable. Plus clown spawns with a regular box as well, since the rainbow crayon is somewhat unwieldy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1534 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-05-05 11:55:15 +00:00
parent 615e4be24b
commit 030fe0703f
2 changed files with 14 additions and 1 deletions
+13 -1
View File
@@ -136,10 +136,22 @@ CRAYONS
if(uses)
uses--
if(!uses)
user << "You used up your crayon!"
user << "\red You used up your crayon!"
del(src)
return
/obj/item/toy/crayon/attack(mob/M as mob, mob/user as mob)
if(M == user)
user << "You take a bite of the crayon. Delicious!"
user.nutrition += 5
if(uses)
uses -= 5
if(uses <= 0)
user << "\red You ate your crayon!"
del(src)
else
..()
/obj/decal/cleanable/crayon
name = "rune"
desc = "A rune drawn in crayon."