//////////////////////////////////////////////////////////
// Forgotten Enemies AIP, revised by Red Devil  2/7/07  //
//////////////////////////////////////////////////////////
[Start]
//scrapCount = 20
consClass = "ivcons"
scavClass = "ivscav"
DLLCanSwitch = false // true = default. If false, DLL orders to switch are ignored.

//[Cheat]
//moneyAmount = 20
//moneyDelay = 60

[IdleDispatcher]
ScavIdleSeconds = 300
UnitIdleSeconds = 300
MinAttackForce = 3 // min # of idle units before dispatch
MinMissionSeconds = 300
MaxTargets = 8
MaxBomberTargets = 8 // was 4 from 67g..67j
BomberIdleSeconds = 180 // # of seconds before a bomber is sent out.

[Match]
targetType1 = "ivscout"
attackType1_1 = "ivpuscout"
attackType1_2 = "ivpuscout"
targetType2 = "ivscout"
attackType2_1 = "ivputank"
targetType3 = "ivscout"
attackType3_1 = "ivpumisl"
attackType3_2 = "ivpumisl"
targetType4 = "ivscout"
attackType4_1 = "ivpumbike"
attackType4_2 = "ivpumbike"

targetType5 = "ivmbike"
attackType5_1 = "ivpuscout"
attackType5_2 = "ivpuscout"
targetType6 = "ivmbike"
attackType6_1 = "ivpumbike"
attackType6_2 = "ivpumbike"
targetType7 = "ivmbike"
attackType7_1 = "ivputank"
targetType8 = "ivmbike"
attackType8_1 = "ivpumisl"

targetType9 = "ivmisl"
attackType9_1 = "ivputank"
targetType10 = "ivmisl"
attackType10_1 = "ivpuscout"
attackType10_2 = "ivpuscout"
targetType11 = "ivmisl"
attackType11_1 = "ivpurckt"

targetType12 = "ivtank"
attackType12_1 = "ivpuscout"
attackType12_2 = "ivpuscout"
targetType13 = "ivtank"
attackType13_1 = "ivputank"
attackType13_2 = "ivputank"
targetType14 = "ivtank"
attackType14_1 = "ivpumisl"
attackType14_2 = "ivpumisl"
targetType15 = "ivtank"
attackType15_1 = "ivpumbike"
attackType15_2 = "ivpumbike"
attackType15_3 = "ivpumbike"

targetType16 = "ivrckt"
attackType16_1 = "ivputank"
attackType16_2 = "ivputank"
targetType17 = "ivrckt"
attackType17_1 = "ivpurckt"
attackType17_2 = "ivpurckt"
targetType18 = "ivrckt"
attackType18_1 = "ivpuatank"

targetType19 = "ivatank"
attackType19_1 = "ivputank"
attackType19_2 = "ivputank"
attackType19_3 = "ivputank"
targetType20 = "ivatank"
attackType20_1 = "ivpurckt"
attackType20_2 = "ivpurckt"
targetType21 = "ivatank"
attackType21_1 = "ivpuatank"
attackType21_2 = "ivpuatank"
targetType22 = "ivatank"
attackType22_1 = "ivpuwalk"
attackType22_2 = "ivpuwalk"

targetType23 = "ivwalk"
attackType23_1 = "ivpurckt"
attackType23_2 = "ivpurckt"
targetType24 = "ivwalk"
attackType24_1 = "ivputank"
attackType24_2 = "ivputank"
targetType25 = "ivwalk"
attackType25_1 = "ivpuwalk"
attackType25_2 = "ivpuwalk"

targetType26 = "ibgtow"
attackType26_1 = "ivpuatank"
attackType26_2 = "ivpuatank"
targetType27 = "ibgtow"
attackType27_1 = "ivpurckt"
attackType27_2 = "ivpurckt"
targetType28 = "ibgtow"
attackType28_1 = "ivputank"
attackType28_2 = "ivputank"
attackType28_3 = "ivputank"
targetType29 = "ibgtow"
attackType29_1 = "ivpumbike"
attackType29_2 = "ivpumbike"
attackType29_3 = "ivpumbike"

targetType30 = "ivturr"
attackType30_1 = "ivpumbike"
attackType30_2 = "ivpumbike"
targetType31 = "ivturr"
attackType31_1 = "ivputank"
attackType31_2 = "ivputank"
targetType32 = "ivturr"
attackType32_1 = "ivpumisl"
attackType32_2 = "ivpumisl"
targetType33 = "ivturr"
attackType33_1 = "ivpuscout"
attackType33_2 = "ivpuscout"

