mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Adds load and excess to multitool power readout. (#41219)
* Adds load and excess to multitool power readout. * removes a src. Co-Authored-By: kriskog <33292112+kriskog@users.noreply.github.com>
This commit is contained in:
@@ -159,7 +159,7 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
|
||||
else if(W.tool_behaviour == TOOL_MULTITOOL)
|
||||
if(powernet && (powernet.avail > 0)) // is it powered?
|
||||
to_chat(user, "<span class='danger'>[DisplayPower(powernet.avail)] in power network.</span>")
|
||||
to_chat(user, "<span class='danger'>Total power: [DisplayPower(powernet.avail)]\nLoad: [DisplayPower(powernet.load)]\nExcess power: [DisplayPower(surplus())]</span>")
|
||||
else
|
||||
to_chat(user, "<span class='danger'>The cable is not powered.</span>")
|
||||
shock(user, 5, 0.2)
|
||||
|
||||
Reference in New Issue
Block a user