Visible emotes now have runetext. (#20356)

title

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2025-01-24 12:15:43 +00:00
committed by GitHub
co-authored by Matt Atlas
parent bf0d5ecdb4
commit ae3eac8767
3 changed files with 76 additions and 1 deletions
+11
View File
@@ -157,6 +157,8 @@
if(!message)
return
var/animated_chat_message = message
message = format_emote(src, message)
if (message)
@@ -168,6 +170,15 @@
else
audible_message(message, ghost_hearing = do_show_observers)
var/list/hearers = get_hearers_in_view(7, src)
var/list/hear_clients = list()
for(var/mob/M in hearers)
if(M.client)
hear_clients |= M.client
animated_chat_message = SPAN_COLOR("#f3ef09", "*") + animated_chat_message
animate_chat(animated_chat_message, null, TRUE, hear_clients, 30)
// Specific mob type exceptions below.
/mob/living/silicon/ai/emote(var/act, var/type, var/message)
var/obj/machinery/hologram/holopad/T = src.holo
+7 -1
View File
@@ -206,8 +206,14 @@
var/obj/O = o
O.see_emote(src, message)
var/list/hear_clients = list()
for(var/mob/M in messagemobs)
if(M.client)
hear_clients += M.client
if(intent_message)
intent_message(intent_message, intent_range, messagemobs)
intent_message(intent_message, intent_range, messagemobs + src)
//Multiz, have shadow do same
if(bound_overlay)