targetType34 = "ivscav"
attackType34_1 = "ivpumisl"
attackType34_2 = "ivpumisl"
targetType35 = "ivscav"
attackType35_1 = "ivpuscout"
attackType35_2 = "ivpuscout"
targetType36 = "ivscav"
attackType36_1 = "ivputank"
targetType37 = "ivscav"
attackType37_1 = "ivpurckt"

targetType38 = "ibscav"
attackType38_1 = "ivpurckt"
targetType39 = "ibscav"
attackType39_1 = "ivputank"
targetType40 = "ibscav"
attackType40_1 = "ivpumbike"
attackType40_2 = "ivpumbike"
targetType41 = "ibscav"
attackType41_1 = "ivpuscout"
attackType41_2 = "ivpuscout"

targetType42 = "ibscup"
attackType42_1 = "ivpurckt"
targetType43 = "ibscup"
attackType43_1 = "ivputank"
targetType44 = "ibscup"
attackType44_1 = "ivpumbike"
attackType44_2 = "ivupmbike"
targetType45 = "ibscup"
attackType45_1 = "ivpuscout"
attackType45_2 = "ivpuscout"

targetType46 = "ivcons"
attackType46_1 = "ivpumisl"
attackType46_2 = "ivpumisl"
targetType47 = "ivcons"
attackType47_1 = "ivputank"
targetType48 = "ivcons"
attackType48_1 = "ivpumbike"
attackType48_2 = "ivpumbike"
targetType49 = "ivcons"
attackType49_1 = "ivpuscout"
attackType49_2 = "ivpuscout"

//===================================== Begin Base Building  ====================================

[Plan2]
planPriority = 530
planType = "CollectPool"
MaxTtlScrap = 101
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan4]
planPriority = 520
planType = "CollectPool"
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan6]
planPriority = 510
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan10]
planPriority = 500
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan12]
planPriority = 492
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan28]
planPriority = 490
planType = "BuildMinimums"
MaxTtlScrap = 81
planCondition = "NotExists"
planConditionClass = "ibfact"
planConditionCount = 1
// Sent to portal by DLL (patrol)
buildType1 = "ivpuscout"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan30]
planPriority = 480
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 2

[Plan40]
planPriority = 470
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildloc1 = "ipgen1"
buildCount1 = 1
buildType2 = "ibcbun"
buildloc2 = "pgen1"
buildCount2 = 1
buildType3 = "ibgtow"
buildloc3 = "spike1"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan50]
planPriority = 460
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildloc1 = "ipgen2"
buildCount1 = 1

[Plan52]
planPriority = 458
planType = "BaseBuildMinimums"
MinTtlScrap = 60
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibfact"
buildloc1 = "fact"
buildCount1 = 1

[Plan54]
planPriority = 456
planType = "BaseBuildMinimums"
MinTtlScrap = 50
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibcbun"
buildloc1 = "cbun"
buildCount1 = 1

[Plan60]
planPriority = 450
planType = "BaseBuildMinimums"
//planCondition = "NotExists"
//planConditionClass = "ibsbay"
//planConditionCount = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen3"
buildCount1 = 1
buildType2 = "ibcbun"
buildLoc2 = "pgen2"
buildCount2 = 1
buildType3 = "ibgtow"
buildLoc3 = "spike2"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan70]
planType = "BaseBuildMinimums"
planPriority = 440
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen4"
buildCount1 = 1
buildType2 = "ibcbun"
buildLoc2 = "pgen3"
buildCount2 = 1
buildType3 = "ibgtow"
buildLoc3 = "spike3"
buildCount3 = 1
ContinueEvenIfFail = true

//[Plan80]
//planPriority = 430
//planType = "BaseBuildMinimums"
//buildType1 = "ibcbun"
//buildLoc1 = "pgen4"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt4"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "gt4a"
//buildCount3 = 1
//ContinueEvenIfFail = true

[Plan90]
planPriority = 420
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planType = "BaseBuildMinimums"
buildType1 = "ibpgen"
buildLoc1 = "ipgen5"
buildCount1 = 1

