mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user