////////////////////////////////////////////////////////////
// Forgotten Enemies AIP, revised by Red Devil  03/01/07  //
////////////////////////////////////////////////////////////
[Start]
//scrapCount = 40
consClass = "fvconscpu"
scavClass = "fvscavcpu"
DLLCanSwitch = false     // true = default. If false, DLL orders to switch are ignored.

[Cheat]
//moneyAmount = 20
//moneyAmount = 40
moneyAmount = 20
moneyDelay = 3

[IdleDispatcher]
ScavIdleSeconds = 600
UnitIdleSeconds = 600   // 10 minutes, so that the ID doesn't pick up the first units that have been built in large groups.
MinAttackForce = 3      // min # of idle units before dispatch
MaxAttackForce = 99     // max # of idle units before dispatch
MinMissionSeconds = 90
MaxTargets = 99
MaxBomberTargets = 99 // was 4 from 67g..67j
BomberIdleSeconds = 180 // # of seconds before a bomber is sent out.

[Match]
targetType1 = "ivscout"
attackType1_1 = "fvscoutcpu"
//attackType1_2 = "fvscoutcpu"
targetType2 = "ivscout"
attackType2_1 = "fvtankcpu"
targetType3 = "ivscout"
attackType3_1 = "fvarchcpu"
//attackType3_2 = "fvarchcpu"
targetType4 = "ivscout"
attackType4_1 = "fvsentcpu"
//attackType4_2 = "fvsentcpu"

targetType5 = "ivmbike"
attackType5_1 = "fvscoutcpu"
attackType5_2 = "fvscoutcpu"
targetType6 = "ivmbike"
attackType6_1 = "fvsentcpu"
attackType6_2 = "fvsentcpu"
targetType7 = "ivmbike"
attackType7_1 = "fvtankcpu"
targetType8 = "fvsentcpu"
attackType8_1 = "fvarchcpu"

targetType9 = "ivmisl"
attackType9_1 = "fvtankcpu"
targetType10 = "ivmisl"
attackType10_1 = "fvscoutcpu"
attackType10_2 = "fvscoutcpu"
targetType11 = "ivmisl"
attackType11_1 = "fvarchcpu"

targetType12 = "ivtank"
attackType12_1 = "fvscoutcpu"
attackType12_2 = "fvscoutcpu"
targetType13 = "ivtank"
attackType13_1 = "fvtankcpu"
attackType13_2 = "fvtankcpu"
targetType14 = "ivtank"
attackType14_1 = "fvarchcpu"
attackType14_2 = "fvarchcpu"
targetType15 = "ivtank"
attackType15_1 = "fvsentcpu"
attackType15_2 = "fvsentcpu"
attackType15_3 = "fvsentcpu"

targetType16 = "ivrckt"
attackType16_1 = "fvtankcpu"
attackType16_2 = "fvtankcpu"
targetType17 = "ivrckt"
attackType17_1 = "fvarchcpu"
attackType17_2 = "fvarchcpu"
targetType18 = "ivrckt"
attackType18_1 = "fvatankcpu"

targetType19 = "ivatank"
attackType19_1 = "fvtankcpu"
attackType19_2 = "fvtankcpu"
attackType19_3 = "fvtankcpu"
targetType20 = "ivatank"
attackType20_1 = "fvarchcpu"
attackType20_2 = "fvarchcpu"
targetType21 = "ivatank"
attackType21_1 = "fvatankcpu"
attackType21_2 = "fvatankcpu"
targetType22 = "ivatank"
attackType22_1 = "fvwalkcpu"
attackType22_2 = "fvwalkcpu"

targetType23 = "ivwalk"
attackType23_1 = "fvarchcpu"
attackType23_2 = "fvarchcpu"
targetType24 = "ivwalk"
attackType24_1 = "fvtankcpu"
attackType24_2 = "fvtankcpu"
targetType25 = "ivwalk"
attackType25_1 = "fvwalkcpu"
attackType25_2 = "fvwalkcpu"

targetType26 = "ibgtow"
attackType26_1 = "fvatankcpu"
attackType26_2 = "fvatankcpu"
targetType27 = "ibgtow"
attackType27_1 = "fvarchcpu"
attackType27_2 = "fvarchcpu"
targetType28 = "ibgtow"
attackType28_1 = "fvtankcpu"
attackType28_2 = "fvtankcpu"
attackType28_3 = "fvtankcpu"
targetType29 = "ibgtow"
attackType29_1 = "fvsentcpu"
attackType29_2 = "fvsentcpu"
attackType29_3 = "fvsentcpu"

targetType30 = "ivturr"
attackType30_1 = "fvsentcpu"
attackType30_2 = "fvsentcpu"
targetType31 = "ivturr"
attackType31_1 = "fvtankcpu"
attackType31_2 = "fvtankcpu"
targetType32 = "ivturr"
attackType32_1 = "fvarchcpu"
attackType32_2 = "fvarchcpu"
targetType33 = "ivturr"
attackType33_1 = "fvscoutcpu"
attackType33_2 = "fvscoutcpu"

targetType34 = "ivscav"
attackType34_1 = "fvarchcpu"
attackType34_2 = "fvarchcpu"
targetType35 = "ivscav"
attackType35_1 = "fvscoutcpu"
attackType35_2 = "fvscoutcpu"
targetType36 = "ivscav"
attackType36_1 = "fvtankcpu"
targetType37 = "ivscav"
attackType37_1 = "fvarchcpu"

targetType38 = "ibscav"
attackType38_1 = "fvarchcpu"
targetType39 = "ibscav"
attackType39_1 = "fvtankcpu"
targetType40 = "ibscav"
attackType40_1 = "fvsentcpu"
attackType40_2 = "fvsentcpu"
targetType41 = "ibscav"
attackType41_1 = "fvscoutcpu"
attackType41_2 = "fvscoutcpu"

targetType42 = "ibscup"
attackType42_1 = "fvarchcpu"
targetType43 = "ibscup"
attackType43_1 = "fvtankcpu"
targetType44 = "ibscup"
attackType44_1 = "fvsentcpu"
attackType44_2 = "fvsentcpu"
targetType45 = "ibscup"
attackType45_1 = "fvscoutcpu"
attackType45_2 = "fvscoutcpu"

targetType46 = "ivcons"
attackType46_1 = "fvarchcpu"
attackType46_2 = "fvarchcpu"
targetType47 = "ivcons"
attackType47_1 = "fvtankcpu"
targetType48 = "ivcons"
attackType48_1 = "fvsentcpu"
attackType48_2 = "fvsentcpu"
targetType49 = "ivcons"
attackType49_1 = "fvscoutcpu"
attackType49_2 = "fvscoutcpu"




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


[Plan1]
planPriority = 3000
planType = "BuildMinimums"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fvscavcpu"  // cost = 20
buildCount1 = 2
doNextOnFail = 0

//  <<<<<<<<<<<<  Start of Drone Build/Attack  >>>>>>>>>>>>>>

//Requirements: Matriarch (fbrecycpu)


[Plan2]
planPriority = 2290
planType = "BuildMinimums"
MinTtlScrap = 45
//MaxTtlScrap = 99
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscavcpu"
//planConditionCount2 = 5
//planCompare2 = "<"
//planConditionClassProvided2 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbforgcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided4 = true
buildType1 = "fvscoutcpu"  // cost = 50
buildCount1 = 4
doNextOnFail = 0

[Plan5]
planPriority = 2270
planType = "CollectPool"
//MaxTtlScrap = 40
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 5
//planCompare = "<"
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "NotExists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTimes = 999
maxTries = 999


[Plan6]
planPriority = 2260
planType = "CollectPool"
//MaxTtlScrap = 40
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 5
//planCompare = "<"
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbrecycpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "NotExists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTimes = 999
maxTries = 999

[Plan8]
planPriority = 2250
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 5
//planCompare = "<"
//planConditionClassProvided = true
planCondition2 = "HisExists"
planConditionClass2 = "ibscav"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbrecycpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbforgcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
targetType = "ibscav"
attackType1 = "fvscoutcpu"
attackType2 = "fvscoutcpu"
//attackType3 = "fvscoutcpu"
//attackType4 = "fvscoutcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan10]
planPriority = 2240
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 5
//planCompare = "<"
//planConditionClassProvided = true
planCondition2 = "HisExists"
planConditionClass2 = "ibscup"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition = "Exists"
planConditionClass3 = "fbrecycpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbforgcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
targetType = "ibscup"
attackType1 = "fvscoutcpu"
attackType2 = "fvscoutcpu"
//attackType3 = "fvscoutcpu"
//attackType4 = "fvscoutcpu"
attackAnything = 1
buildIfNoIdle = 1
maxAttacks=999
ContinueEvenIfFail = true

[Plan12]
planPriority = 2230
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
planCondition = "NotHisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "HisExists"
planConditionClass2 = "ivcons"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbrecycpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbforgcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
targetType = "ivcons"
attackType1 = "fvscoutcpu"
attackType2 = "fvscoutcpu"
attackType3 = "fvscoutcpu"
//attackType4 = "fvscoutcpu"
attackAnything = 1
buildIfNoIdle = 1
maxAttacks=999
ContinueEvenIfFail = true

[Plan14]
planPriority = 2220
planType = "Attacker"
//MinTtlScrap = 80
//MaxTtlScrap = 119
planCondition2 = "NotHisExists"
planConditionClass2 = "ibgtow"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "HisExists"
planConditionClass3 = "ibpgen"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbrecycpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbkilncpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbforgcpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
targetType = "ibpgen"
attackType1 = "fvscoutcpu"
attackType2 = "fvscoutcpu"
attackType3 = "fvscoutcpu"
attackType4 = "fvscoutcpu"
attackAnything = 1
buildIfNoIdle = 1
maxAttacks=999
ContinueEvenIfFail = true


[Plan16]
planPriority = 2210
planType = "CollectPool"
MaxTtlScrap = 45
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

//  <<<<<<<<<<<<  End of Drone Build/Attack  >>>>>>>>>>>>>>


//  <<<<<<<<<<<<  Start of Sentry Build/Attack  >>>>>>>>>>>>>>

//Requirements: Kiln (fbkilncpu)

[Plan18]
planPriority = 2200
planType = "BuildMinimums"
MinTtlScrap = 50
//MaxTtlScrap = 99
//planCondition = "Exists"
//planConditionClass = "fbscupcpu"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbdowecpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "NotExists"
planConditionClass4 = "fbantmcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbdowecpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
buildType1 = "fvsentcpu"  // cost = 50
buildCount1 = 6
ContinueEvenIfFail = true

[Plan26]
planPriority = 2180
planType = "CollectPool"
MinTtlScrap = 50
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbdowecpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
scavClass = "fvscavcpu"
defendType1 = "fvsentcpu"
defendCount1 = 2
buildIfNoIdle = 0
maxTries = 999
ContinueEvenIfFail = true

[Plan28]
planPriority = 2170
planType = "Attacker"
MinTtlScrap = 60
//MaxTtlScrap = 79
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 5
//planCompare = "<"
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
targetType = "ibscav"
attackType1 = "fvsentcpu"
attackType2 = "fvsentcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan30]
planPriority = 2160
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
planCondition7 = "NotExists"
planConditionClass7 = "fbforgcpu"
planConditionCount7 = 1
planCompare7 = "=="
planConditionClassProvided7 = true
targetType = "ibscav"
attackType1 = "fvsentcpu"
attackType2 = "fvsentcpu"
attackType3 = "fvsentcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


[Plan35]
planPriority = 2155
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
planCondition7 = "NotExists"
planConditionClass7 = "fbforgcpu"
planConditionCount7 = 1
planCompare7 = "=="
planConditionClassProvided7 = true
targetType = "ibscup"
attackType1 = "fvsentcpu"
attackType2 = "fvsentcpu"
attackType3 = "fvsentcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan38]
planPriority = 2152
planType = "Attacker"
//MinTtlScrap = 60
//MaxTtlScrap = 79
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
planCondition7 = "NotExists"
planConditionClass7 = "fbforgcpu"
planConditionCount7 = 1
planCompare7 = "=="
planConditionClassProvided7 = true
targetType = "ibscup"
attackType1 = "fvsentcpu"
attackType2 = "fvsentcpu"
attackType3 = "fvsentcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan40]
planPriority = 2150
planType = "CollectPool"
MaxTtlScrap = 99
planCondition = "Exists"
planConditionClass = "fbkilncpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
scavClass = "fvscavcpu"
defendType1 = "fvsentcpu"
defendCount1 = 1
buildIfNoIdle = 1
maxTries = 999
ContinueEvenIfFail = true


//  <<<<<<<<<<<<  End of Sentry Build/Attack  >>>>>>>>>>>>>>



//  <<<<<<<<<<<<  Start of Lancer Build/Attack  >>>>>>>>>>>>>>

//Requirements: Kiln (fbkilncpu)  Antenna Mound (fbantmcpu)

[Plan44]
planPriority = 2120
planType = "CollectPool"
MinTtlScrap = 60
//MaxTtlScrap = 119
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbantmcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
scavClass = "fvscavcpu"
defendType1 = "fvarchcpu"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan46]
planPriority = 2110
planType = "BuildMinimums"
MinTtlScrap = 60
//MaxTtlScrap = 119
//planCondition = "HisExists"
//planConditionClass = "ivmisl"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbantmcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildType1 = "fvarchcpu"  // cost = 55
buildCount1 = 6
doNextOnFail = 0

[Plan50]
planPriority = 2100
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
//planCondition = "HisExists"
//planConditionClass = "ivmisl"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbantmcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibscav"
attackType1 = "fvarchcpu"
attackType2 = "fvarchcpu"
//attackType3 = "fvarchcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan52]
planPriority = 2090
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbantmcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibscav"
attackType1 = "fvarchcpu"
attackType2 = "fvarchcpu"
attackType3 = "fvarchcpu"
//attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan54]
planPriority = 2080
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbantmcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibscup"
attackType1 = "fvarchcpu"
attackType2 = "fvarchcpu"
//attackType3 = "fvarchcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


[Plan60]
planPriority = 2075
planType = "Attacker"
//MinTtlScrap = 45
//MaxTtlScrap = 59
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbantmcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibscup"
attackType1 = "fvarchcpu"
attackType2 = "fvarchcpu"
//attackType3 = "fvarchcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true



//  <<<<<<<<<<<<<<<<<<<< End Lancer Build/Attack  >>>>>>>>>>>>>>>>>>>>>>




[Plan70]
planPriority = 2070
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fvconscpu"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan75]
planPriority = 2060
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fvconscpu"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
unitType = "fbscavcpu"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

[Plan80]
planPriority = 2050
//planPriority = 5050
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fvconscpu"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan85]
planPriority = 2040
//planPriority = 5000
planType = "BaseBuildMinimums"
MinTtlScrap = 60
//planCondition = "HisExists"
//planConditionClass = "ibfact"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fvconscpu"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
buildHeading = 1  // South
//buildHeading = 0  // North
//buildHeading = 2  // West
//buildHeading = 3  // East

buildType1 = "fbkilncpu"
//buildloc1 = "fact"
buildCount1 = 1
ContinueEvenIfFail = true


[Plan90]
planPriority = 2000
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//planCondition = "HisExists"
//planConditionClass = "ibsbay"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbdowecpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fvconscpu"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildType1 = "fbdowecpu"
//buildloc1 = "sbay"
buildCount1 = 1
ContinueEvenIfFail = true


[Plan95]
planPriority = 1980
planType = "Service"
planCondition = "Exists"
planConditionClass = "fvservcpu"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "fvservcpu"

MinWreckAmmo = 0.1
MinWreckHealth = 0.25
MaxWreckAmmo = 0.8
MaxWreckHealth = 0.8
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "fbrecycpu"
unitType2 = "fbspircpu"
unitType3 = "fbkilncpu"
unitType4 = "fbforgcpu"
unitType5 = "fbdowecpu"
unitType6 = "fbstrocpu"
unitType7 = "fbantmcpu"
unitType8 = "fbovercpu"
unitType9 = "fbscavcpu"
ContinueEvenIfFail = true

[Plan98]
planPriority = 1970
planType = "Service"
planCondition = "Exists"
planConditionClass = "fvservcpu"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
serviceUnit = "fvservcpu"

MinWreckAmmo = 0.1
MinWreckHealth = 0.25
MaxWreckAmmo = 0.8
MaxWreckHealth = 0.8
RepairTime = 60.0 // Max time a servicer will spend on a unit
MaxWreckDist = 250.0 // Distance from service truck to unit to begin servicing

unitType1 = "fbscavcpu"
unitType2 = "fbscupcpu"
unitType3 = "fvservcpu"
unitType4 = "fvconscpu"
unitType5 = "fvwalkcpu"
unitType6 = "fvatankcpu"
unitType7 = "fvtankcpu"
unitType8 = "fvartlcpu"
unitType9 = "fvscoutcpu"
unitType10 = "fvsentcpu"
unitType11 = "fvarchcpu"
unitType12 = "fvturrcpu"
unitType13 = "fvrbombcpu"
unitType14 = "fblungcpu"
ContinueEvenIfFail = true



[Plan100]
planPriority = 1960
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType1 = "fvservcpu"
unitType2 = "fvscoutcpu"
unitType3 = "fvsentcpu"
unitType4 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true

[Plan102]
planPriority = 1950
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType1 = "fvservcpu"
unitType5 = "fvartlcpu"
unitType6 = "fvtankcpu"
unitType7 = "fvarchcpu"
unitType8 = "fvsentcpu"
unitType10 = "fvscoutcpu"
unitType11 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true

[Plan102]
planPriority = 1940
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType1 = "fvservcpu"
unitType5 = "fvartlcpu"
unitType6 = "fvtankcpu"
unitType7 = "fvarchcpu"
unitType8 = "fvsentcpu"
unitType10 = "fvscoutcpu"
unitType11 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true

[Plan102]
planPriority = 1930
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType1 = "fvservcpu"
unitType5 = "fvartlcpu"
unitType6 = "fvtankcpu"
unitType7 = "fvarchcpu"
unitType8 = "fvsentcpu"
unitType10 = "fvscoutcpu"
unitType11 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true

[Plan104]
planPriority = 1920
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType1 = "fvservcpu"
unitType2 = "fvatankcpu"
unitType3 = "fvrbombcpu"
unitType4 = "fvwalkcpu"
unitType5 = "fvartlcpu"
unitType6 = "fvtankcpu"
unitType7 = "fvarchcpu"
unitType8 = "fvsentcpu"
unitType9 = "fvturrcpu"
unitType10 = "fvscoutcpu"
unitType11 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true

[Plan106]
planPriority = 1910
planType = "Recover"
planCondition = "Exists"
planConditionClass = "fbdowecpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
serviceUnit = "fbdowecpu"
unitType3 = "fvrbombcpu"
unitType4 = "fvwalkcpu"
unitType5 = "fvatankcpu"
unitType10 = "fvscoutcpu"
unitType11 = "fvscavcpu"
//unitType12 = "fvtugcpu"
ContinueEvenIfFail = true


