mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Runescape-y chat on the game world (#26652)
* Runechat WIP * Runtimes + whispers + speech * Off by default * Fixes * Toggle outlines on the fly * Actually fix travis + toggle on * Background colour * Small fix. Don't merge yet, it runtimes * Fix runtimes and togglecreep * ... * Wrong proc * rgb * Fixes
This commit is contained in:
@@ -648,4 +648,4 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
|
||||
/mob/dead/observer/proc/can_reenter_corpse()
|
||||
var/mob/M = get_top_transmogrification()
|
||||
return (M && M.client && can_reenter_corpse)
|
||||
return (M && M.client && can_reenter_corpse)
|
||||
|
||||
@@ -45,5 +45,7 @@
|
||||
if ((client.prefs.toggles & CHAT_GHOSTRADIO) != CHAT_GHOSTRADIO)
|
||||
say_testing(src, "/mob/dead/observer/Hear(): CHAT_GHOSTRADIO is disabled, blocking. ([client.prefs.toggles] & [CHAT_GHOSTRADIO]) = [client.prefs.toggles & CHAT_GHOSTRADIO]")
|
||||
return
|
||||
if (client?.prefs.mob_chat_on_map && (client.prefs.obj_chat_on_map || ismob(speech.speaker)))
|
||||
create_chat_message(speech.speaker, speech.language, speech.message, speech.mode, speech.wrapper_classes)
|
||||
|
||||
to_chat(src, "<a href='?src=\ref[src];follow=\ref[source]'>(Follow)</a> [rendered_speech]")
|
||||
|
||||
Reference in New Issue
Block a user