From d35bd8c8686d9df062d51e3242de300549a737d5 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sat, 4 Oct 2014 13:45:48 +0200 Subject: [PATCH] Makes unbuildable fences only connect to themselves --- mods/cnc/rules/civilian.yaml | 12 ++++++++++++ mods/ra/rules/structures.yaml | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/mods/cnc/rules/civilian.yaml b/mods/cnc/rules/civilian.yaml index 51f3ff96e0..02be9ed977 100644 --- a/mods/cnc/rules/civilian.yaml +++ b/mods/cnc/rules/civilian.yaml @@ -283,6 +283,12 @@ BARB: Tooltip: Name: Wire Fence Icon: barbicnh + LineBuild: + NodeTypes: barbwire + LineBuildNode: + Types: barbwire + RenderBuildingWall: + Type: barbwire WOOD: Inherits: ^Wall @@ -293,6 +299,12 @@ WOOD: Tooltip: Name: Wooden Fence Icon: woodicnh + LineBuild: + NodeTypes: woodfence + LineBuildNode: + Types: woodfence + RenderBuildingWall: + Type: woodfence BRIDGE1: Inherits: ^Bridge diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 02266ff5c2..d2c8f9869b 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1387,6 +1387,12 @@ CYCL: HP: 100 Armor: Type: Wood + LineBuild: + NodeTypes: chain + LineBuildNode: + Types: chain + RenderBuildingWall: + Type: chain BARB: Inherits: ^Wall @@ -1394,6 +1400,12 @@ BARB: HP: 100 Armor: Type: Wood + LineBuild: + NodeTypes: barbwire + LineBuildNode: + Types: barbwire + RenderBuildingWall: + Type: barbwire WOOD: Inherits: ^Wall @@ -1401,6 +1413,12 @@ WOOD: HP: 100 Armor: Type: Wood + LineBuild: + NodeTypes: woodfence + LineBuildNode: + Types: woodfence + RenderBuildingWall: + Type: woodfence BARRACKS: Tooltip: