Commit Graph

12 Commits

Author SHA1 Message Date
Aronai Sieyes
d7679264fc Show all alarms on modular alarm monitor and mark major ones (#7002)
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-05-01 11:19:58 -07:00
Atermonera
51f61886a9 Merge pull request #7024 from atlantiscze/2020_04_21_ValveProgram
Converts Shutoff valve monitoring into a MC program
2020-04-28 14:57:24 -07:00
Aronai Sieyes
3ae9a118b1 Refactor consoles to operate on logically adjacent zlevels 2020-04-27 10:45:25 -04:00
Atlantiscze
131270c6f8 Converts Shutoff valve monitoring into a MC program
- Existing consoles remain for now, only refactored to use a shared nano_module. Included by default on engineering consoles, downloadable by anyone with basic engineering access.
- Tidies up the UI a bit, prevents manual toggling of valves when they are in Auto mode (as it would immediately toggle back)
2020-04-21 15:15:57 +02:00
Atlantiscze
56e28ec2aa Fixes supermatter monitoring EPR indicator showing Undefined
- This mirrors original sources from Bay. Nano file was apparently moved from there, but code file was not.
- As for intent of this function (i coded it originally on Bay), EPR can be considered "Amount of canisters worth of gas in the core chamber", hence the weird 23.1 constant. Unlike pressure reading, this does not change with temperature, so it can be used to accurately monitor actual amount of gas in the chamber without having to take temperature in effect.
- I know the constant is kind of shady. It could possibly be recalculated using atmos constants, but i suck at math too much to do that. If anyone who knows atmos math can find a better alternative, i will gladly toss it in instead.
2020-04-17 06:06:06 +02:00
Leshana
8da8e3e0b1 Convert alarm_manager into SSalarm subsystem.
- Switch to using MC_TICK_CHECK and replace all references.
- Optimize stat panel display by caching the active alarms.
2020-03-28 01:20:34 -04:00
Heroman
ede313118f Properly splits security and engineering alarms 2019-07-02 13:20:56 +10:00
Neerti
c07de0ad9b Merge pull request #6152 from Heroman3003/alarm-acces-restriction
Restricts alarm monitor MC program access to engineering
2019-05-13 22:55:10 -04:00
Heroman
bb6c0fbd7d Fixes atmos program not giving CE out-of-alarm access 2019-05-09 12:56:22 +10:00
Heroman
539e3ff786 Restricts alarm console access to engineering-only 2019-05-06 05:36:25 +10:00
Unknown
7594c28f21 Updates Part Twelve 2019-04-14 14:38:30 -04:00
Unknown
dfd9415458 Modern Modular Computers 2019-04-13 14:58:08 -04:00