﻿division_template = {
	name = "Mechanized Division"

	regiments = {
		armor_Bat = { x = 0 y = 0 }
		armor_Bat = { x = 0 y = 1 }
		Mech_Inf_Bat = { x = 0 y = 2 }
		SP_AA_Bat = { x = 0 y = 3 }

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

		SP_Arty_Bat = { x = 2 y = 0 }
		SP_Arty_Bat = { x = 2 y = 1 }
		SP_Arty_Bat = { x = 2 y = 2 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Mechanized Brigade"

	regiments = {
		armor_Bat = { x = 0 y = 0 }
		Mech_Inf_Bat = { x = 1 y = 0 }
		Mech_Inf_Bat = { x = 1 y = 1 }
		Mech_Inf_Bat = { x = 2 y = 0 }
		SP_AA_Bat = { x = 2 y = 1 }
		SP_Arty_Bat = { x = 2 y = 2 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Armored Division"

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

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

		SP_Arty_Bat = { x = 2 y = 0 }
		SP_Arty_Bat = { x = 2 y = 1 }
		SP_Arty_Bat = { x = 2 y = 2 }
		SP_AA_Bat = { x = 2 y = 3 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Armor Brigade"

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

		Mech_Inf_Bat = { x = 2 y = 0 }
		SP_AA_Bat = { x = 2 y = 1 }
		SP_Arty_Bat = { x = 2 y = 2 }
	}
	support = {
		armor_Recce_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 }

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

		SP_AA_Bat = { x = 2 y = 0 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
		armor_Comp = { x = 0 y = 1 }
	}
}

division_template = {
	name = "Infantry Division"

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

		Mot_Inf_Bat = { x = 1 y = 0 }
		Mot_Inf_Bat = { x = 1 y = 1 }
		Mot_Inf_Bat = { x = 1 y = 2 }
		Mot_Inf_Bat = { x = 1 y = 3 }
		Mot_Inf_Bat = { x = 2 y = 0 }
		Arty_Bat = { x = 2 y = 1 }
		Arty_Bat = { x = 2 y = 2 }
		Arty_Bat = { x = 2 y = 3 }
		L_Inf_Bat = { x = 3 y = 0 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}

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 }
		L_Air_assault_Bat = { x = 0 y = 3 }
		Arty_Bat = { x = 1 y = 0 }
		L_Inf_Bat = { x = 1 y = 1 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}

division_template = {
	name = "Infantry Brigade 2"

	regiments = {
		Mot_Inf_Bat = { x = 0 y = 0 }
		L_Inf_Bat = { x = 0 y = 1 }
		SP_AA_Bat = { x = 1 y = 0 }
	}
	support = {
		armor_Recce_Comp = { x = 0 y = 0 }
	}
}
division_template = {
	name = "Special Forces"

	regiments = {
		Special_Forces = { x = 0 y = 0 }

	}
}

units = {
	#Northern Army
	division = {
		name = "2nd Division"
		location = 12352
		division_template = "Mechanized Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "7th Division"
		location = 10444
		division_template = "Armored Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "5th Brigade"
		location = 12493
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "11th Brigade"
		location = 10444
		division_template = "Mechanized Brigade"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}

	#Western Army
	division = {
		name = "4th Division"
		location = 1158
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "8th Division"
		location = 12032
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "15th Brigade"
		location = 11932
		division_template = "Infantry Brigade 2"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "Western Army Infantry Regiment"
		location = 1158
		division_template = "Special Forces"
		start_experience_factor = 0.9
		start_equipment_factor = 0.01
	}

	#Central Army
	division = {
		name = "3rd Division"
		location = 1136
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "10th Division"
		location = 10125
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "13th Brigade"
		location = 1092
		division_template = "Infantry Brigade"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "14th Brigade"
		location = 4179
		division_template = "Infantry Brigade"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}

	#Eastern Army
	division = {
		name = "1st Division"
		location = 1182
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "12th Brigade"
		location = 10015
		division_template = "Air Assault Brigade"
		start_experience_factor = 0.8
		start_equipment_factor = 0.01
	}

	#North Eastern Army
	division = {
		name = "6th Division"
		location = 4067
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}
	division = {
		name = "9th Division"
		location = 6994
		division_template = "Infantry Division"
		start_experience_factor = 0.75
		start_equipment_factor = 0.01
	}

	###Note, for whatever reason some of Japan's destroyers aren't considered Guided Missile Destroyers. The ones that are, I've marked as guided missile destoryers.
	#Not sure If we'll do anything about it in the future but it's good to note.

	###Ship Index###

	####Corevette###
	#missile_corvette_1 = 1 #Yubari-class (late 1980s)
	#missile_corvette_2 = 1 #Abukuma-class destroyer escort (1990)

	###Frigates###
	#missile_frigate_2 = 1 #Murasame-class destroyer (1994)
	#missile_frigate_3 = 1 #Takanami-class destroyer (2003) (considered a frigate by many)

	###Diesel Attack Submarine###
	#diesel_attack_submarine_3 = 1 #Oyashio-class
	#diesel_attack_submarine_4 = 1 #S�?ryū-class

	###LPD###
	#LPD_1 = 1 Ōsumi-class tank landing ship (1995)
	#LPD_2 = 1 #Hyūga & Izumo class helicopter destroyer (2000's) 2015 in game

	###Destroyers###
	#missile_destroyer_1 = 1 #Hatakaze-class destroyer (1983)
	#missile_destroyer_2 = 1 #Kong�?-class destroyer (1990s)
	#missile_destroyer_3 = 1 #Atago-class destroyer (2004)
	#missile_destroyer_4 = 1 #Akizuki-class destroyer (2010)
}

instant_effect = {
	add_equipment_to_stockpile = {
		type = infantry_weapons2
		amount = 12810
	}
	add_equipment_to_stockpile = {
		type = command_control_equipment4
		amount = 1200
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_2
		amount = 640
	}
	add_equipment_to_stockpile = {
		type = Heavy_Anti_tank_2
		amount = 250
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = Anti_Air_1
		amount = 472
	}

	add_equipment_to_stockpile = {
		type = MBT_5 #Type 10
		amount = 53
	}
	add_equipment_to_stockpile = {
		type = MBT_2 #Type-74
		amount = 293
	}
	add_equipment_to_stockpile = {
		type = MBT_3 #Type-90
		amount = 341
	}
	add_equipment_to_stockpile = {
		type = Rec_tank_1 #Type 87
		amount = 162
	}
	add_equipment_to_stockpile = {
		type = IFV_3 #Type 89 IFV
		amount = 68
	}
	add_equipment_to_stockpile = {
		type = APC_2 #Type 73
		amount = 226
	}
	add_equipment_to_stockpile = {
		type = APC_3 #Type 82
		amount = 205
	}
	add_equipment_to_stockpile = {
		type = APC_4 #Type 96
		amount = 357
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_4 #Bushmaster
		amount = 4
		producer = AST
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_4 #Komatsu LAV
		amount = 1800
	}
	add_equipment_to_stockpile = {
		type = util_vehicle_3 #Toyota HMV
		amount = 400
	}

	add_equipment_to_stockpile = {
		type = SP_arty_2 #Type 99
		amount = 99
	}
	add_equipment_to_stockpile = {
		type = SP_arty_0 #M110A2
		amount = 67
	}
	add_equipment_to_stockpile = {
		type = artillery_1 #FH-70
		amount = 422
		producer = ITA
	}
	add_equipment_to_stockpile = {
		type = SP_R_arty_1 #M270
		amount = 99
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter1 #AH-1S Cobra
		amount = 60
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter3 #AH-64D
		amount = 11
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = attack_helicopter2 #Kawasaki OH-1
		amount = 37
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_2 #Type 3 Chū-SAM
		amount = 40
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_1 #Type-93 Kin-SAM
		amount = 96
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0 #Type 81
		amount = 47
	}
	add_equipment_to_stockpile = {
		type = SP_Anti_Air_0
		amount = 126
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = naval_plane2 #P-3C
		amount = 73
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_plane1 #C-130R
		amount = 4
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter3 #F-15J
		amount = 201
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = MR_Fighter3 #F-2A
		amount = 92
	}
	add_equipment_to_stockpile = {
		type = AS_Fighter1 #F-4E
		amount = 55
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_plane1 #C-130H
		amount = 15
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #CH-47
		#version_name = "Boeing CH-47 Chinook"
		amount = 27
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #UH-1
		amount = 50
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter1 #Eurocopter AS332 Super Puma
		#version_name = "Eurocopter AS332 Super Puma"
		amount = 3
		producer = FRA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #Blackhawk
		amount = 36
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = transport_helicopter2 #CH-47D
		#version_name = "Boeing CH-47D Chinook"
		amount = 27
		producer = USA
	}
	add_equipment_to_stockpile = {
		type =  cv_awacs_equipment_1 #E-2 Hawkeye
		amount = 13
		producer = USA
	}
	add_equipment_to_stockpile = {
		type =  cv_awacs_equipment_2 #E-2D Advanced Hawkeye
		amount = 4
		producer = USA
	}

	# add_equipment_production = { # idk
	# 	equipment = {
	# 		type = MBT_5 #Type 10
	# 		creator = "JAP"
	# 	}
	# 	requested_factories = 3
	# 	progress = 0.1
	# 	efficiency = 50
	# }
	if = {
		limit = { NOT = { has_dlc = "Man the Guns" } }
		add_equipment_production = {
			equipment = {
				type = diesel_attack_submarine_4 #Soryu-class SSK
				creator = "JAP"
			}
			requested_factories = 1
			progress = 0.1
			efficiency = 100
		}
		add_equipment_production = {
			equipment = {
				type = LPD_3 #Izumo-class
				creator = "JAP"
				version_name = "Izumo-class"
			}
			requested_factories = 1
			progress = 0.96
			efficiency = 100
		}
		add_equipment_production = {
			equipment = {
				type = missile_destroyer_3 #Izumo-class
				creator = "JAP"
				version_name = "Improved Atago-Class"
			}
			requested_factories = 2
			progress = 0.40
			efficiency = 100
		}
	}

	# add_equipment_production = { # idk
	# 	equipment = {
	# 		type = MBT_5 #Type 10
	# 		creator = "JAP"
	# 	}
	# 	requested_factories = 2
	# 	progress = 0.1
	# 	efficiency = 50
	# }
	add_equipment_production = {
		equipment = {
			type = Rec_tank_3 #Type 16
			creator = "JAP"
		}
		requested_factories = 2
		progress = 0.1
		efficiency = 50
	}
	add_equipment_production = {
		equipment = {
			type = MR_Fighter4 #F-35
			creator = "USA"
		}
		requested_factories = 3
		progress = 0.1
		efficiency = 50
	}
	add_equipment_production = {
		equipment = {
			type = naval_plane4 #Kawasaki P-1
			creator = "JAP"
		}
		requested_factories = 3
		progress = 0.1
		efficiency = 50
	}
}