﻿division_template = {
	name = "Armoured Brigade"

	regiments = {
		armor_Bat = { x = 0 y = 0 }
		armor_Bat = { x = 0 y = 1 }
		armor_Bat = { x = 0 y = 2 }
		L_arm_Bat = { x = 0 y = 3 }

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

		SP_Arty_Bat = { x = 2 y = 0 }
		SP_Arty_Bat = { x = 2 y = 1 }
		SP_AA_Bat = { x = 2 y = 2 }
		Mech_Inf_Bat = { x = 2 y = 3 }
	}
}

division_template = {
	name = "Mechanized Brigade"

	regiments = {
		Mech_Inf_Bat = { x = 0 y = 0 }
		Mech_Inf_Bat = { x = 0 y = 1 }
		Mech_Inf_Bat = { x = 0 y = 2 }
		Arm_Inf_Bat = { x = 0 y = 3 }

		armor_Bat = { x = 1 y = 0 }

		SP_AA_Bat = { x = 2 y = 0 }
		Mech_Inf_Bat = { x = 2 y = 1 }

		Arty_Bat = { x = 3 y = 0 }
		Arty_Bat = { x = 3 y = 1 }
	}
}

division_template = {
	name = "Air Assault Brigade"

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

division_template = {
	name = "Royal Guard"

	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 = "Airborne Brigade"

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

division_template = {
	name = "Marine Regiment"

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

division_template = {
	name = "Mechanized Brigade 2"

	regiments = {
		Mech_Inf_Bat = { x = 0 y = 0 }
		Mech_Inf_Bat = { x = 0 y = 1 }
		Mech_Inf_Bat = { x = 0 y = 2 }
		L_arm_Bat = { x = 0 y = 3 }

		SP_AA_Bat = { x = 1 y = 0 }

		Arty_Bat = { x = 2 y = 0 }
		Arty_Bat = { x = 2 y = 1 }
	}
	support = {
		H_Engi_Comp = { x = 0 y = 0 }
	}
}
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 }

		Mech_Inf_Bat = { x = 1 y = 0 }

		Arty_Bat = { x = 2 y = 0 }
	}
}

