fixes for two communication bugs and feature added for ghosts in belly

This commit is contained in:
TheGreatKitsune
2022-05-28 00:50:34 -05:00
parent 6a01e67020
commit ce8b98f2ee
4 changed files with 22 additions and 4 deletions

View File

@@ -204,7 +204,12 @@
if(M)
if(isobserver(M))
message = "<span class='emote'><B>[src]</B> ([ghost_follow_link(src, M)]) [input]</span>"
M.show_message(message, m_type)
//CHOMPEdit Start - If you are in the same tile, right next to, or being held by a person doing an emote, you should be able to see it while blind
if(m_type != AUDIBLE_MESSAGE && (src.Adjacent(M) || (istype(src.loc, /obj/item/weapon/holder) && src.loc.loc == M)))
M.show_message(message)
else
M.show_message(message, m_type)
//CHOMPEdit End
M.create_chat_message(src, "[runemessage]", FALSE, list("emote"), (m_type == AUDIBLE_MESSAGE))
for(var/obj/O as anything in o_viewers)