This commit is contained in:
Stanbery Trask
2021-12-12 23:03:21 -06:00
committed by GitHub
parent e277122237
commit cd4af34849
6 changed files with 213 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
- type: constructionGraph
id: railing
start: start
graph:
- node: start
edges:
- to: railing
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: MetalRod
amount: 1
doAfter: 2
- to: railingCorner
completed:
- !type:SnapToGrid
southRotation: true
steps:
- material: MetalRod
amount: 2
doAfter: 2.5
- node: railing
entity: Railing
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: PartRodMetal1
amount: 1
- !type:DeleteEntity
steps:
- tool: Screwing
doAfter: 0.25
- node: railingCorner
entity: RailingCorner
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: PartRodMetal1
amount: 2
- !type:DeleteEntity
steps:
- tool: Screwing
doAfter: 0.5

View File

@@ -323,3 +323,37 @@
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked {}
- type: construction
name: railing
id: Railing
graph: railing
startNode: start
targetNode: railing
category: Structures
description: Basic railing meant to protect idiots like you from falling.
icon:
sprite: Structures/Walls/railing.rsi
state: side
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked {}
- type: construction
name: railing corner
id: RailingCorner
graph: railing
startNode: start
targetNode: railingCorner
category: Structures
description: Basic railing meant to protect idiots like you from falling.
icon:
sprite: Structures/Walls/railing.rsi
state: corner
objectType: Structure
placementMode: SnapgridCenter
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked {}