﻿division_template = {
	name = "Katiba Aljamal" 	#Camel Corps Battalion

	regiments = {
		L_arm_Bat = { x = 0 y = 0 }
		L_arm_Bat = { x = 0 y = 1 }
	}
	support = {
		Mech_Recce_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Katiba Moudar'a" 	#Armoured Battalion

	regiments = {
		armor_Bat = { x = 0 y = 0 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
		H_Engi_Comp = { x = 0 y = 1 }
	}
}

division_template = {
	name = "Katiba Harmia" 	#Garrison Battalion

	regiments = {
		L_Inf_Bat = { x = 0 y = 0 }
		L_Inf_Bat = { x = 0 y = 1 }
		L_Inf_Bat = { x = 0 y = 2 }
		L_Inf_Bat = { x = 0 y = 3 }
	}
}

division_template = {
	name = "Katiba Mushat" 	#Motorised Battalion

	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		Mot_Inf_Bat = { x = 0 y = 1 }
		Mot_Inf_Bat = { x = 0 y = 2 }
		Mot_Inf_Bat = { x = 0 y = 3 }
	}
	support = {
		Arty_Battery = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Katiba Midali" 	#Airborne Battalion

	regiments = {
		L_Air_Inf_Bat = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Katiba Haris" 	#Guard Battalion

	regiments = {
		L_Inf_Bat = { x = 0 y = 0 }
	}
	support = {
		L_Engi_Comp = { x = 0 y = 0 }
	}

	priority = 2
}

units = {
	division = {
		name = "1. Katiba Aljamal"
		location = 10779 #?
		division_template = "Katiba Aljamal"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "Katiba Moudar'a"
		location = 6587 #?
		division_template = "Katiba Moudar'a"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "1. Katiba Harmia"
		location = 6709 #?
		division_template = "Katiba Harmia"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "2. Katiba Harmia"
		location = 6718 #?
		division_template = "Katiba Harmia"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "1. Katiba Mushat"
		location = 6718 #?
		division_template = "Katiba Mushat"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "2. Katiba Mushat"
		location = 8058 #?
		division_template = "Katiba Mushat"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

	division = {
		name = "Katiba Midali"
		location = 6718 #?
		division_template = "Katiba Midali"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}

	division = {
		name = "Katiba Haris"
		location = 6709 #?
		division_template = "Katiba Haris"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
}

instant_effect = {
	add_equipment_to_stockpile = {
		type = command_control_equipment
		amount = 450
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = util_vehicle_0
		amount = 450
		producer = FRA
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons			#AKM
		amount = 1500
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = infantry_weapons			#PM md. 63
		amount = 1000
		producer = ROM
	}

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

	add_equipment_to_stockpile = {
		type = mbt_hull_0
		variant_name = "T-55"
		amount = 35
		producer = SOV
	}

	add_equipment_to_stockpile = {
		type = Rec_tank_0		#Panhard AML
		#version_name = "Panhard AML"
		amount = 60
		producer = FRA
	}

	add_equipment_to_stockpile = {
		type = Rec_tank_0		#Alvis Saladin
		#version_name = "Alvis Saladin"
		amount = 10
		producer = ENG
	}

	add_equipment_to_stockpile = {
		type = APC_1		#Panhard M3
		amount = 25
		producer = FRA
	}

	add_equipment_to_stockpile = {
		type = artillery_0		#M101
		amount = 36
		producer = USA
	}

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

	add_equipment_to_stockpile = {
		type = Anti_tank_1		#MILAN
		amount = 200
		producer = FRA
	}

	add_equipment_to_stockpile = {
		type = Anti_Air_0		#SA-7
		amount = 200
		producer = SOV
	}

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

	add_equipment_to_stockpile = {
		type = transport_helicopter2		#Mi-26
		amount = 5
		producer = SOV
	}

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