technologies = {
	### GERMAN TANK NAMES IN COMMENTS SO YOU CAN FIND STUFF MORE EASILY
	gwtank = { #Leichttraktor

		enable_equipments = {
			gw_tank_equipment

		}
		enable_subunits = {
			light_armor

		}
		on_research_complete_limit = {
			NOT = {	has_template_containing_unit = light_armor }
			NOT = {	has_template_containing_unit = heavy_armor }
			NOT = {	has_template_containing_unit = medium_armor }
		}
		on_research_complete = {
			hidden_effect = {
				if = {
					limit = {
						has_tech = motorised_infantry
					}

					load_oob = "unlock_tanks_mot"
				}
				if = {
					limit = {
						NOT = { has_tech = motorised_infantry }
					}

					load_oob = "unlock_tanks"
				}
			}

			custom_effect_tooltip = UNLOCK_DIVISION_TEMPLATE
		}

		path = {
			leads_to_tech = basic_light_tank
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = basic_heavy_tank
			research_cost_coeff = 1
		}

		research_cost = 260
		folder = {
			name = armour_folder
			position = { x = 0 y = 0 }
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				is_major = yes
			}

			modifier = {
				factor = 1.2
				date > "1937.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1938.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1939.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_light_armor
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_light_tank = { #Panzer I

		enable_equipments = {
			light_tank_equipment_1
		}
		enable_subunits = {
			light_armor
		}

		on_research_complete_limit = {
			NOT = {	has_template_containing_unit = light_armor }
			NOT = {	has_template_containing_unit = heavy_armor }
			NOT = {	has_template_containing_unit = medium_armor }
		}
		on_research_complete = {
			hidden_effect = {
				if = {
					limit = {
						has_tech = motorised_infantry
					}

					load_oob = "unlock_tanks_mot"
				}
				if = {
					limit = {
						NOT = { has_tech = motorised_infantry }
					}

					load_oob = "unlock_tanks"
				}
			}

			custom_effect_tooltip = UNLOCK_DIVISION_TEMPLATE
		}

		path = {
			leads_to_tech = improved_light_tank
			research_cost_coeff = 1
		}

		research_cost = 260
		folder = {
			name = armour_folder
			position = { x = -4 y = 2 }
		}

		sub_technologies = {
			basic_light_td
			basic_light_art
			basic_light_spaa
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				is_major = yes
			}

			modifier = {
				factor = 1.1
				date > "1937.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1938.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1939.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_light_armor
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_light_td = {

		enable_equipments = {
			light_tank_destroyer_equipment_1
		}
		enable_subunits = {
			light_tank_destroyer_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 100
				has_war = yes
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 25
						}
					}
				}
			}
			modifier = {
				has_template_containing_unit = light_tank_destroyer_brigade
				factor = 2
			}
			modifier = {
				num_of_military_factories > 50
				num_of_military_factories < 120
				factor = 2
			}

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_light_td
					can_research = improved_light_td
					is_researching_technology = improved_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_light_art = {

		enable_equipments = {
			light_tank_artillery_equipment_1
		}
		enable_subunits = {
			light_sp_artillery_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0.25
			modifier = {
				has_template_containing_unit = light_sp_artillery_brigade
				add = 2
			}
			modifier = {
				factor = 0
				OR = {
					has_tech = improved_light_art
					can_research = improved_light_art
					is_researching_technology = improved_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_light_spaa = {

		enable_equipments = {
			light_tank_aa_equipment_1
		}
		enable_subunits = {
			light_sp_anti_air_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0
			modifier = {
				is_major = yes
				add = 0.25
			}
			modifier = {
				factor = 0
				OR = {
					has_tech = improved_light_spaa
					can_research = improved_light_spaa
					is_researching_technology = improved_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_light_tank = { #Panzer II

		enable_equipments = {
			light_tank_equipment_2
		}

		path = {
			leads_to_tech = advanced_light_tank
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = amphibious_tank
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = basic_medium_tank
			research_cost_coeff = 1
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = -4 y = 4 }
		}

		sub_technologies = {
			improved_light_td
			improved_light_art
			improved_light_spaa
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 1.1
				date > "1937.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1938.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1939.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_light_armor
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_light_td = {

		enable_equipments = {
			light_tank_destroyer_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				add = 120
				has_war = yes
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 27
						}
					}
				}
			}
			modifier = {
				has_template_containing_unit = light_tank_destroyer_brigade
				add = 2
			}
			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_light_td
					can_research = advanced_light_td
					is_researching_technology = advanced_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_light_art = {

		enable_equipments = {
			light_tank_artillery_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				has_template_containing_unit = light_sp_artillery_brigade
				add = 2
			}

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_light_art
					can_research = advanced_light_art
					is_researching_technology = advanced_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_light_spaa = {

		enable_equipments = {
			light_tank_aa_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_light_spaa
					can_research = advanced_light_spaa
					is_researching_technology = advanced_light_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	amphibious_tank = { #SchwimmPanzer II

		enable_equipments = {
			amphibious_tank_equipment_1
		}

		enable_subunits = {
			amphibious_armor
		}

		path = {
			leads_to_tech = amphibious_tank_2
			research_cost_coeff = 1
		}

		allow_branch = {
			has_dlc = "Man the Guns"
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = -8 y = 7 }
		}

		ai_will_do = {
			base = 0.5
			modifier = {
				not = {
					any_controlled_state = {
						is_coastal = yes
					}
				}
				factor = 0
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			tp_tech
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	amphibious_tank_2 = { #tauchPanzer III

		enable_equipments = {
			amphibious_tank_equipment_2
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = -8 y = 9 }
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 2
				is_major = yes
			}
			modifier = {
				factor = 2
			}
			modifier = {
				not = {
					any_controlled_state = {
						is_coastal = yes
					}
				}
				factor = 0
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			tp_tech
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_light_tank = { #Leopard

		enable_equipments = {
			light_tank_equipment_3
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = -4 y = 8 }
		}

		sub_technologies = {
			advanced_light_td
			advanced_light_art
			advanced_light_spaa
		}

		ai_will_do = {
			base = 0.5
			modifier = {
				is_major = no
				factor = 2
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1943.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_light_armor
			mio_cat_tech_light_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	advanced_light_td = {

		enable_equipments = {
			light_tank_destroyer_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				add = 130
				has_war = yes
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 27
						}
					}
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_light_art = {

		enable_equipments = {
			light_tank_artillery_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 0.1
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_light_spaa = {

		enable_equipments = {
			light_tank_aa_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 0
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_light_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_medium_tank = { #Panzer III

		enable_equipments = {
			medium_tank_equipment_1
		}

		enable_subunits = {
			medium_armor
		}

		path = {
			leads_to_tech = improved_medium_tank
			research_cost_coeff = 1
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = 0 y = 6 }
		}

		sub_technologies = {
			basic_medium_td
			basic_medium_art
			basic_medium_spaa
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 1.1
				date > "1940.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1941.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_medium_armor
			mio_cat_tech_medium_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	basic_medium_td = {

		enable_equipments = {
			medium_tank_destroyer_equipment_1
		}

		enable_subunits = {
			medium_tank_destroyer_brigade
		}

		research_cost = 80


		ai_will_do = {
			base = 0

			modifier = {
				add = 140
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 30
						}
					}
				}
			}

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_medium_td
					can_research = improved_medium_td
					is_researching_technology = improved_medium_tank
				}
			}

			modifier = {
				factor = 1.1
				date > "1940.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1941.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_medium_art = {

		enable_equipments = {
			medium_tank_artillery_equipment_1
		}

		enable_subunits = {
			medium_sp_artillery_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_medium_art
					can_research = improved_medium_art
					is_researching_technology = improved_medium_tank
				}
			}

			modifier = {
				factor = 1.1
				date > "1940.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1941.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_medium_spaa = {

		enable_equipments = {
			medium_tank_aa_equipment_1
		}

		enable_subunits = {
			medium_sp_anti_air_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_medium_spaa
					can_research = improved_medium_spaa
					is_researching_technology = improved_medium_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_medium_tank = { #Panzer IV

		enable_equipments = {
			medium_tank_equipment_2
		}

		path = {
			leads_to_tech = advanced_medium_tank
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = improved_heavy_tank
			research_cost_coeff = 0.9
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = 0 y = 8 }
		}

		sub_technologies = {
			improved_medium_td
			improved_medium_art
			improved_medium_spaa
		}

		ai_will_do = {
			base = 3

			modifier = {
				factor = 2
				is_major = yes
			}
			modifier = {
				date < "1941.1.1"
				factor = 0.3
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1943.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_medium_armor
			mio_cat_tech_medium_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	improved_medium_td = {

		enable_equipments = {
			medium_tank_destroyer_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				add = 150
				has_war = yes
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 32
						}
					}
				}
			}
			modifier = {
				has_template_containing_unit = medium_tank_destroyer_brigade
				factor = 3
			}

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_medium_td
					can_research = advanced_medium_td
					is_researching_technology = advanced_medium_tank
				}
			}

			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1943.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_medium_art = {

		enable_equipments = {
			medium_tank_artillery_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_medium_art
					can_research = advanced_medium_art
					is_researching_technology = advanced_medium_tank
				}
			}
			modifier = {
				has_template_containing_unit = medium_sp_artillery_brigade
				factor = 3
			}
			modifier = {
				factor = 1.1
				date > "1942.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1943.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_medium_spaa = {

		enable_equipments = {
			medium_tank_aa_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_medium_spaa
					can_research = advanced_medium_spaa
					is_researching_technology = advanced_medium_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_medium_tank = { #Panther

		enable_equipments = {
			medium_tank_equipment_3
		}

		path = {
			leads_to_tech = main_battle_tank
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = advanced_heavy_tank
			research_cost_coeff = 0.9
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = 0 y = 10 }
		}

		sub_technologies = {
			advanced_medium_td
			advanced_medium_art
			advanced_medium_spaa
		}


		ai_will_do = {
			base = 1

			modifier = {
				factor = 1.2
				date > "1944.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1946.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_medium_armor
			mio_cat_tech_medium_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	advanced_medium_td = {

		enable_equipments = {
			medium_tank_destroyer_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				add = 160
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 35
						}
					}
				}
			}

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_td
					can_research = modern_td
					is_researching_technology = main_battle_tank
				}
			}
			modifier = {
				has_template_containing_unit = medium_tank_destroyer_brigade
				factor = 3
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1945.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1946.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_medium_art = {

		enable_equipments = {
			medium_tank_artillery_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_art
					can_research = modern_art
					is_researching_technology = main_battle_tank
				}
			}
			modifier = {
				has_template_containing_unit = medium_sp_artillery_brigade
				factor = 3
			}

			modifier = {
				factor = 1.1
				date > "1944.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1945.1.1"
			}

			modifier = {
				factor = 1.1
				date > "1946.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_medium_spaa = {

		enable_equipments = {
			medium_tank_aa_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_spaa
					can_research = modern_spaa
					is_researching_technology = main_battle_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	main_battle_tank = { #E-50

		enable_equipments = {
			modern_tank_equipment_1
		}
		enable_subunits = {
			modern_armor
		}

		research_cost = 320

		folder = {
			name = armour_folder
			position = { x = 2 y = 12 }
		}

		sub_technologies = {
			modern_td
			modern_art
			modern_spaa
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				date > "1946.1.1"
			}

			modifier = {
				factor = 2
				date > "1947.1.1"
			}

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_medium_armor
			mio_cat_tech_medium_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	modern_td = {

		enable_equipments = {
			modern_tank_destroyer_equipment_1
		}

		enable_subunits = {
			modern_tank_destroyer_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				date > "1946.1.1"
			}

			modifier = {
				factor = 2
				date > "1947.1.1"
			}

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	modern_art = {

		enable_equipments = {
			modern_tank_artillery_equipment_1
		}

		enable_subunits = {
			modern_sp_artillery_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				date > "1946.1.1"
			}

			modifier = {
				factor = 2
				date > "1947.1.1"
			}

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	modern_spaa = {

		enable_equipments = {
			modern_tank_aa_equipment_1
		}

		enable_subunits = {
			modern_sp_anti_air_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_medium_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_heavy_tank = { #Grosstraktor

		enable_equipments = {
			heavy_tank_equipment_1
		}

		enable_subunits = {
			heavy_armor
		}

		on_research_complete_limit = {
			NOT = {	has_template_containing_unit = light_armor }
			NOT = {	has_template_containing_unit = heavy_armor }
			NOT = {	has_template_containing_unit = medium_armor }
		}
		on_research_complete = {
			hidden_effect = {
				if = {
					limit = {
						has_tech = motorised_infantry
					}

					load_oob = "unlock_tanks_mot"
				}
				if = {
					limit = {
						NOT = { has_tech = motorised_infantry }
					}

					load_oob = "unlock_tanks"
				}
			}

			custom_effect_tooltip = UNLOCK_DIVISION_TEMPLATE
		}

		path = {
			leads_to_tech = improved_heavy_tank
			research_cost_coeff = 1
		}

		research_cost = 260

		folder = {
			name = armour_folder
			position = { x = 4 y = 2 }
		}

		sub_technologies = {
			basic_heavy_td
			basic_heavy_art
			basic_heavy_spaa
		}

		ai_will_do = {
			base = 0.8

			modifier = {
				factor = 1.2
				date > "1937.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1938.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1939.1.1"
			}
			modifier = {
				factor = 0
				OR = {
					can_research = improved_heavy_tank
					has_tech = improved_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_heavy_armor
			mio_cat_tech_heavy_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	basic_heavy_td = {

		enable_equipments = {
			heavy_tank_destroyer_equipment_1
		}

		enable_subunits = {
			heavy_tank_destroyer_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_heavy_td
					can_research = improved_heavy_td
					is_researching_technology = improved_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	basic_heavy_art = {

		enable_equipments = {
			heavy_tank_artillery_equipment_1
		}

		enable_subunits = {
			heavy_sp_artillery_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_heavy_art
					can_research = improved_heavy_art
					is_researching_technology = improved_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}


	basic_heavy_spaa = {

		enable_equipments = {
			heavy_tank_aa_equipment_1
		}
		enable_subunits = {
			heavy_sp_anti_air_brigade
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = improved_heavy_spaa
					can_research = improved_heavy_spaa
					is_researching_technology = improved_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_heavy_tank = { #Tiger

		enable_equipments = {
			heavy_tank_equipment_2
		}

		path = {
			leads_to_tech = advanced_heavy_tank
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = improved_medium_tank
			research_cost_coeff = 0.9
		}

		path = {
			leads_to_tech = super_heavy_tank
			research_cost_coeff = 1
		}

		research_cost = 320

		folder = {
			name = armour_folder
			position = { x = 4 y = 8 }
		}

		sub_technologies = {
			improved_heavy_td
			improved_heavy_art
			improved_heavy_spaa
		}

		ai_will_do = {
			base = 0.8

			modifier = {
				factor = 1.2
				date > "1942.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1943.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1944.1.1"
			}

			modifier = {
				factor = 0
				OR = {
					can_research = advanced_heavy_tank
					has_tech = advanced_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_heavy_armor
			mio_cat_tech_heavy_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	improved_heavy_td = {

		enable_equipments = {
			heavy_tank_destroyer_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_heavy_td
					can_research = advanced_heavy_td
					is_researching_technology = advanced_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	improved_heavy_art = {

		enable_equipments = {
			heavy_tank_artillery_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_heavy_art
					can_research = advanced_heavy_art
					is_researching_technology = advanced_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}


	improved_heavy_spaa = {

		enable_equipments = {
			heavy_tank_aa_equipment_2
		}

		research_cost = 80

		ai_will_do = {
			base = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = advanced_heavy_spaa
					can_research = advanced_heavy_spaa
					is_researching_technology = advanced_heavy_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_heavy_tank = { #King Tiger

		enable_equipments = {
			heavy_tank_equipment_3
		}

		path = {
			leads_to_tech = main_battle_tank
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = advanced_medium_tank
			research_cost_coeff = 0.9
		}

		research_cost = 320

		folder = {
			name = armour_folder
			position = { x = 4 y = 10 }
		}

		sub_technologies = {
			advanced_heavy_td
			advanced_heavy_art
			advanced_heavy_spaa
		}

		ai_will_do = {
			base = 0.8

			modifier = {
				factor = 1.2
				date > "1944.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}

			modifier = {
				factor = 1.2
				date > "1946.1.1"
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_heavy_armor
			mio_cat_tech_heavy_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	advanced_heavy_td = {

		enable_equipments = {
			heavy_tank_destroyer_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			factor = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_td
					can_research = modern_td
					is_researching_technology = main_battle_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_heavy_art = {

		enable_equipments = {
			heavy_tank_artillery_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			factor = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_art
					can_research = modern_art
					is_researching_technology = main_battle_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	advanced_heavy_spaa = {

		enable_equipments = {
			heavy_tank_aa_equipment_3
		}

		research_cost = 80

		ai_will_do = {
			factor = 0

			modifier = {
				factor = 0
				OR = {
					has_tech = modern_spaa
					can_research = modern_spaa
					is_researching_technology = main_battle_tank
				}
			}
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	super_heavy_tank = { #Maus

		path = {
			leads_to_tech = sp_armored_lc_high_impact_obliterator_cannon_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_lc_naval_engine_conversion_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_lc_transmission_improvements_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_lc_specialized_field_manuals_tech
			research_cost_coeff = 1
		}

		enable_equipments = {
			super_heavy_tank_equipment_1
		}

		enable_subunits = {
			super_heavy_armor
		}

		on_research_complete = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = {
					localization_key = SP_UNLOCK_PROJECT
					PROJECT = sp_land_land_cruiser
				}
			}
		}

		research_cost = 360
		folder = {
			name = armour_folder
			position = { x = 9 y = 8 }
		}

		sub_technologies = {
			super_heavy_td
			super_heavy_art
			super_heavy_spaa
		}

		ai_will_do = {
			factor = 0 # Hitler cries on the inside
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			cat_heavy_armor
			mio_cat_tech_heavy_armor_and_modules
		}
		special_project_specialization = { specialization_land }
	}

	super_heavy_td = {

		enable_equipments = {
			super_heavy_tank_destroyer_equipment_1
		}

		enable_subunits = {
			super_heavy_tank_destroyer_brigade
		}

		research_cost = 80

		ai_will_do = {
			factor = 0
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	super_heavy_art = {

		enable_equipments = {
			super_heavy_tank_artillery_equipment_1
		}

		enable_subunits = {
			super_heavy_sp_artillery_brigade
		}

		research_cost = 80

		ai_will_do = {
			factor = 0
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}

	super_heavy_spaa = {

		enable_equipments = {
			super_heavy_tank_aa_equipment_1
		}
		enable_subunits = {
			super_heavy_sp_anti_air_brigade
		}

		research_cost = 80

		ai_will_do = {
			factor = 0
		}

		categories = {
			armor
			mio_cat_tech_all_armor_and_modules
			mio_cat_tech_heavy_armor_and_modules
		}

		special_project_specialization = { specialization_land }
	}
	
	mountain_tanks = {

		research_cost = 1

		# only from focus!!! ##### If changed also remember to change mountain_tanks_tt 
		allow = {
			always = no
		}

		light_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		light_tank_destroyer_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		light_sp_artillery_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		light_sp_anti_air_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		amphibious_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		medium_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		medium_tank_destroyer_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		medium_sp_artillery_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		medium_sp_anti_air_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		modern_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		modern_tank_destroyer_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		modern_sp_artillery_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		modern_sp_anti_air_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		heavy_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		heavy_tank_destroyer_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		heavy_sp_artillery_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		heavy_sp_anti_air_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		super_heavy_armor = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		super_heavy_tank_destroyer_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		super_heavy_sp_artillery_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}

		super_heavy_sp_anti_air_brigade = {
			mountain = {
				attack = 0.15
				movement = 0.15 
			}
		}


		categories = {
			cat_anti_tank
			artillery
			mio_cat_all_artillery_equipment
		}
	}
	
}
