


armor_AFG = {
	
	role = armor

	available_for = {
		AFG
	}

	upgrade_prio = {
		factor = 2999
	}

	elephantry_armor_AFG = {
	
		upgrade_prio = {
			factor = 3500

			modifier = {
				factor = 0
				NOT = { has_completed_focus = AFG_reintroduce_war_elephants }
			}
		}

		reinforce_prio = 2

		target_template = {
			support = {		
				logistics_company = 1		
				anti_tank = 1 		
				engineer = 1 		
				artillery = 1	
				anti_air = 1
			}
			
			regiments = {
				elephantry = 9
			}
		}
	}
}
infantry_AFG = {
	
	role = infantry

	available_for = {
		AFG
	}
	upgrade_prio = {
		factor = 500
	}
	infantry_1_AFG = {
	
		upgrade_prio = {
			factor = 20
			modifier = {
				factor = 0
				num_of_military_factories > 12
			}
		}
		target_template = {
			regiments = {
				infantry = 6
				irregular_infantry = 4
			}
		
			support = {
				artillery = 1
			}
		}
	}
	
	infantry_2_AFG = {
	
		upgrade_prio = {
			factor = 20
			modifier = {
				factor = 0
				num_of_military_factories < 12
			}
			modifier = {
				factor = 0
				num_of_military_factories > 50
			}
		}
		target_template = {
			regiments = {
				infantry = 6
				irregular_infantry = 4
			}
		
			support = {
				anti_air = 1
				artillery = 1
			}
		}

		can_upgrade_in_field = {
			has_equipment = { anti_air_equipment > 500 }
		}
	}
	
	infantry_3_AFG = {
	
		upgrade_prio = {
			factor = 20
			modifier = {
				factor = 0
				num_of_military_factories < 50
			}
		}
		target_template = {
			regiments = {
				infantry = 9
				irregular_infantry = 4
			}
		
			support = {
				anti_air = 1
				artillery = 1
				anti_tank = 1
				engineer = 1
				rangers_support = 1
			}
		}
	}
}
