﻿#Template
division_template = {
	name = "Infantry Division"

	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		Mot_Inf_Bat = { x = 0 y = 1 }
		Mot_Inf_Bat = { x = 0 y = 2 }
		Arty_Bat = { x = 0 y = 3 }

		Mot_Inf_Bat = { x = 1 y = 0 }
		Mot_Inf_Bat = { x = 1 y = 1 }
		Mot_Inf_Bat = { x = 1 y = 2 }

		Mot_Inf_Bat = {	x = 2 y = 0 }
		Mot_Inf_Bat = {	x = 2 y = 1 }
		Mot_Inf_Bat = {	x = 2 y = 2 }
	}
}

division_template = {
	name = "Infantry Brigade"

	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		Mot_Inf_Bat = { x = 0 y = 1 }
		Mot_Inf_Bat = { x = 0 y = 2 }
	}

	support = {
		Arty_Battery = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Mechanized Brigade"

	regiments = {
		Arm_Inf_Bat = { x = 0 y = 0 }
		armor_Bat = { x = 0 y = 1 }
	}

	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
		SP_AA_Battery = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Quick Response Force Battalion"

	regiments = {
		Mech_Inf_Bat = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Commando Battalion"

	regiments = {
		Special_Forces = { x = 0 y = 0 }
	}

	priority = 2
}

division_template = {
	name = "Commando Brigade"

	regiments = {
		Special_Forces = { x = 0 y = 0 }
		Special_Forces = { x = 0 y = 1 }
	}

	priority = 2
}

units = {
	#111th Division
	division = {
		name = "111th Division"
		location = 10737	#Kabul
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/111th Division"
		location = 10737	#Kabul
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	#201st 'Shelab' Corps
	division = {
		name = "1st Brigade/201st 'Shelab' Corps"
		location = 10737	#Kabul
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/201st 'Shelab' Corps"
		location = 10737	#Pol-e-Charkhi
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/201st 'Shelab' Corps"
		location = 10781	#Should be 12831 Jalalabad
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "4th Brigade/201st 'Shelab' Corps"
		location = 10781	#Should be 12831 Jalalabad
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/201st 'Shelab' Corps"
		location = 10737	#Kabul
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "1st Commando Battalion"
		location = 10737	#Kabul
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#203rd 'Tandar' Corps
	division = {
		name = "1st Brigade/203rd 'Tandar' Corps"
		location = 12769	#Should be 6114 Khost
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/203rd 'Tandar' Corps"
		location = 12769	#Should be 6114 Sharana
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/203rd 'Tandar' Corps"
		location = 12769	#Should be 5082 Ghazni
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "4th Brigade/203rd 'Tandar' Corps"
		location = 12769	#Should be 6114 Logar
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/203rd 'Tandar' Corps"
		location = 12769	#Should be 6114 Khost
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Commando Battalion"
		location = 12769	#Should be 6114 Gardez
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#205th 'Atal' Corps
	division = {
		name = "1st Brigade/205th 'Atal' Corps"
		location = 6099	#Should be 5064 Kandahar
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/205th 'Atal' Corps"
		location = 6099	#Should be 5064 Kandahar
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/205th 'Atal' Corps"
		location = 1995		#Should be 10789 Zabul
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "4th Brigade/205th 'Atal' Corps"
		location = 1995	#Should be 6114 Logar
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/205th 'Atal' Corps"
		location = 6099	#Should be 5064 Kandahar
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Commando Battalion"
		location = 6099	#Should be 5064 Kandahar
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#207th 'Zafar' Corps
	division = {
		name = "1st Brigade/207th 'Zafar' Corps"
		location = 4893		#Herat
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/207th 'Zafar' Corps"
		location = 2062		#Farah
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/207th 'Zafar' Corps"
		location = 10476	#Qala-e-Naw
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/207th 'Zafar' Corps"
		location = 4893		#Herat
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "4th Commando Battalion"
		location = 4893		#Herat
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#209th 'Shaheen' Corps
	division = {
		name = "1st Brigade/209th 'Shaheen' Corps"
		location = 7584		#Mazar-i-Sharif
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/209th 'Shaheen' Corps"
		location = 12248	#Kunduz
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/209th 'Shaheen' Corps"
		location = 7584		#Mazar-i-Sharif
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/209th 'Shaheen' Corps"
		location = 7584		#Mazar-i-Sharif
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "5th Commando Battalion"
		location = 7584		#Mazar-i-Sharif
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#215th 'Maiwand' Corps
	division = {
		name = "1st Brigade/215th 'Maiwand' Corps"
		location = 12788	#Should be 4949 Garmsir
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Brigade/215th 'Maiwand' Corps"
		location = 2062		#Farah
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Brigade/215th 'Maiwand' Corps"
		location = 12788	#Should be 4949 Lashkar Gah
		division_template = "Infantry Brigade"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "QRF Battalion/215th 'Maiwand' Corps"
		location = 12788	#Should be 4949 Garmsir
		division_template = "Quick Response Force Battalion"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
	division = {
		name = "7th Commando Battalion"
		location = 12788	#Should be 4949 Garmsir
		division_template = "Commando Battalion"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#ANA Special Operations Command
	division = {
		name = "1st Commando Brigade"
		location = 7916		#Wardak
		division_template = "Commando Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
}

instant_effect = {
	add_equipment_to_stockpile = {
		type = APC_1			#M113A2
		#version_name = "M113A2"
		amount = 173
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = APC_4			#M1117
		amount = 634
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = artillery_0	#D-30
		amount = 152
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = artillery_0	#M114 115mm
		amount = 24
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons1			#M16
		amount = 35000
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons4			#M4
		amount = 3000
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons			#Type 56
		amount = 8000
		producer = CHI
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons1			#AK-74
		amount = 8000
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons3			#FB Beryl
		amount = 1700
		producer = POL
	}

	add_equipment_to_stockpile = {
		type = IFV_1			#BMP-1
		amount = 40
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = IFV_3			#BMP-2
		amount = 60
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = MBT_1			#T-55
		amount = 70
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = MBT_1			#T-62
		#version_name = "T-62"
		amount = 70
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = Rec_tank_0		#PT-76
		amount = 10
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0		#ZSU-23-4
		#version_name = "ZSU-23-4 Shilka"
		amount = 20
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = SP_R_arty_0	#BM-21 Grad
		amount = 50
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = util_vehicle_2	#Humvee
		amount = 8500
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = util_vehicle_5	#MaxxPro
		amount = 155
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = transport_helicopter1		#Mi-17
		amount = 82
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = transport_helicopter1		#UH-1
		amount = 10
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = attack_helicopter1		#Mi-24
		amount = 11
		producer = SOV
	}

	#Some extra
	add_equipment_to_stockpile = {
		type = Anti_tank_0			#Some TOWs
		amount = 600
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_0			#Some TOWs
		amount = 500
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = Anti_Air_0			#Some MANPADs
		amount = 800
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = command_control_equipment
		amount = 1700
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = L_Strike_fighter3		#Super Tucano
		amount = 15
		producer = BRA
	}

	add_equipment_to_stockpile = {
		type = transport_plane1		#C-130
		amount = 3
		producer = USA
	}

	if = {
		limit = { has_dlc = "Death or Dishonor" }
		BRA = {
			create_production_license = {
				target = AFG
				equipment = {
					type = L_Strike_fighter3		#Super tucano
				}
				cost_factor = 0
			}
		}
		else = {
			add_equipment_production = {
				equipment = {
					type = L_Strike_fighter3
					creator = "BRA"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}
}