Powernet Sensor
- Adds remote powernet sensors, power monitoring computers use these by default to monitor power around the station. Default range is 1 Z level + long range versions of sensors
- Powernet sensors mapped in, each subgrid has it's own one (ie: substations compatible)
- Telecomms, mining, research and engineering outposts have long range versions installed, visible even cross-Zlevels
- Powersinks and ninja gloves now trigger problem warning in powernets they affect. This warning is visible to anyone using power monitoring console. TODO: Add more stuff that triggers warnings.
- Powersinks now properly drain APC cells using CELLRATE (@2000W per APC max.)
- Powersinks buffed a bit, to compensate for CELLRATE change (previous line)
Implements better powernet warning system (as suggested by mwerezak)
Modifications to sensors code
- More stuff now triggers powernet warnings: People getting shocked by machinery (primarily door, but can be anything else powered by APC), and grilles. Thanks to @mwerezak for suggestion.
- Monitoring computer now has slightly different icon_state when it detects powernet warning. This is checked and updated every 5 MC ticks (ie, slightly delayed)
- Fixes ocassional runtime in powernet_sensor.dm
- Powersinks buffed a bit more. Drain rate changed from 0.6MW to 1MW. 1MW is full output of main engine SMES.
- Powersinks also dissipate small amount of internal energy charge over time. (20kW)
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into powernet-sensors-mk2
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into powernet-sensors-mk2
Remaps the powernet sensors
Fixes few minor mapbugs caused by previous commit
- Removes one accidentally placed sensor from Atmospherics
- Sensors in Security substation is now properly connected
- Sensors on the Asteroid and TCommsat are now correctly set to long_range = 1 (visible across Z levels)
Nicer monitor GUI

- Instead of showing all sensor readings in one ugly ultra-long screen, selection menu for sensors is used.
Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into powernet-sensors-mk2
Fixes possible runtime when sensor is destroyed while open in computer.
Adds mwerezak's suggestions
- Power monitor is now /computer/ subtype
- Different rounding of values in power monitor display
- Unfortunately, PDA power monitoring for engineers is broken and probably won't be fixed as it relies on old powernet monitoring computers. Laptops work OK
Merge pull request #7000 from atlantiscze/powernet-sensors-mk2

Powernet Sensors