CatStation/Content.Shared/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
..
Components Extract notify on non-functioning from emitter (#45346) 2026-08-16 23:08:58 +00:00
EntitySystems Extract notify on non-functioning from emitter (#45346) 2026-08-16 23:08:58 +00:00
Generation/Teg
Generator Make every EntitySystem partial (#45220) 2026-08-14 18:24:47 +00:00
ApcToolFinishedEvent.cs
ChargeEvents.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
PowerChangedEvent.cs Power stuff (#31314) 2024-08-25 22:18:42 +10:00
PowerMonitoringCableNetworksComponent.cs Add explosive cord. (#25875) 2025-09-25 23:33:28 +02:00
SharedBattery.cs Battery (SMES/substation) interface (#36386) 2025-04-27 21:08:34 +10:00
SharedPower.cs Add explosive cord. (#25875) 2025-09-25 23:33:28 +02:00
SharedPowerCharge.cs Station Anchor (#26098) 2024-08-31 10:40:28 -04:00
SharedPowerChargeComponent.cs Station Anchor (#26098) 2024-08-31 10:40:28 -04:00
SharedPowerDevice.cs Xenoborg crystal (#45105) 2026-08-13 00:49:37 +00:00
SharedPowerMonitoringConsoleComponent.cs Show battery level for selected devices in Power Monitoring Console (#33854) 2024-12-19 01:46:36 +01:00
SharedPowerMonitoringConsoleSystem.cs Replace NavMap dictionaries with int[] (#27602) 2024-05-02 12:51:21 +10:00
TeslaCoilVisuals.cs Tesla (#21124) 2023-12-28 13:11:50 +00:00