units = {
	division = {
		name = "4th (King Khaled) Armoured Brigade"
		location = 8101
		division_template = "Armoured Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "8th (King Fah'd) Armoured Brigade"
		location = 3339
		division_template = "Armoured Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "12th (Khalid ibn al-Walid) Armoured Brigade"
		location = 8030
		division_template = "Armoured Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "7th (Prince Sultan) Armoured Brigade"
		location = 10850
		division_template = "Armoured Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "6th (King Fah'd) Mechanized Brigade"
		location = 4974
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "10th (King Faisal) Mechanized Brigade"
		location = 5006
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "11th Mechanized Brigade"
		location = 12455
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "8th Mechanized Brigade"
		location = 8073
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "20th Mechanized Brigade"
		location = 10815
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "16th (King Saud) Motorized Brigade"
		location = 3350
		division_template = "Infantry Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "17th (Abu Bakr Assiddeeq) Motorized Brigade"
		location = 8030
		division_template = "Infantry Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "18th (King Abdullah) Motorized Brigade"
		location = 8073
		division_template = "Infantry Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "1st Airborne Brigade"
		location = 8060
		division_template = "Airborne Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	### Nation Guard ###

	division = {
		name = "Imam Muhammad bin Saud Mechanized Brigade"
		location = 10923
		division_template = "Mechanized Brigade 2"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "Prince Saad Abdulrahman Mechanized Brigade"
		location = 3378
		division_template = "Mechanized Brigade 2"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "Prince Turki bin Abdulaziz Mechanized Brigade"
		location = 10786
		division_template = "Mechanized Brigade 2"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "King Khalid Light Brigade"
		location = 5037
		division_template = "Royal Guard"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "King Abdulaziz Mechanized Brigade"
		location = 10791
		division_template = "Mechanized Brigade 2"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Rapid Deployment Special Brigade"
		location = 10791
		division_template = "Air Assault Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "Prince Mohammad bin Abdulrahman al-Saud Light Brigade"
		location = 12702
		division_template = "Infantry Brigade"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "King Saud Light Brigade"
		location = 12101
		division_template = "Infantry Brigade"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Rapid Deployment Special Brigade"
		location = 12101
		division_template = "Air Assault Brigade"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "King Faisal Light Brigade"
		location = 5058
		division_template = "Infantry Brigade"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}
	division = {
		name = "Omar bin Kattab Light Brigade"
		location = 4981
		division_template = "Infantry Brigade"
		start_experience_factor = 0.2
		start_equipment_factor = 0.01
	}

	division = {
		name = "Royal Saudi Marines"
		location = 4981
		division_template = "Marine Regiment"
		start_experience_factor = 0.3
		force_equipment_variants = { infantry_weapons1 = { owner = "USA" } }
		force_equipment_variants = { command_control_equipment3 = { owner = "USA" } }
		force_equipment_variants = { APC_2 = { owner = "SPR" } }
		force_equipment_variants = { Anti_tank_1 = { owner = "USA" } }
		force_equipment_variants = { Anti_Air_1 = { owner = "USA" } }
		force_equipment_variants = { Heavy_Anti_tank_1 = { owner = "FRA" } }
	}

	#missile_frigate_2 = Al Riyadh-Class
	#missile_corvette_2 = Al Madinah-Class
	#corvette_2 = Badr-Class
}

instant_effect = {
	add_equipment_to_stockpile = {
		type = infantry_weapons3 #G36C
		amount = 10000
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons #G3
		amount = 8000
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons3 #F2000
		amount = 5000
		producer = BEL
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons2 #Steyr AUG
		amount = 8000
		producer = AUS
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons1 #M16
		amount = 2000
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons4 #M4
		amount = 1600
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = command_control_equipment3
		amount = 2050
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_1
		amount = 1500
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_1
		amount = 660
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_1
		amount = 820
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = mbt_hull_0
		variant_name = "AMX-30"
		amount = 140
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = mbt_hull_1
		variant_name = "M1A2 Abrams"
		amount = 370
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = mbt_hull_0
		variant_name = "M60A3"
		amount = 390
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = Rec_tank_0 #Panhard AML
		amount = 300
		producer = FRA
		#version_name = "Panhard AML"
	}
	add_equipment_to_stockpile = {
		type = APC_3 #Tpz-1 Fuchs
		amount = 10
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = IFV_2 #AMX-10P
		amount = 380
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = IFV_3 #M2 Bradley
		amount = 385
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_2 #M113 APC
		amount = 1190
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_1 #M3 Panhard
		amount = 150
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_4 #Nexter Aravis
		amount = 73
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_2 #Humvee
		amount = 1200
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_4 #M-ATV
		amount = 160
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = SP_arty_1 #GCT 155mm
		amount = 60
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = SP_arty_0 #M109A1
		amount = 60
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = SP_arty_1 #M109A2
		amount = 50
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = SP_arty_1 #PLZ-45
		amount = 54
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M102
		amount = 100
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M114
		amount = 50
		producer = USA
		#version_name = "M114"
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M198 howitzer
		amount = 60
		producer = USA
		#version_name = "M198 howitzer"
	}
	add_equipment_to_stockpile = {
		type = SP_R_arty_1 #Astros II
		amount = 60
		producer = BRA
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter3 #AH-64D Apache Longbow
		amount = 11
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter4 #AH-64E Apache Guardian
		amount = 24
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #Sikorsky UH-60 Black Hawk
		amount = 58
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #Eurocopter AS332 Super Puma
		amount = 12
		producer = FRA
		#version_name = "Eurocopter AS332 Super Puma"
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter3 #F-15C Eagle
		amount = 81
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Strike_fighter3 #F-15S Strike Eagle
		amount = 70
		producer = USA
		#version_name = "F-15S"
	}
	add_equipment_to_stockpile = {
		type = Strike_fighter2 #Panavia Tornado IDS
		amount = 81
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter3 #EF-2020C Hurricane-G
		amount = 53
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = transport_plane4 #A330 MRTT
		amount = 6
		producer = FRA
		#version_name = "A330 MRTT"
	}
	add_equipment_to_stockpile = {
		type = transport_plane3 #C-130J Super Hercules
		amount = 48
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #Sea King HU5
		amount = 2
		producer = USA
		#version_name = "Sea King HU5"
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #Sikorsky UH-60 Black Hawk
		amount = 1
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #Eurocopter AS532 Couga
		amount = 10
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #M163 Vulcan
		amount = 92
		producer = USA
		#version_name = "M163 Vulcan"
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #XA-181/Crotale
		amount = 181
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_1 #AN/TWQ-1 Avenger
		amount = 400
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #MIM-23 Hawk
		amount = 128
		producer = USA
	}

	#108 MIM-140D/F Patriot PAC-2 GEM/PAC-3

	add_equipment_to_stockpile = {
		type = IFV_4 #LAV-III Kodiak
		amount = 921
		producer = CAN
	}
	add_equipment_to_stockpile = {
		type = APC_3 #LAV-25
		amount = 518
		producer = CAN
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0 #Cadillac Cage Commando V150
		amount = 290
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = SP_arty_2 #CAESAR
		amount = 132
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M102
		amount = 50
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M198 howitzer
		amount = 58
		producer = USA
		#version_name = "M198 howitzer"
	}
	add_equipment_to_stockpile = {
		type = IFV_4 #LAV-III Kodiak
		amount = 183
		producer = CAN
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #M163 Vulcan
		amount = 30
		producer = USA
		#version_name = "M163 Vulcan"
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter4 #AH-64E Apache Guardian
		amount = 4
		producer = USA
	}
	if = {
		limit = { has_dlc = "Death or Dishonor" }
		CAN = {
			create_production_license = {
				target = SAU
				equipment = {
					type = APC_4 #LAV-III Bison
				}
				cost_factor = 0
			}
		}
		ENG = {
			create_production_license = {
				target = SAU
				equipment = {
					type = AS_Fighter3 #EF-2000 Typhoon
				}
				cost_factor = 0
			}
		}
		USA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Strike_fighter3 #F-15E Strike Eagle
				}
				cost_factor = 0
			}
			create_production_license = {
				target = SAU
				equipment = {
					type = attack_helicopter4 #AH-64E Apache Guardian
				}
				cost_factor = 0
			}
			create_production_license = {
				target = SAU
				equipment = {
					type = Strike_fighter3 #F-15S
				}
				cost_factor = 0
			}
			create_production_license = {
				target = SAU
				equipment = {
					type = transport_plane3 #C-130J Super Hercules
				}
				cost_factor = 0
			}
		}
		ENG = {
			create_production_license = {
				target = SAU
				equipment = {
					type = L_Strike_fighter1 #BAE Systems Hawk
				}
				cost_factor = 0
			}
		}
		SPR = {
			create_production_license = {
				target = SAU
				equipment = {
					type = transport_plane3 #C-295
				}
				cost_factor = 0
			}
		}
		GER = {
			create_production_license = {
				target = SAU
				equipment = {
					type = infantry_weapons3 #Heckler & Koch G36
				}
				cost_factor = 0
			}
		}
		USA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = command_control_equipment4
				}
				cost_factor = 0
			}
		}
		USA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Heavy_Anti_tank_2
				}
				cost_factor = 0
			}
		}
		FRA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Anti_tank_1
				}
				cost_factor = 0
			}
		}

		else = {
			add_equipment_production = {
				equipment = {
					type = APC_4 #LAV-III Bison
					creator = "CAN"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = AS_Fighter3 #EF-2000 Typhoon
					creator = "ENG"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = Strike_fighter3 #F-15E Strike Eagle
					creator = "USA"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = attack_helicopter4 #AH-64E Apache Guardian
					creator = "USA"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = Strike_fighter3
					creator = "USA"
					version_name = "F-15S"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = transport_plane3 #C-130J Super Hercules
					creator = "USA"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = L_Strike_fighter1 #BAE Systems Hawk
					creator = "ENG"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = transport_plane3 #C-295
					creator = "SPR"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
			add_equipment_production = {
				equipment = {
					type = infantry_weapons3 #Heckler & Koch G36
					creator = "GER"
				}
				requested_factories = 1
				progress = 0.5
				efficiency = 50
				amount = 4
			}
		}
	}
}