From bb752406f14e95466d32404ec3f0e6033afcec65 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 13 May 2010 16:27:28 +1200 Subject: [PATCH] fix some dog bugs; powr -> kenn --- mods/ra/infantry.yaml | 19 ++++++++++++++++--- mods/ra/structures.yaml | 4 +++- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/mods/ra/infantry.yaml b/mods/ra/infantry.yaml index c6b3373f54..aa1a33b59e 100644 --- a/mods/ra/infantry.yaml +++ b/mods/ra/infantry.yaml @@ -23,10 +23,12 @@ E1: Inherits: ^Infantry Buildable: TechLevel: 1 + Prerequisites: @Barracks Owner: allies,soviet Cost: 100 Description: Rifle Infantry LongDesc: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles + BuiltAt: barr,tent Selectable: Bounds: 12,17,0,-9 Unit: @@ -44,6 +46,8 @@ E2: Cost: 160 Description: Grenadier LongDesc: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles + Prerequisites: barr + BuiltAt: barr Selectable: Bounds: 12,17,0,-9 Unit: @@ -63,6 +67,8 @@ E3: Cost: 300 Description: Rocket Soldier LongDesc: Anti-tank/Anti-aircraft infantry.\n Strong vs Tanks, Aircraft\n Weak vs Infantry + Prerequisites: @Barracks + BuiltAt: barr,tent Selectable: Bounds: 12,17,0,-9 Unit: @@ -78,11 +84,12 @@ E4: Inherits: ^Infantry Buildable: TechLevel: 6 - Prerequisites: stek + Prerequisites: stek, @Barracks Owner: soviet Cost: 300 Description: Flamethrower LongDesc: Advanced Anti-infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles + BuiltAt: barr,tent Selectable: Bounds: 12,17,0,-9 Unit: @@ -102,6 +109,8 @@ E6: Cost: 500 Description: Engineer LongDesc: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything + Prerequisites: @Barracks + BuiltAt: barr,tent Selectable: Voice: EngineerVoice Bounds: 12,17,0,-9 @@ -118,11 +127,12 @@ SPY: Inherits: ^Infantry Buildable: TechLevel: 6 - Prerequisites: dome + Prerequisites: dome, tent Owner: allies Cost: 500 Description: Spy LongDesc: Infiltrates enemy structures to gather \nintelligence. Exact effect depends on the \nbuilding infiltrated.\n Strong vs Nothing\n Weak vs Everything\n Special Ability: Disguised + BuiltAt: tent Selectable: Voice: SpyVoice Bounds: 12,17,0,-9 @@ -142,11 +152,12 @@ E7: Inherits: ^Infantry Buildable: TechLevel: 11 - Prerequisites: @Tech Center + Prerequisites: @Tech Center, @Barracks Owner: allies,soviet Cost: 1200 Description: Tanya LongDesc: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4 + BuiltAt: barr,tent Selectable: Voice: TanyaVoice Bounds: 12,17,0,-9 @@ -169,6 +180,8 @@ MEDI: Cost: 800 Description: Medic LongDesc: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything + Prerequisites: tent + BuiltAt: tent Selectable: Voice: MedicVoice Bounds: 12,17,0,-9 diff --git a/mods/ra/structures.yaml b/mods/ra/structures.yaml index e350927316..cfc6a5ec3e 100644 --- a/mods/ra/structures.yaml +++ b/mods/ra/structures.yaml @@ -636,6 +636,7 @@ BARR: LongDesc: Produces infantry BuildPaletteOrder: 3 Hotkey: b + AlternateName: @Barracks Building: Power: -20 Footprint: xx xx @@ -681,7 +682,7 @@ KENN: Inherits: ^Building Buildable: TechLevel: 3 - Prerequisites: barr + Prerequisites: @Power Plant Owner: soviet Cost: 200 Description: Kennel @@ -694,6 +695,7 @@ KENN: Sight: 4 RallyPoint: Production: + Produces: Infantry IronCurtainable: FIX: