BuiltAt in RulesConverter
This commit is contained in:
@@ -24,7 +24,7 @@ namespace OpenRa.Game.GameRules
|
|||||||
{
|
{
|
||||||
MiniYaml inherits;
|
MiniYaml inherits;
|
||||||
node.Nodes.TryGetValue( "Inherits", out inherits );
|
node.Nodes.TryGetValue( "Inherits", out inherits );
|
||||||
if( inherits.Value == null || string.IsNullOrEmpty( inherits.Value ) )
|
if( inherits == null || string.IsNullOrEmpty( inherits.Value ) )
|
||||||
return node;
|
return node;
|
||||||
|
|
||||||
MiniYaml parent;
|
MiniYaml parent;
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ namespace RulesConverter
|
|||||||
{ "TechLevel", "TechLevel" },
|
{ "TechLevel", "TechLevel" },
|
||||||
{ "Tab", "$Tab" },
|
{ "Tab", "$Tab" },
|
||||||
{ "@Prerequisites", "Prerequisite" },
|
{ "@Prerequisites", "Prerequisite" },
|
||||||
|
{ "BuiltAt", "BuiltAt" },
|
||||||
{ "Owner", "Owner" },
|
{ "Owner", "Owner" },
|
||||||
{ "Cost", "Cost" },
|
{ "Cost", "Cost" },
|
||||||
{ "Icon", "Icon" },
|
{ "Icon", "Icon" },
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ MSUB:
|
|||||||
TechLevel: 9
|
TechLevel: 9
|
||||||
Tab: Ship
|
Tab: Ship
|
||||||
Prerequisites: stek
|
Prerequisites: stek
|
||||||
|
BuiltAt: spen
|
||||||
Owner: soviet
|
Owner: soviet
|
||||||
Cost: 1650
|
Cost: 1650
|
||||||
Description: "Missile Submarine"
|
Description: "Missile Submarine"
|
||||||
|
|||||||
10
ra.yaml
10
ra.yaml
@@ -443,6 +443,7 @@ SS:
|
|||||||
TechLevel: 5
|
TechLevel: 5
|
||||||
Tab: Ship
|
Tab: Ship
|
||||||
Prerequisites: spen
|
Prerequisites: spen
|
||||||
|
BuiltAt: spen
|
||||||
Owner: soviet
|
Owner: soviet
|
||||||
Cost: 950
|
Cost: 950
|
||||||
Description: "Submarine"
|
Description: "Submarine"
|
||||||
@@ -469,6 +470,7 @@ DD:
|
|||||||
TechLevel: 7
|
TechLevel: 7
|
||||||
Tab: Ship
|
Tab: Ship
|
||||||
Prerequisites: syrd
|
Prerequisites: syrd
|
||||||
|
BuiltAt: syrd
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 1000
|
Cost: 1000
|
||||||
Description: "Destroyer"
|
Description: "Destroyer"
|
||||||
@@ -496,6 +498,7 @@ CA:
|
|||||||
TechLevel: 10
|
TechLevel: 10
|
||||||
Tab: Ship
|
Tab: Ship
|
||||||
Prerequisites: syrd,atek
|
Prerequisites: syrd,atek
|
||||||
|
BuiltAt: syrd
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 2000
|
Cost: 2000
|
||||||
Description: "Cruiser"
|
Description: "Cruiser"
|
||||||
@@ -548,6 +551,7 @@ PT:
|
|||||||
TechLevel: 5
|
TechLevel: 5
|
||||||
Tab: Ship
|
Tab: Ship
|
||||||
Prerequisites: syrd
|
Prerequisites: syrd
|
||||||
|
BuiltAt: syrd
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 500
|
Cost: 500
|
||||||
Description: "Gunboat"
|
Description: "Gunboat"
|
||||||
@@ -575,6 +579,7 @@ MIG:
|
|||||||
TechLevel: 10
|
TechLevel: 10
|
||||||
Tab: Plane
|
Tab: Plane
|
||||||
Prerequisites: afld
|
Prerequisites: afld
|
||||||
|
BuiltAt: afld
|
||||||
Owner: soviet
|
Owner: soviet
|
||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: "Mig Attack Plane"
|
Description: "Mig Attack Plane"
|
||||||
@@ -602,6 +607,7 @@ YAK:
|
|||||||
TechLevel: 5
|
TechLevel: 5
|
||||||
Tab: Plane
|
Tab: Plane
|
||||||
Prerequisites: afld
|
Prerequisites: afld
|
||||||
|
BuiltAt: afld
|
||||||
Owner: soviet
|
Owner: soviet
|
||||||
Cost: 800
|
Cost: 800
|
||||||
Description: "Yak Attack Plane"
|
Description: "Yak Attack Plane"
|
||||||
@@ -630,6 +636,7 @@ TRAN:
|
|||||||
TechLevel: 11
|
TechLevel: 11
|
||||||
Tab: Plane
|
Tab: Plane
|
||||||
Prerequisites: hpad
|
Prerequisites: hpad
|
||||||
|
BuiltAt: hpad
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: "Transport Helicopter"
|
Description: "Transport Helicopter"
|
||||||
@@ -658,6 +665,7 @@ HELI:
|
|||||||
TechLevel: 9
|
TechLevel: 9
|
||||||
Tab: Plane
|
Tab: Plane
|
||||||
Prerequisites: hpad
|
Prerequisites: hpad
|
||||||
|
BuiltAt: hpad
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: "Longbow"
|
Description: "Longbow"
|
||||||
@@ -689,6 +697,7 @@ HIND:
|
|||||||
TechLevel: 9
|
TechLevel: 9
|
||||||
Tab: Plane
|
Tab: Plane
|
||||||
Prerequisites: hpad
|
Prerequisites: hpad
|
||||||
|
BuiltAt: hpad
|
||||||
Owner: allies
|
Owner: allies
|
||||||
Cost: 1200
|
Cost: 1200
|
||||||
Description: "Hind"
|
Description: "Hind"
|
||||||
@@ -2234,6 +2243,7 @@ DOG:
|
|||||||
TechLevel: 3
|
TechLevel: 3
|
||||||
Tab: Infantry
|
Tab: Infantry
|
||||||
Prerequisites: kenn
|
Prerequisites: kenn
|
||||||
|
BuiltAt: KENN
|
||||||
Owner: soviet
|
Owner: soviet
|
||||||
Cost: 200
|
Cost: 200
|
||||||
Description: "Attack Dog"
|
Description: "Attack Dog"
|
||||||
|
|||||||
Reference in New Issue
Block a user