CatStation/Content.Shared/Power/EntitySystems
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
..
ChargerSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
ItemSlotRequiresPowerSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
PowerStateSystem.cs Extract notify on non-functioning from emitter (#45346) 2026-08-16 23:08:58 +00:00
SharedActivatableUIRequiresPowerSystem.cs cleanup all popups on client and server (#44572) 2026-07-11 14:13:19 +00:00
SharedBatterySystem.API.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
SharedBatterySystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
SharedPowerNetSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00
SharedPowerReceiverSystem.cs Hotfix: Fix mistaken AudioParams.WithVariation calls + LockComponent cleanup (#44952) 2026-07-27 00:23:46 +00:00
UIPowerStateSystem.cs IoC source gen compatibility (#43863) 2026-05-09 03:29:58 +00:00