From 0d266f62476cfc993b8f4f5754848bee40f0fd52 Mon Sep 17 00:00:00 2001 From: Toastical Date: Sun, 17 Nov 2024 13:19:39 +0200 Subject: [PATCH] Multitool cable pulse message is now outputs in regular chat rather than the combat log (#27372) * cable multitool pulse will no longer spit out results in the combat log * made the cable pulse msg prettier * Update code/modules/power/cables/cable.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Signed-off-by: Toastical * made the text red * made the successful message blue again --------- Signed-off-by: Toastical Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --- code/modules/power/cables/cable.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/power/cables/cable.dm b/code/modules/power/cables/cable.dm index 685e1f8a97e..befd0c7a1ad 100644 --- a/code/modules/power/cables/cable.dm +++ b/code/modules/power/cables/cable.dm @@ -120,9 +120,9 @@ By design, d1 is the smallest direction and d2 is the highest if(!I.use_tool(src, user, 0, volume = I.tool_volume)) return if(powernet && (powernet.available_power > 0)) // is it powered? - to_chat(user, "Total power: [DisplayPower(powernet.available_power)]\nLoad: [DisplayPower(powernet.power_demand)]\nExcess power: [DisplayPower(get_surplus())]") + to_chat(user, chat_box_examine("Total power: [DisplayPower(powernet.available_power)]\nLoad: [DisplayPower(powernet.power_demand)]\nExcess power: [DisplayPower(get_surplus())]")) else - to_chat(user, "The cable is not powered.") + to_chat(user, "The cable is not powered.") shock(user, 5, 0.2) /obj/structure/cable/wirecutter_act(mob/user, obj/item/I)