Merge pull request #16916 from Qwertytoforty/deader-chat

Allows wizards to mute dead chat for 2 wizard points.
This commit is contained in:
variableundefined
2021-10-17 13:32:04 -05:00
committed by GitHub
2 changed files with 24 additions and 0 deletions
+9
View File
@@ -3,3 +3,12 @@
/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
var/sound/S = sound('sound/hallucinations/wail.ogg')
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, S)