From 480db8be42ea2093c8df950abbe53ff3943d17c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 29 Jun 2012 14:32:38 +0200 Subject: [PATCH] non-capturable hospital with heal-zone will heal engineer, capturing it is useless; heal-zone makes less sense, but it looks nicer (otherwise infantry drawn on top of the building) --- mods/cnc/rules/defaults.yaml | 5 +++-- mods/cnc/rules/tech.yaml | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mods/cnc/rules/defaults.yaml b/mods/cnc/rules/defaults.yaml index fee01a9a67..b4fe022fc4 100644 --- a/mods/cnc/rules/defaults.yaml +++ b/mods/cnc/rules/defaults.yaml @@ -133,8 +133,9 @@ SpawnViceroid: Probability: 2 CrushableInfantry: - Repairable: - RepairBuildings: hosp + RepairableNear: + Buildings: hosp + CloseEnough: 1 ^CivInfantry: Inherits: ^Infantry diff --git a/mods/cnc/rules/tech.yaml b/mods/cnc/rules/tech.yaml index e69a4b19d8..ace9a55d64 100644 --- a/mods/cnc/rules/tech.yaml +++ b/mods/cnc/rules/tech.yaml @@ -21,7 +21,7 @@ V19.Husk: # Hospital HOSP: - Inherits: ^TechBuilding + Inherits: ^CivBuilding Building: Footprint: xx xx Dimensions: 2,2 @@ -29,9 +29,7 @@ HOSP: Name: Hospital LeavesHusk: HuskActor: HOSP.Husk - Reservable: RepairsUnits: - RallyPoint: HOSP.Husk: Inherits: ^CivBuildingHusk