[Plan92]
planPriority = 418
planType = "BaseBuildMinimums"
MinTtlScrap = 60
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
buildHeading = 1
buildType1 = "ibsbay"
buildLoc1 = "sbay"
buildCount1 = 1

[Plan94]
planPriority = 416
planType = "BuildMinimums"
MinTtlScrap = 50
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibsbay"
planConditionCount = 1
buildType1 = "ivservcpu"
buildCount1 = 4
//maxLoops = 1

[Plan96]
planPriority = 414
planType = "Service"
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ivservcpu"
planConditionCount = 1
serviceUnit = "ivservcpu"
unitType1 = "ibrecycpu"
unitType2 = "powergen"
unitType3 = "ibgtow"
unitType4 = "ibcbun"
unitType5 = "ibsbay"
unitType6 = "ibarmo"
unitType7 = "ibfact"
unitType8 = "ibtrain"
unitType9 = "ibtcen"
unitType10 = "ibbomb"
unitType11 = "ivbomb"
unitType12 = "ibscav"
unitType13 = "ibscup"
unitType14 = "ivservcpu"
unitType15 = "ivcons"
unitType16 = "ivwalk"
unitType17 = "ivatank"
unitType18 = "ivrckt"
unitType19 = "ivtank"
unitType20 = "ivapc"
unitType21 = "ivscout"
unitType22 = "ivmbike"
unitType23 = "ivmisl"
unitType24 = "ivturr"
//unitType25 = "ivtug"

[Plan98]
planPriority = 412
planType = "Recover"
MinCurPower = 0
planCondition = "Exists"
planConditionClass = "ibsbay"
serviceUnit = "ibsbay"
unitType1 = "ivservcpu"
unitType2 = "ivcons"
unitType3 = "ivpuwalk"
unitType4 = "ivpuatank"
unitType5 = "ivpurckt"
unitType6 = "ivputank"
unitType7 = "ivpuapc"
unitType8 = "ivpuscout"
unitType9 = "ivmbike"
unitType10 = "ivpumisl"
unitType11 = "ivturr"
unitType12 = "ivpuscout"
unitType13 = "ivpurckt"
unitType14 = "ivputank"
unitType15 = "ivpuatank"
unitType16 = "ivpuwalk"
unitType17 = "ivpurbomb"
//unitType12 = "ivtug"

[Plan100]
planPriority = 410
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen6"
buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "def1"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "def2"
//buildCount3 = 1
//buildType4 = "ibgtow"
//buildLoc4 = "def3"
//buildCount4 = 1
ContinueEvenIfFail = true

[Plan110]
planPriority = 400
planType = "BaseBuildMinimums"
MinTtlScrap = 50
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
buildType1 = "ibarmo"
buildLoc1 = "armo"
buildCount1 = 1

[Plan120]
planPriority = 390
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildloc1 = "ipgen7"
buildCount1 = 1

[Plan125]
planPriority = 388
planType = "BaseBuildMinimums"
MinTtlScrap = 70
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
buildCount1 = 1
buildType1 = "ibtrain"
buildloc1 = "train"
buildCount1 = 1

[Plan130]
planPriority = 380
planType = "BaseBuildMinimums"
MinTtlScrap = 80
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
buildType1 = "ibtcen"
buildLoc1 = "tcen"
buildCount1 = 1

[Plan132]
planPriority = 375
planType = "BaseBuildMinimums"
MinTtlScrap = 100
MinCurPower = 1
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtrain"
planConditionCount2 = 1
buildType1 = "ibbomb"
buildLoc1 = "bbay"
buildCount1 = 1

[Plan134]
planPriority = 372
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 61
planCondition = "NotExists"
planConditionClass = "ibarmo"
planConditionCount = 1
planCondition2 = "NotExists"
planConditionClass2 = "ibsbay"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibrecycpu"
planConditionCount3 = 1
buildType1 = "ivpuscout"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan140]
planPriority = 370
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivscout"
planConditionCount = 3
targetType = "ibscav"
attackType1 = "ivpuscout"
attackType2 = "ivpuscout"
attackType3 = "ivpuscout"
//buildIfNoIdle = 1
maxAttacks=999
ContinueEvenIfFail = true

[Plan150]
planPriority = 360
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan160]
planPriority = 350
planType = "CollectField"
MinTtlScrap = 140
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 3