[Plan130]
planPriority = 1900
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//planCondition = "HisExists"
//planConditionClass = "ibcbun"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbantmcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fvconscpu"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbkilncpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildHeading = 0
buildType1 = "fbantmcpu"
//buildloc1 = "antm"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan140]
planPriority = 1890
MinTtlScrap = 100
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan150]
planPriority = 1880
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
//planCondition = "HisExists"
//planConditionClass = "ivtank"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbkilncpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fvconscpu"
planConditionCount4 = 1
planCompare4 = ">="
planConditionClassProvided4 = true
unitType = "fbkilncpu"
doNextOnFail = 0

[Plan160]
planPriority = 1870
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//planCondition = "HisExists"
//planConditionClass = "ibarmo"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbstrocpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fvconscpu"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbdowecpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
buildType1 = "fbstrocpu"
//buildloc1 = "stro"
buildCount1 = 1
doNextOnFail = 0

[Plan165]
planPriority = 1860
planType = "BaseBuildMinimums"
MinTtlScrap = 80
//planCondition = "HisExists"
//planConditionClass = "ivatank"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbstrocpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fvconscpu"
planConditionCount3 = 1
planCompare3 = ">="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbdowecpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
buildType1 = "fbstrocpu"
//buildloc1 = "stro"
buildCount1 = 1
doNextOnFail = 0

[Plan170]
planPriority = 1850
MinTtlScrap = 140
planType = "CollectPool"
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan180]
planPriority = 1840
planType = "Upgrade"
MinTtlScrap = 80
//MaxTtlScrap = 161
//planCondition = "HisExists"
//planConditionClass = "ivatank"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "fbovercpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbantmcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fvconscpu"
planConditionCount5 = 1
planCompare5 = ">="
planConditionClassProvided5 = true
unitType = "fbantmcpu"
doNextOnFail = 0

[Plan190]
planPriority = 1830
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fvconscpu"
buildCount1 = 3
ContinueEvenIfFail = true


[Plan200]
planPriority = 1820
planType = "Upgrade"
MinTtlScrap = 80
MaxTtlScrap = 181
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fvconscpu"
planConditionCount2 = 3
planCompare2 = ">="
planConditionClassProvided2 = false
unitType = "fbscavcpu"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5

[Plan210]
planPriority = 1810
planType = "DefendArea"
targetType = "fbscavcpu"
defendType1 = "fvturrcpu"
defendCount1 = 3
defendType2 = "fvscoutcpu"
defendCount2 = 2
sendWhenBuilt = 1
MaxUnits = 3
maxTries = 10
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan220]
planPriority = 1800
planType = "DefendArea"
targetType = "ibscup"
defendType1 = "fvturrcpu"
defendCount1 = 3
defendType2 = "fvscoutcpu"
defendCount2 = 2
sendWhenBuilt = 1
MaxUnits = 5
maxTries = 10
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan230]
planPriority = 1790
planType = "BuildMinimums"
MinTtlScrap = 50
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbkilncpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbdowecpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
buildType1 = "fvservcpu"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan240]
planPriority = 1780
MinTtlScrap = 80
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "fvconscpu"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "fbspircpu"
//buildloc1 = "spike1"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan250]
planPriority = 1770
MinTtlScrap = 80
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "fvconscpu"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "fbspircpu"
//buildloc1 = "spike2"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan260]
planPriority = 1760
//MinTtlScrap = 80
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "fvconscpu"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "fbspircpu"
//buildloc1 = "spike3"
buildCount1 = 3
ContinueEvenIfFail = true

/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>
/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>
/// <<<<<<<<<<<<<<<<<<<<  End Of Base Section  >>>>>>>>>>>>>>>>>>>>>>




// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv
// vvvvvvvvvvvvvvvvvvvvvv  Begin Build/Attack Section vvvvvvvvvvvvvvvvvvvvvvvvvvvv


//  <<<<<<<<<<<<  Start of Bomber Bay Response  >>>>>>>>>>>>>>


[Plan270]
planPriority = 1750
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 119
planCondition = "HisExists"
planConditionClass = "ibtrain"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "NotExists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
buildType1 = "fvartlpopcpu"  // cost = 65
buildCount1 = 3
doNextOnFail = 0

[Plan272]
planPriority = 1748
planType = "DefendArea"
//planCondition = "HisExists"
//planConditionClass = "ibbomb"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
targetType = "fbrecycpu"
defendType1 = "fvartlpopcpu"
defendCount1 = 3
//sendWhenBuilt = 1
//MaxUnits = 3
maxTries = 999
buildIfNoIdle = 0
ContinueEvenIfFail = true


//Requirements: Forge (fbforgcpu)

[Plan274]
planPriority = 1746
planType = "BuildMinimums"
MinTtlScrap = 60
//MaxTtlScrap = 119
planCondition = "HisExists"
planConditionClass = "ibtrain"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = false
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = false
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = false
//planCondition4 = "Exists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = false
buildType1 = "fvartlcpu"  // cost = 55
buildCount1 = 6
doNextOnFail = 0
maxTimes = 5

