Move SupportPowerDecisions to a single parent node.
This is required before we can force all trait properties to match a TraitInfo-defined field.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRA.Mods.Common.AI
|
|||||||
player = p;
|
player = p;
|
||||||
frozenLayer = p.PlayerActor.Trait<FrozenActorLayer>();
|
frozenLayer = p.PlayerActor.Trait<FrozenActorLayer>();
|
||||||
supportPowerManager = p.PlayerActor.TraitOrDefault<SupportPowerManager>();
|
supportPowerManager = p.PlayerActor.TraitOrDefault<SupportPowerManager>();
|
||||||
foreach (var decision in ai.Info.PowerDecisions)
|
foreach (var decision in ai.Info.SupportPowerDecisions)
|
||||||
powerDecisions.Add(decision.OrderName, decision);
|
powerDecisions.Add(decision.OrderName, decision);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ namespace OpenRA.Mods.Common.AI
|
|||||||
// TODO Update OpenRA.Utility/Command.cs#L300 to first handle lists and also read nested ones
|
// TODO Update OpenRA.Utility/Command.cs#L300 to first handle lists and also read nested ones
|
||||||
[Desc("Tells the AI how to use its support powers.")]
|
[Desc("Tells the AI how to use its support powers.")]
|
||||||
[FieldLoader.LoadUsing("LoadDecisions")]
|
[FieldLoader.LoadUsing("LoadDecisions")]
|
||||||
public readonly List<SupportPowerDecision> PowerDecisions = new List<SupportPowerDecision>();
|
public readonly List<SupportPowerDecision> SupportPowerDecisions = new List<SupportPowerDecision>();
|
||||||
|
|
||||||
[Desc("Actor types that can capture other actors (via `Captures` or `ExternalCaptures`).",
|
[Desc("Actor types that can capture other actors (via `Captures` or `ExternalCaptures`).",
|
||||||
"Leave this empty to disable capturing.")]
|
"Leave this empty to disable capturing.")]
|
||||||
@@ -233,8 +233,9 @@ namespace OpenRA.Mods.Common.AI
|
|||||||
static object LoadDecisions(MiniYaml yaml)
|
static object LoadDecisions(MiniYaml yaml)
|
||||||
{
|
{
|
||||||
var ret = new List<SupportPowerDecision>();
|
var ret = new List<SupportPowerDecision>();
|
||||||
foreach (var d in yaml.Nodes)
|
var decisions = yaml.Nodes.FirstOrDefault(n => n.Key == "SupportPowerDecisions");
|
||||||
if (d.Key.Split('@')[0] == "SupportPowerDecision")
|
if (decisions != null)
|
||||||
|
foreach (var d in decisions.Value.Nodes)
|
||||||
ret.Add(new SupportPowerDecision(d.Value));
|
ret.Add(new SupportPowerDecision(d.Value));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
@@ -883,6 +883,7 @@
|
|||||||
<Compile Include="Traits\Render\WithBuildingRepairDecoration.cs" />
|
<Compile Include="Traits\Render\WithBuildingRepairDecoration.cs" />
|
||||||
<Compile Include="UpdateRules\Rules\SplitRepairDecoration.cs" />
|
<Compile Include="UpdateRules\Rules\SplitRepairDecoration.cs" />
|
||||||
<Compile Include="ModCredits.cs" />
|
<Compile Include="ModCredits.cs" />
|
||||||
|
<Compile Include="UpdateRules\Rules\MoveHackyAISupportPowerDecisions.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
#region Copyright & License Information
|
||||||
|
/*
|
||||||
|
* Copyright 2007-2018 The OpenRA Developers (see AUTHORS)
|
||||||
|
* This file is part of OpenRA, which is free software. It is made
|
||||||
|
* available to you under the terms of the GNU General Public License
|
||||||
|
* as published by the Free Software Foundation, either version 3 of
|
||||||
|
* the License, or (at your option) any later version. For more
|
||||||
|
* information, see COPYING.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
|
namespace OpenRA.Mods.Common.UpdateRules.Rules
|
||||||
|
{
|
||||||
|
public class MoveHackyAISupportPowerDecisions : UpdateRule
|
||||||
|
{
|
||||||
|
public override string Name { get { return "Move HackyAI SupportPowerDecisions to a trait property"; } }
|
||||||
|
public override string Description
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return "The SupportPowerDefinitions on HackyAI are moved from top-level trait properties\n" +
|
||||||
|
"to children of a single SupportPowerDecisions property.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public override IEnumerable<string> UpdateActorNode(ModData modData, MiniYamlNode actorNode)
|
||||||
|
{
|
||||||
|
foreach (var hackyAINode in actorNode.ChildrenMatching("HackyAI"))
|
||||||
|
{
|
||||||
|
var children = hackyAINode.ChildrenMatching("SupportPowerDecision");
|
||||||
|
if (!children.Any())
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var parent = hackyAINode.LastChildMatching("SupportPowerDecisions");
|
||||||
|
if (parent == null)
|
||||||
|
{
|
||||||
|
parent = new MiniYamlNode("SupportPowerDecisions", "");
|
||||||
|
hackyAINode.AddNode(parent);
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var child in children.ToList())
|
||||||
|
{
|
||||||
|
var split = child.Key.Split('@');
|
||||||
|
child.Key = split.Length > 1 ? split[1] : "Default";
|
||||||
|
parent.AddNode(child);
|
||||||
|
hackyAINode.RemoveNode(child);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
yield break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -54,6 +54,7 @@ namespace OpenRA.Mods.Common.UpdateRules
|
|||||||
new DefineOwnerLostAction(),
|
new DefineOwnerLostAction(),
|
||||||
new RenameEmitInfantryOnSell(),
|
new RenameEmitInfantryOnSell(),
|
||||||
new SplitRepairDecoration(),
|
new SplitRepairDecoration(),
|
||||||
|
new MoveHackyAISupportPowerDecisions(),
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ Player:
|
|||||||
UnitLimits:
|
UnitLimits:
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 15
|
SquadSize: 15
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -92,7 +93,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 2c0
|
CheckRadius: 2c0
|
||||||
SupportPowerDecision@IonCannonPower:
|
IonCannonPower:
|
||||||
OrderName: IonCannonPowerInfoOrder
|
OrderName: IonCannonPowerInfoOrder
|
||||||
MinimumAttractiveness: 1000
|
MinimumAttractiveness: 1000
|
||||||
FineScanRadius: 2
|
FineScanRadius: 2
|
||||||
@@ -114,7 +115,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 3c0
|
CheckRadius: 3c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -201,7 +202,8 @@ Player:
|
|||||||
UnitLimits:
|
UnitLimits:
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 15
|
SquadSize: 15
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -222,7 +224,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 2c0
|
CheckRadius: 2c0
|
||||||
SupportPowerDecision@IonCannonPower:
|
IonCannonPower:
|
||||||
OrderName: IonCannonPowerInfoOrder
|
OrderName: IonCannonPowerInfoOrder
|
||||||
MinimumAttractiveness: 1000
|
MinimumAttractiveness: 1000
|
||||||
FineScanRadius: 2
|
FineScanRadius: 2
|
||||||
@@ -244,7 +246,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 3c0
|
CheckRadius: 3c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -333,7 +335,8 @@ Player:
|
|||||||
UnitLimits:
|
UnitLimits:
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 8
|
SquadSize: 8
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -354,7 +357,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 2c0
|
CheckRadius: 2c0
|
||||||
SupportPowerDecision@IonCannonPower:
|
IonCannonPower:
|
||||||
OrderName: IonCannonPowerInfoOrder
|
OrderName: IonCannonPowerInfoOrder
|
||||||
MinimumAttractiveness: 1000
|
MinimumAttractiveness: 1000
|
||||||
FineScanRadius: 2
|
FineScanRadius: 2
|
||||||
@@ -376,7 +379,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 3c0
|
CheckRadius: 3c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
|
|||||||
@@ -81,7 +81,8 @@ Player:
|
|||||||
carryall: 4
|
carryall: 4
|
||||||
SquadSize: 8
|
SquadSize: 8
|
||||||
MaxBaseRadius: 40
|
MaxBaseRadius: 40
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -102,7 +103,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 4c0
|
CheckRadius: 4c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -117,7 +118,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 7c0
|
CheckRadius: 7c0
|
||||||
SupportPowerDecision@Fremen:
|
Fremen:
|
||||||
OrderName: ProduceActorPower.Fremen
|
OrderName: ProduceActorPower.Fremen
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
Against: Ally
|
Against: Ally
|
||||||
@@ -205,7 +206,8 @@ Player:
|
|||||||
carryall: 4
|
carryall: 4
|
||||||
SquadSize: 6
|
SquadSize: 6
|
||||||
MaxBaseRadius: 40
|
MaxBaseRadius: 40
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -226,7 +228,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 4c0
|
CheckRadius: 4c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -241,7 +243,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 7c0
|
CheckRadius: 7c0
|
||||||
SupportPowerDecision@Fremen:
|
Fremen:
|
||||||
OrderName: ProduceActorPower.Fremen
|
OrderName: ProduceActorPower.Fremen
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
Against: Ally
|
Against: Ally
|
||||||
@@ -328,7 +330,8 @@ Player:
|
|||||||
carryall: 4
|
carryall: 4
|
||||||
SquadSize: 10
|
SquadSize: 10
|
||||||
MaxBaseRadius: 40
|
MaxBaseRadius: 40
|
||||||
SupportPowerDecision@Airstrike:
|
SupportPowerDecisions:
|
||||||
|
Airstrike:
|
||||||
OrderName: AirstrikePowerInfoOrder
|
OrderName: AirstrikePowerInfoOrder
|
||||||
MinimumAttractiveness: 2000
|
MinimumAttractiveness: 2000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -349,7 +352,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 4c0
|
CheckRadius: 4c0
|
||||||
SupportPowerDecision@NukePower:
|
NukePower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -364,7 +367,7 @@ Player:
|
|||||||
Attractiveness: -10
|
Attractiveness: -10
|
||||||
TargetMetric: Value
|
TargetMetric: Value
|
||||||
CheckRadius: 7c0
|
CheckRadius: 7c0
|
||||||
SupportPowerDecision@Fremen:
|
Fremen:
|
||||||
OrderName: ProduceActorPower.Fremen
|
OrderName: ProduceActorPower.Fremen
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
Against: Ally
|
Against: Ally
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ Player:
|
|||||||
dog: 4
|
dog: 4
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 20
|
SquadSize: 20
|
||||||
SupportPowerDecision@spyplane:
|
SupportPowerDecisions:
|
||||||
|
spyplane:
|
||||||
OrderName: SovietSpyPlane
|
OrderName: SovietSpyPlane
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -77,7 +78,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@paratroopers:
|
paratroopers:
|
||||||
OrderName: SovietParatroopers
|
OrderName: SovietParatroopers
|
||||||
MinimumAttractiveness: 5
|
MinimumAttractiveness: 5
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -92,7 +93,7 @@ Player:
|
|||||||
Attractiveness: -5
|
Attractiveness: -5
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 8c0
|
CheckRadius: 8c0
|
||||||
SupportPowerDecision@parabombs:
|
parabombs:
|
||||||
OrderName: UkraineParabombs
|
OrderName: UkraineParabombs
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -101,7 +102,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@nukepower:
|
nukepower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -203,7 +204,8 @@ Player:
|
|||||||
dog: 4
|
dog: 4
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 40
|
SquadSize: 40
|
||||||
SupportPowerDecision@spyplane:
|
SupportPowerDecisions:
|
||||||
|
spyplane:
|
||||||
OrderName: SovietSpyPlane
|
OrderName: SovietSpyPlane
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -212,7 +214,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@paratroopers:
|
paratroopers:
|
||||||
OrderName: SovietParatroopers
|
OrderName: SovietParatroopers
|
||||||
MinimumAttractiveness: 5
|
MinimumAttractiveness: 5
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -227,7 +229,7 @@ Player:
|
|||||||
Attractiveness: -5
|
Attractiveness: -5
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 8c0
|
CheckRadius: 8c0
|
||||||
SupportPowerDecision@parabombs:
|
parabombs:
|
||||||
OrderName: UkraineParabombs
|
OrderName: UkraineParabombs
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -236,7 +238,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@nukepower:
|
nukepower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -338,7 +340,8 @@ Player:
|
|||||||
dog: 4
|
dog: 4
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 10
|
SquadSize: 10
|
||||||
SupportPowerDecision@spyplane:
|
SupportPowerDecisions:
|
||||||
|
spyplane:
|
||||||
OrderName: SovietSpyPlane
|
OrderName: SovietSpyPlane
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -347,7 +350,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@paratroopers:
|
paratroopers:
|
||||||
OrderName: SovietParatroopers
|
OrderName: SovietParatroopers
|
||||||
MinimumAttractiveness: 5
|
MinimumAttractiveness: 5
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -362,7 +365,7 @@ Player:
|
|||||||
Attractiveness: -5
|
Attractiveness: -5
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 8c0
|
CheckRadius: 8c0
|
||||||
SupportPowerDecision@parabombs:
|
parabombs:
|
||||||
OrderName: UkraineParabombs
|
OrderName: UkraineParabombs
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -371,7 +374,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@nukepower:
|
nukepower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -451,7 +454,8 @@ Player:
|
|||||||
UnitLimits:
|
UnitLimits:
|
||||||
harv: 8
|
harv: 8
|
||||||
SquadSize: 1
|
SquadSize: 1
|
||||||
SupportPowerDecision@spyplane:
|
SupportPowerDecisions:
|
||||||
|
spyplane:
|
||||||
OrderName: SovietSpyPlane
|
OrderName: SovietSpyPlane
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -460,7 +464,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@paratroopers:
|
paratroopers:
|
||||||
OrderName: SovietParatroopers
|
OrderName: SovietParatroopers
|
||||||
MinimumAttractiveness: 5
|
MinimumAttractiveness: 5
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -475,7 +479,7 @@ Player:
|
|||||||
Attractiveness: -5
|
Attractiveness: -5
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 8c0
|
CheckRadius: 8c0
|
||||||
SupportPowerDecision@parabombs:
|
parabombs:
|
||||||
OrderName: UkraineParabombs
|
OrderName: UkraineParabombs
|
||||||
MinimumAttractiveness: 1
|
MinimumAttractiveness: 1
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
@@ -484,7 +488,7 @@ Player:
|
|||||||
Attractiveness: 1
|
Attractiveness: 1
|
||||||
TargetMetric: None
|
TargetMetric: None
|
||||||
CheckRadius: 5c0
|
CheckRadius: 5c0
|
||||||
SupportPowerDecision@nukepower:
|
nukepower:
|
||||||
OrderName: NukePowerInfoOrder
|
OrderName: NukePowerInfoOrder
|
||||||
MinimumAttractiveness: 3000
|
MinimumAttractiveness: 3000
|
||||||
Consideration@1:
|
Consideration@1:
|
||||||
|
|||||||
Reference in New Issue
Block a user