From 6d5eb3967c4800c2e5bbcacd0fc10ea6474e76ba Mon Sep 17 00:00:00 2001 From: Slava0135 <40753025+Slava0135@users.noreply.github.com> Date: Wed, 1 Feb 2023 05:34:04 +0300 Subject: [PATCH] allow to build solar and grille on lattice (#13821) --- Resources/Prototypes/Recipes/Construction/structures.yml | 6 ++++++ Resources/Prototypes/Recipes/Construction/utilities.yml | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Recipes/Construction/structures.yml b/Resources/Prototypes/Recipes/Construction/structures.yml index 165d978420..c77334f93b 100644 --- a/Resources/Prototypes/Recipes/Construction/structures.yml +++ b/Resources/Prototypes/Recipes/Construction/structures.yml @@ -188,6 +188,12 @@ description: A flimsy framework of iron rods. conditions: - !type:TileNotBlocked + failIfSpace: false + - !type:TileType + targets: + - Lattice + - Plating + - UnderPlating icon: sprite: Structures/Walls/grille.rsi state: grille diff --git a/Resources/Prototypes/Recipes/Construction/utilities.yml b/Resources/Prototypes/Recipes/Construction/utilities.yml index 2209fab79e..30e6b46938 100644 --- a/Resources/Prototypes/Recipes/Construction/utilities.yml +++ b/Resources/Prototypes/Recipes/Construction/utilities.yml @@ -59,7 +59,13 @@ placementMode: SnapgridCenter canBuildInImpassable: false conditions: - - !type:TileNotBlocked {} + - !type:TileNotBlocked + failIfSpace: false + - !type:TileType + targets: + - Lattice + - Plating + - UnderPlating - type: construction name: cable terminal