[Plan170]
// Sent to portal by DLL (patrol)
planPriority = 340
planType = "BuildMinimums"
planCondition = "NotExists"
planConditionClass = "ibfact"
planConditionCount = 1
buildType1 = "ivpuscout"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan180]
planPriority = 330
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 81
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
buildType1 = "ivputank"
buildCount1 = 4
//ContinueEvenIfFail = true

[Plan182]
planPriority = 324
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivtank"
planConditionCount = 4
targetType = "ivcons"
attackType1 = "ivputank"
attackType2 = "ivputank"
attackType3 = "ivputank"
attackType4 = "ivputank"
maxAttacks=999
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan185]
planPriority = 322
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 61
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
buildType1 = "ivpumisl"
buildCount1 = 3
//ContinueEvenIfFail = true

[Plan190]
planPriority = 320
planType = "Attacker"
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
targetType = "ibscav"
attackType1 = "ivpumisl"
attackType2 = "ivpumisl"
attackType3 = "ivpumisl"
maxAttacks=999
ContinueEvenIfFail = true

[Plan192]
planPriority = 318
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
buildType1 = "ivpumbike"
buildCount1 = 4
//ContinueEvenIfFail = true

[Plan200]
planPriority = 310
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivmbike"
planConditionCount = 3
targetType = "ibfact"
attackType1 = "ivpumbike"
attackType2 = "ivpumbike"
attackType3 = "ivpumbike"
attackType4 = "ivpumbike"
maxAttacks = 3
ContinueEvenIfFail = true

[Plan202]
planPriority = 308
planType = "BuildMinimums"
MinTtlScrap = 100
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtcen"
planConditionCount2 = 1
buildType1 = "ivpuwalk"
buildCount1 = 4
//ContinueEvenIfFail = true

[Plan210]
planPriority = 300
planType = "Attacker"
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
targetType = "ibgtow"
attackType1 = "ivpuwalk"
attackType2 = "ivpuwalk"
attackType3 = "ivpuwalk"
attackType4 = "ivpuwalk"
maxAttacks=999
ContinueEvenIfFail = true

[Plan220]
planPriority = 290
planType = "BuildMinimums"
// Sent to portal by DLL (hold/attack)
MinTtlScrap = 80
MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibarmo"
planConditionCount3 = 1
buildType1 = "ivputank"
buildCount1 = 4
buildType2 = "ivpurckt"
buildCount2 = 4
ContinueEvenIfFail = true

[Plan230]
planPriority = 280
planType = "CollectPool"
MinTtlScrap = 141
MaxTtlScrap = 161
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
//scavClass = "ivscav"
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan240]
planPriority = 270
planType = "CollectField"
MinTtlScrap = 160
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
//scavClass = "ivscav"
ContinueEvenIfFail = true
maxTries = 3

[Plan242]
planPriority = 262
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 121
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
buildType1 = "ivputank"
buildCount1 = 5
//ContinueEvenIfFail = true

[Plan250]
planPriority = 260
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivputank"
planConditionCount = 5
targetType = "ibfact"
attackType1 = "ivputank"
attackType2 = "ivputank"
attackType3 = "ivputank"
attackType4 = "ivputank"
attackType5 = "ivputank"
maxAttacks=999
ContinueEvenIfFail = true

[Plan252]
planPriority = 252
MinTtlScrap = 60
MaxTtlScrap = 121
planType = "BuildMinimums"
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
buildType1 = "ivpumbike"
buildCount1 = 5
//ContinueEvenIfFail = true

[Plan260]
planPriority = 250
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivmbike"
planConditionCount = 5
targetType = "ibscav"
attackType1 = "ivpumbike"
attackType2 = "ivpumbike"
attackType3 = "ivpumbike"
attackType4 = "ivpumbike"
attackType5 = "ivpumbike"
maxAttacks=999
ContinueEvenIfFail = true

[Plan270]
planPriority = 240
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 81
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivpuatank"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan280]
planPriority = 230
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 61
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
// Sent to portal by DLL (patrol)
buildType1 = "ivputank"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan282]
planPriority = 220
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan286]
planPriority = 210
planType = "CollectPool"
MaxTtlScrap = 141
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan288]
planPriority = 204
planType = "CollectField"
MaxTtlScrap = 101
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 3

