[Start]
baseDir = 0  // South
//baseDir = 1  // North
//baseDir = 2  // West
//baseDir = 3  // East

scrapCount = 40
consClass = "evcons"
scavClass = "evscav"
DLLCanSwitch = true // true = default. If false, DLL orders to switch are ignored.
IdleAllCraft = false

[Cheat]
moneyAmount = 20
moneyDelay = 10

[IdleDispatcher]
ScavIdleSeconds = 60
UnitIdleSeconds = 600
MinAttackForce = 1 // min # of idle units before dispatch
MaxAttackForce = 99 // min # of idle units before dispatch
MinMissionSeconds = 300
MaxTargets = 10
//MaxBomberTargets = 8 // was 4 from 67g..67j
//BomberIdleSeconds = 120 // # of seconds before a bomber is sent out.

sendAllUnitsOnStartup = true


[Match]
targetType1 = "ivrecy"
attackType1_1 = "evscoutcpu"
attackType1_2 = "evscoutcpu"

targetType2 = "ivscout"
attackType2_1 = "evscoutcpu"
attackType2_2 = "evscoutcpu"

targetType3 = "ivturr"
attackType3_1 = "evscoutcpu"
attackType3_2 = "evscoutcpu"

targetType4 = "ivtank"
attackType4_1 = "evscoutcpu"
attackType4_2 = "evscoutcpu"

targetType5 = "ibrecy"
attackType5_1 = "evscoutcpu"
attackType5_2 = "evscoutcpu"

[Plan10]
planType = "CollectPool"
planPriority = 530
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 1
planCompare = "<="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 1
planCompare2 = ">"
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan20]
planType = "CollectPool"
planPriority = 520
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 2
planCompare = "<"
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 2
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan30]
planType = "CollectPool"
planPriority = 510
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 3
planCompare = "<"
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 3
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan40]
planType = "CollectPool"
planPriority = 500
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 4
planCompare = "<"
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 4
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan50]
planType = "CollectPool"
planPriority = 490
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = "<"
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebscav"
planConditionCount2 = 5
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan60]
planType = "CollectField"
planPriority = 480
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
planConditionClassProvided2 = true
//buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan70]
// Sent to portal by DLL (patrol)
planType = "BuildMinimums"
planPriority = 475
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "NotExists"
planConditionClass2 = "ebfact2"
planConditionCount2 = 1
planCondition3 = "NotHisExists"
planConditionClass3 = "ibgtow"
planConditionCount3 = 1
planCondition4 = "Exists"
planConditionClass4 = "ebrecycpu"
planConditionCount4 = 1
buildType1 = "evpuscout"
buildCount1 = 2
ContinueEvenIfFail = true


[Plan80]
planType = "BuildMinimums"
planPriority = 460
MinTtlScrap = 50
planCondition="Exists"
planConditionClass="ebrecycpu"
planConditionCount=1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "evscoutcpu"
buildCount1 = 6
maxTries = 99

[Plan90]
planType = "Attacker"
planPriority = 650
MinTtlScrap = 120
planCondition2 = "HisExists"
planConditionClass2 = "ivrecy"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
targetType1 = "ivrecy"
targetType2 = "ibrecy"
targetType3 = "ivscout"
targetType4 = "ivcons"
CheckProvides = true
attackType1 = "evscoutcpu"
attackType2 = "evscoutcpu"
attackType3 = "evscoutcpu"
maxTries = 99
ContinueEvenIfFail = true

[Plan100]
planType = "Attacker"
planPriority = 640
MinTtlScrap = 120
planCondition2 = "HisExists"
planConditionClass2 = "ibscav"
planConditionCount2 = 1
planCompare2 = ">="
planConditionClassProvided2 = true
planCondition3 = "Exists"
planConditionClass3 = "ebrecycpu"
planConditionCount3 = 1
planConditionClassProvided3 = true
targetType1 = "ibscav"
targetType2 = "ibscup"
targetType3 = "ibrecy"
targetType4 = "ibpgen"
CheckProvides = true
attackType1 = "evscoutcpu"
attackType2 = "evscoutcpu"
attackType3 = "evscoutcpu"
maxAttacks = 99
ContinueEvenIfFail = true

[Plan120]
planType = "CollectField"
planPriority = 420
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
planConditionClassProvided2 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true


[Plan130]
planType = "CollectField"
planPriority = 410
planCondition = "Exists"
planConditionClass = "ebscav"
planConditionCount = 5
planCompare = ">="
planConditionClassProvided = true
planCondition2 = "Exists"
planConditionClass2 = "ebrecycpu"
planConditionCount2 = 1
planConditionClassProvided2 = true
buildIfNoIdle = 1
ContinueEvenIfFail = true

//[Plan135]
//planPriority = 400
//MissionTime = 400 // # of seconds that must elapse before this plan is done
//planType = "SwitchAIP"
//planCondition = "HisExists"
//planConditionClass = "ibrecy"
//planConditionCount = 1
//planCompare = ">="
//planConditionClassProvided = true
//NextAIP = "FE13_ei3.aip"
//maxTries = 5
//ContinueEvenIfFail = true

//[Plan140]
//planPriority = 390
//MissionTime = 400 // # of seconds that must elapse before this plan is done
//planType = "SwitchAIP"
//planCondition = "HisExists"
//planConditionClass = "ibrecy_m"
//planConditionCount = 1
//planCompare = ">="
/planConditionClassProvided = true
//NextAIP = "FE13_ei3.aip"
//maxTries = 5
//ContinueEvenIfFail = true

