﻿division_template = {
	name = "Juntuán"		# Represents two-division infantry corps (generally poorly-equipped militias), and local militia groups
	division_names_group = XSM_INF_01

	regiments = {					
		infantry = { x = 0 y = 0 }	# Note: Chinese divisions were brigade-sized compared other nations' armies
		infantry = { x = 0 y = 1 }
		infantry = { x = 1 y = 0 }
		infantry = { x = 1 y = 1 }
	}

}
division_template = {
	name = "Qibing Jun"				# Represents two-division cavalry corps (generally poorly-equipped)
	division_names_group = XSM_CAV_01

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


units = {
	#Ma Clique units - 15 inf divisions, 6 cav divisions
	division = { # "80 Juntuán"
		division_name = {
			is_name_ordered = yes
			name_order = 80
		}
		location = 12846
		division_template = "Juntuán"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = { # "81 Juntuán"
		division_name = {
			is_name_ordered = yes
			name_order = 81
		}
		location = 1647
		division_template = "Juntuán"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = { # "82 Juntuán"
		division_name = {
			is_name_ordered = yes
			name_order = 82
		}
		location = 1933
		division_template = "Juntuán"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = { # "1 Ma Qibing Jun"
		division_name = {
			is_name_ordered = yes
			name_order = 1
		}
		location = 7911
		division_template = "Qibing Jun"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = { # "2 Ma Qibing Jun"
		division_name = {
			is_name_ordered = yes
			name_order = 2
		}
		location = 531
		division_template = "Qibing Jun"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = { # "3 Ma Qibing Jun"
		division_name = {
			is_name_ordered = yes
			name_order = 3
		}
		location = 12846
		division_template = "Qibing Jun"
		start_experience_factor = 0.1
		start_equipment_factor = 0.6

	}
	division = {
		name = "Golmud Jingbei"
		location = 12846
		division_template = "Juntuán"		# Provincial militia unit (poor equipment and training)
		start_equipment_factor = 0.3

	}
}

### STARTING PRODUCTION ###
instant_effect = {
	add_equipment_production = {
		equipment = {
			type = infantry_equipment_0
			creator = "XSM"
		}
		requested_factories = 1
		progress = 0.74
		efficiency = 100
	}
}