Glass airlock construction (#7877)
* Lower indentation * Add glass airlock construction * Fix glass airlock wrong name
This commit is contained in:
@@ -105,6 +105,9 @@
|
|||||||
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
|
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
|
||||||
- Impassable
|
- Impassable
|
||||||
- VaultImpassable
|
- VaultImpassable
|
||||||
|
- type: Construction
|
||||||
|
graph: Airlock
|
||||||
|
node: glassAirlock
|
||||||
- type: PaintableAirlock
|
- type: PaintableAirlock
|
||||||
group: Windoor
|
group: Windoor
|
||||||
|
|
||||||
|
|||||||
@@ -2,89 +2,135 @@
|
|||||||
id: Airlock
|
id: Airlock
|
||||||
start: start
|
start: start
|
||||||
graph:
|
graph:
|
||||||
- node: start
|
- node: start
|
||||||
edges:
|
edges:
|
||||||
- to: assembly
|
- to: assembly
|
||||||
completed:
|
completed:
|
||||||
- !type:SetAnchor
|
- !type:SetAnchor
|
||||||
value: false
|
value: false
|
||||||
steps:
|
steps:
|
||||||
- material: Steel
|
- material: Steel
|
||||||
amount: 4
|
amount: 4
|
||||||
doAfter: 2
|
doAfter: 2
|
||||||
|
|
||||||
- node: assembly
|
- node: assembly
|
||||||
entity: AirlockAssembly
|
entity: AirlockAssembly
|
||||||
actions:
|
actions:
|
||||||
- !type:SpriteStateChange
|
- !type:SpriteStateChange
|
||||||
state: assembly
|
state: assembly
|
||||||
- !type:SnapToGrid {}
|
- !type:SnapToGrid {}
|
||||||
- !type:SetAnchor {}
|
- !type:SetAnchor {}
|
||||||
edges:
|
edges:
|
||||||
- to: wired
|
- to: wired
|
||||||
conditions:
|
conditions:
|
||||||
- !type:EntityAnchored {}
|
- !type:EntityAnchored {}
|
||||||
steps:
|
steps:
|
||||||
- material: Cable
|
- material: Cable
|
||||||
amount: 5
|
amount: 5
|
||||||
doAfter: 2.5
|
doAfter: 2.5
|
||||||
- to: start
|
- to: start
|
||||||
conditions:
|
conditions:
|
||||||
- !type:EntityAnchored
|
- !type:EntityAnchored
|
||||||
anchored: false
|
anchored: false
|
||||||
completed:
|
completed:
|
||||||
- !type:SpawnPrototype
|
- !type:SpawnPrototype
|
||||||
prototype: SheetSteel1
|
prototype: SheetSteel1
|
||||||
amount: 4
|
amount: 4
|
||||||
- !type:DeleteEntity {}
|
- !type:DeleteEntity {}
|
||||||
steps:
|
steps:
|
||||||
- tool: Welding
|
- tool: Welding
|
||||||
doAfter: 3
|
doAfter: 3
|
||||||
|
|
||||||
- node: wired
|
- node: wired
|
||||||
entity: AirlockAssembly
|
entity: AirlockAssembly
|
||||||
edges:
|
edges:
|
||||||
- to: electronics
|
- to: electronics
|
||||||
conditions:
|
conditions:
|
||||||
- !type:EntityAnchored {}
|
- !type:EntityAnchored {}
|
||||||
steps:
|
steps:
|
||||||
- tag: DoorElectronics
|
- tag: DoorElectronics
|
||||||
store: board
|
store: board
|
||||||
name: "door electronics circuit board"
|
name: "door electronics circuit board"
|
||||||
icon:
|
icon:
|
||||||
sprite: "Objects/Misc/module.rsi"
|
sprite: "Objects/Misc/module.rsi"
|
||||||
state: "door_electronics"
|
state: "door_electronics"
|
||||||
doAfter: 3
|
doAfter: 3
|
||||||
- to: assembly
|
- to: assembly
|
||||||
completed:
|
completed:
|
||||||
- !type:SpawnPrototype
|
- !type:SpawnPrototype
|
||||||
prototype: CableApcStack1
|
prototype: CableApcStack1
|
||||||
amount: 5
|
amount: 5
|
||||||
steps:
|
steps:
|
||||||
- tool: Cutting
|
- tool: Cutting
|
||||||
doAfter: 2.5
|
doAfter: 2.5
|
||||||
|
|
||||||
- node: electronics
|
- node: electronics
|
||||||
edges:
|
edges:
|
||||||
- to: airlock
|
- to: airlock
|
||||||
conditions:
|
conditions:
|
||||||
- !type:EntityAnchored {}
|
- !type:EntityAnchored {}
|
||||||
steps:
|
steps:
|
||||||
- tool: Screwing
|
- tool: Screwing
|
||||||
doAfter: 2.5
|
doAfter: 2.5
|
||||||
|
- to: glassElectronics
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: ReinforcedGlass
|
||||||
|
amount: 1
|
||||||
|
doAfter: 2
|
||||||
|
|
||||||
- node: airlock
|
- node: airlock
|
||||||
entity: Airlock
|
entity: Airlock
|
||||||
edges:
|
edges:
|
||||||
- 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.
|
- 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:
|
conditions:
|
||||||
- !type:EntityAnchored {}
|
- !type:EntityAnchored {}
|
||||||
- !type:DoorWelded {}
|
- !type:DoorWelded {}
|
||||||
- !type:AirlockBolted
|
- !type:AirlockBolted
|
||||||
value: false
|
value: false
|
||||||
- !type:WirePanel {}
|
- !type:WirePanel {}
|
||||||
completed:
|
completed:
|
||||||
- !type:EmptyAllContainers {}
|
- !type:EmptyAllContainers {}
|
||||||
steps:
|
steps:
|
||||||
- tool: Prying
|
- tool: Prying
|
||||||
doAfter: 5
|
doAfter: 5
|
||||||
|
|
||||||
|
- node: glassElectronics
|
||||||
|
entity: AirlockAssembly
|
||||||
|
edges:
|
||||||
|
- to: glassAirlock
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
steps:
|
||||||
|
- material: ReinforcedGlass
|
||||||
|
amount: 1
|
||||||
|
doAfter: 2
|
||||||
|
- tool: Screwing
|
||||||
|
doAfter: 2.5
|
||||||
|
- to: wired
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
completed:
|
||||||
|
- !type:EmptyAllContainers {}
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 5
|
||||||
|
|
||||||
|
- node: glassAirlock
|
||||||
|
entity: AirlockGlass
|
||||||
|
edges:
|
||||||
|
- to: glassElectronics
|
||||||
|
conditions:
|
||||||
|
- !type:EntityAnchored {}
|
||||||
|
- !type:DoorWelded {}
|
||||||
|
- !type:AirlockBolted
|
||||||
|
value: false
|
||||||
|
- !type:WirePanel {}
|
||||||
|
completed:
|
||||||
|
- !type:SpawnPrototype
|
||||||
|
prototype: SheetRGlass1
|
||||||
|
amount: 1
|
||||||
|
steps:
|
||||||
|
- tool: Prying
|
||||||
|
doAfter: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user