[Cheat]
//moneyAmount = 100 // Give AI 100 units of scrap.
//moneyDelay = 10 // moneyAmount is added to AI every 10 seconds

[Start]
scrapCount = 180
scavClass = "ivscav"
consClass = "ivcons"

[IdleDispatcher]
ScavIdleSeconds = 25
UnitIdleSeconds = 120
MinAttackForce = 3 // min # of idle units before dispatch
MaxAttackForce = 5
MinMissionSeconds = 600 // give the player 10 minutes before idle units are sent

[Match]
targetType1 = "ivtank"
attackType1_1 = "ivtank"
attackType1_2 = "ivtank"

targetType2 = "ivcons"
attackType2_1 = "ivpuma"
attackType2_2 = "ivpuma"

[Plan1]
planType = "CollectPool"
planPriority = 600
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan2]
planType = "CollectPool"
planPriority = 590
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan3]
planType = "CollectPool"
planPriority = 580
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan4]
planType = "CollectPool"
planPriority = 570
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan5]
planType = "BuildMinimums"
planPriority = 570
buildType1 = "ivcons"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan6]
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planType = "Attacker"
planPriority = 560
targetType = "ibscav"
attackType1 = "ivscout"
attackType2 = "ivscout"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan7]
planCondition = "HisExists"
planConditionClass = "ivturr"
planConditionCount = 1
planType = "Attacker"
planPriority = 550
targetType = "ivturr"
attackType1 = "ivtank"
attackType2 = "ivscout"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan8]
planType = "CollectField"
defendType1 = "ivscout"
defendCount1 = 1
planPriority = 550
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan9]
planCondition = "HisExists"
planConditionClass = "ibsrecy"
planConditionCount = 1
planType = "Attacker"
planPriority = 540
targetType = "ibsrecy"
attackType1 = "ivtank"
attackType2 = "ivstank"
attackType3 = "ivpuma"
attackType4 = "ivmtank"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan10]
planType = "Hold"
planPriority = 540
holdType1 = "ivturr"
holdCount1 = 1
holdPoint = "hold1"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan11]
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
planType = "Attacker"
planPriority = 530
targetType = "ibpgen"
attackType1 = "ivtank"
attackType2 = "ivtank"
attackType3 = "ivstank"
attackType4 = "ivstank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan12]
planType = "Hold"
planPriority = 530
holdType1 = "ivpuma"
holdCount1 = 1
holdPoint = "hold2"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan13]
planCondition = "HisExists"
planConditionClass = "ivscons"
planConditionCount = 1
planType = "Attacker"
planPriority = 520
targetType = "ivcons"
attackType1 = "ivscout"
attackType2 = "ivmtank"
attackType3 = "ivpuma"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan14]
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planType = "Attacker"
planPriority = 510
targetType = "ibgtow"
attackType1 = "ivsgtank"
attackType2 = "Ivheavytank"
attackType3 = "ivtank"
attackType4 = "ivtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan15]
planType = "Hold"
planPriority = 510
holdType1 = "ivstank"
holdCount1 = 1
holdPoint = "hold3"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan16]
planCondition = "HisExists"
planConditionClass = "ibsfact"
planConditionCount = 1
planType = "Attacker"
planPriority = 500
targetType = "ibfact"
attackType1 = "Ivheavytank"
attackType2 = "ivmtank"
attackType3 = "ivapc"
attackType4 = "ivapc"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan17]
planCondition = "HisExists"
planConditionClass = "ivscav"
planConditionCount = 1
planType = "Attacker"
planPriority = 490
targetType = "ivscav"
attackType1 = "ivpuma"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan18]
planType = "Hold"
planPriority = 490
holdType1 = "ivmtank"
holdCount1 = 1
holdPoint = "hold4"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan19]
planCondition = "HisExists"
planConditionClass = "ivrckt"
planConditionCount = 1
planType = "Attacker"
planPriority = 480
targetType = "ivrckt"
attackType1 = "ivsgtank"
attackType2 = "ivmtank"
attackType3 = "ivstank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan20]
planCondition = "HisExists"
planConditionClass = "ibbomb"
planConditionCount = 1
planType = "Attacker"
planPriority = 800
targetType = "ibbomb"
attackType1 = "Ivheavytank"
attackType2 = "ivmtank"
attackType3 = "ivapc"
attackType4 = "ivapc"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan21]
planType = "BaseBuildMinimums"
planPriority = 480
buildType1 = "ibrtower"
buildCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

// AI will upgrade 2 scavs

[Plan22]
planType = "Upgrade"
planPriority = 470
unitType = "ibscav"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan23]
planType = "BuildMinimums"
planPriority = 470
buildType1 = "ivserv"
buildCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan24]
planType = "Service"
planPriority = 750
serviceUnit = "ivserv"
unitType1 = "ibscav"
unitType2 = "ibrecy"
unitType3 = "ibgtow"
unitType4 = "ibpgen"
unitType5 = "ibarmo"
unitType6 = "ibscup"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan25]
planCondition = "HisExists"
planConditionClass = "ivbomb"
planConditionCount = 1
planType = "Attacker"
planPriority = 470
targetType = "ivbomb"
attackType1 = "ivpuma"
attackType2 = "ivpuma"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan26]
planCondition = "HisExists"
planConditionClass = "ivapc"
planConditionCount = 1
planType = "Attacker"
planPriority = 460
targetType = "ivapc"
attackType1 = "ivpuma"
attackType2 = "ivrckt"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan27]
planCondition = "HisExists"
planConditionClass = "ibsarmo"
planConditionCount = 1
planType = "Attacker"
planPriority = 450
targetType = "ibarmo"
attackType1 = "ivsgtank"
attackType2 = "ivtank"
attackType3 = "ivapc"
attackType4 = "ivapc"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan28]
planCondition = "HisExists"
planConditionClass = "ivwalk"
planConditionCount = 1
planType = "Attacker"
planPriority = 440
targetType = "ivwalk"
attackType1 = "ivwalk"
attackType2 = "ivapc"
attackType3 = "ivatank"
attackType4 = "ivmtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan29]
planType = "Attacker"
planPriority = 430
targetType = "ibcbun"
attackType1 = "ivstank"
attackType2 = "ivmtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan30]
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planType = "Attacker"
planPriority = 420
targetType = "ibscup"
attackType1 = "ivwalk"
attackType2 = "ivstank"
attackType3 = "ivtank"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan31]
planType = "Defender"
planPriority = 420
targetType = "ibscav"
defendType1 = "ivpuma"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan32]
planType = "Defender"
planPriority = 410
targetType = "ibscup"
defendType1 = "ivpuma"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan33]
planCondition = "HisExists"
planConditionClass = "ivsgtank"
planConditionCount = 1
planType = "Attacker"
planPriority = 410
targetType = "ivsgtank"
attackType1 = "ivsgtank"
attackType2 = "ivmtank"
attackType3 = "ivwalk"
attackType4 = "ivpuma"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan34]
planCondition = "HisExists"
planConditionClass = "ibtrain"
planConditionCount = 1
planType = "Attacker"
planPriority = 400
targetType = "ibrecy"
attackType1 = "ivatank"
attackType2 = "ivmtank"
attackType3 = "ivapc"
attackType4 = "ivapc"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan35]
planCondition = "HisExists"
planConditionClass = "ivtank"
planConditionCount = 1
planType = "Attacker"
planPriority = 390
targetType = "ivtank"
attackType1 = "ivtank"
attackType2 = "ivmtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan36]
planType = "CollectPool"
defendType1 = "ivpuma"
defendCount1 = 1
planPriority = 380
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan37]
planType = "CollectPool"
planPriority = 370
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan38]
planType = "CollectPool"
planPriority = 360
buildIfNoIdle = 1
ContinueEvenIfFail = true
