more conversion

This commit is contained in:
Chris Forbes
2010-01-09 22:20:43 +13:00
parent 454e3a9ca9
commit da6106520f
2 changed files with 126 additions and 0 deletions

View File

@@ -127,6 +127,23 @@ namespace RulesConverter
{ "LimitedAmmo", new PL { { "LimitedAmmo", new PL {
{ "Ammo", "Ammo" } } { "Ammo", "Ammo" } }
}, },
{ "Building", new PL {
{ "Power", "Power" },
{ "RequiresPower", "Powered" },
{ "Footprint", "Footprint" },
{ "@Dimensions", "Dimensions" } }
},
{ "StoresOre", new PL {
{ "Pips", "OrePips" },
{ "Capacity", "Storage" } }
},
{ "Harvester", new PL {
{ "Pips", "OrePips" } }
//{ "Capacity"
},
}; };
using (var writer = File.CreateText(outputFile)) using (var writer = File.CreateText(outputFile))

109
out.rul
View File

@@ -659,6 +659,10 @@ IRON:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -200
RequiresPower: true
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
IronCurtain: IronCurtain:
@@ -676,6 +680,10 @@ PDOX:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -200
RequiresPower: true
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
Chronosphere: Chronosphere:
IronCurtainable: IronCurtainable:
@@ -693,6 +701,9 @@ PBOX:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -15
Footprint: x
Dimensions: [1,1]
Turreted: Turreted:
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
@@ -712,6 +723,9 @@ HBOX:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -15
Footprint: x
Dimensions: [1,1]
Turreted: Turreted:
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
@@ -731,6 +745,10 @@ TSLA:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -150
RequiresPower: true
Footprint: _ x
Dimensions: [1,2]
Turreted: Turreted:
RenderBuildingCharge: RenderBuildingCharge:
AttackTurreted: AttackTurreted:
@@ -750,6 +768,9 @@ GUN:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -40
Footprint: x
Dimensions: [1,1]
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -769,6 +790,10 @@ AGUN:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -50
RequiresPower: true
Footprint: _ x
Dimensions: [1,2]
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -789,6 +814,9 @@ FTUR:
Priority: 3 Priority: 3
Turreted: Turreted:
Building: Building:
Power: -20
Footprint: x
Dimensions: [1,1]
RenderBuilding: RenderBuilding:
AttackTurreted: AttackTurreted:
AutoTarget: AutoTarget:
@@ -807,6 +835,10 @@ GAP:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -60
RequiresPower: true
Footprint: _ x
Dimensions: [1,2]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -823,6 +855,9 @@ SAM:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -20
Footprint: xx
Dimensions: [2,1]
Turreted: Turreted:
RenderBuildingTurreted: RenderBuildingTurreted:
AttackTurreted: AttackTurreted:
@@ -842,6 +877,9 @@ MSLO:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -100
Footprint: xx
Dimensions: [2,1]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -858,6 +896,9 @@ ATEK:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -200
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
GpsLaunchSite: GpsLaunchSite:
@@ -875,6 +916,9 @@ WEAP:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: xxx xxx
Dimensions: [3,2]
RenderWarFactory: RenderWarFactory:
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
@@ -894,6 +938,9 @@ SYRD:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
ProductionSurround: ProductionSurround:
IronCurtainable: IronCurtainable:
@@ -911,6 +958,9 @@ SPEN:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
ProductionSurround: ProductionSurround:
IronCurtainable: IronCurtainable:
@@ -920,6 +970,9 @@ FACT:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: 0
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
ConstructionYard: ConstructionYard:
IronCurtainable: IronCurtainable:
@@ -937,9 +990,14 @@ PROC:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: _x_ xxx x==
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
AcceptsOre: AcceptsOre:
StoresOre: StoresOre:
Pips: 17
Capacity: 2000
IronCurtainable: IronCurtainable:
SILO: SILO:
@@ -955,8 +1013,13 @@ SILO:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -10
Footprint: x
Dimensions: [1,1]
RenderBuildingOre: RenderBuildingOre:
StoresOre: StoresOre:
Pips: 5
Capacity: 1500
IronCurtainable: IronCurtainable:
HPAD: HPAD:
@@ -972,6 +1035,9 @@ HPAD:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -10
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
Production: Production:
BelowUnits: BelowUnits:
@@ -991,6 +1057,10 @@ DOME:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -40
RequiresPower: true
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
ProvidesRadar: ProvidesRadar:
IronCurtainable: IronCurtainable:
@@ -1008,6 +1078,9 @@ AFLD:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: xxx xxx
Dimensions: [3,2]
RenderBuilding: RenderBuilding:
Production: Production:
BelowUnits: BelowUnits:
@@ -1027,6 +1100,9 @@ POWR:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: 100
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1043,6 +1119,9 @@ APWR:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: 200
Footprint: ___ xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1059,6 +1138,9 @@ STEK:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -100
Footprint: xxx xxx
Dimensions: [3,2]
RenderBuilding: RenderBuilding:
IronCurtainable: IronCurtainable:
@@ -1075,6 +1157,9 @@ BARR:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -20
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1093,6 +1178,9 @@ TENT:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -20
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1111,6 +1199,9 @@ KENN:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -10
Footprint: x
Dimensions: [1,1]
RenderBuilding: RenderBuilding:
RallyPoint: RallyPoint:
Production: Production:
@@ -1129,6 +1220,9 @@ FIX:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -30
Footprint: _x_ xxx _x_
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
BelowUnits: BelowUnits:
Reservable: Reservable:
@@ -1146,6 +1240,9 @@ FACF:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -2
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
Image: FACT Image: FACT
Fake: Fake:
@@ -1164,6 +1261,9 @@ WEAF:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -2
Footprint: xxx xxx
Dimensions: [3,2]
RenderWarFactory: RenderWarFactory:
RenderBuilding: RenderBuilding:
Image: WEAP Image: WEAP
@@ -1183,6 +1283,9 @@ SYRF:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -2
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
Image: SYRD Image: SYRD
Fake: Fake:
@@ -1192,6 +1295,9 @@ SPEF:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -2
Footprint: xxx xxx xxx
Dimensions: [3,3]
RenderBuilding: RenderBuilding:
Image: SPEN Image: SPEN
Fake: Fake:
@@ -1209,6 +1315,9 @@ DOMF:
Selectable: Selectable:
Priority: 3 Priority: 3
Building: Building:
Power: -2
Footprint: xx xx
Dimensions: [2,2]
RenderBuilding: RenderBuilding:
Image: DOME Image: DOME
Fake: Fake: