Updated the way they work.
Clown now starts with a rainbow crayon that can draw in any two colours.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1533 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2011-05-05 11:14:41 +00:00
parent 40b78e2438
commit 615e4be24b
11 changed files with 192 additions and 97 deletions
@@ -31,6 +31,15 @@ BIKE HORN
M.stunned = 8
M.weakened = 5
/obj/item/weapon/soap/afterattack(atom/target, mob/user as mob)
if(istype(target,/obj/decal/cleanable))
del(target)
user << "\blue You scrub the [name] out."
else
target.clean_blood()
user << "\blue You clean the [target.name]."
return
/obj/item/weapon/bikehorn/attack_self(mob/user as mob)
if (spam_flag == 0)
spam_flag = 1
@@ -73,10 +73,10 @@ MOP
A.clean_blood()
for(var/obj/rune/R in A)
del(R)
for(var/obj/crayonrune/R in A)
for(var/obj/decal/cleanable/crayon/R in A)
del(R)
mopcount++
else if (istype(A, /obj/decal/cleanable/blood) || istype(A, /obj/overlay) || istype(A, /obj/decal/cleanable/xenoblood) || istype(A, /obj/rune) || istype(A,/obj/crayonrune) )
else if (istype(A, /obj/decal/cleanable/blood) || istype(A, /obj/overlay) || istype(A, /obj/decal/cleanable/xenoblood) || istype(A, /obj/rune) || istype(A,/obj/decal/cleanable/crayon) )
for(var/mob/O in viewers(user, null))
O.show_message(text("\red <B>[user] begins to clean [A]</B>"), 1)
sleep(20)