############################################################################################################
#	Expert AI mod - generic
############################################################################################################

EAI_MILITARY_AREA_save_airforce_strategy = {
	enable = {
		has_country_flag = EAI_MILITARY_save_airforce_strategy
		NOT = { has_country_flag = EAI_lift_airforce_restriction }
	}
	abort_when_not_enabled = yes

	ai_strategy = { type = strategic_air_importance id = 1 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 2 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 3 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 4 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 5 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 6 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 7 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 8 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 9 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 10 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 11 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 12 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 13 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 14 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 15 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 16 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 17 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 18 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 19 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 20 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 21 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 22 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 23 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 24 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 25 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 26 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 27 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 28 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 29 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 30 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 31 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 32 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 33 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 34 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 35 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 36 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 37 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 38 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 39 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 40 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 41 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 42 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 43 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 44 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 45 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 46 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 47 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 48 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 49 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 50 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 51 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 52 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 53 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 54 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 55 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 56 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 57 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 58 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 59 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 60 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 61 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 62 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 63 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 64 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 65 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 66 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 67 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 68 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 69 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 70 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 71 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 72 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 73 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 74 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 75 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 76 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 77 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 78 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 79 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 80 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 81 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 82 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 83 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 84 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 85 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 86 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 87 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 88 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 89 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 90 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 91 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 92 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 93 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 94 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 95 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 96 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 97 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 98 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 99 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 100 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 101 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 102 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 103 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 104 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 105 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 106 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 107 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 108 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 109 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 110 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 111 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 112 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 113 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 114 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 115 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 116 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 117 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 118 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 119 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 120 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 121 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 122 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 123 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 124 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 125 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 126 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 127 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 128 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 129 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 130 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 131 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 132 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 133 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 134 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 135 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 136 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 137 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 138 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 139 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 140 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 141 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 142 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 143 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 144 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 145 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 146 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 147 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 148 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 149 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 150 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 151 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 152 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 153 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 154 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 155 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 156 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 157 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 158 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 159 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 160 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 161 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 162 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 163 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 164 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 165 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 166 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 167 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 168 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 169 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 170 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 171 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 172 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 173 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 174 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 175 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 176 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 177 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 178 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 179 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 180 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 181 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 182 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 183 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 184 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 185 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 186 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 187 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 188 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 189 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 190 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 191 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 192 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 193 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 194 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 195 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 196 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 197 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 198 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 199 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 200 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 201 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 202 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 203 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 204 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 205 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 206 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 207 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 208 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 209 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 210 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 211 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 212 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 213 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 214 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 215 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 216 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 217 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 218 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 219 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 220 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 221 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 222 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 223 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 224 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 225 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 226 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 227 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 228 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 229 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 230 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 231 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 232 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 233 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 234 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 235 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 236 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 237 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 238 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 239 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 240 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 241 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 242 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 243 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 244 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 245 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 246 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 247 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 248 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 249 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 250 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 251 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 252 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 253 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 254 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 255 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 256 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 257 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 258 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 259 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 260 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 261 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 262 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 263 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 264 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 265 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 266 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 267 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 268 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 269 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 270 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 271 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 272 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 273 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 274 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 275 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 276 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 277 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 278 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 279 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 280 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 281 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 282 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 283 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 284 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 285 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 286 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 287 value = -500000 }
	ai_strategy = { type = strategic_air_importance id = 288 value = -500000 }
}

EAI_MILITARY_AREA_default_area_priority = {
	enable = {
		always = yes
	}
	abort = { always = no }

	ai_strategy = { type = area_priority id = europe value = 100 }
	ai_strategy = { type = area_priority id = north_america value = 100 }
	ai_strategy = { type = area_priority id = south_america value = 100 }
	ai_strategy = { type = area_priority id = asia value = 100 }
	ai_strategy = { type = area_priority id = middle_east value = 100 }
	ai_strategy = { type = area_priority id = pacific value = 100 }
	ai_strategy = { type = area_priority id = oceania value = 100 }
	ai_strategy = { type = area_priority id = africa value = 50 }
	ai_strategy = { type = area_priority id = suez value = 100 }
	ai_strategy = { type = area_priority id = scandinavia value = 50 }
	ai_strategy = { type = area_priority id = EAI_china_coast value = 100 }
}

EAI_MILITARY_AREA_defend_core = {
	enable = { 
		has_country_flag = EAI_defend_core
	} 
	
	abort_when_not_enabled = yes 
	
	ai_strategy = { type = dont_defend_ally_borders id = "Q00" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q01" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q02" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q03" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q04" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q05" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q06" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q07" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q08" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q09" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q0Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q10" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q11" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q12" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q13" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q14" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q15" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q16" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q17" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q18" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q19" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q1Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q20" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q21" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q22" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q23" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q24" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q25" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q26" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q27" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q28" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q29" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q2Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q30" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q31" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q32" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q33" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q34" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q35" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q36" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q37" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q38" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q39" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q3Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q40" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q41" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q42" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q43" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q44" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q45" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q46" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q47" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q48" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q49" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q4Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q50" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q51" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q52" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q53" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q54" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q55" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q56" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q57" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q58" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q59" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q5Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q60" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q61" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q62" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q63" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q64" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q65" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q66" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q67" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q68" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q69" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q6Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q70" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q71" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q72" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q73" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q74" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q75" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q76" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q77" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q78" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q79" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7K" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7L" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7M" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7N" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7O" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7P" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7Q" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7R" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7S" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7T" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7U" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7V" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7W" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7X" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7Y" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q7Z" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q80" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q81" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q82" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q83" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q84" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q85" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q86" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q87" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q88" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q89" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8A" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8B" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8C" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8D" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8E" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8F" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8G" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8H" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8I" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "Q8J" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D01" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D02" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D03" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D04" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D05" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D06" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D07" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D08" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D09" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D10" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D11" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D12" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D13" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D14" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D15" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D16" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D17" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D18" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D19" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D20" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D21" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D22" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D23" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D24" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D25" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D26" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D27" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D28" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D29" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D30" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D31" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D32" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D33" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D34" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D35" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D36" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D37" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D38" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D39" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D40" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D41" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D42" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D43" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D44" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D45" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D46" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D47" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D48" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D49" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D50" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D51" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D52" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D53" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D54" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D55" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D56" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D57" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D58" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D59" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D60" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D61" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D62" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D63" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D64" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D65" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D66" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D67" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D68" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D69" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D70" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D71" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D72" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D73" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D74" value = 500 }
	ai_strategy = { type = dont_defend_ally_borders id = "D75" value = 500 }
}

###

EAI_MILITARY_AREA_AST_garrison_home = {
	allowed = { tag = AST }
	enable = {
		always = yes
	}
	abort_when_not_enabled = yes

	### england

	ai_strategy = {
		type = put_unit_buffers
		ratio = 0.50
		states = { 
			520
			521
			522
			517
			285
		}
		subtract_invasions_from_need = no
		subtract_fronts_from_need = no
	}
}

EAI_MILITARY_AREA_SA_garrison = {
	enable = {
		has_war_with = GER
		OR = { original_tag = MEX capital_scope = { is_on_continent = south_america } }
		is_in_faction_with = USA
	}
	abort_when_not_enabled = yes

	ai_strategy = { type = garrison value = 500 }
}

###

EAI_MILITARY_AREA_defend_homeland = {
	enable = {
		surrender_progress > 0.15
		has_country_flag = EAI_MILITARY_trend_losing_war
	}
	abort = {
		NOT = { 
			AND = {
				surrender_progress > 0.05 
				has_country_flag = EAI_MILITARY_trend_losing_war
			}
		}
	}

	ai_strategy = {
		type = front_unit_request
		value = 50
		
		state_trigger = { is_core_of = FROM.FROM }
	}
}

# EAI_MILITARY_SECTOR_force_reselection = {
# 	enable = { has_country_flag = EAI_MILITARY_SECTOR_force_reselection }
# 	abort_when_not_enabled = yes

# 	ai_strategy = {
# 		type = force_concentration_front_factor
# 		ratio = 0.5
# 		value = -200
		
# 		state_trigger = {
# 			always = yes
# 		}
# 	}
# 	ai_strategy = {
# 		type = force_concentration_target_weight
# 		value = -200
		
# 		state_trigger = {
# 			always = yes
# 		}
# 	}
# }

EAI_MILITARY_hold_front = {
	enable = { 
		has_country_flag = { flag = EAI_MILITARY_recent_wardec_90d value = 1 days < 60 }
		any_enemy_country = {
			PREV = { has_country_flag = { flag = EAI_MILITARY_wardec_90d_from_@PREV value = 1 days < 60 } }
			strength_ratio = {
				tag = PREV 
				ratio > 1.25
			}
		}
	}
	abort_when_not_enabled = yes

	ai_strategy = {
		type = front_control
		ordertype = front
		ratio = 0.5
		priority = 5000
		execution_type = careful
		execute_order = no
		manual_attack = no
		
		country_trigger = {
			has_country_flag = EAI_MILITARY_wardec_90d_on_@FROM
		}
	}
}

