[Start]
//scrapCount = 40
consClass = "evcons"
scavClass = "evscav"

DLLCanSwitch = false // true = default. If false, DLL orders to switch are ignored.


[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 = 99
//MaxBomberTargets = 99 // was 4 from 67g..67j
//BomberIdleSeconds = 120 // # of seconds before a bomber is sent out.

sendAllUnitsOnStartup = true

[Match]
targetType1 = "ivscout"
attackType1_1 = "evscoutcpu"
attackType1_2 = "evscoutcpu"
targetType2 = "ivscout"
attackType2_1 = "evtankucpu"
targetType3 = "ivscout"
attackType3_1 = "evmislucpu"
targetType4 = "ivscout"
attackType4_1 = "evmortcpu"
attackType4_2 = "evmortcpu"

targetType5 = "ivmbike"
attackType5_1 = "evscoutcpu"
attackType5_2 = "evscoutcpu"
targetType6 = "ivmbike"
attackType6_1 = "evmortcpu"
attackType6_2 = "evmortcpu"
targetType7 = "ivmbike"
attackType7_1 = "evtankucpu"
targetType8 = "ivmbike"
attackType8_1 = "evmislucpu"

targetType9 = "ivmisl"
attackType9_1 = "evscoutcpu"
attackType9_2 = "evscoutcpu"
targetType10 = "ivmisl"
attackType10_1 = "evtankucpu"
attackType10_2 = "evtankucpu"
targetType11 = "ivmisl"
attackType11_1 = "evmislucpu"

targetType12 = "ivtank"
attackType12_1 = "evscoutcpu"
attackType12_2 = "evscoutcpu"
targetType13 = "ivtank"
attackType13_1 = "evtankucpu"
attackType13_2 = "evtankucpu"
targetType14 = "ivtank"
attackType14_1 = "evmislucpu"
targetType15 = "ivtank"
attackType15_1 = "evmortcpu"
attackType15_2 = "evmortcpu"
attackType15_3 = "evmortcpu"

targetType16 = "ivrckt"
attackType16_1 = "evtankucpu"
attackType16_2 = "evtankucpu"
targetType17 = "ivrckt"
attackType17_1 = "evmislucpu"
attackType17_2 = "evmislucpu"
targetType18 = "ivrckt"
attackType18_1 = "evatankucpu"

targetType19 = "ivatank"
attackType19_1 = "evtankucpu"
attackType19_2 = "evtankucpu"
attackType19_3 = "evtankucpu"
targetType20 = "ivatank"
attackType20_1 = "evmislucpu"
attackType20_2 = "evmislucpu"
targetType21 = "ivatank"
attackType21_1 = "evatankucpu"
attackType21_2 = "evatankucpu"
targetType22 = "ivatank"
attackType22_1 = "evwalkcpu"
attackType22_2 = "evwalkcpu"

targetType23 = "ivwalk"
attackType23_1 = "evmislucpu"
attackType23_2 = "evmislucpu"
targetType24 = "ivwalk"
attackType24_1 = "evtankucpu"
attackType24_2 = "evtankucpu"
targetType25 = "ivwalk"
attackType25_1 = "evwalkcpu"
attackType25_2 = "evwalkcpu"

targetType26 = "ibgtow"
attackType26_1 = "evatankucpu"
attackType26_2 = "evatankucpu"
targetType27 = "ibgtow"
attackType27_1 = "evmislucpu"
attackType27_2 = "evmislucpu"
targetType28 = "ibgtow"
attackType28_1 = "evtankucpu"
attackType28_2 = "evtankucpu"
attackType28_3 = "evtankucpu"
targetType29 = "ibgtow"
attackType29_1 = "evmortcpu"
attackType29_2 = "evmortcpu"
attackType29_3 = "evmortcpu"

targetType30 = "ivturr"
attackType30_1 = "evmortcpu"
attackType30_2 = "evmortcpu"
attackType30_3 = "evmortcpu"
targetType31 = "ivturr"
attackType31_1 = "evtankucpu"
attackType31_2 = "evtankucpu"
targetType32 = "ivturr"
attackType32_1 = "evmislucpu"
targetType33 = "ivturr"
attackType33_1 = "evscoutcpu"
attackType33_2 = "evscoutcpu"

targetType34 = "ivscav"
attackType34_1 = "evmortcpu"
targetType35 = "ivscav"
attackType35_1 = "evscoutcpu"
targetType36 = "ivscav"
attackType36_1 = "evtankucpu"
targetType37 = "ivscav"
attackType37_1 = "evmislucpu"

targetType38 = "ibscav"
attackType38_1 = "evmislucpu"
targetType39 = "ibscav"
attackType39_1 = "evtankucpu"
targetType40 = "ibscav"
attackType40_1 = "evmortcpu"
targetType41 = "ibscav"
attackType41_1 = "evscoutcpu"

targetType42 = "ibscup"
attackType42_1 = "evmislucpu"
targetType43 = "ibscup"
attackType43_1 = "evtankucpu"
targetType44 = "ibscup"
attackType44_1 = "evmortcpu"
targetType45 = "ibscup"
attackType45_1 = "evscoutcpu"

targetType46 = "ivcons"
attackType46_1 = "evmislucpu"
targetType47 = "ivcons"
attackType47_1 = "evtankucpu"
targetType48 = "ivcons"
attackType48_1 = "evmortcpu"
targetType49 = "ivcons"
attackType49_1 = "evscoutcpu"

[Plan1]
planType = "CollectPool"
planPriority = 490
planCondition = "NotExists"
planConditionClass = "ebfact"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan2]
planType = "BuildMinimums"
planPriority = 485
buildType1 = "evcons"
buildCount1 = 1
ContinueEvenIfFail = true

