mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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 <vnndvp@gmail.com> * made the text red * made the successful message blue again --------- Signed-off-by: Toastical <vnndvp@gmail.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -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, "<span class='danger'>Total power: [DisplayPower(powernet.available_power)]\nLoad: [DisplayPower(powernet.power_demand)]\nExcess power: [DisplayPower(get_surplus())]</span>")
|
||||
to_chat(user, chat_box_examine("<span class='notice'>Total power: [DisplayPower(powernet.available_power)]\nLoad: [DisplayPower(powernet.power_demand)]\nExcess power: [DisplayPower(get_surplus())]</span>"))
|
||||
else
|
||||
to_chat(user, "<span class='danger'>The cable is not powered.</span>")
|
||||
to_chat(user, "<span class='warning'>The cable is not powered.</span>")
|
||||
shock(user, 5, 0.2)
|
||||
|
||||
/obj/structure/cable/wirecutter_act(mob/user, obj/item/I)
|
||||
|
||||
Reference in New Issue
Block a user