### Garrison state

EAI_MILITARY_AREA_garrison_state_suez = {      enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies OR = { controls_state = 447 controls_state = 446 } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.10 order_id = 995 states = { 447 446 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_gibraltar = { enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 118.id } } controls_state = 118 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.10 order_id = 996 states = { 118 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_malta = {     enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 116.id } } controls_state = 116 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.10 order_id = 996 states = { 116 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_cyprus = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 183.id } } controls_state = 183 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.10 order_id = 996 states = { 183 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }

EAI_MILITARY_AREA_garrison_state_panama = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 685.id } } controls_state = 685 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.05 order_id = 997 states = { 685 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }

EAI_MILITARY_AREA_garrison_state_singapore = { enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 336.id } } controls_state = 336 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 336 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_hawaii = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 629.id } } controls_state = 629 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 629 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_midway = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 631.id } } controls_state = 631 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 631 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_johnston = {  enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 630.id } } controls_state = 630 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 630 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_line = {      enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 727.id } } controls_state = 727 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 727 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_phoenix = {   enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 642.id } } controls_state = 642 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 642 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_wake = {      enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 632.id } } controls_state = 632 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 632 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_marshal = {   enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 633.id } } controls_state = 633 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 633 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_gilbert = {   enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 639.id } } controls_state = 639 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 639 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_caroline = {  enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 684.id } } controls_state = 684 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 684 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_marcus = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 648.id } } controls_state = 648 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 648 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_iwo = {       enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 645.id } } controls_state = 645 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 645 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_saipan = {    enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 646.id } } controls_state = 646 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 646 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_guam = {      enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 638.id } } controls_state = 638 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 638 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_garrison_state_palau = {     enable = { has_country_flag = EAI_MILITARY_garrison_state_strategies NOT = { is_in_array = { EAI_MILITARY_INVASION_staging_areas = 647.id } } controls_state = 647 } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.25 order_id = 998 states = { 647 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }

### Capital defense

EAI_MILITARY_AREA_capital_defense_37 = { enable = { CAPITAL_SCOPE = { state = 37 } any_of_scopes = { array = global.EAI_MAP_capital_defense_37 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 37 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_16 = { enable = { CAPITAL_SCOPE = { state = 16 } any_of_scopes = { array = global.EAI_MAP_capital_defense_16 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 16 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_64 = { enable = { CAPITAL_SCOPE = { state = 64 } any_of_scopes = { array = global.EAI_MAP_capital_defense_64 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 64 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_6 = { enable = { CAPITAL_SCOPE = { state = 6 } any_of_scopes = { array = global.EAI_MAP_capital_defense_6 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 6 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_7 = { enable = { CAPITAL_SCOPE = { state = 7 } any_of_scopes = { array = global.EAI_MAP_capital_defense_7 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 7 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_126 = { enable = { CAPITAL_SCOPE = { state = 126 } any_of_scopes = { array = global.EAI_MAP_capital_defense_126 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 126 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_113 = { enable = { CAPITAL_SCOPE = { state = 113 } any_of_scopes = { array = global.EAI_MAP_capital_defense_113 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 113 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_41 = { enable = { CAPITAL_SCOPE = { state = 41 } any_of_scopes = { array = global.EAI_MAP_capital_defense_41 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 41 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_2 = { enable = { CAPITAL_SCOPE = { state = 2 } any_of_scopes = { array = global.EAI_MAP_capital_defense_2 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 2 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_107 = { enable = { CAPITAL_SCOPE = { state = 107 } any_of_scopes = { array = global.EAI_MAP_capital_defense_107 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 107 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_43 = { enable = { CAPITAL_SCOPE = { state = 43 } any_of_scopes = { array = global.EAI_MAP_capital_defense_43 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 43 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_46 = { enable = { CAPITAL_SCOPE = { state = 46 } any_of_scopes = { array = global.EAI_MAP_capital_defense_46 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 46 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_42 = { enable = { CAPITAL_SCOPE = { state = 42 } any_of_scopes = { array = global.EAI_MAP_capital_defense_42 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 42 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_47 = { enable = { CAPITAL_SCOPE = { state = 47 } any_of_scopes = { array = global.EAI_MAP_capital_defense_47 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 47 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_44 = { enable = { CAPITAL_SCOPE = { state = 44 } any_of_scopes = { array = global.EAI_MAP_capital_defense_44 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 44 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_49 = { enable = { CAPITAL_SCOPE = { state = 49 } any_of_scopes = { array = global.EAI_MAP_capital_defense_49 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 49 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_797 = { enable = { CAPITAL_SCOPE = { state = 797 } any_of_scopes = { array = global.EAI_MAP_capital_defense_797 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 797 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_110 = { enable = { CAPITAL_SCOPE = { state = 110 } any_of_scopes = { array = global.EAI_MAP_capital_defense_110 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 110 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_141 = { enable = { CAPITAL_SCOPE = { state = 141 } any_of_scopes = { array = global.EAI_MAP_capital_defense_141 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 141 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_111 = { enable = { CAPITAL_SCOPE = { state = 111 } any_of_scopes = { array = global.EAI_MAP_capital_defense_111 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 111 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_812 = { enable = { CAPITAL_SCOPE = { state = 812 } any_of_scopes = { array = global.EAI_MAP_capital_defense_812 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 812 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_808 = { enable = { CAPITAL_SCOPE = { state = 808 } any_of_scopes = { array = global.EAI_MAP_capital_defense_808 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 808 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_11 = { enable = { CAPITAL_SCOPE = { state = 11 } any_of_scopes = { array = global.EAI_MAP_capital_defense_11 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 11 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_10 = { enable = { CAPITAL_SCOPE = { state = 10 } any_of_scopes = { array = global.EAI_MAP_capital_defense_10 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 10 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_9 = { enable = { CAPITAL_SCOPE = { state = 9 } any_of_scopes = { array = global.EAI_MAP_capital_defense_9 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 9 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_439 = { enable = { CAPITAL_SCOPE = { state = 439 } any_of_scopes = { array = global.EAI_MAP_capital_defense_439 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 439 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_282 = { enable = { CAPITAL_SCOPE = { state = 282 } any_of_scopes = { array = global.EAI_MAP_capital_defense_282 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 282 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_285 = { enable = { CAPITAL_SCOPE = { state = 285 } any_of_scopes = { array = global.EAI_MAP_capital_defense_285 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 285 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_284 = { enable = { CAPITAL_SCOPE = { state = 284 } any_of_scopes = { array = global.EAI_MAP_capital_defense_284 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 284 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_361 = { enable = { CAPITAL_SCOPE = { state = 361 } any_of_scopes = { array = global.EAI_MAP_capital_defense_361 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 361 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_219 = { enable = { CAPITAL_SCOPE = { state = 219 } any_of_scopes = { array = global.EAI_MAP_capital_defense_219 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 219 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_907 = { enable = { CAPITAL_SCOPE = { state = 907 } any_of_scopes = { array = global.EAI_MAP_capital_defense_907 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 907 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }
EAI_MILITARY_AREA_capital_defense_605 = { enable = { CAPITAL_SCOPE = { state = 605 } any_of_scopes = { array = global.EAI_MAP_capital_defense_605 CONTROLLER = { has_war_with = ROOT } } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 9 states = { 605 } subtract_invasions_from_need = no subtract_fronts_from_need = no } }

### MIsc

EAI_MILITARY_AREA_important_state_defense_797 = { enable = { 797 = { is_controlled_by = ROOT } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 8 states = { 797 } subtract_invasions_from_need = no subtract_fronts_from_need = no } } #istanbul 797
EAI_MILITARY_AREA_important_state_defense_907 = { enable = { 907 = { is_controlled_by = ROOT } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.01 order_id = 8 states = { 907 } subtract_invasions_from_need = no subtract_fronts_from_need = no } } #cairo 907
# EAI_MILITARY_AREA_important_state_defense_137 = { enable = { 137 = { is_controlled_by = ROOT } } abort_when_not_enabled = yes ai_strategy = { type = put_unit_buffers ratio = 0.02 order_id = 8 states = { 137 } subtract_invasions_from_need = no subtract_fronts_from_need = no } } #sevastopol 137

###############################################################
### Combined operations
###############################################################

EAI_MILITARY_COMBINED_operations_region_79 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 79 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 79 value = 10000 } ai_strategy = { type = naval_avoid_region id = 79 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 79 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_106 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 106 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 106 value = 10000 } ai_strategy = { type = naval_avoid_region id = 106 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 106 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_218 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 218 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 218 value = 10000 } ai_strategy = { type = naval_avoid_region id = 218 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 218 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_118 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 118 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 118 value = 10000 } ai_strategy = { type = naval_avoid_region id = 118 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 118 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_105 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 105 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 105 value = 10000 } ai_strategy = { type = naval_avoid_region id = 105 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 105 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_172 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 172 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 172 value = 10000 } ai_strategy = { type = naval_avoid_region id = 172 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 172 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_95 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 95 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 95 value = 10000 } ai_strategy = { type = naval_avoid_region id = 95 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 95 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_180 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 180 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 180 value = 10000 } ai_strategy = { type = naval_avoid_region id = 180 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 180 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_97 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 97 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 97 value = 10000 } ai_strategy = { type = naval_avoid_region id = 97 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 97 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_178 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 178 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 178 value = 10000 } ai_strategy = { type = naval_avoid_region id = 178 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 178 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_179 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 179 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 179 value = 10000 } ai_strategy = { type = naval_avoid_region id = 179 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 179 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_84 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 84 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 84 value = 10000 } ai_strategy = { type = naval_avoid_region id = 84 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 84 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_94 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 94 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 94 value = 10000 } ai_strategy = { type = naval_avoid_region id = 94 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 94 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_83 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 83 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 83 value = 10000 } ai_strategy = { type = naval_avoid_region id = 83 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 83 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_167 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 167 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 167 value = 10000 } ai_strategy = { type = naval_avoid_region id = 167 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 167 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_78 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 78 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 78 value = 10000 } ai_strategy = { type = naval_avoid_region id = 78 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 78 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_188 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 188 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 188 value = 10000 } ai_strategy = { type = naval_avoid_region id = 188 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 188 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_73 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 73 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 73 value = 10000 } ai_strategy = { type = naval_avoid_region id = 73 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 73 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_72 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 72 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 72 value = 10000 } ai_strategy = { type = naval_avoid_region id = 72 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 72 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_75 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 75 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 75 value = 10000 } ai_strategy = { type = naval_avoid_region id = 75 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 75 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_187 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 187 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 187 value = 10000 } ai_strategy = { type = naval_avoid_region id = 187 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 187 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_159 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 159 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 159 value = 10000 } ai_strategy = { type = naval_avoid_region id = 159 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 159 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_80 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 80 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 80 value = 10000 } ai_strategy = { type = naval_avoid_region id = 80 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 80 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_160 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 160 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 160 value = 10000 } ai_strategy = { type = naval_avoid_region id = 160 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 160 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_154 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 154 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 154 value = 10000 } ai_strategy = { type = naval_avoid_region id = 154 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 154 value = 25000 } }
EAI_MILITARY_COMBINED_operations_region_90 = { enable = { check_variable = { EAI_MILITARY_COMBINED_regions^num > 0 } is_in_array = { EAI_MILITARY_COMBINED_regions = 90 } } abort_when_not_enabled = yes ai_strategy = { type = strike_force_home_base id = 90 value = 10000 } ai_strategy = { type = naval_avoid_region id = 90 value = -200 } abort_when_not_enabled = yes ai_strategy = { type = strategic_air_importance id = 90 value = 25000 } }

EAI_MILITARY_COMBINED_operations_target = {
	enable = {
		check_variable = { EAI_MILITARY_COMBINED_objectives^num > 0 }
		EAI_MILITARY_army_readiness_HIGH = yes
	}
	abort = {
		NOT = {
			AND = {
				check_variable = { EAI_MILITARY_COMBINED_objectives^num > 0 }
				EAI_MILITARY_army_readiness_HIGH_abort = yes
			}
		}
	}

	ai_strategy = {
		type = naval_invasion_dominance_weight
		value = 500
	}

	ai_strategy = {
		type = naval_invasion_focus
		value = 200
	}

	ai_strategy = {
        type = invasion_unit_request
        value = 150

        state_trigger = {
			is_in_array = { FROM.FROM.EAI_MILITARY_COMBINED_objectives = THIS.id }
		}
    }

	ai_strategy = {
        type = front_unit_request
        value = 50

        state_trigger = {
			is_in_array = { FROM.FROM.EAI_MILITARY_COMBINED_objectives = THIS.id }
		}
    }

	ai_strategy = {
		type = front_control
		ordertype = front
		ratio = 0.25
		priority = 1500
		execution_type = rush #expand in all directions instead of only weak points

		state_trigger = {
			is_in_array = { FROM.FROM.EAI_MILITARY_COMBINED_objectives = THIS.id }
		}
	}

	ai_strategy = {
        type = invasion_unit_request
        value = -1000

        state_trigger = {
			NOT = { is_in_array = { FROM.FROM.EAI_MILITARY_COMBINED_objectives = THIS.id } }
		}
    }
}

### +15000

EAI_MILITARY_COMBINED_target_country_C00 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^0 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C00 value = 15000 } ai_strategy = { type = invade id = C00 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C01 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^1 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C01 value = 15000 } ai_strategy = { type = invade id = C01 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C02 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^2 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C02 value = 15000 } ai_strategy = { type = invade id = C02 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C03 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^3 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C03 value = 15000 } ai_strategy = { type = invade id = C03 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C04 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^4 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C04 value = 15000 } ai_strategy = { type = invade id = C04 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C05 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^5 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C05 value = 15000 } ai_strategy = { type = invade id = C05 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C06 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^6 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C06 value = 15000 } ai_strategy = { type = invade id = C06 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C07 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^7 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C07 value = 15000 } ai_strategy = { type = invade id = C07 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C08 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^8 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C08 value = 15000 } ai_strategy = { type = invade id = C08 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C09 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^9 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C09 value = 15000 } ai_strategy = { type = invade id = C09 value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0A = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^10 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0A value = 15000 } ai_strategy = { type = invade id = C0A value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0B = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^11 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0B value = 15000 } ai_strategy = { type = invade id = C0B value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0C = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^12 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0C value = 15000 } ai_strategy = { type = invade id = C0C value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0D = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^13 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0D value = 15000 } ai_strategy = { type = invade id = C0D value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0E = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^14 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0E value = 15000 } ai_strategy = { type = invade id = C0E value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0F = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^15 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0F value = 15000 } ai_strategy = { type = invade id = C0F value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0G = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^16 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0G value = 15000 } ai_strategy = { type = invade id = C0G value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0H = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^17 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0H value = 15000 } ai_strategy = { type = invade id = C0H value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0I = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^18 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0I value = 15000 } ai_strategy = { type = invade id = C0I value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0J = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^19 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0J value = 15000 } ai_strategy = { type = invade id = C0J value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0K = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^20 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0K value = 15000 } ai_strategy = { type = invade id = C0K value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0L = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^21 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0L value = 15000 } ai_strategy = { type = invade id = C0L value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0M = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^22 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0M value = 15000 } ai_strategy = { type = invade id = C0M value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0N = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^23 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0N value = 15000 } ai_strategy = { type = invade id = C0N value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0O = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^24 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0O value = 15000 } ai_strategy = { type = invade id = C0O value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0P = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^25 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0P value = 15000 } ai_strategy = { type = invade id = C0P value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0Q = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^26 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0Q value = 15000 } ai_strategy = { type = invade id = C0Q value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0R = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^27 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0R value = 15000 } ai_strategy = { type = invade id = C0R value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0S = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^28 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0S value = 15000 } ai_strategy = { type = invade id = C0S value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0T = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^29 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0T value = 15000 } ai_strategy = { type = invade id = C0T value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0U = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^30 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0U value = 15000 } ai_strategy = { type = invade id = C0U value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0V = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^31 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0V value = 15000 } ai_strategy = { type = invade id = C0V value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0W = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^32 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0W value = 15000 } ai_strategy = { type = invade id = C0W value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0X = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^33 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0X value = 15000 } ai_strategy = { type = invade id = C0X value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0Y = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^34 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0Y value = 15000 } ai_strategy = { type = invade id = C0Y value = 200 } }
EAI_MILITARY_COMBINED_target_country_C0Z = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^35 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C0Z value = 15000 } ai_strategy = { type = invade id = C0Z value = 200 } }
EAI_MILITARY_COMBINED_target_country_C10 = { enable = { check_variable = { EAI_MILITARY_COMBINED_target_countries^num > 0 } NOT = { check_variable = { EAI_MILITARY_COMBINED_target_countries^36 = 0 } } } abort_when_not_enabled = yes ai_strategy = { type = invade id = C10 value = 15000 } ai_strategy = { type = invade id = C10 value = 200 } }