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:
skoglol
2018-10-31 19:30:49 +01:00
committed by Emmett Gaines
parent 39e35e1226
commit b943c2f3f6
+1 -1
View File
@@ -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)