mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 10:31:34 +00:00
* shouldn't you be merging these by now * my oh my do we have a lot of these * a fellow pedantic shit
23 lines
564 B
Plaintext
23 lines
564 B
Plaintext
/mob/dead/observer/say(message)
|
|
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
|
|
|
|
if (!message)
|
|
return
|
|
|
|
log_say("Ghost/[src.key] : [message]")
|
|
|
|
. = src.say_dead(message)
|
|
|
|
/mob/dead/observer/Hear(message, atom/movable/speaker, message_langs, raw_message, radio_freq, list/spans)
|
|
if(radio_freq)
|
|
var/atom/movable/virtualspeaker/V = speaker
|
|
|
|
if(isAI(V.source))
|
|
var/mob/living/silicon/ai/S = V.source
|
|
speaker = S.eyeobj
|
|
else
|
|
speaker = V.source
|
|
var/link = FOLLOW_LINK(src, speaker)
|
|
src << "[link] [message]"
|
|
|