From 19f6190ca8d0e2c959b577f204b0f8a99389ed2b Mon Sep 17 00:00:00 2001 From: harryob Date: Thu, 31 Aug 2023 14:18:02 +0100 Subject: [PATCH] removes the hallucinating ghost notification (#4291) above, no one cares and it just detracts from important ghost notifs :cl: del: removed the hallucinating ghost notification /:cl: (also i still think this was a little pointless even as a message sent to dchat, there is literally nothing to see. people are usually too unconscious to react in a funny manner) --- code/datums/effects/neurotoxin.dm | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/datums/effects/neurotoxin.dm b/code/datums/effects/neurotoxin.dm index f5489f6f8578..1657d41d8a36 100644 --- a/code/datums/effects/neurotoxin.dm +++ b/code/datums/effects/neurotoxin.dm @@ -123,12 +123,8 @@ return TRUE /datum/effects/neurotoxin/proc/process_hallucination(mob/living/carbon/human/victim) - /// area of the victim for areachecks - var/hallu_area = get_area(victim) switch(rand(0, 100)) if(0 to 5) - if(hallu_area) - notify_ghosts(header = "Hallucinating!", message = "[victim] has experienced a rare neuro-induced 'Schizo Lurker Pounce' hallucination (5% chance) at [hallu_area].", source = victim, action = NOTIFY_ORBIT) playsound_client(victim?.client,pick('sound/voice/alien_pounce.ogg','sound/voice/alien_pounce.ogg')) victim.KnockDown(3) addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound_client), victim.client,"alien_claw_flesh"), 1 SECONDS) @@ -139,16 +135,12 @@ victim.apply_effect(AGONY,10) victim.emote("pain") if(6 to 10) - if(hallu_area) - notify_ghosts(header = "Hallucinating!", message = "[victim] has experienced a rare neuro-induced 'OB' hallucination (4% chance) at [hallu_area].", source = victim, action = NOTIFY_ORBIT) playsound_client(victim.client,'sound/effects/ob_alert.ogg') addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound_client), victim.client,'sound/weapons/gun_orbital_travel.ogg'), 2 SECONDS) if(11 to 16) playsound_client(victim.client,'sound/voice/alien_queen_screech.ogg') victim.KnockDown(1) if(17 to 24) - if(hallu_area) - notify_ghosts(header = "Hallucinating!", message = "[victim] has experienced a rare neuro-induced 'Fake CAS firemission' hallucination (7% chance) at [hallu_area]", source = victim, action = NOTIFY_ORBIT) hallucination_fakecas_sequence(victim) //Not gonna spam a billion timers for this one so outsourcing to a proc with sleeps is a better async solution if(25 to 42) to_chat(victim,SPAN_HIGHDANGER("A SHELL IS ABOUT TO IMPACT [pick(SPAN_UNDERLINE("TOWARDS THE [pick("WEST","EAST","SOUTH","NORTH")]"),SPAN_UNDERLINE("RIGHT ONTOP OF YOU!"))]!"))