Add shortcut to flip for construction menu (#14152)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
08A
2023-05-15 06:13:24 +02:00
committed by GitHub
parent 6aeda003a1
commit 3f93b11e4a
11 changed files with 282 additions and 65 deletions

View File

@@ -4,24 +4,39 @@
graph:
- node: start
edges:
# Filter
- to: filter
steps:
- material: Steel
amount: 2
doAfter: 1
- to: filterflipped
steps:
- material: Steel
amount: 2
doAfter: 1
# Mixer
- to: mixer
steps:
- material: Steel
amount: 2
doAfter: 1
- to: mixerflipped
steps:
- material: Steel
amount: 2
doAfter: 1
- to: pneumaticvalve
steps:
- material: Steel
amount: 2
doAfter: 1
# Filter
- node: filter
entity: GasFilter
edges:
@@ -38,6 +53,23 @@
- tool: Welding
doAfter: 1
- node: filterflipped
entity: GasFilterFlipped
edges:
- to: start
conditions:
- !type:EntityAnchored
anchored: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
# Mixer
- node: mixer
entity: GasMixer
edges:
@@ -54,6 +86,22 @@
- tool: Welding
doAfter: 1
- node: mixerflipped
entity: GasMixerFlipped
edges:
- to: start
conditions:
- !type:EntityAnchored
anchored: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
- node: pneumaticvalve
entity: PressureControlledValve
edges:

View File

@@ -19,16 +19,28 @@
- material: Steel
amount: 2
doAfter: 1
# DisposalRouter
- to: router
steps:
- material: Steel
amount: 2
doAfter: 1
- to: routerflipped
steps:
- material: Steel
amount: 2
doAfter: 1
# DisposalJunction
- to: junction
steps:
- material: Steel
amount: 2
doAfter: 1
- to: junctionflipped
steps:
- material: Steel
amount: 2
doAfter: 1
- to: yJunction
steps:
- material: Steel
@@ -86,6 +98,7 @@
steps:
- tool: Welding
doAfter: 1
# DisposalRouter
- node: router
entity: DisposalRouter
edges:
@@ -98,6 +111,19 @@
steps:
- tool: Welding
doAfter: 1
- node: routerflipped
entity: DisposalRouterFlipped
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity
steps:
- tool: Welding
doAfter: 1
# DisposalJunction
- node: junction
entity: DisposalJunction
edges:
@@ -114,6 +140,22 @@
steps:
- tool: Screwing
doAfter: 1
- node: junctionflipped
entity: DisposalJunctionFlipped
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:
@@ -130,6 +172,10 @@
steps:
- tool: Screwing
doAfter: 1
- to: junctionflipped
steps:
- tool: Screwing
doAfter: 1
- node: bend
entity: DisposalBend
edges:

View File

@@ -211,6 +211,23 @@
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j1s
mirror: DisposalRouterFlipped
- type: construction
hide: true
name: disposal router
description: A three-way router. Entities with matching tags get routed to the side.
id: DisposalRouterFlipped
graph: DisposalPipe
startNode: start
targetNode: routerflipped
category: construction-category-utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j2s
mirror: DisposalRouter
- type: construction
name: disposal junction
@@ -225,6 +242,23 @@
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j1
mirror: DisposalJunctionFlipped
- type: construction
hide: true
name: disposal junction
description: A three-way junction. The arrow indicates where items exit.
id: DisposalJunctionFlipped
graph: DisposalPipe
startNode: start
targetNode: junctionflipped
category: construction-category-utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/disposal.rsi
state: conpipe-j2
mirror: DisposalJunction
- type: construction
name: disposal Y junction
@@ -624,6 +658,25 @@
icon:
sprite: Structures/Piping/Atmospherics/gasfilter.rsi
state: gasFilter
mirror: GasFilterFlipped
conditions:
- !type:TileNotBlocked {}
- type: construction
id: GasFilterFlipped
hide: true
name: gas filter
description: Very useful for filtering gases.
graph: GasTrinary
startNode: start
targetNode: filterflipped
category: construction-category-utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/Atmospherics/gasfilter.rsi
state: gasFilterF
mirror: GasFilter
conditions:
- !type:TileNotBlocked {}
@@ -640,6 +693,25 @@
icon:
sprite: Structures/Piping/Atmospherics/gasmixer.rsi
state: gasMixer
mirror: GasMixerFlipped
conditions:
- !type:TileNotBlocked {}
- type: construction
id: GasMixerFlipped
hide: true
name: gas mixer
description: Very useful for mixing gases.
graph: GasTrinary
startNode: start
targetNode: mixerflipped
category: construction-category-utilities
placementMode: SnapgridCenter
canBuildInImpassable: false
icon:
sprite: Structures/Piping/Atmospherics/gasmixer.rsi
state: gasMixerF
mirror: GasMixer
conditions:
- !type:TileNotBlocked {}