[Plan276]
planPriority = 1744
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ibbomb"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "Exists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
targetType = "ibbomb"
attackType1 = "fvartlcpu"
attackType2 = "fvartlcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan278]
planPriority = 1742
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "Exists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
targetType = "ibpgen"
attackType1 = "fvartlcpu"
attackType2 = "fvartlcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan280]
planPriority = 1740
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "Exists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
targetType = "ibfact"
attackType1 = "fvartlcpu"
attackType2 = "fvartlcpu"
attackAnything = 0
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


//  ^^^^^^^^^^^^  End of Bomber Bay Response  ^^^^^^^^^^^^^^



//  <<<<<<<<<<<<  Start of Titan Build/Attack  >>>>>>>>>>>>>>

//Requirements: Forge (fbforgcpu), Overseer (fbovercpu), and Stronghold (fbstrocpu)


[Plan300]

// 45 seconds for 90 scrap = 3 Titans in 2 minutes 15 seconds

planPriority = 1734
planType = "BuildMinimums"
MinTtlScrap = 100
//MaxTtlScrap = 199
//planCondition = "HisExists"
//planConditionClass = "ivatank"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 5
//planCompare2 = ">="
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbovercpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
buildType1 = "fvatankcpu"		// cost = 90
buildCount1 = 6	
doNextOnFail = 0


[Plan420]
planPriority = 1730
planType = "BuildMinimums"
MinTtlScrap = 100
//MaxTtlScrap = 179
//planCondition = "Exists"
//planConditionClass = "hbport"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbstrocpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
//planCondition5 = "Exists"
//planConditionClass5 = "fbscupcpu"
//planConditionCount5 = 1
//planCompare5 = ">="
//planConditionClassProvided5 = true
buildType1 = "fvrbombcpu"
buildCount1 = 6
doNextOnFail = 0

[Plan430]
planPriority = 1720
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbstrocpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
targetType = "ibgtow"
attackType1 = "fvatankcpu"
attackType2 = "fvatankcpu"
attackType3 = "fvrbombcpu"
attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan435]
planPriority = 1710
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbstrocpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
targetType = "ibgtow"
attackType1 = "fvatankcpu"
attackType2 = "fvatankcpu"
attackType3 = "fvrbombcpu"
attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan440]
planPriority = 1700
planType = "Attacker"
//MinTtlScrap = 160
//MaxTtlScrap = 179
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbstrocpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
targetType = "ibgtow"
attackType1 = "fvatankcpu"
attackType2 = "fvatankcpu"
attackType3 = "fvrbombcpu"
attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true


//  <<<<<<<<<<<<  End of Titan Build/Attack  >>>>>>>>>>>>>>>




//  <<<<<<<<<<<<  Start of Brawler Build/Attack  >>>>>>>>>>>>>>

//Requirements: Forge (fbforgcpu), Overseer (fbovercpu)


[Plan470]
planPriority = 1680
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ivrckt"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbovercpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildType1 = "fvrbombcpu"  // cost = 75
buildCount1 = 6
doNextOnFail = 0

[Plan475]
planPriority = 1670
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ivrckt"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "NotExists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbovercpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildType1 = "fvrbombcpu"  // cost = 75
buildCount1 = 3
doNextOnFail = 0

[Plan480]
planPriority = 1660
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//planCondition = "Exists"
//planConditionClass = "hbport"
//planConditionCount = 1
//planCompare = "=="
//planConditionClassProvided = true
//planCondition2 = "NotExists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
//planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbovercpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
buildType1 = "fvrbombcpu"  // cost = 75
buildCount1 = 3
doNextOnFail = 0

[Plan482]
planPriority = 1655
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan485]
planPriority = 1650
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ivrckt"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ivrckt"
attackType1 = "fvrbombcpu"
attackType2 = "fvrbombcpu"
attackType3 = "fvrbombcpu"
//attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan490]
planPriority = 1630
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 2281
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibscav"
attackType1 = "fvrbombcpu"
attackType2 = "fvrbombcpu"
attackType3 = "fvrbombcpu"
//attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan495]
planPriority = 1620
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
targetType = "ibgtow"
attackType1 = "fvrbombcpu"
attackType2 = "fvrbombcpu"
attackType3 = "fvrbombcpu"
//attackType4 = "fvrbombcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

//  ^^^^^^^^^^^^  End of Brawler Build/Attack  ^^^^^^^^^^^^^^^



//  vvvvvvvvvvvv  Start of Mauler Build/Attack  vvvvvvvvvvvvvv

//Requirements: Forge (fbforgcpu), Dower (fbdowecpu), and Stronghold (fbstrocpu)


[Plan500]
planPriority = 1610
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibsbay"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "Exists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbdowecpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
buildType1 = "fvwalkcpu"  // cost = 70
buildCount1 = 6
doNextOnFail = 0

[Plan510]
planPriority = 1600
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibsbay"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
//planCondition2 = "NotExists"
//planConditionClass2 = "fbscupcpu"
//planConditionCount2 = 1
//planCompare2 = ">="
//planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbdowecpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
buildType1 = "fvwalkcpu"  // cost = 70
buildCount1 = 3
doNextOnFail = 0


