From 00af8f96f62d0cbaacad029574327819c7b9d123 Mon Sep 17 00:00:00 2001 From: Vladislav Suchkov <20380250+murolem@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:58:42 +1000 Subject: [PATCH] Fix construction orientation being ignored for some objects (#36488) * fixes * removed empty "SnapToGrid"s and parent "completed"s --- .../Construction/Graphs/structures/fence_metal.yml | 12 ------------ .../Construction/Graphs/structures/girder.yml | 3 --- .../Graphs/structures/grille_diagonal.yml | 6 ------ 3 files changed, 21 deletions(-) diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/fence_metal.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/fence_metal.yml index a68e1d50fb..444c327fdc 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/fence_metal.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/fence_metal.yml @@ -7,33 +7,21 @@ - !type:DeleteEntity { } edges: - to: straight - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 5 doAfter: 6 - to: corner - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 5 doAfter: 6 - to: end - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 5 doAfter: 6 - to: gate - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 5 diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml index fb783e0da5..7c0c7269db 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/girder.yml @@ -271,9 +271,6 @@ doAfter: 1 - to: diagonalshuttleWall - completed: - - !type:SnapToGrid - southRotation: false conditions: - !type:EntityAnchored { } steps: diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/grille_diagonal.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/grille_diagonal.yml index d24656faa5..6c32b96801 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/grille_diagonal.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/grille_diagonal.yml @@ -5,18 +5,12 @@ - node: start edges: - to: grilleDiagonal - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 2 doAfter: 1 - to: clockworkGrilleDiagonal - completed: - - !type:SnapToGrid - southRotation: true steps: - material: MetalRod amount: 2 -- 2.51.2