Merge pull request #9092 from penev92/bleed_rename
Some more renaming from "race" to "faction"
This commit is contained in:
@@ -33,8 +33,8 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("The list of unit target types we are allowed to duplicate.")]
|
[Desc("The list of unit target types we are allowed to duplicate.")]
|
||||||
public readonly string[] ValidTargets = { "Ground", "Water" };
|
public readonly string[] ValidTargets = { "Ground", "Water" };
|
||||||
|
|
||||||
[Desc("Which races this crate action can occur for.")]
|
[Desc("Which factions this crate action can occur for.")]
|
||||||
public readonly string[] ValidRaces = { };
|
public readonly string[] ValidFactions = { };
|
||||||
|
|
||||||
[Desc("Is the new duplicates given to a specific owner, regardless of whom collected it?")]
|
[Desc("Is the new duplicates given to a specific owner, regardless of whom collected it?")]
|
||||||
public readonly string Owner = null;
|
public readonly string Owner = null;
|
||||||
@@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public bool CanGiveTo(Actor collector)
|
public bool CanGiveTo(Actor collector)
|
||||||
{
|
{
|
||||||
if (info.ValidRaces.Any() && !info.ValidRaces.Contains(collector.Owner.Faction.InternalName))
|
if (info.ValidFactions.Any() && !info.ValidFactions.Contains(collector.Owner.Faction.InternalName))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var targetable = collector.Info.Traits.GetOrDefault<ITargetableInfo>();
|
var targetable = collector.Info.Traits.GetOrDefault<ITargetableInfo>();
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[ActorReference, FieldLoader.Require]
|
[ActorReference, FieldLoader.Require]
|
||||||
public readonly string[] Units = { };
|
public readonly string[] Units = { };
|
||||||
|
|
||||||
[Desc("Races that are allowed to trigger this action")]
|
[Desc("Factions that are allowed to trigger this action.")]
|
||||||
public readonly string[] ValidRaces = { };
|
public readonly string[] ValidFactions = { };
|
||||||
|
|
||||||
[Desc("Override the owner of the newly spawned unit: e.g. Creeps or Neutral")]
|
[Desc("Override the owner of the newly spawned unit: e.g. Creeps or Neutral")]
|
||||||
public readonly string Owner = null;
|
public readonly string Owner = null;
|
||||||
@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public bool CanGiveTo(Actor collector)
|
public bool CanGiveTo(Actor collector)
|
||||||
{
|
{
|
||||||
if (info.ValidRaces.Any() && !info.ValidRaces.Contains(collector.Owner.Faction.InternalName))
|
if (info.ValidFactions.Any() && !info.ValidFactions.Contains(collector.Owner.Faction.InternalName))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
foreach (string unit in info.Units)
|
foreach (string unit in info.Units)
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("The sequence name that defines the actor sprites. Defaults to the actor name.")]
|
[Desc("The sequence name that defines the actor sprites. Defaults to the actor name.")]
|
||||||
public readonly string Image = null;
|
public readonly string Image = null;
|
||||||
|
|
||||||
[FieldLoader.LoadUsing("LoadRaceImages")]
|
[FieldLoader.LoadUsing("LoadFactionImages")]
|
||||||
[Desc("A dictionary of race-specific image overrides.")]
|
[Desc("A dictionary of faction-specific image overrides.")]
|
||||||
public readonly Dictionary<string, string> RaceImages = null;
|
public readonly Dictionary<string, string> FactionImages = null;
|
||||||
|
|
||||||
[Desc("Custom palette name")]
|
[Desc("Custom palette name")]
|
||||||
[PaletteReference] public readonly string Palette = null;
|
[PaletteReference] public readonly string Palette = null;
|
||||||
@@ -42,11 +42,11 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
[Desc("Change the sprite image size.")]
|
[Desc("Change the sprite image size.")]
|
||||||
public readonly float Scale = 1f;
|
public readonly float Scale = 1f;
|
||||||
|
|
||||||
protected static object LoadRaceImages(MiniYaml y)
|
protected static object LoadFactionImages(MiniYaml y)
|
||||||
{
|
{
|
||||||
MiniYaml images;
|
MiniYaml images;
|
||||||
|
|
||||||
if (!y.ToDictionary().TryGetValue("RaceImages", out images))
|
if (!y.ToDictionary().TryGetValue("FactionImages", out images))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
return images.Nodes.ToDictionary(kv => kv.Key, kv => kv.Value.Value);
|
return images.Nodes.ToDictionary(kv => kv.Key, kv => kv.Value.Value);
|
||||||
@@ -82,10 +82,10 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
public string GetImage(ActorInfo actor, SequenceProvider sequenceProvider, string race)
|
public string GetImage(ActorInfo actor, SequenceProvider sequenceProvider, string race)
|
||||||
{
|
{
|
||||||
if (RaceImages != null && !string.IsNullOrEmpty(race))
|
if (FactionImages != null && !string.IsNullOrEmpty(race))
|
||||||
{
|
{
|
||||||
string raceImage = null;
|
string raceImage = null;
|
||||||
if (RaceImages.TryGetValue(race, out raceImage) && sequenceProvider.HasSequence(raceImage))
|
if (FactionImages.TryGetValue(race, out raceImage) && sequenceProvider.HasSequence(raceImage))
|
||||||
return raceImage;
|
return raceImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly string race;
|
readonly string faction;
|
||||||
readonly RenderSpritesInfo info;
|
readonly RenderSpritesInfo info;
|
||||||
readonly List<AnimationWrapper> anims = new List<AnimationWrapper>();
|
readonly List<AnimationWrapper> anims = new List<AnimationWrapper>();
|
||||||
string cachedImage;
|
string cachedImage;
|
||||||
@@ -145,7 +145,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
public RenderSprites(ActorInitializer init, RenderSpritesInfo info)
|
public RenderSprites(ActorInitializer init, RenderSpritesInfo info)
|
||||||
{
|
{
|
||||||
this.info = info;
|
this.info = info;
|
||||||
race = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GetImage(Actor self)
|
public string GetImage(Actor self)
|
||||||
@@ -153,7 +153,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
if (cachedImage != null)
|
if (cachedImage != null)
|
||||||
return cachedImage;
|
return cachedImage;
|
||||||
|
|
||||||
return cachedImage = info.GetImage(self.Info, self.World.Map.SequenceProvider, race);
|
return cachedImage = info.GetImage(self.Info, self.World.Map.SequenceProvider, faction);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdatePalette()
|
public void UpdatePalette()
|
||||||
|
|||||||
@@ -1768,6 +1768,20 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (engineVersion < 20150816)
|
||||||
|
{
|
||||||
|
// Rename RenderSprites.RaceImages
|
||||||
|
if (depth == 2 && node.Key == "RaceImages")
|
||||||
|
node.Key = "FactionImages";
|
||||||
|
if (depth == 2 && node.Key == "-RaceImages")
|
||||||
|
node.Key = "-FactionImages";
|
||||||
|
|
||||||
|
// Rename *CrateAction.ValidRaces
|
||||||
|
if (depth == 2 && node.Key == "ValidRaces"
|
||||||
|
&& (parentKey == "DuplicateUnitCrateAction" || parentKey == "GiveUnitCrateAction"))
|
||||||
|
node.Key = "ValidFactions";
|
||||||
|
}
|
||||||
|
|
||||||
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
{
|
{
|
||||||
readonly ClonesProducedUnitsInfo info;
|
readonly ClonesProducedUnitsInfo info;
|
||||||
readonly Production production;
|
readonly Production production;
|
||||||
readonly string race;
|
readonly string faction;
|
||||||
|
|
||||||
public ClonesProducedUnits(ActorInitializer init, ClonesProducedUnitsInfo info)
|
public ClonesProducedUnits(ActorInitializer init, ClonesProducedUnitsInfo info)
|
||||||
{
|
{
|
||||||
this.info = info;
|
this.info = info;
|
||||||
production = init.Self.Trait<Production>();
|
production = init.Self.Trait<Production>();
|
||||||
race = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnitProducedByOther(Actor self, Actor producer, Actor produced)
|
public void UnitProducedByOther(Actor self, Actor producer, Actor produced)
|
||||||
@@ -47,7 +47,7 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
if (ci == null || !info.CloneableTypes.Intersect(ci.Types).Any())
|
if (ci == null || !info.CloneableTypes.Intersect(ci.Types).Any())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
production.Produce(self, produced.Info, race);
|
production.Produce(self, produced.Info, faction);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,13 +51,13 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
public class SpawnActorOnDeath : INotifyKilled
|
public class SpawnActorOnDeath : INotifyKilled
|
||||||
{
|
{
|
||||||
readonly SpawnActorOnDeathInfo info;
|
readonly SpawnActorOnDeathInfo info;
|
||||||
readonly string race;
|
readonly string faction;
|
||||||
|
|
||||||
public SpawnActorOnDeath(ActorInitializer init, SpawnActorOnDeathInfo info)
|
public SpawnActorOnDeath(ActorInitializer init, SpawnActorOnDeathInfo info)
|
||||||
{
|
{
|
||||||
this.info = info;
|
this.info = info;
|
||||||
|
|
||||||
race = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
faction = init.Contains<FactionInit>() ? init.Get<FactionInit, string>() : init.Self.Owner.Faction.InternalName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Killed(Actor self, AttackInfo e)
|
public void Killed(Actor self, AttackInfo e)
|
||||||
@@ -82,7 +82,7 @@ namespace OpenRA.Mods.RA.Traits
|
|||||||
new ParentActorInit(self),
|
new ParentActorInit(self),
|
||||||
new LocationInit(self.Location),
|
new LocationInit(self.Location),
|
||||||
new CenterPositionInit(self.CenterPosition),
|
new CenterPositionInit(self.CenterPosition),
|
||||||
new FactionInit(race)
|
new FactionInit(faction)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (info.OwnerType == OwnerType.Victim)
|
if (info.OwnerType == OwnerType.Victim)
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ crate:
|
|||||||
GiveUnitCrateAction@Raider:
|
GiveUnitCrateAction@Raider:
|
||||||
SelectionShares: 15
|
SelectionShares: 15
|
||||||
Units: raider
|
Units: raider
|
||||||
ValidRaces: ordos
|
ValidFactions: ordos
|
||||||
Prerequisites: techlevel.low, Light
|
Prerequisites: techlevel.low, Light
|
||||||
GiveUnitCrateAction@Quad:
|
GiveUnitCrateAction@Quad:
|
||||||
SelectionShares: 40
|
SelectionShares: 40
|
||||||
@@ -44,17 +44,17 @@ crate:
|
|||||||
GiveUnitCrateAction@CombatA:
|
GiveUnitCrateAction@CombatA:
|
||||||
SelectionShares: 10
|
SelectionShares: 10
|
||||||
Units: combata
|
Units: combata
|
||||||
ValidRaces: atreides
|
ValidFactions: atreides
|
||||||
Prerequisites: techlevel.low, Heavy
|
Prerequisites: techlevel.low, Heavy
|
||||||
GiveUnitCrateAction@CombatH:
|
GiveUnitCrateAction@CombatH:
|
||||||
SelectionShares: 10
|
SelectionShares: 10
|
||||||
Units: combath
|
Units: combath
|
||||||
ValidRaces: harkonnen
|
ValidFactions: harkonnen
|
||||||
Prerequisites: techlevel.low, Heavy
|
Prerequisites: techlevel.low, Heavy
|
||||||
GiveUnitCrateAction@CombatO:
|
GiveUnitCrateAction@CombatO:
|
||||||
SelectionShares: 10
|
SelectionShares: 10
|
||||||
Units: combato
|
Units: combato
|
||||||
ValidRaces: ordos
|
ValidFactions: ordos
|
||||||
Prerequisites: techlevel.low, Heavy
|
Prerequisites: techlevel.low, Heavy
|
||||||
GiveUnitCrateAction@SiegeTank:
|
GiveUnitCrateAction@SiegeTank:
|
||||||
SelectionShares: 10
|
SelectionShares: 10
|
||||||
@@ -67,37 +67,37 @@ crate:
|
|||||||
GiveUnitCrateAction@StealthRaider:
|
GiveUnitCrateAction@StealthRaider:
|
||||||
SelectionShares: 7
|
SelectionShares: 7
|
||||||
Units: stealthraider
|
Units: stealthraider
|
||||||
ValidRaces: ordos
|
ValidFactions: ordos
|
||||||
Prerequisites: techlevel.medium, Hitech
|
Prerequisites: techlevel.medium, Hitech
|
||||||
GiveUnitCrateAction@Fremen:
|
GiveUnitCrateAction@Fremen:
|
||||||
SelectionShares: 5
|
SelectionShares: 5
|
||||||
Units: fremen,fremen
|
Units: fremen,fremen
|
||||||
ValidRaces: atreides
|
ValidFactions: atreides
|
||||||
Prerequisites: techlevel.high, Palace
|
Prerequisites: techlevel.high, Palace
|
||||||
GiveUnitCrateAction@Sardaukar:
|
GiveUnitCrateAction@Sardaukar:
|
||||||
SelectionShares: 8
|
SelectionShares: 8
|
||||||
Units: sardaukar,sardaukar
|
Units: sardaukar,sardaukar
|
||||||
ValidRaces: harkonnen
|
ValidFactions: harkonnen
|
||||||
Prerequisites: techlevel.high, Palace
|
Prerequisites: techlevel.high, Palace
|
||||||
GiveUnitCrateAction@Saboteur:
|
GiveUnitCrateAction@Saboteur:
|
||||||
SelectionShares: 3
|
SelectionShares: 3
|
||||||
Units: saboteur,saboteur
|
Units: saboteur,saboteur
|
||||||
ValidRaces: ordos
|
ValidFactions: ordos
|
||||||
Prerequisites: techlevel.high, Palace
|
Prerequisites: techlevel.high, Palace
|
||||||
GiveUnitCrateAction@SonicTank:
|
GiveUnitCrateAction@SonicTank:
|
||||||
SelectionShares: 5
|
SelectionShares: 5
|
||||||
Units: sonictank
|
Units: sonictank
|
||||||
ValidRaces: atreides
|
ValidFactions: atreides
|
||||||
Prerequisites: techlevel.high, Research
|
Prerequisites: techlevel.high, Research
|
||||||
GiveUnitCrateAction@Devast:
|
GiveUnitCrateAction@Devast:
|
||||||
SelectionShares: 2
|
SelectionShares: 2
|
||||||
Units: devast
|
Units: devast
|
||||||
ValidRaces: harkonnen
|
ValidFactions: harkonnen
|
||||||
Prerequisites: techlevel.high, Research
|
Prerequisites: techlevel.high, Research
|
||||||
GiveUnitCrateAction@DeviatorTank:
|
GiveUnitCrateAction@DeviatorTank:
|
||||||
SelectionShares: 5
|
SelectionShares: 5
|
||||||
Units: deviatortank
|
Units: deviatortank
|
||||||
ValidRaces: ordos
|
ValidFactions: ordos
|
||||||
Prerequisites: techlevel.high, Research
|
Prerequisites: techlevel.high, Research
|
||||||
GiveMcvCrateAction:
|
GiveMcvCrateAction:
|
||||||
SelectionShares: 0
|
SelectionShares: 0
|
||||||
@@ -167,7 +167,7 @@ upgrade.conyard:
|
|||||||
Cost: 1000
|
Cost: 1000
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: conyard.harkonnen
|
Image: conyard.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: conyard.atreides
|
atreides: conyard.atreides
|
||||||
ordos: conyard.ordos
|
ordos: conyard.ordos
|
||||||
corrino: conyard.corrino
|
corrino: conyard.corrino
|
||||||
@@ -187,7 +187,7 @@ upgrade.barracks:
|
|||||||
Cost: 500
|
Cost: 500
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: barracks.harkonnen
|
Image: barracks.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: barracks.atreides
|
atreides: barracks.atreides
|
||||||
ordos: barracks.ordos
|
ordos: barracks.ordos
|
||||||
ProvidesPrerequisite@upgradename:
|
ProvidesPrerequisite@upgradename:
|
||||||
@@ -206,7 +206,7 @@ upgrade.light:
|
|||||||
Cost: 400
|
Cost: 400
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: light.harkonnen
|
Image: light.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: light.atreides
|
atreides: light.atreides
|
||||||
ordos: light.ordos
|
ordos: light.ordos
|
||||||
ProvidesPrerequisite@upgradename:
|
ProvidesPrerequisite@upgradename:
|
||||||
@@ -225,7 +225,7 @@ upgrade.heavy:
|
|||||||
Cost: 800
|
Cost: 800
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: heavy.harkonnen
|
Image: heavy.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: heavy.atreides
|
atreides: heavy.atreides
|
||||||
ordos: heavy.ordos
|
ordos: heavy.ordos
|
||||||
corrino: heavy.corrino
|
corrino: heavy.corrino
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ conyard:
|
|||||||
Amount: 20
|
Amount: 20
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: conyard.harkonnen
|
Image: conyard.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: conyard.atreides
|
atreides: conyard.atreides
|
||||||
ordos: conyard.ordos
|
ordos: conyard.ordos
|
||||||
corrino: conyard.corrino
|
corrino: conyard.corrino
|
||||||
@@ -102,7 +102,7 @@ power:
|
|||||||
Range: 4c0
|
Range: 4c0
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: power.harkonnen
|
Image: power.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: power.atreides
|
atreides: power.atreides
|
||||||
ordos: power.ordos
|
ordos: power.ordos
|
||||||
WithIdleOverlay@ZAPS:
|
WithIdleOverlay@ZAPS:
|
||||||
@@ -163,7 +163,7 @@ barracks:
|
|||||||
Amount: -20
|
Amount: -20
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: barracks.harkonnen
|
Image: barracks.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: barracks.atreides
|
atreides: barracks.atreides
|
||||||
ordos: barracks.ordos
|
ordos: barracks.ordos
|
||||||
ProvidesPrerequisite@buildingname:
|
ProvidesPrerequisite@buildingname:
|
||||||
@@ -208,7 +208,7 @@ refinery:
|
|||||||
Facing: 160
|
Facing: 160
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: refinery.harkonnen
|
Image: refinery.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: refinery.atreides
|
atreides: refinery.atreides
|
||||||
ordos: refinery.ordos
|
ordos: refinery.ordos
|
||||||
WithDockingOverlay@SMOKE:
|
WithDockingOverlay@SMOKE:
|
||||||
@@ -245,7 +245,7 @@ silo:
|
|||||||
-RenderBuilding:
|
-RenderBuilding:
|
||||||
RenderBuildingSilo:
|
RenderBuildingSilo:
|
||||||
Image: silo.harkonnen
|
Image: silo.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: silo.atreides
|
atreides: silo.atreides
|
||||||
ordos: silo.ordos
|
ordos: silo.ordos
|
||||||
StoresResources:
|
StoresResources:
|
||||||
@@ -283,7 +283,7 @@ light:
|
|||||||
Range: 4c0
|
Range: 4c0
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: light.harkonnen
|
Image: light.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: light.atreides
|
atreides: light.atreides
|
||||||
ordos: light.ordos
|
ordos: light.ordos
|
||||||
RallyPoint:
|
RallyPoint:
|
||||||
@@ -361,7 +361,7 @@ heavy:
|
|||||||
Factions: atreides, harkonnen
|
Factions: atreides, harkonnen
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: heavy.harkonnen
|
Image: heavy.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: heavy.atreides
|
atreides: heavy.atreides
|
||||||
ordos: heavy.ordos
|
ordos: heavy.ordos
|
||||||
corrino: heavy.corrino
|
corrino: heavy.corrino
|
||||||
@@ -407,7 +407,7 @@ radar:
|
|||||||
RenderDetectionCircle:
|
RenderDetectionCircle:
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: radar.harkonnen
|
Image: radar.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: radar.atreides
|
atreides: radar.atreides
|
||||||
ordos: radar.ordos
|
ordos: radar.ordos
|
||||||
WithIdleOverlay@DISH:
|
WithIdleOverlay@DISH:
|
||||||
@@ -452,7 +452,7 @@ starport:
|
|||||||
ActorType: frigate
|
ActorType: frigate
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: starport.harkonnen
|
Image: starport.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: starport.atreides
|
atreides: starport.atreides
|
||||||
ordos: starport.ordos
|
ordos: starport.ordos
|
||||||
corrino: starport.corrino
|
corrino: starport.corrino
|
||||||
@@ -668,7 +668,7 @@ repair:
|
|||||||
Offset: 1,3
|
Offset: 1,3
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: repair.harkonnen
|
Image: repair.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: repair.atreides
|
atreides: repair.atreides
|
||||||
ordos: repair.ordos
|
ordos: repair.ordos
|
||||||
WithRepairOverlay:
|
WithRepairOverlay:
|
||||||
@@ -707,7 +707,7 @@ hightech:
|
|||||||
Range: 4c0
|
Range: 4c0
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: hightech.harkonnen
|
Image: hightech.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: hightech.atreides
|
atreides: hightech.atreides
|
||||||
ordos: hightech.ordos
|
ordos: hightech.ordos
|
||||||
ProvidesPrerequisite@upgrade:
|
ProvidesPrerequisite@upgrade:
|
||||||
@@ -768,7 +768,7 @@ research:
|
|||||||
Range: 4c0
|
Range: 4c0
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: research.harkonnen
|
Image: research.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: research.atreides
|
atreides: research.atreides
|
||||||
ordos: research.ordos
|
ordos: research.ordos
|
||||||
WithIdleOverlay@LIGHTS:
|
WithIdleOverlay@LIGHTS:
|
||||||
@@ -805,7 +805,7 @@ palace:
|
|||||||
Range: 8c0
|
Range: 8c0
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: palace.harkonnen
|
Image: palace.harkonnen
|
||||||
RaceImages:
|
FactionImages:
|
||||||
atreides: palace.atreides
|
atreides: palace.atreides
|
||||||
ordos: palace.ordos
|
ordos: palace.ordos
|
||||||
corrino: palace.corrino
|
corrino: palace.corrino
|
||||||
@@ -849,7 +849,7 @@ conyard.atreides:
|
|||||||
ForceFaction: atreides
|
ForceFaction: atreides
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: conyard.atreides
|
Image: conyard.atreides
|
||||||
-RaceImages:
|
-FactionImages:
|
||||||
|
|
||||||
conyard.harkonnen:
|
conyard.harkonnen:
|
||||||
Inherits: conyard
|
Inherits: conyard
|
||||||
@@ -860,7 +860,7 @@ conyard.harkonnen:
|
|||||||
ForceFaction: harkonnen
|
ForceFaction: harkonnen
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: conyard.harkonnen
|
Image: conyard.harkonnen
|
||||||
-RaceImages:
|
-FactionImages:
|
||||||
|
|
||||||
conyard.ordos:
|
conyard.ordos:
|
||||||
Inherits: conyard
|
Inherits: conyard
|
||||||
@@ -871,5 +871,5 @@ conyard.ordos:
|
|||||||
ForceFaction: ordos
|
ForceFaction: ordos
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: conyard.ordos
|
Image: conyard.ordos
|
||||||
-RaceImages:
|
-FactionImages:
|
||||||
|
|
||||||
|
|||||||
@@ -94,51 +94,51 @@ CRATE:
|
|||||||
GiveUnitCrateAction@jeep:
|
GiveUnitCrateAction@jeep:
|
||||||
SelectionShares: 7
|
SelectionShares: 7
|
||||||
Units: jeep
|
Units: jeep
|
||||||
ValidRaces: allies, england, france, germany
|
ValidFactions: allies, england, france, germany
|
||||||
Prerequisites: techlevel.low
|
Prerequisites: techlevel.low
|
||||||
GiveUnitCrateAction@arty:
|
GiveUnitCrateAction@arty:
|
||||||
SelectionShares: 6
|
SelectionShares: 6
|
||||||
Units: arty
|
Units: arty
|
||||||
ValidRaces: allies, england, france, germany
|
ValidFactions: allies, england, france, germany
|
||||||
Prerequisites: techlevel.medium, dome
|
Prerequisites: techlevel.medium, dome
|
||||||
GiveUnitCrateAction@v2rl:
|
GiveUnitCrateAction@v2rl:
|
||||||
SelectionShares: 6
|
SelectionShares: 6
|
||||||
Units: v2rl
|
Units: v2rl
|
||||||
ValidRaces: soviet, russia, ukraine
|
ValidFactions: soviet, russia, ukraine
|
||||||
Prerequisites: techlevel.medium, dome
|
Prerequisites: techlevel.medium, dome
|
||||||
GiveUnitCrateAction@1tnk:
|
GiveUnitCrateAction@1tnk:
|
||||||
SelectionShares: 5
|
SelectionShares: 5
|
||||||
Units: 1tnk
|
Units: 1tnk
|
||||||
ValidRaces: allies, england, france, germany
|
ValidFactions: allies, england, france, germany
|
||||||
Prerequisites: techlevel.low
|
Prerequisites: techlevel.low
|
||||||
GiveUnitCrateAction@2tnk:
|
GiveUnitCrateAction@2tnk:
|
||||||
SelectionShares: 4
|
SelectionShares: 4
|
||||||
Units: 2tnk
|
Units: 2tnk
|
||||||
ValidRaces: allies, england, france, germany
|
ValidFactions: allies, england, france, germany
|
||||||
Prerequisites: techlevel.medium, fix
|
Prerequisites: techlevel.medium, fix
|
||||||
GiveUnitCrateAction@3tnk:
|
GiveUnitCrateAction@3tnk:
|
||||||
SelectionShares: 4
|
SelectionShares: 4
|
||||||
Units: 3tnk
|
Units: 3tnk
|
||||||
ValidRaces: soviet, russia, ukraine
|
ValidFactions: soviet, russia, ukraine
|
||||||
Prerequisites: techlevel.medium, fix
|
Prerequisites: techlevel.medium, fix
|
||||||
GiveUnitCrateAction@4tnk:
|
GiveUnitCrateAction@4tnk:
|
||||||
SelectionShares: 3
|
SelectionShares: 3
|
||||||
Units: 4tnk
|
Units: 4tnk
|
||||||
ValidRaces: soviet, russia, ukraine
|
ValidFactions: soviet, russia, ukraine
|
||||||
Prerequisites: techlevel.unrestricted, fix, techcenter
|
Prerequisites: techlevel.unrestricted, fix, techcenter
|
||||||
GiveUnitCrateAction@squadlight:
|
GiveUnitCrateAction@squadlight:
|
||||||
SelectionShares: 7
|
SelectionShares: 7
|
||||||
Units: e1,e1,e1,e3,e3
|
Units: e1,e1,e1,e3,e3
|
||||||
ValidRaces: allies, england, france, germany, soviet, russia, ukraine
|
ValidFactions: allies, england, france, germany, soviet, russia, ukraine
|
||||||
GiveUnitCrateAction@squadheavyallies:
|
GiveUnitCrateAction@squadheavyallies:
|
||||||
SelectionShares: 7
|
SelectionShares: 7
|
||||||
Units: e1,e1,e1,e1,e3,e3,e3,e6,medi
|
Units: e1,e1,e1,e1,e3,e3,e3,e6,medi
|
||||||
ValidRaces: allies, england, france, germany
|
ValidFactions: allies, england, france, germany
|
||||||
TimeDelay: 4500
|
TimeDelay: 4500
|
||||||
GiveUnitCrateAction@squadheavysoviet:
|
GiveUnitCrateAction@squadheavysoviet:
|
||||||
SelectionShares: 7
|
SelectionShares: 7
|
||||||
Units: e1,e1,e4,e4,e3,e3,e3
|
Units: e1,e1,e4,e4,e3,e3,e3
|
||||||
ValidRaces: soviet, russia, ukraine
|
ValidFactions: soviet, russia, ukraine
|
||||||
TimeDelay: 4500
|
TimeDelay: 4500
|
||||||
GrantUpgradeCrateAction@invuln:
|
GrantUpgradeCrateAction@invuln:
|
||||||
SelectionShares: 5
|
SelectionShares: 5
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ GADEPT:
|
|||||||
VisualBounds: 98, 68, -6, -6
|
VisualBounds: 98, 68, -6, -6
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: gadept.gdi
|
Image: gadept.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: gadept.gdi
|
gdi: gadept.gdi
|
||||||
nod: gadept.nod
|
nod: gadept.nod
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ E1:
|
|||||||
Prerequisites: barracks.upgraded
|
Prerequisites: barracks.upgraded
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: e1.gdi
|
Image: e1.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: e1.gdi
|
gdi: e1.gdi
|
||||||
nod: e1.nod
|
nod: e1.nod
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ ENGINEER:
|
|||||||
-GainsExperience:
|
-GainsExperience:
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: engineer.gdi
|
Image: engineer.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: engineer.gdi
|
gdi: engineer.gdi
|
||||||
nod: engineer.nod
|
nod: engineer.nod
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ PROC:
|
|||||||
VisualBounds: 134, 122, 0, -18
|
VisualBounds: 134, 122, 0, -18
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: proc.gdi
|
Image: proc.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: proc.gdi
|
gdi: proc.gdi
|
||||||
nod: proc.nod
|
nod: proc.nod
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ GASILO:
|
|||||||
-RenderBuilding:
|
-RenderBuilding:
|
||||||
RenderBuildingSilo:
|
RenderBuildingSilo:
|
||||||
Image: gasilo.gdi
|
Image: gasilo.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: gasilo.gdi
|
gdi: gasilo.gdi
|
||||||
nod: gasilo.nod
|
nod: gasilo.nod
|
||||||
WithIdleOverlay@UNDERLAY:
|
WithIdleOverlay@UNDERLAY:
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ NAPULS:
|
|||||||
VisualBounds: 78, 54, 0, -12
|
VisualBounds: 78, 54, 0, -12
|
||||||
RenderBuilding:
|
RenderBuilding:
|
||||||
Image: napuls.gdi
|
Image: napuls.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: napuls.gdi
|
gdi: napuls.gdi
|
||||||
nod: napuls.nod
|
nod: napuls.nod
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ MCV:
|
|||||||
VisualBounds: 42,42
|
VisualBounds: 42,42
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: mcv.gdi
|
Image: mcv.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: mcv.gdi
|
gdi: mcv.gdi
|
||||||
nod: mcv.nod
|
nod: mcv.nod
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ HARV:
|
|||||||
VisualBounds: 36,36
|
VisualBounds: 36,36
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: harv.gdi
|
Image: harv.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: harv.gdi
|
gdi: harv.gdi
|
||||||
nod: harv.nod
|
nod: harv.nod
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ LPST:
|
|||||||
Voice: Move
|
Voice: Move
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
Image: lpst.gdi
|
Image: lpst.gdi
|
||||||
RaceImages:
|
FactionImages:
|
||||||
gdi: lpst.gdi
|
gdi: lpst.gdi
|
||||||
nod: lpst.nod
|
nod: lpst.nod
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user