Split Door Bolt functionality out of AirlockDoor (#16354)

This commit is contained in:
Tom Leys
2023-06-01 02:23:35 +12:00
committed by GitHub
parent f419c20c49
commit a196756124
26 changed files with 283 additions and 161 deletions

View File

@@ -66,6 +66,7 @@
fuel: 3
time: 3
- type: Airlock
- type: DoorBolt
- type: Appearance
- type: WiresVisuals
- type: ApcPowerReceiver

View File

@@ -59,6 +59,7 @@
fuel: 10
time: 10
- type: Airlock
- type: DoorBolt
- type: Appearance
- type: WiresVisuals
- type: ApcPowerReceiver

View File

@@ -112,6 +112,7 @@
openUnlitVisible: true
# needed so that windoors will close regardless of whether there are people in it; it doesn't crush after all
safety: false
- type: DoorBolt
- type: Electrified
enabled: false
usesApcPower: true

View File

@@ -85,7 +85,7 @@
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
- !type:AllWiresCut
@@ -123,7 +123,7 @@
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
- !type:AllWiresCut

View File

@@ -153,7 +153,7 @@
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
steps:
@@ -185,7 +185,7 @@
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
steps:

View File

@@ -108,7 +108,7 @@
- to: wired
conditions:
- !type:EntityAnchored {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
- !type:AllWiresCut
@@ -206,7 +206,7 @@
- to: wired
conditions:
- !type:EntityAnchored {}
- !type:AirlockBolted
- !type:DoorBolted
value: false
- !type:WirePanel {}
- !type:ContainerNotEmpty # TODO ShadowCommander: Remove when map gets updated