division_template = {
	name = "División de Infanteria"			# Infantry Division - All cadres at the military district level with reserves called up to division strength 
	division_names_group = SPAN_INF_02

	regiments = {
		infantry = { x = 0 y = 0 }
		infantry = { x = 0 y = 1 }
		infantry = { x = 0 y = 2 }
		infantry = { x = 1 y = 0 }
		infantry = { x = 1 y = 1 }
		infantry = { x = 1 y = 2 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
	}
	support = {
       	artillery = { x = 0 y = 0 }
	 	engineer = { x = 0 y = 1 }
	}
}
division_template = {
	name = "División de Caballería"  		# Cavalry Division
	division_names_group = SPAN_CAV_01

	regiments = {
		cavalry = { x = 0 y = 0 }
		cavalry = { x = 0 y = 1 }
		cavalry = { x = 0 y = 2 }
		cavalry = { x = 1 y = 0 }
		cavalry = { x = 1 y = 1 }
		cavalry = { x = 1 y = 2 }
		cavalry = { x = 2 y = 0 }
		cavalry = { x = 2 y = 1 }
		cavalry = { x = 2 y = 2 }
	}
	support = {
       	recon = { x = 0 y = 0 }
	}
}
division_template = {
	name = "Regimiento Escolta Presidencial"		
	division_names_group = SPAN_INF_01
	template_counter = 84
	regiments = {
		infantry = { x = 0 y = 0 }
		infantry = { x = 0 y = 1 }
		cavalry = { x = 1 y = 0 }
		cavalry = { x = 1 y = 1 }
	}
}
division_template = {
	name = "Regimiento de Carabineros"		
	division_names_group = SPAN_INF_02
	template_counter = 81
	regiments = {
		militia = { x = 0 y = 0 }
		militia = { x = 0 y = 1 }
		militia = { x = 1 y = 0 }
		militia = { x = 1 y = 1 }
		militia = { x = 2 y = 0 }
		militia = { x = 2 y = 1 }
	}
}
division_template = {
	name = "Cuerpo de Gendarmería de Prisiones"		
	division_names_group = SPAN_INF_01
	template_counter = 80
	regiments = {
		militia = { x = 0 y = 0 }
		militia = { x = 0 y = 1 }
		militia = { x = 1 y = 0 }
		militia = { x = 1 y = 1 }
	}
}

units = {
	##### Ejército de Chile #####
	division = {	# "1era División del Ejercito"
		division_name = {
			is_name_ordered = yes
			name_order = 1
		}
		location = 8222 # Valparaiso
		division_template = "División de Infanteria"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	division = {	# "2da División del Ejercito"
		division_name = {
			is_name_ordered = yes
			name_order = 2
		}
		location = 12994 # Antofagasta
		division_template = "División de Infanteria"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	division = {	# "3era División del Ejercito"
		division_name = {
			is_name_ordered = yes
			name_order = 3
		}
		location = 5121 # Temuco
		division_template = "División de Infanteria"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	division = {	
		name = "División de Caballería"
		location = 8194 # Coquimbo
		division_template = "División de Caballería"
		start_experience_factor = 0.1
		start_equipment_factor = 0.3

	}

	division = {	
		name = "Regimiento Escolta Presidencial N.1 Granaderos"
		location = 650 # Santiago
		division_template = "Regimiento Escolta Presidencial"
		start_experience_factor = 0.1
		start_equipment_factor = 1.0

	}

	division = {	
		name = "5a Regimiento de Carabineros"
		location = 5131 # Arica
		division_template = "Regimiento de Carabineros"
		start_experience_factor = 0.1
		start_equipment_factor = 0.5

	}

	division = {	
		name = "Cuerpo de Gendarmería 1a Bulnes Battalion"
		location = 5169 # Puerto Montt
		division_template = "Cuerpo de Gendarmería de Prisiones"
		start_experience_factor = 0.1
		start_equipment_factor = 0.2

	}
	
}

instant_effect = {
	add_equipment_production = {
		equipment = {
			type = infantry_equipment_1
			creator = CHL
		}
		requested_factories = 1
		progress = 0.82
		efficiency = 100
		industrial_manufacturer = mio:CHL_famae_organization
	}
}
