Delta-v/Content.Server/Power
Fildrance 4bcf3c3c0e
Station AI ability to electricute doors (#32012)
* Boom! Emergency access!

* Emergency access sound

* locale

* Updated sounds

* bleh

* Door electrify base

* feat: popups on attempt to activate AI action when wires cut

* refactor: use SharedApcPowerReceiverComponent to check if AI can interact with door

* refactor: added icon and sound for door overcharge

* meta.json should use tabs not spaces

* refactor: extracted sounds for airlock overcharge to static field in system

* refactor: cleanup, ScarKy0 mentions for resources

* refactor: removed unused textures

* feat: now notification is displayed when AI attempting to interact with door which have wire cut

* StationAiWhitelistComponent is properly gating  BUI OnMessageAttempt, SharedPowerReceiverSystem.IsPowered is now used to check if device powered

* refactor: use PlayLocal to play electrify sound only for AI player

* refactor: SetBoltsDown now uses TrySetBoltDown, checks for power.

* bolts now check for power using SharedPowerReceiverSystem

* electrify localization and louder electrify sounds

* extracted ShowDeviceNotRespondingPopup, reverted airlocks not opening/closing when ai wire was cut

* refactor: cleanup

* New sprites and fixes

* Copyright

* even more sprite changes

* refactore: cleanup, rename overcharge => electrify

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2024-09-27 17:22:17 +10:00
..
Commands Resolve `'EntitySystem.Get<T>()' is obsolete` in content (#27936) 2024-05-12 20:34:52 -04:00
Components Station Anchor (#26098) 2024-08-31 10:40:28 -04:00
EntitySystems fix(BatterySelfRecharger): Fully charge BatterySelfRechargers (#30627) 2024-09-24 23:37:45 +02:00
Events Revert "add breakers to power batteries" (#17632) 2023-07-08 12:47:38 +10:00
Generation/Teg Fix TEG acting as infinite energy source on destruction (#29972) 2024-09-19 12:15:44 +10:00
Generator Replace instances of SolutionContainerSystem with SharedSolutionContainerSystem (#30084) 2024-09-02 13:26:04 +02:00
NodeGroups Make PACMANs a little better (#24604) 2024-01-26 21:53:43 -05:00
Nodes Portable Generator Rework (#19302) 2023-08-25 11:40:42 -07:00
Pow3r Add CVar to disable pow3r parallel processing (#28488) 2024-06-04 16:54:22 +02:00
SMES Remove AllComponentsOneEntityDeleteTest (#19965) 2023-09-09 19:35:05 -05:00
PowerWireAction.cs Station AI ability to electricute doors (#32012) 2024-09-27 17:22:17 +10:00
SetBatteryPercentCommand.cs Remove all obsolete BatteryComponent method calls (#25871) 2024-03-06 16:34:50 +11:00