mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-31 00:49:06 +01:00
Visible emotes now have runetext. (#20356)
title --------- Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user