From a635ac40b9f1b2a40fa0571c62061e708153cd1f Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> Date: Wed, 20 Jul 2022 14:30:08 +0200 Subject: [PATCH] Gas pipes now need to be unanchored before deconstruction. (#9904) Cleans up their graphs, they had no spacing at all. --- .../Graphs/utilities/atmos_binary.yml | 35 +++++++++++++++++-- .../Graphs/utilities/atmos_pipes.yml | 26 +++++++++++++- .../Graphs/utilities/atmos_trinary.yml | 11 +++++- .../Graphs/utilities/atmos_unary.yml | 20 ++++++++++- 4 files changed, 86 insertions(+), 6 deletions(-) diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_binary.yml b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_binary.yml index bfc3405259..ff6c97c5d2 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_binary.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_binary.yml @@ -9,35 +9,44 @@ - material: Steel amount: 2 doAfter: 1 + - to: volumepump steps: - material: Steel amount: 2 doAfter: 1 + - to: passivegate steps: - material: Steel amount: 2 - doAfter: 1 + doAfter: 1 + - to: valve steps: - material: Steel amount: 2 doAfter: 1 + - to: port steps: - material: Steel amount: 2 doAfter: 1 + - to: dualportventpump steps: - material: Steel amount: 2 doAfter: 1 + - node: pressurepump entity: GasPressurePump edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -46,10 +55,14 @@ steps: - tool: Welding doAfter: 1 + - node: volumepump entity: GasVolumePump edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -58,10 +71,14 @@ steps: - tool: Welding doAfter: 1 + - node: passivegate entity: GasPassiveGate edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -70,10 +87,14 @@ steps: - tool: Welding doAfter: 1 + - node: valve entity: GasValve edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -81,11 +102,15 @@ - !type:DeleteEntity steps: - tool: Welding - doAfter: 1 + doAfter: 1 + - node: port entity: GasPort edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -93,11 +118,15 @@ - !type:DeleteEntity steps: - tool: Welding - doAfter: 1 + doAfter: 1 + - node: dualportventpump entity: GasDualPortVentPump edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_pipes.yml b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_pipes.yml index a7819162c3..2692319b34 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_pipes.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_pipes.yml @@ -9,30 +9,38 @@ - material: Steel amount: 2 doAfter: 1 + - to: straight steps: - material: Steel amount: 2 doAfter: 1 + - to: bend steps: - material: Steel amount: 2 doAfter: 1 + - to: tjunction steps: - material: Steel amount: 2 doAfter: 1 + - to: fourway steps: - material: Steel amount: 2 doAfter: 1 + - node: half entity: GasPipeHalf edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -41,10 +49,14 @@ steps: - tool: Welding doAfter: 1 + - node: straight entity: GasPipeStraight edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -53,10 +65,14 @@ steps: - tool: Welding doAfter: 1 + - node: bend entity: GasPipeBend edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -65,10 +81,14 @@ steps: - tool: Welding doAfter: 1 + - node: tjunction entity: GasPipeTJunction edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -77,10 +97,14 @@ steps: - tool: Welding doAfter: 1 + - node: fourway entity: GasPipeFourway edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -88,4 +112,4 @@ - !type:DeleteEntity steps: - tool: Welding - doAfter: 1 \ No newline at end of file + doAfter: 1 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_trinary.yml b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_trinary.yml index eeace4b95f..97c03b0006 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_trinary.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_trinary.yml @@ -9,15 +9,20 @@ - material: Steel amount: 2 doAfter: 1 + - to: mixer steps: - material: Steel amount: 2 doAfter: 1 + - node: filter entity: GasFilter edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -26,10 +31,14 @@ steps: - tool: Welding doAfter: 1 + - node: mixer entity: GasMixer edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -37,4 +46,4 @@ - !type:DeleteEntity steps: - tool: Welding - doAfter: 1 \ No newline at end of file + doAfter: 1 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_unary.yml b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_unary.yml index d5ca375087..b643af8d53 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_unary.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_unary.yml @@ -9,25 +9,32 @@ - material: Steel amount: 2 doAfter: 1 + - to: passivevent steps: - material: Steel amount: 2 doAfter: 1 + - to: ventscrubber steps: - material: Steel amount: 2 doAfter: 1 + - to: outletinjector steps: - material: Steel amount: 2 doAfter: 1 + - node: ventpump entity: GasVentPump edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -38,10 +45,14 @@ doAfter: 1 - tool: Welding doAfter: 1 + - node: passivevent entity: GasPassiveVent edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -52,10 +63,14 @@ doAfter: 1 - tool: Welding doAfter: 1 + - node: ventscrubber entity: GasVentScrubber edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -66,10 +81,14 @@ doAfter: 1 - tool: Welding doAfter: 1 + - node: outletinjector entity: GasOutletInjector edges: - to: start + conditions: + - !type:EntityAnchored + anchored: false completed: - !type:SpawnPrototype prototype: SheetSteel1 @@ -78,4 +97,3 @@ steps: - tool: Welding doAfter: 1 - \ No newline at end of file