Fix windoor deconstruction (#6581)

This commit is contained in:
Leon Friedrich
2022-02-14 15:44:21 +13:00
committed by GitHub
parent 177e14c8fd
commit 9fecdcdde3
4 changed files with 11 additions and 33 deletions

View File

@@ -76,6 +76,7 @@
- type: Door
canCrush: false
weldable: false
board: DoorElectronics
openSound:
path: /Audio/Machines/windoor_open.ogg
closeSound:

View File

@@ -76,32 +76,15 @@
- node: airlock
entity: Airlock
edges:
- to: wired
- to: wired #TODO DOOR ELECTRONICS. If door electronics ever govern access permissions, this step should probably be further down? It makes it too easy to swap permissions around. See also windoor.
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
value: false
- !type:WirePanel {}
- !type:ContainerNotEmpty # TODO ShadowCommander: Remove when map gets updated
container: board
completed:
- !type:EmptyAllContainers {}
steps:
- tool: Prying
doAfter: 5
- to: wired # TODO ShadowCommander: Remove when board spawning is implemented in ServerDoorComponent.cs. Needs a map update.
conditions:
- !type:EntityAnchored {}
- !type:DoorWelded {}
- !type:AirlockBolted
value: false
- !type:WirePanel {}
- !type:ContainerEmpty
container: board
completed:
- !type:SpawnPrototype
prototype: DoorElectronics
steps:
- tool: Prying
doAfter: 5

View File

@@ -112,8 +112,6 @@
- !type:AirlockBolted
value: false
- !type:WirePanel {}
- !type:ContainerNotEmpty # TODO ShadowCommander: Remove when map gets updated
container: board
completed:
- !type:EmptyAllContainers {}
steps: