[aidata]
HAI_Disable 1
AI_UnitLimit 1 25
AI_MaxUnitLimit 1 60 
AI_SoldiersDefaultPosition 1 121 96 40
AI_SetCondition_OnHouseInRange 1 0 0 143 78 5 1 0 40 0
AI_MainTask_Defend 1 15 0 142 81 30 4 7
AI_SetCondition_OnHouseInRange 1 1 0 130 68 5 1 0 40 0
AI_MainTask_Defend 1 2 1 129 71 30 1 1
AI_SetCondition_OnHouseInRange 1 2 0 142 100 5 1 0 40 0
AI_MainTask_Defend 1 2 2 141 103 30 1 1
AI_SetCondition_OnHouseInRange 1 3 0 85 134 5 1 0 40 0
AI_MainTask_Defend 1 2 3 84 137 30 1 1
AI_SetCondition_OnHouseInRange 1 4 0 62 112 5 1 0 40 0
AI_MainTask_Defend 1 11 4 61 115 30 3 5
AI_SetCondition_OnHouseInRange 1 5 0 64 88 5 1 0 40 0
AI_MainTask_Defend 1 4 5 63 91 30 1 2
AI_SetCondition_OnHouseInRange 1 6 0 95 106 5 1 0 40 0
AI_MainTask_Defend 1 2 6 94 109 30 1 1
AI_SetCondition_OnHouseInRange 1 7 0 133 114 5 1 0 40 0
AI_MainTask_Defend 1 2 7 132 117 30 1 1
AI_MainTask_Defend 1 8 100000 71 97 30 2 4
AI_MainTask_Defend 1 17 100000 128 99 30 4 8
AI_MainTask_Defend 1 15 100000 72 112 30 4 7
AI_MainTask_Defend 1 2 100000 83 112 30 1 1
AI_SetCondition_OnNumberOfSoldiers 1 8 0 35 1
AI_SetCondition_OnConditions 1 9 0 3 8
AI_SetCondition_OnHouseInRange 1 10 0 84 104 5 1 0 39 1
AI_SetCondition_OnTimer 1 11 720 60 1440
AI_SetCondition_OnConditions 1 12 0 1 10 11 9
AI_MainTask_CreateCreatures 1 100 12 7 33 82 109 0 1
AI_MainTask_CreateCreatures 1 100 12 7 34 82 109 0 1
AI_MainTask_CreateCreatures 1 100 12 4 40 82 109 0 1
AI_SetCondition_OnNumberOfSoldiers 1 13 0 22 1
AI_SetCondition_OnCreatureInRange 1 14 0 121 96 40 20 1 0
AI_SetCondition_OnConditions 1 15 0 3 14
HAI_Disable 2
AI_UnitLimit 2 50
AI_MaxUnitLimit 2 150
AI_SoldiersDefaultPosition 2 240 36 40
AI_SetCondition_OnHouseInRange 2 0 0 160 72 5 2 0 40 0
AI_MainTask_Defend 2 7 0 162 73 30 4 7
AI_SetCondition_OnHouseInRange 2 1 0 161 86 5 2 0 40 0
AI_MainTask_Defend 2 0 1 163 87 30 0 0
AI_SetCondition_OnHouseInRange 2 2 0 195 74 5 2 0 40 0
AI_MainTask_Defend 2 11 2 197 75 30 5 10
AI_SetCondition_OnHouseInRange 2 3 0 193 54 5 2 0 40 0
AI_MainTask_Defend 2 1 3 195 55 30 1 1
AI_SetCondition_OnHouseInRange 2 4 0 207 94 5 2 0 40 0
AI_MainTask_Defend 2 1 4 209 95 30 1 1
AI_SetCondition_OnHouseInRange 2 5 0 223 14 5 2 0 40 0
AI_MainTask_Defend 2 1 5 225 15 30 1 1
AI_SetCondition_OnHouseInRange 2 6 0 237 50 5 2 0 40 0
AI_MainTask_Defend 2 4 6 239 51 30 2 4
AI_SetCondition_OnHouseInRange 2 7 0 283 94 5 2 0 40 0
AI_MainTask_Defend 2 6 7 285 95 30 3 6
AI_SetCondition_OnHouseInRange 2 8 0 225 90 5 2 0 40 0
AI_MainTask_Defend 2 1 8 227 91 30 1 1
AI_SetCondition_OnHouseInRange 2 9 0 281 30 5 2 0 40 0
AI_MainTask_Defend 2 7 9 283 31 30 4 7
AI_SetCondition_OnHouseInRange 2 10 0 253 82 5 2 0 40 0
AI_MainTask_Defend 2 2 10 255 83 30 1 2
AI_SetCondition_OnHouseInRange 2 11 0 239 94 5 2 0 40 0
AI_MainTask_Defend 2 1 11 241 95 30 1 1
AI_SetCondition_OnHouseInRange 2 12 0 215 38 5 2 0 40 0
AI_MainTask_Defend 2 1 12 217 39 30 1 1
AI_SetCondition_OnHouseInRange 2 13 0 288 48 5 2 0 40 0
AI_MainTask_Defend 2 1 13 290 49 30 1 1
AI_SetCondition_OnHouseInRange 2 14 0 259 26 5 2 0 40 0
AI_MainTask_Defend 2 6 14 261 27 30 3 6
AI_SetCondition_OnHouseInRange 2 15 0 290 72 5 2 0 40 0
AI_MainTask_Defend 2 1 15 292 73 30 1 1
AI_SetCondition_OnHouseInRange 2 16 0 243 22 5 2 0 40 0
AI_MainTask_Defend 2 1 16 245 23 30 1 1
AI_SetCondition_OnHouseInRange 2 17 0 200 84 5 2 0 40 0
AI_MainTask_Defend 2 1 17 202 85 30 1 1
AI_SetCondition_OnHouseInRange 2 18 0 270 44 5 2 0 40 0
AI_MainTask_Defend 2 1 18 272 45 30 1 1
AI_MainTask_Defend 2 7 100000 246 78 30 4 7
AI_MainTask_Defend 2 1 100000 278 69 30 1 1
AI_MainTask_Defend 2 2 100000 264 86 30 1 2
AI_MainTask_Defend 2 6 100000 275 99 30 3 6
AI_SetCondition_OnNumberOfSoldiers 2 19 0 90 2
AI_SetCondition_OnConditions 2 20 0 3 19
AI_SetCondition_OnHouseInRange 2 21 0 269 90 5 2 0 39 1
AI_SetCondition_OnTimer 2 22 720 60 3600
AI_SetCondition_OnConditions 2 23 0 1 21 22 20
AI_MainTask_CreateCreatures 2 100 23 4 34 270 91 0 1
AI_MainTask_CreateCreatures 2 100 23 4 34 270 91 0 1
AI_MainTask_CreateCreatures 2 100 23 4 40 270 91 0 1
AI_SetCondition_OnHouseInRange 2 24 0 277 42 5 2 0 39 1
AI_SetCondition_OnTimer 2 25 720 60 3600
AI_SetCondition_OnConditions 2 26 0 1 24 25 20
AI_MainTask_CreateCreatures 2 100 26 4 34 278 43 0 1
AI_MainTask_CreateCreatures 2 100 26 4 34 278 43 0 1
AI_MainTask_CreateCreatures 2 100 26 4 40 278 43 0 1
AI_SetCondition_OnHouseInRange 2 27 0 227 46 5 2 0 39 1
AI_SetCondition_OnTimer 2 28 720 60 3600
AI_SetCondition_OnConditions 2 29 0 1 27 28 20
AI_MainTask_CreateCreatures 2 100 29 4 34 228 47 0 1
AI_MainTask_CreateCreatures 2 100 29 4 34 228 47 0 1
AI_MainTask_CreateCreatures 2 100 29 4 40 228 47 0 1
AI_SetCondition_OnNumberOfSoldiers 2 30 0 45 2
AI_SetCondition_OnCreatureInRange 2 31 0 240 36 40 20 1 0
AI_SetCondition_OnConditions 2 32 0 3 31
HAI_Disable 3
AI_UnitLimit 3 8
AI_MaxUnitLimit 14
AI_SoldiersDefaultPosition 3 27 276 40
AI_MainTask_Defend 3 6 100000 33 257 30 2 3
AI_MainTask_Defend 3 6 100000 42 247 30 2 3
AI_SetCondition_OnNumberOfSoldiers 3 0 0 50 3
AI_SetCondition_OnConditions 3 1 0 3 0
AI_SetCondition_OnNumberOfSoldiers 3 2 0 25 3
AI_SetCondition_OnCreatureInRange 3 3 0 27 276 40 20 1 0
AI_SetCondition_OnConditions 3 4 0 3 3
