Various TG Chat message sorting fixes (#25229)

* Fixes unsorted emotes, announcements, votes, surgery, prayers, ahelp responses

* Apply suggestions from code review

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

---------

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
S34N
2024-04-29 02:07:25 +00:00
committed by GitHub
co-authored by Burzah
parent 4add53d6c1
commit 2e4089dc15
28 changed files with 368 additions and 209 deletions
+4 -2
View File
@@ -32,7 +32,8 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
user.visible_message(
"[user] starts augmenting [affected] with [tool].",
"You start augmenting [affected] with [tool]."
"You start augmenting [affected] with [tool].",
chat_message_type = MESSAGE_TYPE_COMBAT
)
return ..()
to_chat(user, "<span class='warning'>[tool] cannot be used to augment this limb!</span>")
@@ -45,7 +46,8 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
user.visible_message(
"<span class='notice'>[user] has finished augmenting [affected] with [tool].</span>",
"<span class='notice'>You augment [affected] with [tool].</span>"
"<span class='notice'>You augment [affected] with [tool].</span>",
chat_message_type = MESSAGE_TYPE_COMBAT
)
if(L.part)