Disposal Pipe Crafting (#6188)

This commit is contained in:
Jack Fox
2022-01-22 06:54:26 -06:00
committed by GitHub
parent 7eee6c6047
commit 90a5c6ea54
6 changed files with 291 additions and 33 deletions

View File

@@ -0,0 +1,144 @@
- type: constructionGraph
id: DisposalPipe
start: start
graph:
- node: start
edges:
- to: pipe
steps:
- material: Steel
amount: 2
doAfter: 1
- to: tagger
steps:
- material: Steel
amount: 2
doAfter: 1
- to: trunk
steps:
- material: Steel
amount: 2
doAfter: 1
- to: router
steps:
- material: Steel
amount: 2
doAfter: 1
- to: junction
steps:
- material: Steel
amount: 2
doAfter: 1
- to: yJunction
steps:
- material: Steel
amount: 2
doAfter: 1
- to: bend
steps:
- material: Steel
amount: 2
doAfter: 1
- node: broken
entity: DisposalPipeBroken
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: pipe
entity: DisposalPipe
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: tagger
entity: DisposalTagger
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: trunk
entity: DisposalTrunk
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: router
entity: DisposalRouter
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: junction
entity: DisposalJunction
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- to: yJunction
steps:
- tool: Screwing
doAfter: 1
- node: yJunction
entity: DisposalYJunction
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- to: junction
steps:
- tool: Screwing
doAfter: 1
- node: bend
entity: DisposalBend
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1

View File

@@ -1,4 +1,4 @@
#POWER
# POWER
- type: construction
name: APC
id: apc
@@ -15,7 +15,7 @@
canBuildInImpassable: true
- type: construction
name: Solar Assembly
name: solar assembly
id: SolarPanel
graph: solarpanel
startNode: start
@@ -32,7 +32,7 @@
- !type:TileNotBlocked {}
- type: construction
name: Cable Terminal
name: cable terminal
id: cableTerminal
graph: cable_terminal
startNode: start
@@ -47,7 +47,7 @@
canBuildInImpassable: false
#DISPOSALS
# DISPOSALS
- type: construction
name: disposal unit
id: DisposalUnit
@@ -61,5 +61,95 @@
sprite: Structures/Piping/disposal.rsi
state: "disposal"
- type: construction
name: disposal pipe
id: DisposalPipe
graph: DisposalPipe
startNode: start
targetNode: pipe
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: true
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-s
#ATMOS
- type: construction
name: disposal tagger
id: DisposalTagger
graph: DisposalPipe
startNode: start
targetNode: tagger
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-tagger
- type: construction
name: disposal trunk
id: DisposalTrunk
graph: DisposalPipe
startNode: start
targetNode: trunk
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-t
- type: construction
name: disposal router
id: DisposalRouter
graph: DisposalPipe
startNode: start
targetNode: router
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j1s
- type: construction
name: disposal junction
id: DisposalJunction
graph: DisposalPipe
startNode: start
targetNode: junction
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j1
- type: construction
name: disposal Y junction
id: DisposalYJunction
graph: DisposalPipe
startNode: start
targetNode: yJunction
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-y
- type: construction
name: disposal bend
id: DisposalBend
graph: DisposalPipe
startNode: start
targetNode: bend
category: Utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-c
# ATMOS