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>()
{
return innerInherit.Keys.Contains( typeof( T ) );
return innerInherit[ typeof( T ) ].Count != 0;
}
public T Get<T>()

View File

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

View File

@@ -1052,10 +1052,11 @@ WEAP:
Armor: light
Crewed: yes
Sight: 4
RenderWarFactory:
RenderBuilding:
RenderWarFactory:
RallyPoint:
Production:
Produces: Vehicle
IronCurtainable:
SYRD:
@@ -1127,6 +1128,8 @@ FACT:
Crewed: yes
Sight: 5
RenderBuilding:
Production:
Produces: Building,Defense
ConstructionYard:
IronCurtainable:
@@ -1210,6 +1213,7 @@ HPAD:
RenderBuilding:
Production:
SpawnOffset: 0,-4
Produces: Plane
BelowUnits:
Reservable:
IronCurtainable:
@@ -1264,6 +1268,7 @@ AFLD:
Sight: 7
RenderBuilding:
Production:
Produces: Plane
BelowUnits:
Reservable:
IronCurtainable:
@@ -1368,6 +1373,7 @@ BARR:
RenderBuilding:
RallyPoint:
Production:
Produces: Infantry
IronCurtainable:
TENT:
@@ -1395,6 +1401,7 @@ TENT:
RenderBuilding:
RallyPoint:
Production:
Produces: Infantry
IronCurtainable:
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
[WEAP]
Description=War Factory
Traits=Building, RenderWarFactory, RenderBuilding, RallyPoint, Production, IronCurtainable
Traits=Building, RenderBuilding, RenderWarFactory, RallyPoint, Production, IronCurtainable
Dimensions=3,2
Footprint=xxx xxx
Produces=Vehicle
@@ -380,7 +380,7 @@ SelectionPriority=3
LongDesc=Produces and repairs submarines and \ntransports
[FACT]
Description=Construction Yard
Traits=Building, RenderBuilding, ConstructionYard, IronCurtainable
Traits=Building, RenderBuilding, Production, ConstructionYard, IronCurtainable
Dimensions=3,3
Footprint=xxx xxx xxx
Produces=Building,Defense
@@ -898,4 +898,4 @@ LongDesc=Makes a single unit invulnerable for a \nshort time.
Image=infxicon
Prerequisite=IRON
TechLevel=12
Impl=IronCurtainPower
Impl=IronCurtainPower