CatStation/Content.Server/Power
Krunklehorn 8d1829335e
Power outages are shorter and only affect the main (largest) grid (#37841)
* Cancel if APC is in unpowered list

* Also prevent re-power via re-construction

* Revert useless dependency

* Reduced event time by 10-20 seconds

* Move to ApcSystem

* Also verify game rule is active

* Empty commit

* Move station and affected checking

* Check for main station grid

* Fix format warnings

* Somehow this got duplicated

* Make GetRuleAffectingEntity() also check for BecomesStationComponent

* Make APCSystem also check for ActivegameRuleComponent

* Removed redundant checks and duplicate logic

* Add GridEventEligibleComponent with flag for PowerGridChecks

* Propagate GridEventEligibleComponent.

* Revert GridEventEligible

* Use GetLargestGrid
2026-08-11 04:55:02 +00:00
..
Commands IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
Components Make more ApcPowerReceiverComponent fields DataFields (#45022) 2026-07-30 05:10:39 +00:00
EntitySystems Power outages are shorter and only affect the main (largest) grid (#37841) 2026-08-11 04:55:02 +00:00
Events Revert "add breakers to power batteries" (#17632) 2023-07-08 12:47:38 +10:00
Generation/Teg Use dependency injection for EntityQuery<T>s in Content.Server (#43566) 2026-05-17 15:59:37 +00:00
Generator IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
NodeGroups Predicted internals (#33800) 2025-05-02 18:22:29 +10:00
Nodes Update NodeHelpers and Node.GetReachableNodes to use Entity<TransformComponent> and Entity<MapGridComponent> (#37734) 2026-03-10 21:25:45 +00:00
Pow3r Make pow3r validation logic available on release (#36075) 2025-03-25 10:02:39 -07:00
SMES IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
PowerWireAction.cs Predict some power PowerReceiver stuff (#33834) 2025-03-10 13:00:49 +11:00
SetBatteryPercentCommand.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00