The creepy clown epidemic has arrived at Space Station 13. (#21164)

* Implements a full spooky clown event for halloween.dm

* temp

* made requested fixes

* reeeee

* Clowns actually work now. Minor refactors to hallucination thanks oranges

* CLOWNS FINALLY WORK PROPERLY JESUS FUCK

* Fix incorrect prob method call
This commit is contained in:
bgobandit
2016-10-30 19:51:19 +13:00
committed by oranges
parent d3bbe1634e
commit e7d0db78f1
2 changed files with 59 additions and 2 deletions
+15 -2
View File
@@ -206,6 +206,18 @@ Gunshots/explosions/opening doors/less rare audio (done)
target << "<span class='notice'>[xeno_name] scrambles into the ventilation ducts!</span>"
qdel(src)
/obj/effect/hallucination/simple/clown
image_icon = 'icons/mob/animal.dmi'
image_state = "clown"
/obj/effect/hallucination/simple/clown/New(loc,var/mob/living/carbon/T,duration)
..(loc, T)
name = pick(clown_names)
QDEL_IN(src,duration)
/obj/effect/hallucination/simple/clown/scary
image_state = "scary_clown"
/obj/effect/hallucination/singularity_scare
//Singularity moving towards you.
//todo Hide where it moved with fake space images
@@ -303,11 +315,12 @@ Gunshots/explosions/opening doors/less rare audio (done)
if(target.client)
delusions |= A
target.client.images |= A
sleep(duration)
QDEL_IN(src, duration)
/obj/effect/hallucination/delusion/Destroy()
for(var/image/I in delusions)
if(target.client)
target.client.images.Remove(I)
qdel(src)
/obj/effect/hallucination/fakeattacker/New(loc,var/mob/living/carbon/T)
target = T