mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
Enhances power monitor computers to use the nano-map to show APC locations.
* In addition to showing APCs on a sensor'd powernet, the same APCs can be shown on the nano-ui map! * Hover tooltip shows basic information on the APCs. * Makes it easier to spacially understand where APCs are when you send people out to work on them.
This commit is contained in:
@@ -163,6 +163,10 @@
|
||||
// Cell Status
|
||||
APC_entry["cell_charge"] = A.cell ? round(A.cell.percent()) : "NO CELL"
|
||||
APC_entry["cell_status"] = A.cell ? chg[A.charging+1] : "N"
|
||||
// Location
|
||||
APC_entry["x"] = A.x
|
||||
APC_entry["y"] = A.y
|
||||
APC_entry["z"] = A.z
|
||||
// Other info
|
||||
APC_entry["total_load"] = reading_to_text(A.lastused_total)
|
||||
// Hopefully removes those goddamn \improper s which are screwing up the UI
|
||||
|
||||
Reference in New Issue
Block a user