CatStation/Content.Server/Power/EntitySystems
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
..
ActivatableUIRequiresPowerSystem.cs cleanup all popups on client and server (#44572) 2026-07-11 14:13:19 +00:00
ApcSystem.cs Power outages are shorter and only affect the main (largest) grid (#37841) 2026-08-11 04:55:02 +00:00
BatteryInterfaceSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
BatterySystem.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
CableMultitoolSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
CableSystem.cs Remove Comp.Owner from CableAnchorStateChangedEvent (#44629) 2026-07-13 06:09:30 +00:00
CableSystem.Placer.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
CableVisSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
ExtensionCableSystem.cs Use dependency injection for EntityQuery<T>s in Content.Server (#43566) 2026-05-17 15:59:37 +00:00
PowerChargeSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
PowerMonitoringConsoleSystem.cs Remove Comp.Owner from CableAnchorStateChangedEvent (#44629) 2026-07-13 06:09:30 +00:00
PowerNetConnectorSystem.cs Replace Component.OnRemove with ComponentRemove event subscriptions (#21072) 2023-10-17 19:35:36 -07:00
PowerNetSystem.cs Fix powered devices reporting as powered when Load is 0 (#43879) 2026-05-27 05:00:36 +00:00
PowerReceiverSystem.cs Make more ApcPowerReceiverComponent fields DataFields (#45022) 2026-07-30 05:10:39 +00:00
PowerStateSystem.cs Power Consumers Rebalance: Simple Dynamic Power Loading (#41961) 2026-01-21 04:05:44 +00:00
SpawnOnBatteryFullSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
StaticPowerSystem.cs LatheSystem independently of energy (#30148) 2024-07-18 22:29:20 +03:00