Commit Graph

15 Commits

Author SHA1 Message Date
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
Nemanja
ce0a51fc29 Predict doors and airlocks (#25419)
* predict doors and airlocks

* prying, too

* ack

* eek
2024-02-23 10:01:31 +11:00
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Vordenburg
e47b782ba2 Set door bolt wire cut to false when mended (#18122) 2023-07-18 14:56:51 -06:00
Tom Leys
a196756124 Split Door Bolt functionality out of AirlockDoor (#16354) 2023-05-31 10:23:35 -04:00
Tom Leys
79eeefd813 Fix firelock lights for hot / pressurized rooms (#15892) 2023-05-06 15:54:36 +10:00
Leon Friedrich
b20b4b11cc Wire action cleanup (#13496) 2023-01-21 10:51:02 +11:00
metalgearsloth
2873a830bd ECS airlocks (#13500) 2023-01-17 11:44:32 -07:00
Chief-Engineer
3cfd814503 Add logging for hacking (#12861) 2023-01-16 08:14:46 +11:00
0x6273
fe00c1c10b Airlock bolt and deconstruction fixes (#11985) 2022-10-17 11:44:04 +11:00
Flipp Syder
fab5aed3b8 Fixes power wire action electrocution (#8520) 2022-07-24 21:53:30 -07:00
wrexbe
bc68ac96dd Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
wrexbe
61d147aea9 Fixing warnings (#8131) 2022-05-13 15:35:13 +10:00
Flipp Syder
7d5c109383 Wires patches (#7993)
* door bolts now set if power is off and wire is pulsed, makes WiresSystem get a new random every time the round restarts

* ??? what's shuffle doing in the interface ???

* oops
2022-05-09 14:51:06 +10:00
Flipp Syder
2c6158e115 Wires refactor (#7699)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-06 12:35:06 +10:00