Skip to content

Commit

Permalink
removes the hallucinating ghost notification (#4291)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
harryob committed Aug 31, 2023
1 parent 0672d84 commit 19f6190
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions code/datums/effects/neurotoxin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<b>[victim]</b> has experienced a rare neuro-induced 'Schizo Lurker Pounce' hallucination (5% chance) at <b>[hallu_area]</b>.", 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)
Expand All @@ -139,16 +135,12 @@
victim.apply_effect(AGONY,10)
victim.emote("pain")
if(6 to 10)
if(hallu_area)
notify_ghosts(header = "Hallucinating!", message = "<b>[victim]</b> has experienced a rare neuro-induced 'OB' hallucination (4% chance) at <b>[hallu_area]</b>.", 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 = "<b>[victim]</b> has experienced a rare neuro-induced 'Fake CAS firemission' hallucination (7% chance) at <b>[hallu_area]</b>", 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!"))]!"))
Expand Down

0 comments on commit 19f6190

Please sign in to comment.