[MIRROR] Fixes bodies responding to phobias (#5887)
* Fixes bodies responding to phobias (#36227) * Fixes ghosts responding to phobias When a ghost inhabiting their body hears a phobia word, they no longer freak out. * Modified to a guard clause * Fixes bodies responding to phobias
This commit is contained in:
committed by
Poojawa
parent
75160fb5b0
commit
7b0570f394
@@ -85,6 +85,8 @@
|
||||
|
||||
/datum/brain_trauma/mild/phobia/proc/freak_out(atom/reason, trigger_word)
|
||||
next_scare = world.time + 120
|
||||
if(owner.stat == DEAD)
|
||||
return
|
||||
var/message = pick("spooks you to the bone", "shakes you up", "terrifies you", "sends you into a panic", "sends chills down your spine")
|
||||
if(reason)
|
||||
to_chat(owner, "<span class='userdanger'>Seeing [reason] [message]!</span>")
|
||||
|
||||
Reference in New Issue
Block a user