[Plan520]
planPriority = 1590
planPriority = 50
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 281
//planCondition2 = "Exists"
//planConditionClass2 = "hbport"
//planConditionCount2 = 1
//planCompare2 = "=="
//planConditionClassProvided2 = true
//planCondition3 = "NotExists"
//planConditionClass3 = "fbscupcpu"
//planConditionCount3 = 1
//planCompare3 = ">="
//planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbforgcpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbdowecpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "Exists"
planConditionClass6 = "fbstrocpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
buildType1 = "fvwalkcpu"  // cost = 70
buildCount1 = 3
doNextOnFail = 0

[Plan525]
planPriority = 1585
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan530]
planPriority = 1460
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = false
planCondition2 = "Exists"
planConditionClass2 = "fvwalkcpu"
planConditionCount2 = 3
planCompare2 = ">="
planConditionClassProvided2 = false
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbdowecpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
targetType = "ibscav"
attackType1 = "fvwalkcpu"
attackType2 = "fvwalkcpu"
attackType3 = "fvwalkcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan540]
planPriority = 1450
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fvwalkcpu"
planConditionCount2 = 3
planCompare2 = ">="
planConditionClassProvided2 = false
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbdowecpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
targetType = "ibscup"
attackType1 = "fvwalkcpu"
attackType2 = "fvwalkcpu"
attackType3 = "fvwalkcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

[Plan550]
planPriority = 1440
planType = "Attacker"
//MinTtlScrap = 180
//MaxTtlScrap = 281
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fvwalkcpu"
planConditionCount2 = 3
planCondition3 = "Exists"
planConditionClass3 = "fbforgcpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
planCondition4 = "Exists"
planConditionClass4 = "fbdowecpu"
planConditionCount4 = 1
planCompare4 = "=="
planConditionClassProvided4 = true
planCondition5 = "Exists"
planConditionClass5 = "fbstrocpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "HisExists"
planConditionClass6 = "ibarmo"
planConditionCount6 = 1
planCompare6 = ">="
planConditionClassProvided6 = true
targetType = "ibgtow"
attackType1 = "fvwalkcpu"
attackType2 = "fvwalkcpu"
attackType3 = "fvwalkcpu"
attackAnything = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxAttacks=999

//  <<<<<<<<<<<<  End of Mauler Build/Attack  >>>>>>>>>>>>>>



//  vvvvvvvvvvvv  Start of Archer Build/Defend  vvvvvvvvvvvvvvv

//Requirements: Forge (fbforgcpu), Overseer (fbovercpu)

[Plan590]
planPriority = 1430
planType = "BuildMinimums"
MinTtlScrap = 80
MaxTtlScrap = 119
planCondition = "HisExists"
planConditionClass = "ivbomb"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "Exists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
buildType1 = "fvartlcpu"  // cost = 65
buildCount1 = 6
doNextOnFail = 0

[Plan600]
planPriority = 1425
planType = "BuildMinimums"
MinTtlScrap = 80
//MaxTtlScrap = 119
//planCondition = "HisExists"
//planConditionClass = "ivbomb"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "fbovercpu"
planConditionCount3 = 1
planCompare3 = "=="
planConditionClassProvided3 = true
//planCondition4 = "NotExists"
//planConditionClass4 = "fbscupcpu"
//planConditionCount4 = 1
//planCompare4 = ">="
//planConditionClassProvided4 = true
buildType1 = "fvartlpopcpu"  // cost = 65
buildCount1 = 3
doNextOnFail = 0

[Plan620]
planPriority = 1422
planType = "DefendArea"
//planCondition = "HisExists"
//planConditionClass = "ivbomb"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
targetType = "fbrecycpu"
defendType1 = "fvartlpopcpu"
defendCount1 = 3
sendWhenBuilt = 1
MaxUnits = 3
maxTries = 999
buildIfNoIdle = 0
ContinueEvenIfFail = true

[Plan630]
planPriority = 1420
planType = "CollectPool"
MinTtlScrap = 140
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

//  <<<<<<<<<<<<  End of Archer Build/Defend  >>>>>>>>>>>>>>


//  <<<<<<<<<<<<  Start of Warrior Build/Attack  >>>>>>>>>>>>>>

//Requirements: Forge (fbforgcpu)

[Plan635]
planPriority = 1390
planType = "BuildMinimums"
MinTtlScrap = 60
//MaxTtlScrap = 119
planCondition = "HisExists"
planConditionClass = "ivtank"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
//planCondition3 = "Exists"
//planConditionClass3 = "fbscupcpu"
//planConditionCount3 = 1
//planCompare3 = ">="
//planConditionClassProvided3 = true
buildType1 = "fvtankcpu"  // cost = 55
buildCount1 = 6
doNextOnFail = 0

