Allows ghosts to mute dead chat for 2 wizard points.

This commit is contained in:
Qwertytoforty
2021-10-11 12:38:16 -04:00
parent 3935be5808
commit 0b27d4822f
2 changed files with 23 additions and 0 deletions
+8
View File
@@ -3,3 +3,11 @@
/datum/event/wizard/ghost/start()
var/msg = "<span class='warning'>You suddenly feel extremely obvious...</span>"
set_observer_default_invisibility(0, msg)
/datum/event/wizard/ghost_mute //The spook is silent
/datum/event/wizard/ghost_mute/start()
GLOB.dsay_enabled = FALSE
for(var/mob/dead/observer/silenced in GLOB.player_list)
to_chat(silenced, "<span class='warning'>Magical forces wrap around your spectral form. You can no longer speak to other ghosts!</span>")
SEND_SOUND(silenced, 'sound/hallucinations/wail.ogg')