mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 06:07:17 +01:00
datumizes and standardizes all emotes because that file is in the fucking way of my saycode rewrite adds vocal cues
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
/mob/observer/dead/say(var/message, var/datum/prototype/language/speaking = null, var/verb="says", var/alt_name="", var/whispering = 0)
|
|
message = sanitize(message)
|
|
|
|
if (!message)
|
|
return
|
|
|
|
log_ghostsay(message, src)
|
|
|
|
if (src.client)
|
|
if(message)
|
|
client.handle_spam_prevention(MUTE_DEADCHAT)
|
|
if(src.client.prefs.muted & MUTE_DEADCHAT)
|
|
to_chat(src, "<font color='red'>You cannot talk in deadchat (muted).</font>")
|
|
return
|
|
|
|
. = src.say_dead(message)
|