[Plan655]
planPriority = 1375
planType = "CollectPool"
MinTtlScrap = 120
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan660]
planPriority = 1370
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ivtank"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
targetType = "ivtank"
attackType1 = "fvtankcpu"
attackType2 = "fvtankcpu"
attackType3 = "fvtankcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan670]
planPriority = 1360
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
targetType = "ibscav"
attackType1 = "fvtankcpu"
attackType2 = "fvtankcpu"
attackType3 = "fvtankcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

[Plan680]
planPriority = 1350
planType = "Attacker"
//MinTtlScrap = 120
//MaxTtlScrap = 139
planCondition = "HisExists"
planConditionClass = "ibscup"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fbforgcpu"
planConditionCount2 = 1
planCompare2 = "=="
planConditionClassProvided2 = true
planCondition5 = "NotExists"
planConditionClass5 = "fbantmcpu"
planConditionCount5 = 1
planCompare5 = "=="
planConditionClassProvided5 = true
planCondition6 = "NotExists"
planConditionClass6 = "fbdowecpu"
planConditionCount6 = 1
planCompare6 = "=="
planConditionClassProvided6 = true
targetType = "ibscup"
attackType1 = "fvtankcpu"
attackType2 = "fvtankcpu"
attackType3 = "fvtankcpu"
attackAnything = 1
buildIfNoIdle = 0
maxAttacks=999
ContinueEvenIfFail = true

//  ^^^^^^^^^^^^  End of Warrior Build/Attack  ^^^^^^^^^^^^^^


[Plan920]
planPriority = 200
planType = "CollectPool"
MinTtlScrap = 140
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan930]
planPriority = 190
planType = "CollectField"
//MinTtlScrap = 40
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 10

[Plan940]
planPriority = 180
planType = "BuildMinimums"
MinTtlScrap = 80
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fvconscpu"
buildCount1 = 4
ContinueEvenIfFail = true

[Plan950]
planPriority = 170
planType = "CollectPool"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 0
ContinueEvenIfFail = true
maxTries = 999

[Plan960]
planPriority = 160
planType = "CollectField"
MinTtlScrap = 100
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan970]
planPriority = 150
MinTtlScrap = 80
planType = "BaseBuildMinimums"
buildType1 = "fbspircpu"
//buildloc1 = "def1"
buildCount1 = 1
buildType2 = "fbspircpu"
//buildloc2 = "def2"
buildCount2 = 1
buildType3 = "fbspircpu"
//buildloc3 = "def3"
buildCount3 = 1
ContinueEvenIfFail = true

[Plan975]
planPriority = 140
MinTtlScrap = 80
planType = "BaseBuildMinimums"
planCondition = "Exists"
planConditionClass = "fvconscpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
buildType1 = "fbspircpu"
//buildloc1 = "gt5"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan980]
planPriority = 120
planType = "CollectPool"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan990]
planPriority = 110
planType = "CollectField"
MinTtlScrap = 160
planCondition = "Exists"
planConditionClass = "fbrecycpu"
planConditionCount = 1
planCompare = "=="
planConditionClassProvided = true
scavClass = "fvscavcpu"
defendType1 = "fvscoutcpu"
defendCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true
maxTries = 999

[Plan1000]
planPriority = 100
planType = "Upgrade"
MinTtlScrap = 80
MaxTtlScrap = 181
//planCondition = "Exists"
//planConditionClass = "fbscavcpu"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "fvconscpu"
planConditionCount2 = 3
unitType = "fbscavcpu"
ContinueEvenIfFail = true
maxTimes = 5
maxTries = 5


[Plan960]
planPriority = 80
planType = "ClearArea"
targetType = "fbscavcpu"
maxUnits = 3
sendWhenBuilt = 1
ContinueEvenIfFail = true

[Plan970]
planPriority = 70
planType = "ClearArea"
targetType = "fbscupcpu"
maxUnits = 3
sendWhenBuilt = 1
ContinueEvenIfFail = true

//[Plan980]
planPriority = 60
planType = "Defender"
//targetType = "fbscavcpu"
//defendType1 = "fvscoutcpu"
//defendCount1 = 3
//defendType2 = "fvtankcpu"
//defendCount2 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan990]
//planPriority = 50
//planType = "DefendArea"
//targetType = "fbscavcpu"
//defendType1 = "fvturrcpu"
//defendCount1 = 3
//defendType2 = "fvscoutcpu"
//defendCount2 = 2
//defendType3 = "fvtankcpu"
//defendCount3 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

//[Plan995]
//planPriority = 40
//planType = "DefendArea"
//targetType = "ibscup"
//defendType1 = "fvturrcpu"
//defendCount1 = 3
//defendType2 = "fvscoutcpu"
//defendCount2 = 2
//defendType3 = "fvtankcpu"
//defendCount3 = 1
//sendWhenBuilt = 1
//MaxUnits = 3
//maxTries = 10
//buildIfNoIdle = 1
//ContinueEvenIfFail = true

[Plan1000]
planPriority = 30
planType = "DistributeUnits"
ContinueEvenIfFail = true
