New hallucinations

This commit adds a number of new hallucinations and increases the
modularness of the hallucination system. Included hallucinations:
 - Alien Hunter
  - Alien hunter comes out of the nearest vent, leaps and stuns you, then
    crawls back into the vent.
 - Plasma flood
 - Singularity
  - Stage 4 singularity appears and chases you.
 - Fight sounds
  - Series of sounds that sound like a fight.
 - Clown-visions
  - Delusion, which makes an image of a mob standing still.
 - Fake bolted doors
  - A number of doors will appear to become bolted, via overlay.
 - Fake speech/radio messages.
  - This makes it appear as if someone has said something, either via
    speech or radio, using one language from their avalible languages.
    Radio messages will only happen if there are no people in view to say
    something.
This commit is contained in:
AnturK
2015-06-28 11:38:29 -07:00
committed by Tigercat2000
parent 2a34b600a9
commit 675f43a01e
3 changed files with 584 additions and 183 deletions
+6 -9
View File
@@ -924,16 +924,13 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
else
hallucination -= 2
else
for(var/atom/a in hallucinations)
del a
if(halloss > 100)
src << "<span class='notice'>You're in too much pain to keep going...</span>"
for(var/mob/O in oviewers(src, null))
O.show_message("<B>[src]</B> slumps to the ground, too weak to continue fighting.", 1)
Paralyse(10)
setHalLoss(99)
if(halloss > 100)
src << "<span class='notice'>You're in too much pain to keep going...</span>"
for(var/mob/O in oviewers(src, null))
O.show_message("<B>[src]</B> slumps to the ground, too weak to continue fighting.", 1)
Paralyse(10)
setHalLoss(99)
if(paralysis)
AdjustParalysis(-1)
@@ -18,7 +18,6 @@
var/staminaloss = 0 //Stamina damage, or exhaustion. You recover it slowly naturally, and are stunned if it gets too high. Holodeck and hallucinations deal this.
var/hallucination = 0 //Directly affects how long a mob will hallucinate for
var/list/atom/hallucinations = list() //A list of hallucinated people that try to attack the mob. See /obj/effect/fake_attacker in hallucinations.dm
var/last_special = 0 //Used by the resist verb, likely used to prevent players from bypassing next_move by logging in/out.