[Plan3]
planType = "BaseBuildMinimums"
planPriority = 480
buildType1 = "ebpgen"
//buildloc1 = "epgen1"
buildCount1 = 1
buildType2 = "ebgt4g"
//buildloc2 = "gt8"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan4]
planType = "BuildMinimums"
planPriority = 475
buildType1 = "evserv"
buildCount1 = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan5]
planType = "Service"
planPriority = 470
planCondition = "Exists"
planConditionClass = "evserv"
planConditionCount = 1
serviceUnit = "evserv"
unitType1 = "ebrecy"
unitType2 = "ebgt2g"
unitType3 = "ebgt4g"
unitType4 = "ebcbun"
unitType5 = "ebfact"
ContinueEvenIfFail = true

[Plan6]
planType = "BuildMinimums"
planPriority = 465
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
buildType1 = "evtankcpu"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan7]
planType = "BuildMinimums"
planPriority = 460
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
buildType1 = "evscoutcpu"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan8]
planType = "DefendArea"
planPriority = 450
targetType = "ebrecy"
ContinueEvenIfFail = true

[Plan9]
planType = "CollectField"
planPriority = 440
planCondition = "NotExists"
planConditionClass = "ebsbay"
planConditionCount = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan10]
planType = "BaseBuildMinimums"
planPriority = 410
buildType1 = "ebpgen"
//buildloc1 = "epgen2"
buildCount1 = 1
buildType2 = "ebfact"
//buildloc2 = "fact"
buildCount2 = 1
buildType3 = "ebcbun"
//buildloc3 = "cbun"
buildCount3 = 1
buildType4 = "ebarmo"
//buildloc4 = "armo"
buildCount4 = 1

[Plan11]
planType = "Upgrade"
planPriority = 400
planCondition = "NotExists"
planConditionClass = "ebfact2"
planConditionCount = 1
unitType = "ebfact"

[Plan12]
planType = "BuildMinimums"
planPriority = 395
planCondition = "Exists"
planConditionClass = "ebfact"
planConditionCount = 1
buildType1 = "evtankucpu"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan13]
planType = "BuildMinimums"
planPriority = 390
planCondition = "Exists"
planConditionClass = "ebfact"
planConditionCount = 1
buildType1 = "evmislcpu"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan14]
planType = "BaseBuildMinimums"
planPriority = 385
buildType1 = "ebcbun"
//buildloc1 = "pgen1"
buildCount1 = 1
buildType2 = "ebgt2g"
//buildloc2 = "spike1"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan15]
planType = "BaseBuildMinimums"
planPriority = 380
buildType1 = "ebpgen"
//buildloc1 = "pgen2"
buildCount1 = 1
buildType2 = "ebgt2g"
//buildloc2 = "spike2"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan16]
planType = "DefendArea"
planPriority = 370
targetType = "ebfact"
ContinueEvenIfFail = true

[Plan17]
planType = "ClearArea"
planPriority = 360
targetType = "ebscav"
ContinueEvenIfFail = true

[Plan18]
planType = "Attacker"
planPriority = 340
targetType = "ibscav"
attackType1 = "evmortcpu"
attackType2 = "evmortcpu"
attackType3 = "evmortcpu"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan19]
planType = "BaseBuildMinimums"
planPriority = 330
planCondition = "NotExists"
planConditionClass = "ebsbay"
planConditionCount = 1
buildType1 = "ebsbay"
//buildloc1 = "sbay"
buildCount1 = 1

[Plan20]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 325
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "evpuatanks"
buildCount1 = 3
buildType2 = "evpumislu"
buildCount2 = 3
ContinueEvenIfFail = true

[Plan21]
planType = "CollectField"
planPriority = 320
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan22]
planType = "BaseBuildMinimums"
planPriority = 300
buildType1 = "ebpgen"
//buildloc1 = "pgen3"
buildCount1 = 1
buildType2 = "ebgt2g"
//buildloc2 = "spike3"
buildCount2 = 1
ContinueEvenIfFail = true

[Plan23]
planType = "BaseBuildMinimums"
planPriority = 290
buildType1 = "ebtcen"
//buildloc1 = "tcen"
buildCount1 = 1

[Plan24]
// Sent to portal by DLL (hold/attack)
planType = "BuildMinimums"
planPriority = 285
planCondition = "FriendlyExists"
planConditionClass = "hbport"
planConditionCount = 1
planCompare = ">="
planConditionClassProvided = true
buildType1 = "evpuwalk"
buildCount1 = 2
ContinueEvenIfFail = true

[Plan25]
planType = "BaseBuildMinimums"
planPriority = 280
buildType1 = "ebgt4g"
//buildloc1 = "def1"
buildCount1 = 1
buildType2 = "ebgt4g"
//buildloc2 = "def2"
buildCount2 = 1
buildType3 = "ebgt4g"
//buildloc3 = "def3"
buildCount3 = 1

ContinueEvenIfFail = true

[Plan26]
planType = "DistributeUnits"
planPriority = 10
