fixes the build palette, and a few silly errors.

This commit is contained in:
Bob
2010-01-12 15:25:27 +13:00
parent 5a29dd6ee2
commit 275100938d
5 changed files with 14 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ namespace OpenRa
public bool Contains<T>() public bool Contains<T>()
{ {
return innerInherit.Keys.Contains( typeof( T ) ); return innerInherit[ typeof( T ) ].Count != 0;
} }
public T Get<T>() public T Get<T>()

View File

@@ -143,7 +143,8 @@ namespace RulesConverter
}, },
{ "Production", new PL { { "Production", new PL {
{ "SpawnOffset", "SpawnOffset" } } { "SpawnOffset", "SpawnOffset" },
{ "Produces", "Produces" } }
}, },
}; };

View File

@@ -1052,10 +1052,11 @@ WEAP:
Armor: light Armor: light
Crewed: yes Crewed: yes
Sight: 4 Sight: 4
RenderWarFactory:
RenderBuilding: RenderBuilding:
RenderWarFactory:
RallyPoint: RallyPoint:
Production: Production:
Produces: Vehicle
IronCurtainable: IronCurtainable:
SYRD: SYRD:
@@ -1127,6 +1128,8 @@ FACT:
Crewed: yes Crewed: yes
Sight: 5 Sight: 5
RenderBuilding: RenderBuilding:
Production:
Produces: Building,Defense
ConstructionYard: ConstructionYard:
IronCurtainable: IronCurtainable:
@@ -1210,6 +1213,7 @@ HPAD:
RenderBuilding: RenderBuilding:
Production: Production:
SpawnOffset: 0,-4 SpawnOffset: 0,-4
Produces: Plane
BelowUnits: BelowUnits:
Reservable: Reservable:
IronCurtainable: IronCurtainable:
@@ -1264,6 +1268,7 @@ AFLD:
Sight: 7 Sight: 7
RenderBuilding: RenderBuilding:
Production: Production:
Produces: Plane
BelowUnits: BelowUnits:
Reservable: Reservable:
IronCurtainable: IronCurtainable:
@@ -1368,6 +1373,7 @@ BARR:
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
Produces: Infantry
IronCurtainable: IronCurtainable:
TENT: TENT:
@@ -1395,6 +1401,7 @@ TENT:
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
Produces: Infantry
IronCurtainable: IronCurtainable:
KENN: KENN:

0
regen-yaml.cmd Normal file → Executable file
View File

View File

@@ -355,7 +355,7 @@ SelectionPriority=3
LongDesc=Provides Allied advanced technologies.\n Special Ability: GPS Satellite LongDesc=Provides Allied advanced technologies.\n Special Ability: GPS Satellite
[WEAP] [WEAP]
Description=War Factory Description=War Factory
Traits=Building, RenderWarFactory, RenderBuilding, RallyPoint, Production, IronCurtainable Traits=Building, RenderBuilding, RenderWarFactory, RallyPoint, Production, IronCurtainable
Dimensions=3,2 Dimensions=3,2
Footprint=xxx xxx Footprint=xxx xxx
Produces=Vehicle Produces=Vehicle
@@ -380,7 +380,7 @@ SelectionPriority=3
LongDesc=Produces and repairs submarines and \ntransports LongDesc=Produces and repairs submarines and \ntransports
[FACT] [FACT]
Description=Construction Yard Description=Construction Yard
Traits=Building, RenderBuilding, ConstructionYard, IronCurtainable Traits=Building, RenderBuilding, Production, ConstructionYard, IronCurtainable
Dimensions=3,3 Dimensions=3,3
Footprint=xxx xxx xxx Footprint=xxx xxx xxx
Produces=Building,Defense Produces=Building,Defense
@@ -898,4 +898,4 @@ LongDesc=Makes a single unit invulnerable for a \nshort time.
Image=infxicon Image=infxicon
Prerequisite=IRON Prerequisite=IRON
TechLevel=12 TechLevel=12
Impl=IronCurtainPower Impl=IronCurtainPower