﻿division_template = {
	name = "Infantry Division"

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

	}
}


units = {

	division = {
		name = "778th Division"
		location = 140
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "772nd Division"
		location = 140
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "775th Division"
		location = 140
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "248th Division"
		location = 4210
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "518th Division"
		location = 138
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

  division = {
		name = "318th Division"
		location = 138
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "418th Division"
		location = 138
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}
  division = {
		name = "468th Division"
		location = 138
		division_template = "Infantry Division"
		start_experience_factor = 0.1
		start_equipment_factor = 0.01
	}

}

instant_effect = {

	add_equipment_to_stockpile = {
		type = infantry_weapons1		#M16A1
		amount = 500
		producer = USA
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons3		#QBZ-97
		amount = 500
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons4		#QBZ-03
		amount = 500
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons		#Type 56
		amount = 2500
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = infantry_weapons1		#Type 81
		amount = 6500
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_0
		amount = 900
		producer = CHI
	}
	add_equipment_to_stockpile = {
		type = Anti_tank_1	 #HJ-8
		amount = 400
		producer = CHI
	}
	add_equipment_to_stockpile = { #HN-5N
		type = Anti_Air_0
		amount = 900
		producer = CHI
	}
	add_equipment_to_stockpile = { #FN-6
		type = Anti_Air_1
		amount = 500
		producer = CHI
	}
	add_equipment_to_stockpile = { #PTL-02
		type = APC_3
		amount = 12
		producer = CHI
	}
	add_equipment_to_stockpile = { #EQ2050
		type = util_vehicle_3
		amount = 150
		producer = CHI
	}

	if = {
		limit = { has_dlc = "Death or Dishonor" }
		CHI = {
			create_production_license = {
				target = WAA
				equipment = {
					type = infantry_weapons1		#type 81
				}
				cost_factor = 0
			}
		}
		else = {
			add_equipment_production = {
				equipment = {
					type = infantry_weapons1
					creator = "CHI"
				}
				requested_factories = 1
				progress = 0.2
				efficiency = 50
			}
		}
	}

}
