CatStation/Content.Shared/Power/Components
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
..
ActivatableUIRequiresPowerComponent.cs
ApcPowerReceiverBatteryComponent.cs Predict EMPs (#39802) 2025-10-04 11:24:42 +00:00
ApcPowerReceiverComponentState.cs Predict some power PowerReceiver stuff (#33834) 2025-03-10 13:00:49 +11:00
BatteryComponent.cs Xenoborg guided missile (#45247) 2026-08-16 05:10:57 +00:00
BatterySelfRechargerComponent.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
BatteryVisualsComponent.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
ChargerComponent.cs Predict powercells, chargers and PowerCellDraw (#41379) 2025-11-24 16:52:11 +00:00
ExaminableBatteryComponent.cs Unify BatteryComponent and PredictedBatteryComponent (#41867) 2025-12-19 18:18:12 +00:00
InsideChargerComponent.cs Predict powercells, chargers and PowerCellDraw (#41379) 2025-11-24 16:52:11 +00:00
ItemSlotRequiresPowerComponent.cs ItemToggle + slots stuff (#31312) 2024-08-25 22:30:28 +10:00
PowerStateComponent.cs Extract notify on non-functioning from emitter (#45346) 2026-08-16 23:08:58 +00:00
SharedApcPowerReceiverComponent.cs Make more ApcPowerReceiverComponent fields DataFields (#45022) 2026-07-30 05:10:39 +00:00
UIPowerStateComponent.cs Basic Dynamic Power Consumption Systems (#41885) 2025-12-22 16:43:02 +00:00