CatStation/Content.Server/Power
Fildrance 1a5e9acb24
Extract notify on non-functioning from emitter (#45346)
* refactor: extracted notify-on-non-functioning feature from emitter component

* refactor: revert server side PowerStateSystem usage of SubscribeLocalEvent - it is not calling base Initialize, skip SetWorkingState raising event on init

* refactor: ensureAPC is now conditional for powerstate

* refactor: fix double notifiation on destruction and on un-powering for emitter

* refactor: added LocTurnedOff for NotifyOnNonFunctioningComponent, fix double alert on destruction, removed emitter-deconstructed-broadcast as it is unused (cannot deconstruct withou unanchor)

* refactor: modernize server PowerStateSystem subscription

* refactor: update and modernize PowerStatePrototypeTest

* refactor: give APE specific radio message upon unlocking

* refactor: extracted PowerStateSystem.SetPowerLoad to split init from triggering is-working change event

* Update Content.Server/Power/EntitySystems/PowerStateSystem.cs

---------

Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
2026-08-16 23:08:58 +00:00
..
Commands IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
Components APC: add visual states for breaker trips, power delivery (#44127) 2026-08-14 15:19:53 +00:00
EntitySystems Extract notify on non-functioning from emitter (#45346) 2026-08-16 23:08:58 +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 Big prototype and datafield cleanup (#45202) 2026-08-12 02:07:22 +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