// 20 Aug 2000 This works No modifying

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

[Start]
scrapCount = 180
scavClass = "fvscav"
consClass = "fvcons"

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

[Match]

targetType1= "ivscout"
attackType1_1 = "fvscout"
attackType1_2 = "fvscout"

targetType2 = "ivscout"
attackType2_1 = "fvtank"

targetType3 = "ivscout"
attackType3_1 = "fvsent"
attackType3_2 = "fvsent"

targetType4 = "ivscout"
attackType4_1 = "fvarch"

targetType5 = "ivmisl"
attackType5_1 = "fvtank"

targetType6 = "ivmisl"
attackType6_1 = "fvsent"
attackType6_2 = "fvsent"

targetType7 = "ivmisl"
attackType7_1 = "fvscout"
attackType7_2 = "fvscout"

targetType8 = "ivtank"
attackType8_1 = "fvtank"
attackType8_2 = "fvtank"

targetType9 = "ivtank"
attackType9_1 = "fvarch"
attackType9_2 = "fvarch"

targetType10 = "ivrckt"
attackType10_1 = "fvtank"
attackType10_2 = "fvtank"

targetType11 = "ivrckt"
attackType11_1 = "fvsent"
attackType11_2 = "fvsent"

targetType12 = "ivatank"
attackType12_1 = "fvtank"
attackType12_2 = "fvtank"

targetType13 = "ivwalk"
attackType13_1 = "fvtank"
attackType13_2 = "fvtank"

targetType14 = "ivwalk"
attackType14_1 = "fvatank"

targetType15 = "ivscav"
attackType15_1 = "fvscout"
attackType15_2 = "fvscout"

targetType16 = "ivserv"
attackType16_1 = "fvscout"
attackType16_2 = "fvscout"

targetType17 = "ivbomb"
attackType17_1 = "fvartl"
attackType17_2 = "fvartl"

targetType18 = "ivtank"
attackType18_1 = "fvtank"
attackType18_2 = "fvtank"

targetType19 = "ivtank"
attackType19_1 = "fvarch"
attackType19_2 = "fvarch"

targetType20 = "ivscout"
attackType20_1 = "fvscout"
attackType20_2 = "fvscout"

targetType21 = "ivscout"
attackType21_1 = "fvtank"

targetType22 = "ivapc"
attackType22_1 = "fvartl"
attackType22_2 = "fvartl"

targetType23 = "fvbraz"
attackType23_1 = "fvscout"
attackType23_2 = "fvscout"

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

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

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

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

// Attack 1

[Plan5]
planCondition = "HisExists"
planConditionClass = "ivturr"
planConditionCount = 1
planType = "Attacker"
planPriority = 560
targetType = "ivturr"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
maxAttacks = 2
buildIfNoIdle = 1

// Attack 2

[Plan6]
planCondition = "HisExists"
planConditionClass = "ivscav"
planConditionCount = 1
planType = "Attacker"
planPriority = 550
targetType = "ivscav"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
maxAttacks = 2
buildIfNoIdle = 1

[Plan7]
planType = "BuildMinimums"
planPriority = 540
buildType1 = "fvcons"
buildCount1 = 2

[Plan8]
planCondition = "NotExists"
planConditionClass = "fbforg"
planConditionCount = 1 
planType = "BaseBuildMinimums"
planPriority = 530
buildType1 = "fbkiln"
//buildLoc1 = "kiln"
buildCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan9]
planCondition = "NotExists"
planConditionClass = "fbforg"
planConditionCount = 1
planType = "Upgrade"
planPriority = 520
unitType = "fbkiln"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan10]
planType = "BaseBuildMinimums"
planPriority = 510
buildType1 = "fbdowe"
buildCount1 = 1
buildType2 = "fbstro"
buildCount2 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan11]
planCondition = "NotExists"
planConditionClass = "fbover"
planConditionCount = 1 
planType = "BaseBuildMinimums"
planPriority = 500
buildType1 = "fbantm"
buildCount1 = 1
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan12]
planType = "Hold"
planPriority = 490
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold1"
maxTries = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan13]
planType = "Hold"
planPriority = 480
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold2"
maxTries = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan14]
planCondition = "NotExists"
planConditionClass = "fbover"
planConditionCount = 1
planType = "Upgrade"
planPriority = 470
unitType = "fbantm"
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 3

[Plan15]
planCondition = "HisExists"
planConditionClass = "ivturr"
planConditionCount = 1
planType = "Attacker"
planPriority = 460
targetType = "ivturr"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 4

[Plan16]
planType = "Attacker"
planPriority = 455
targetType = "ibscav"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
maxAttacks = 3
buildIfNoIdle = 1

// Attack 5

[Plan17]
planType = "Attacker"
planPriority = 450
targetType = "ibrecy"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvarch"
attackType4 = "fvarch"
maxAttacks = 2
buildIfNoIdle = 1

// Attack 6

[Plan18]
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
planType = "Attacker"
planPriority = 445
targetType = "ibpgen"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvtank"
attackType4 = "fvtank"
maxAttacks = 2
buildIfNoIdle = 1

// Attack 7

[Plan19]
planType = "Attacker"
planPriority = 435
targetType = "ibgtow"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan20]
planCondition = "HisExists"
planConditionClass = "ivcons"
planConditionCount = 1
planType = "Attacker"
planPriority = 425
targetType = "ivcons"
attackType1 = "fvsent"
attackType2 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan21]
planCondition = "HisExists"
planConditionClass = "ivscout"
planConditionCount = 1
planType = "Attacker"
planPriority = 420
targetType = "ivscout"
attackType1 = "fvsent"
attackType2 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 8

[Plan22]
planCondition = "HisExists"
planConditionClass = "ibcbun"
planConditionCount = 1
planType = "Attacker"
planPriority = 415
targetType = "ibcbun"
attackType1 = "fvsent"
attackType2 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan23]
planType = "Service"
planPriority = 410
serviceUnit = "fvserv"
unitType1 = "fbscav"
unitType2 = "fbscup"
unitType3 = "fbrecy"
unitType4 = "fbspir"
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan24]
planType = "Hold"
planPriority = 405
holdType1 = "fvartl"
holdCount1 = 1
holdPoint = "stage1"
buildIfNoIdle = 1
maxTries = 2
ContinueEvenIfFail = true

[Plan25]
planType = "Hold"
planPriority = 400
holdType1 = "fvartl"
holdCount1 = 1
holdPoint = "stage2"
buildIfNoIdle = 1
maxTries = 2
ContinueEvenIfFail = true

[Plan26]
planType = "Hold"
planPriority= 390
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold3"
maxTries = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan27]
planType = "Hold"
planPriority= 380
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold4"
maxTries = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan28]
planType = "Hold"
planPriority = 375
holdType1 = "fvartl"
holdCount1 = 1
holdPoint = "stage3"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan29]
planType = "Hold"
planPriority = 370
holdType1 = "fvartl"
holdCount1 = 1
holdPoint = "RecyclerEnemy"
maxTries = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 9

[Plan30]
planCondition = "HisExists"
planConditionClass = "ibfact"
planConditionCount = 1
planType = "Attacker"
planPriority = 365
targetType = "ibfact"
attackType1 = "fvscout"
attackType2 = "fvtank"
attackType3 = "fvtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 10

[Plan31]
planCondition = "HisExists"
planConditionClass = "ibgtow"
planConditionCount = 1
planType = "Attacker"
planPriority = 360
targetType = "ibgtow"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvarch"
attackType4 = "fvarch"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 11

[Plan32]
planCondition = "HisExists"
planConditionClass = "ibbomb"
planConditionCount = 1
planType = "Attacker"
planPriority = 355
targetType = "ibbomb"
attackType1 = "fvartl"
attackType2 = "fvscout"
attackType3 = "fvatank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan33]
planType = "Attacker"
planPriority = 350
targetType = "ivcons"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 12

[Plan34]
planCondition = "HisExists"
planConditionClass = "ivrckt"
planConditionCount = 1
planType = "Attacker"
planPriority = 345
targetType = "ivrckt"
attackType1 = "fvartl"
attackType2 = "fvtank"
attackType3 = "fvtank"
attackType4 = "fvtank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 13

[Plan35]
planCondition = "HisExists"
planConditionClass = "ivatank"
planConditionCount = 1
planType = "Attacker"
planPriority = 340
targetType = "ivatank"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvwalk"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 14

[Plan36]
planCondition = "HisExists"
planConditionClass = "ivturr"
planConditionCount = 1
planType = "Attacker"
planPriority = 330
targetType = "ivturr"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan37]
planType = "Recover"
planPriority = 320
serviceUnit = "fbdowe"
unitType1 = "fvcons"
unitType2 = "fvarch"
unitType3 = "fvwalk"
unitType4 = "fvtank"
unitType5 = "fvsent"
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 15

[Plan38]
planCondition = "HisExists"
planConditionClass = "ivtank"
planConditionCount = 1
planType = "Attacker"
planPriority = 310
targetType = "ivtank"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
maxAttacks = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 16

[Plan39]
planCondition = "HisExists"
planConditionClass = "ibrecy"
planConditionCount = 1
planType = "Attacker"
planPriority = 300
targetType = "ibrecy"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 17

[Plan40]
planCondition = "HisExists"
planConditionClass = "ibscav"
planConditionCount = 1
planType = "Attacker"
planPriority = 290
targetType = "ibscav"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvsent"
attackType4 = "fvsent"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan41]
planCondition = "HisExists"
planConditionClass = "ibbomb"
planConditionCount = 1
planType = "Attacker"
planPriority = 280
targetType = "ibbomb"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvtank"
attackType4 = "fvatank"
maxAttacks = 2
buildIfNoIdle = 1
ContinueEvenIfFail = true

[Plan42]
planType = "Service"
planPriority = 270
serviceUnit = "fvserv"
unitType1 = "fbrecy"
unitType2 = "fbspir"
unitType3 = "fbforg"
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 18

[Plan43]
planCondition = "HisExists"
planConditionClass = "ivscout"
planConditionCount = 1
planType = "Attacker"
planPriority = 260
targetType = "ivscout"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
maxAttacks = 3
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 19

[Plan44]
planType = "Attacker"
planPriority = 250
targetType = "ibrecy"
attackType1 = "fvtank"
attackType2 = "fvtank"
attackType3 = "fvtank"
maxAttacks = 5
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 20

[Plan45]
planCondition = "HisExists"
planConditionClass = "ibpgen"
planConditionCount = 1
planType = "Attacker"
planPriority = 240
targetType = "ibpgen"
attackType1 = "fvatank"
attackType2 = "fvsent"
attackType3 = "fvsent"
maxAttacks = 5
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 22

[Plan46]
planCondition = "HisExists"
planConditionClass = "ibcbun"
planConditionCount = 1
planType = "Attacker"
planPriority = 230
targetType = "ibcbun"
attackType1 = "fvartl"
attackType2 = "fvscout"
attackType3 = "fvscout"
buildIfNoIdle = 1
ContinueEvenIfFail = true

// Attack 23

[Plan47]
planType = "Attacker"
planPriority = 220
targetType = "ibrecy"
attackType1 = "fvwalk"
attackType2 = "fvtank"
attackType3 = "fvsent"
attackType4 = "fvartl"
maxAttacks = 3
buildIfNoIdle = 1
