mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
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:
@@ -60,7 +60,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"[user] starts applying medication to the damaged bones in [target]'s [affected.name] with \the [tool].",
|
||||
"You start applying medication to the damaged bones in [target]'s [affected.name] with \the [tool]."
|
||||
"You start applying medication to the damaged bones in [target]'s [affected.name] with \the [tool].",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
affected.custom_pain("Something in your [affected.name] is causing you a lot of pain!")
|
||||
return ..()
|
||||
@@ -69,7 +70,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='notice'> [user] applies some [tool] to [target]'s bone in [affected.name].</span>",
|
||||
"<span class='notice'> You apply some [tool] to [target]'s bone in [affected.name] with \the [tool].</span>"
|
||||
"<span class='notice'> You apply some [tool] to [target]'s bone in [affected.name] with \the [tool].</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
|
||||
return SURGERY_STEP_CONTINUE
|
||||
@@ -78,7 +80,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='warning'> [user]'s hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>",
|
||||
"<span class='warning'> Your hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>"
|
||||
"<span class='warning'> Your hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
return SURGERY_STEP_RETRY
|
||||
|
||||
@@ -96,7 +99,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"[user] is beginning to set the bone in [target]'s [affected.name] in place with \the [tool].",
|
||||
"You are beginning to set the bone in [target]'s [affected.name] in place with \the [tool]."
|
||||
"You are beginning to set the bone in [target]'s [affected.name] in place with \the [tool].",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
affected.custom_pain("The pain in your [affected.name] is going to make you pass out!")
|
||||
return ..()
|
||||
@@ -105,7 +109,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='notice'> [user] sets the bone in [target]'s [affected.name] in place with \the [tool].</span>",
|
||||
"<span class='notice'> You set the bone in [target]'s [affected.name] in place with \the [tool].</span>"
|
||||
"<span class='notice'> You set the bone in [target]'s [affected.name] in place with \the [tool].</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
return SURGERY_STEP_CONTINUE
|
||||
|
||||
@@ -113,7 +118,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='warning'> [user]'s hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!</span>",
|
||||
"<span class='warning'> Your hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!</span>"
|
||||
"<span class='warning'> Your hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
affected.receive_damage(5)
|
||||
return SURGERY_STEP_RETRY
|
||||
@@ -124,7 +130,8 @@
|
||||
/datum/surgery_step/set_bone/mend_skull/begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
|
||||
user.visible_message(
|
||||
"[user] is beginning piece together [target]'s skull with \the [tool].",
|
||||
"You are beginning piece together [target]'s skull with \the [tool]."
|
||||
"You are beginning piece together [target]'s skull with \the [tool].",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
return ..()
|
||||
|
||||
@@ -132,7 +139,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='notice'> [user] sets [target]'s [affected.encased] with \the [tool].</span>",
|
||||
"<span class='notice'> You set [target]'s [affected.encased] with \the [tool].</span>"
|
||||
"<span class='notice'> You set [target]'s [affected.encased] with \the [tool].</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
|
||||
return SURGERY_STEP_CONTINUE
|
||||
@@ -141,7 +149,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='warning'>[user]'s hand slips, damaging [target]'s face with \the [tool]!</span>",
|
||||
"<span class='warning'>Your hand slips, damaging [target]'s face with \the [tool]!</span>"
|
||||
"<span class='warning'>Your hand slips, damaging [target]'s face with \the [tool]!</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
var/obj/item/organ/external/head/H = affected
|
||||
H.receive_damage(10)
|
||||
@@ -164,7 +173,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"[user] starts to finish mending the damaged bones in [target]'s [affected.name] with \the [tool].",
|
||||
"You start to finish mending the damaged bones in [target]'s [affected.name] with \the [tool]."
|
||||
"You start to finish mending the damaged bones in [target]'s [affected.name] with \the [tool].",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
return ..()
|
||||
|
||||
@@ -172,7 +182,8 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='notice'> [user] has mended the damaged bones in [target]'s [affected.name] with \the [tool].</span>",
|
||||
"<span class='notice'> You have mended the damaged bones in [target]'s [affected.name] with \the [tool].</span>"
|
||||
"<span class='notice'> You have mended the damaged bones in [target]'s [affected.name] with \the [tool].</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
affected.mend_fracture()
|
||||
return SURGERY_STEP_CONTINUE
|
||||
@@ -181,6 +192,7 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
"<span class='warning'> [user]'s hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>",
|
||||
"<span class='warning'> Your hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>"
|
||||
"<span class='warning'> Your hand slips, smearing [tool] in the incision in [target]'s [affected.name]!</span>",
|
||||
chat_message_type = MESSAGE_TYPE_COMBAT
|
||||
)
|
||||
return SURGERY_STEP_RETRY
|
||||
|
||||
Reference in New Issue
Block a user