﻿division_template = {
	name = "Armoured Brigade"

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

		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 }

		L_arm_Bat = { x = 3 y = 0 }
	}
}

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 = "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 = "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 = "1st Rapid Deployment Special Brigade"
		location = 10923
		division_template = "Air Assault Brigade"
		start_experience_factor = 0.3
		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 = "King Khalid Light Brigade"
		location = 5037
		division_template = "Infantry Brigade"
		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 = 8000
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons #G3
		amount = 7000
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons1 #M16
		amount = 2000
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = command_control_equipment3
		amount = 1850
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_1
		amount = 600
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_1
		amount = 300
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_1
		amount = 150
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_0	#FIM-43 Redeye
		amount = 620
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_1	#FIM-92 Stinger
		amount = 200
		producer = USA
	}

	#Vehicles
	add_equipment_to_stockpile = {
		type = mbt_hull_0
		variant_name = "AMX-30"
		amount = 290
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = mbt_hull_1
		variant_name = "M1A2 Abrams"
		amount = 315
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = mbt_hull_0
		variant_name = "M60A3"
		amount = 450
		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 = IFV_2 #AMX-10P
		amount = 570
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = IFV_3 #M2 Bradley
		amount = 400
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_2 #M113 APC
		amount = 1750
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_1 #M3 Panhard
		amount = 150
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0 #Cadillac Cage Commando V150
		amount = 290
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_3 #LAV-25
		amount = 1117
		producer = CAN
	}
	add_equipment_to_stockpile = {
		type = APC_3 #Piranha II
		amount = 440
		producer = SWI
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_2 #Humvee
		amount = 1200
		producer = USA
	}

	### Artillery
	add_equipment_to_stockpile = {
		type = SP_arty_1 #GCT 155mm
		amount = 90
		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_R_arty_1 #Astros II
		amount = 60
		producer = BRA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M102
		amount = 140
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_1 #FH-70
		amount = 50
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M198 howitzer
		amount = 120
		producer = USA
		#version_name = "M198 howitzer"
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M114
		amount = 50
		producer = USA
		#version_name = "M114"
	}

	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #XA-181/Crotale
		amount = 181
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #MIM-23 Hawk
		amount = 128
		producer = USA
	}


	### Airforce
	add_equipment_to_stockpile = {
		type = attack_helicopter2 #AH-64 Apache Longbow
		amount = 12
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #Sikorsky UH-60 Black Hawk
		amount = 50
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2
		amount = 19
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #various bell helis
		amount = 138
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #Eurocopter AS332 Super Puma
		amount = 30
		producer = FRA
		#version_name = "Eurocopter AS332 Super Puma"
	}

	add_equipment_to_stockpile = {
		type = MR_Fighter1 #F-5 Freedom Fighter
		amount = 78
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter3 #F-15C Eagle
		amount = 94
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Strike_fighter2 #Panavia Tornado IDS
		amount = 86
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = Strike_fighter3 #F-15S Strike Eagle
		amount = 70
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter2 #Panavia Tornado AVD
		amount = 24
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = transport_plane1 #C-130J Super Hercules
		amount = 52
		producer = USA
	}

	if = {
		limit = { has_dlc = "Death or Dishonor" }
		CAN = {
			create_production_license = {
				target = SAU
				equipment = {
					type = APC_3 #LAV
				}
				cost_factor = 0
			}
		}
		GER = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Strike_fighter2 #Panavia Tornado IDS
				}
				cost_factor = 0
			}
		}
		ENG = {
			create_production_license = {
				target = SAU
				equipment = {
					type = L_Strike_fighter1 #BAE Systems Hawk
				}
				cost_factor = 0
			}
		}
		ITA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = AS_Fighter2 #Panavia Tornado ADV
				}
				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_equipment3
				}
				cost_factor = 0
			}
		}
		USA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Heavy_Anti_tank_1
				}
				cost_factor = 0
			}
		}
		FRA = {
			create_production_license = {
				target = SAU
				equipment = {
					type = Anti_tank_1
				}
				cost_factor = 0
			}
		}
	}
}