[Plan300]
planPriority = 200
planType = "BuildMinimums"
MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "ibrecycpu"
planConditionCount = 1
buildType1 = "ivcons"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan310]
planPriority = 192
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 51
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtrain"
planConditionCount2 = 1
buildType1 = "ivapc"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan320]
planPriority = 190
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivapc"
planConditionCount = 3
targetType = "powergen"
attackType1 = "ivapc"
attackType2 = "ivapc"
attackType3 = "ivapc"
maxAttacks=999
ContinueEvenIfFail = true

[Plan330]
planPriority = 180
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
buildType1 = "ibpgen"
buildLoc1 = "ipgen8"
buildCount1 = 1

[Plan334]
planPriority = 172
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 61
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibarmo"
planConditionCount2 = 1
buildType1 = "ivpumbike"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan340]
planPriority = 170
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivmbike"
planConditionCount = 4
targetType = "powergen"
attackType1 = "ivpumbike"
attackType2 = "ivpumbike"
attackType3 = "ivpumbike"
attackType4 = "ivpumbike"
maxAttacks=999
ContinueEvenIfFail = true

[Plan342]
planPriority = 162
planType = "BuildMinimums"
MinTtlScrap = 60
MaxTtlScrap = 81
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibcbun"
planConditionCount2 = 1
planCondition3 = "Exists"
planConditionClass3 = "ibsbay"
planConditionCount3 = 1
buildType1 = "ivpuatank"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan350]
planPriority = 160
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivatank"
planConditionCount = 4
targetType = "ibgtow"
attackType1 = "ivpuatank"
attackType2 = "ivpuatank"
attackType3 = "ivpuatank"
attackType4 = "ivpuatank"
maxAttacks=999
ContinueEvenIfFail = true

[Plan352]
planPriority = 152
planType = "BuildMinimums"
MinTtlScrap = 40
MaxTtlScrap = 61
MinCurPower = 0
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibfact"
planConditionCount2 = 1
buildType1 = "ivpumisl"
buildCount1 = 5
ContinueEvenIfFail = true

[Plan360]
planPriority = 150
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
targetType = "ibscup"
attackType1 = "ivpumisl"
attackType2 = "ivpumisl"
attackType3 = "ivpumisl"
attackType4 = "ivpumisl"
attackType5 = "ivpumisl"
maxAttacks=999
ContinueEvenIfFail = true

//[Plan370]
//planPriority = 140
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibcbun"
//buildLoc1 = "pgen5"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt5"
//buildCount2 = 1
//ContinueEvenIfFail = true

[Plan380]
planPriority = 130
planType = "BuildMinimums"
MinTtlScrap = 75
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibbomb"
planConditionCount2 = 1
planCondition = "NotExists"
planConditionClass = "ivbomb"
planConditionCount = 1
buildType1 = "ivbomb"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan384]
planPriority = 128
planType = "Attacker"
planCondition = "Exists"
planConditionClass = "ivbomb"
planConditionCount = 1
targetType = "powergen"
attackType1 = "ivbomb"
maxAttacks=999
ContinueEvenIfFail = true

//[Plan390]
//planPriority = 120
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibpgen"
//buildLoc1 = "ipgen9"
//buildCount1 = 1
//buildType2 = "ibcbun"
//buildLoc2 = "pgen6"
//buildCount2 = 1
//buildType3 = "ibgtow"
//buildLoc3 = "gt6"
//buildCount3 = 1
//ContinueEvenIfFail = true

[Plan400]
planPriority = 110
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ibfact"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibtcen"
planConditionCount2 = 1
// Sent to portal by DLL (hold/attack)
buildType1 = "ivpurbomb"
buildCount1 = 3
buildType2 = "ivpuwalk"
buildCount2 = 3
ContinueEvenIfFail = true

[Plan408]
planPriority = 108
planType = "Upgrade"
MinTtlScrap = 60
MaxTtlScrap = 181
planCondition = "Exists"
planConditionClass = "ivcons"
planConditionCount = 1
planCondition2 = "Exists"
planConditionClass2 = "ibscav"
planConditionCount2 = 4
unitType = "ibscav"

//[Plan410]
//planPriority = 100
//planType = "BaseBuildMinimums"
//planCondition = "Exists"
//planConditionClass = "ivcons"
//planConditionCount = 1
//buildType1 = "ibcbun"
//buildLoc1 = "pgen7"
//buildCount1 = 1
//buildType2 = "ibgtow"
//buildLoc2 = "gt7"
//buildCount2 = 1
//ContinueEvenIfFail = true
