﻿division_template = {
	name = "Infantry Division"

	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 = 1 y = 0 }
		L_Inf_Bat = { x = 1 y = 1 }
		L_Inf_Bat = { x = 1 y = 2 }
		L_Inf_Bat = { x = 1 y = 3 }

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

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

	}

}
division_template = {
	name = "Mechanized Division"

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

	}
	support = {
		H_Engi_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Marine Brigade"

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

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

		Arty_Bat = { x = 2 y = 0 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
		Arm_Recce_Comp = { x = 0 y = 1 }
	}
}
division_template = {
	name = "Special Airborne Regiment"

	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 }
	}
}

units = {

	### Specialized Forces ###

	division = {
		name = "1st Scout Ranger Regiment"
		location = 10265 #Manilla
		division_template = "Special Airborne Regiment"
		start_experience_factor = 0.5
		start_equipment_factor = 0.01
	}
	division = {
		name = "Special Forces Regiment"
		location = 1388 #Nueva Ecija
		division_template = "Special Airborne Regiment"
		start_experience_factor = 0.5
		start_equipment_factor = 0.01
	}

	### Marine Corps ###
	division = {
		name = "3rd Marine Brigade"
		location = 4429 #Palawan
		division_template = "Marine Brigade"
		start_experience_factor = 0.4
		start_equipment_factor = 0.01
	}
	division = {
		name = "1st Marine Brigade"
		location = 6042 #Moro
		division_template = "Marine Brigade"
		start_experience_factor = 0.4
		start_equipment_factor = 0.01
	}
	division = {
		name = "8th Marine Brigade"
		location = 12118 #Cebu
		division_template = "Marine Brigade"
		start_experience_factor = 0.4
		start_equipment_factor = 0.01
	}

	division = {
		name = "1st Infantry Division"
		location = 1421
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "2nd Infantry Division"
		location = 10236
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "3rd Infantry Division"
		location = 7423
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "4th Infantry Division"
		location = 10214
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "5th Infantry Division"
		location = 7439
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "6th Infantry Division"
		location = 6046
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "7th Infantry Division"
		location = 10165
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "8th Infantry Division"
		location = 1340
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "9th Infantry Division"
		location = 12279
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}
	division = {
		name = "10th Infantry Division"
		location = 1407
		division_template = "Infantry Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	division = {
		name = "1st Mechanized Infantry Division"
		location = 10265
		division_template = "Mechanized Division"
		start_experience_factor = 0.3
		start_equipment_factor = 0.01
	}

	#frigate_1 = Datu Kalantiaw class

}

instant_effect = {

	add_equipment_to_stockpile = {
		type = infantry_weapons3
		amount = 17500
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = command_control_equipment
		amount = 1900
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_1
		amount = 1100
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_1
		amount = 20
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_1
		amount = 835
		producer = USA
	}

	add_equipment_to_stockpile = {
		type = Rec_tank_1 #FV101 Scorpion
		amount = 7
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = IFV_2 #M113A1 FSV
		amount = 36
		producer = AST
	}
	add_equipment_to_stockpile = {
		type = APC_2 #M113 APC
		amount = 70
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = IFV_2 #ACV-15
		amount = 6
		producer = TUR
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_0 #V-150
		amount = 96
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_1 #LAV-300
		amount = 23
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = APC_3 #LVTP-7
		amount = 59
		producer = USA
		#version_name = "LAV-600"
	}
	add_equipment_to_stockpile = {
		type = APC_4 #GKN Simba
		amount = 146
		producer = ENG
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M102
		amount = 204
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = artillery_0 #M114
		amount = 10
		producer = USA
		#version_name = "M114"
	}

	add_equipment_to_stockpile = {
		type = artillery_0 #M101
		amount = 23
		producer = USA
		#version_name = "M101"
	}
	#TPT 11: Medium 5: 1 C-130B Hercules; 3 C-130H Hercules; 1 L-100-20
	add_equipment_to_stockpile = {
		type = L_Strike_fighter2 #SIAI-Marchetti S.211
		amount = 12
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = L_Strike_fighter1 #SIAI-Marchetti SF.260
		amount = 17
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = L_Strike_fighter1 #Cessna T-41 Mescalero
		amount = 17
		producer = USA
		#version_name = "Cessna T-41 Mescalero"
	}
	#TPT 48: Medium 1 S-70A Black Hawk (S-70A-5);

	add_equipment_to_stockpile = {
		type = transport_helicopter1 #
		amount = 8
		producer = POL
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #
		amount = 4
		producer = SOV
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #
		amount = 8
		producer = GER
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #AW109
		amount = 11
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #UH-1, B205
		amount = 89
		producer = USA
	}

	if = {
		limit = { has_dlc = "Death or Dishonor" }
		USA = {
			create_production_license = {
				target = PHI
				equipment = {
					type = APC_2 #M113 APC
				}
				cost_factor = 0
			}

		}
		else = {
			add_equipment_production = {
				equipment = {
					type = APC_2 #M113 APC
					creator = "USA"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}

	if = {
		limit = { NOT = { has_dlc = "Man the Guns" } }
		if = {
			limit = { has_dlc = "Death or Dishonor" }
			KOR = {
				create_production_license = {
					target = PHI
					equipment = {
						type = LPD_2 #Tarlac-class
					}
					cost_factor = 0
				}

			}
			else = {
				add_equipment_production = {
					equipment = {
						type = LPD_2 #Tarlac-class
						creator = "KOR"
					}
					requested_factories = 1
					progress = 0.2
					efficiency = 50
				}
			}
		}
	}
	if = {
		limit = { has_dlc = "Death or Dishonor" }
		KOR = {
			create_production_license = {
				target = PHI
				equipment = {
					type = L_Strike_fighter2 #KAI T-50 Golden Eagle
				}
				cost_factor = 0
			}

		}
		else = {
			add_equipment_production = {
				equipment = {
					type = L_Strike_fighter2 #KAI T-50 Golden Eagle
					creator = "KOR"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}
	if = {
		limit = { has_dlc = "Death or Dishonor" }
		KOR = {
			create_production_license = {
				target = PHI
				equipment = {
					type = L_Strike_fighter2 #KAI T-50 Golden Eagle
				}
				cost_factor = 0
			}

		}
		else = {
			add_equipment_production = {
				equipment = {
					type = L_Strike_fighter2 #KAI T-50 Golden Eagle
					creator = "KOR"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}
	if = {
		limit = { has_dlc = "Death or Dishonor" }
		SPR = {
			create_production_license = {
				target = PHI
				equipment = {
					type = transport_plane3 #C-295
				}
				cost_factor = 0
			}

		}
		else = {
			add_equipment_production = {
				equipment = {
					type = transport_plane3 #C-295
					creator = "SPR"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}

	#C-295M

}