﻿division_template = {
	name = "Briged Para"
	regiments = {
		L_Air_Inf_Bat = { x = 0 y = 0 }
		L_Air_Inf_Bat = { x = 0 y = 1 }
		L_Air_Inf_Bat = { x = 0 y = 2 }
		L_Air_Inf_Bat = { x = 0 y = 3 }
		Arty_Bat = { x = 0 y = 4 }
	}

	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
		L_Engi_Comp = { x = 0 y = 1 }
	}
}

division_template = {
	name = "Briged Infantri Ringan"
	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		Mot_Inf_Bat = { x = 0 y = 1 }

		Mech_Inf_Bat = { x = 1 y = 0 }
		L_arm_Bat = { x = 1 y = 1 }

		Arty_Bat = { x = 2 y = 0 }
	}

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

division_template = {
	name = "Batalion Renjer"
	regiments = {
		Special_Forces = { x = 0 y = 0 }
		Special_Forces = { x = 0 y = 1 }
		Special_Forces = { x = 0 y = 2 }
		Special_Forces = { x = 0 y = 3 }
	}

	priority = 2
}

division_template = {
	name = "Grup Gerak Khas"
	regiments = {
		Special_Forces = { x = 0 y = 0 }
		Special_Forces = { x = 0 y = 1 }
	}

	priority = 2
}

division_template = {
	name = "Batalion Sempadan"
	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		Mot_Inf_Bat = { x = 0 y = 1 }
	}

	priority = 0
}

division_template = {
	name = "Briged Mekanikal"
	regiments = {
		Arm_Inf_Bat = { x = 0 y = 0 }
		Arm_Inf_Bat = { x = 0 y = 1 }
		Arm_Inf_Bat = { x = 0 y = 2 }
		Mech_Inf_Bat = { x = 0 y = 3 }

		L_arm_Bat = { x = 1 y = 0 }
		L_arm_Bat = { x = 1 y = 1 }

		Arty_Bat = { x = 2 y = 0 }
	}

	support = {
		L_Engi_Comp = { x = 0 y = 0 }
		SP_AA_Battery = { x = 0 y = 1 }
	}
}
units = {
	division = {
		name = "Grup Gerak Khas"
		location = 10313		#Mersing, Johor
		division_template = "Grup Gerak Khas"
		start_experience_factor = 0.5
		start_equipment_factor = 0.01
	}
	division = {
		name = "1 Briged Infantri Ringan"
		location = 1208		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "2 Briged Infantri Ringan"
		location = 10212		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "1 Batalion Sempadan"
		location = 6029		#Batu Sebelas Camp, Tanah Merah
		division_template = "Batalion Sempadan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "2 Batalion Sempadan"
		location = 7329		#Batu Melintang Camp, Jeli
		division_template = "Batalion Sempadan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "3 Briged Infantri Ringan"
		location = 6029		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "4 Briged Infantri Ringan"
		location = 4424		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "5 Briged Infantri Ringan"
		location = 1364		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "6 Briged Infantri Ringan"
		location = 7427		#
		division_template = "Briged Infantri Ringan"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "1 Briged Mekanikal"
		location = 10297		#
		division_template = "Briged Mekanikal"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	division = {
		name = "1 Renjer"
		location = 4424		#Camp Ulu Tiram, Johor Bahru
		division_template = "Batalion Renjer"
		start_experience_factor = 0.4
		start_equipment_factor = 0.01
	}
	division = {
		name = "2 Renjer"
		location = 1364		#Syed Putra Camp, Ipoh
		division_template = "Batalion Renjer"
		start_experience_factor = 0.4
		start_equipment_factor = 0.01
	}

}
instant_effect = {

	add_equipment_to_stockpile = {
		type = infantry_weapons			#M16A1
		amount = 800
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons2			#Steyr
		amount = 7000
		producer = AUS
	}
	add_equipment_to_stockpile = {
		type = command_control_equipment
		amount = 1470
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_1		#Javelin LML
		amount = 600
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_1		#Rapier
		amount = 12
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_1		#ERYX
		amount = 650
		producer = CAN
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_0		#SS11
		amount = 200
		producer = FRA
	}

	## Vehicles
	add_equipment_to_stockpile = {
		type = Rec_tank_1			#FV101
		amount = 26
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0			#Ferret
		amount = 92
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_1			#SIBMAS AFSV-90
		amount = 162
		producer = BEL
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0			#AML-60/-90
		amount = 140
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0			#V-150 Commando
		amount = 181
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = IFV_2			#Stormer
		amount = 25
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = IFV_3			#K200
		amount = 111
		producer = KOR
	}
	add_equipment_to_stockpile = {
		type = APC_1			#M3 Panhard
		amount = 37
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = APC_2			#Condor
		amount = 459
		producer = GER
	}

	add_equipment_to_stockpile = {
		type = util_vehicle_2			#Land Rover Defender
		amount = 250
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_2			#G-Class
		amount = 150
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_0			#HIMCOM Truck
		amount = 800
	}
	add_equipment_to_stockpile = {
		type = artillery_0			#Mod 56
		amount = 130
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = artillery_0			#M-102A1
		amount = 40
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_1			#FH70
		amount = 30
		producer = GER
	}

	## Airforce ##
	add_equipment_to_stockpile = {
		type = transport_helicopter1			#SA-316
		amount = 22
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1			#Sea king
		#version_name = "Sea King HU5"
		amount = 32
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = MR_Fighter2			#MiG-29
		amount = 17
		producer = SOV
	}
	add_equipment_to_stockpile = {
		type = L_Strike_fighter2			#BAE Hawk 200
		amount = 25
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = transport_plane1			#C-130
		amount = 24
		producer = USA
	}
	if = {
		limit = { NOT = { has_dlc = "Man the Guns" } }
		if = {
			limit = { has_dlc = "Death or Dishonor" }
			FRA = {
				create_production_license = {
					target = MAY
					equipment = {
						type = diesel_attack_submarine_4		#Scorpene Glass
					}
					cost_factor = 0
				}
				add_equipment_production = {
					equipment = {
						type = diesel_attack_submarine_4
						creator = "FRA"
					}
					requested_factories = 1
					progress = 0.4
					efficiency = 50
					amount = 2
				}
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = diesel_attack_submarine_4
						creator = "FRA"
					}
					requested_factories = 1
					progress = 0.4
					efficiency = 50
					amount = 2
				}
			}
		}
		if = {
			limit = { has_dlc = "Death or Dishonor" }
			ENG = {
				create_production_license = {
					target = MAY
					equipment = {
						type = missile_corvette_2		#F-2000 Glass
					}
					cost_factor = 0
				}
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = missile_corvette_2
						creator = "ENG"
					}
					requested_factories = 1
					progress = 0.2
					efficiency = 50
				}
			}
		}
		if = {
			limit = { has_dlc = "Death or Dishonor" }
			GER = {
				create_production_license = {
					target = MAY
					equipment = {
						type = missile_corvette_1		#Kasturi-Class
					}
					cost_factor = 0
				}
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = missile_corvette_1 		#Kasturi-Class
						version_name = "Kasturi-Class"
						creator = "GER"
					}
					requested_factories = 1
					progress = 0.2
					efficiency = 50
				}
			}
		}
		if = {
			limit = { has_dlc = "Death or Dishonor" }
			ITA = {
				create_production_license = {
					target = MAY
					equipment = {
						type = corvette_2		#Tipo 550-Class
					}
					cost_factor = 0
				}
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = corvette_2
						creator = "ITA"
					}
					requested_factories = 1
					progress = 0.2
					efficiency = 50
				}
			}
		}
	}
}