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:
jknpj
2020-06-16 13:35:46 -03:00
committed by GitHub
17 changed files with 399 additions and 13 deletions

View File

@@ -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)

View File

@@ -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]")