mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Merge pull request #16916 from Qwertytoforty/deader-chat
Allows wizards to mute dead chat for 2 wizard points.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user