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>
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 372 B |
Binary file not shown.
|
After Width: | Height: | Size: 614 B |
Binary file not shown.
|
After Width: | Height: | Size: 495 B |
Binary file not shown.
|
After Width: | Height: | Size: 876 B |
Binary file not shown.
|
After Width: | Height: | Size: 767 B |
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/blob/c473a8bcc28fbd80827dfca5660d81ca6e833e2c/icons/hud/screen_ai.dmi",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "ai_core"
|
||||
},
|
||||
{
|
||||
"name": "camera_light"
|
||||
},
|
||||
{
|
||||
"name": "crew_monitor"
|
||||
},
|
||||
{
|
||||
"name": "manifest"
|
||||
},
|
||||
{
|
||||
"name": "state_laws"
|
||||
},
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/blob/c473a8bcc28fbd80827dfca5660d81ca6e833e2c/icons/hud/screen_ai.dmi , some sprites updated by ScarKy0(Discord), door actions by ScarKy0(Discord) and @Max_tanuki(Twitter)",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "ai_core"
|
||||
},
|
||||
{
|
||||
"name": "camera_light"
|
||||
},
|
||||
{
|
||||
"name": "crew_monitor"
|
||||
},
|
||||
{
|
||||
"name": "manifest"
|
||||
},
|
||||
{
|
||||
"name": "state_laws"
|
||||
},
|
||||
{
|
||||
"name": "station_records"
|
||||
},
|
||||
@@ -33,6 +33,24 @@
|
||||
},
|
||||
{
|
||||
"name": "comms_console"
|
||||
},
|
||||
{
|
||||
"name": "emergency_off"
|
||||
},
|
||||
{
|
||||
"name": "emergency_on"
|
||||
},
|
||||
{
|
||||
"name": "bolt_door"
|
||||
},
|
||||
{
|
||||
"name": "unbolt_door"
|
||||
},
|
||||
{
|
||||
"name": "door_overcharge_on"
|
||||
},
|
||||
{
|
||||
"name": "door_overcharge_off"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 588 B |
Reference in New Issue
Block a user