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 = 2
		start_year = 379
		folder = {
			name = armour_folder
			position = { x = -1 y = 0 }
		}
		
		ai_will_do = {
			base = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
			
			modifier = {
				factor = 1.2
				date > "398.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "399.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "400.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 = 2
		start_year = 395
		folder = {
			name = armour_folder
			position = { x = -5 y = 2 }
		}
		
		ai_will_do = {
			base = 1
			
			modifier = {
				factor = 2
				is_major = yes
			}
			
			modifier = {
				factor = 1.1
				date > "398.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "399.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "400.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 = 0.5
		start_year = 395
		
		ai_will_do = {
			base = 0.5
			
			modifier = {
				factor = 100
				OR = {
					tag = GER
					tag = SOV
				}
				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 = 0.5
		start_year = 395
		
		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 = 0.5
		start_year = 395
		
		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 = basic_medium_tank
			research_cost_coeff = 1
		}
		
		research_cost = 2
		start_year = 397
		
		folder = {
			name = armour_folder
			position = { x = -5 y = 4 }
		}
		
		ai_will_do = {
			base = 1
			
			modifier = {
				factor = 2
				is_major = yes
				not = {
					tag = JAP
					num_of_military_factories < 50
				}
			}
			modifier = {
				is_major = yes
				not = { tag = JAP }
				has_war = yes
				factor = 10 #you are embarassing yourself
			}
			modifier = {
				tag = SOV
				factor = 3
			}
			
			modifier = {
				factor = 1.1
				date > "398.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "399.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "400.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 = 0.5
		start_year = 397
		
		ai_will_do = {
			base = 0

			modifier = {
				add = 120
				OR = {
					#tag = GER
					tag = SOV
				}
				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 = 0.5
		start_year = 397
		
		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 = 0.5
		start_year = 397
		
		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 }
	}
	
	advanced_light_tank = { #Leopard

		enable_equipments = {
			light_tank_equipment_3 
		}	
		
		research_cost = 2
		start_year = 402
		
		folder = {
			name = armour_folder
			position = { x = -5 y = 8 }
		}
		
		ai_will_do = {
			base = 0.5
			modifier = {
				is_major = no
				factor = 2
			}
			
			modifier = {
				factor = 1.1
				date > "403.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "404.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "405.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 = 0.5
		start_year = 402
		
		ai_will_do = {
			base = 0
			
			modifier = {
				add = 130
				OR = {
					#tag = GER
					tag = SOV
				}
				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 = 0.5
		start_year = 402
	
		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 = 0.5
		start_year = 402
		
		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 = 2
		start_year = 400

		folder = {
			name = armour_folder
			position = { x = -1 y = 6 }
		}

		ai_will_do = {
			base = 2
			
			modifier = {
				factor = 2
				is_major = yes
				not = {
					tag = JAP
					num_of_military_factories < 50
				}
				date > "399.1.1"
			}
			modifier = {
				tag = SOV
				factor = 1.5
			}
			modifier = {
				factor = 1.1
				date > "401.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "402.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "403.1.1"
			}
			
			modifier = {
				factor = 15.0
				tag = GER
				has_opinion_modifier = sov_ger_treaty
			}
		}
		
		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 = 0.5
		start_year = 400

		
		ai_will_do = {
			base = 0
			
			modifier = {
				add = 140
				OR = {
					#tag = GER
					tag = SOV
				}
				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 > "401.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "402.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "403.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 = 0.5
		start_year = 400
		
		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 > "401.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "402.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "403.1.1"
			}
			modifier = {
				factor = 100
				tag = Ger
			}
		}
		
		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 = 0.5
		start_year = 400
		
		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
				}
			}
			modifier = {
				factor = 0 # we dont use it
				tag = GER
			}
		}
		
		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 = 2
		start_year = 402
		
		folder = {
			name = armour_folder
			position = { x = -1 y = 8 }
		}
		
		ai_will_do = {
			base = 3
			
			modifier = {
				factor = 2
				is_major = yes
				not = {
					tag = JAP
					num_of_military_factories < 50
				}
			}
			modifier = {
				date < "402.1.1"
				factor = 0.3
			}
			modifier = {
				factor = 2
				tag = GER
			}
			
			modifier = {
				factor = 2
				tag = SOV
			}
			
			modifier = {
				factor = 1.1
				date > "403.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "404.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "405.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 = 0.5
		start_year = 402

		ai_will_do = {
			base = 0
			
			modifier = {
				add = 150
				OR = {
					#tag = GER
					tag = SOV
				}
				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 > "403.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "404.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "405.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 = 0.5
		start_year = 402
		
		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 > "403.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "404.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "405.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 = 0.5
		start_year = 402
		
		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
				}
			}
			modifier = {
				factor = 0 # we dont use it
				tag = GER
			}
		}
		
		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 = 2
		start_year = 404
		
		folder = {
			name = armour_folder
			position = { x = -1 y = 10 }
		}
		
		ai_will_do = {
			base = 1
			
			modifier = {
				factor = 1.2
				date > "405.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "406.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "407.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 = 0.5
		start_year = 404
		
		ai_will_do = {
			base = 1
			
			modifier = {
				add = 160
				OR = {
					tag = GER
					tag = SOV
				}
				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 > "405.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "406.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "407.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 = 0.5
		start_year = 404
		
		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 > "405.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "406.1.1"
			}
			
			modifier = {
				factor = 1.1
				date > "407.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 = 0.5
		start_year = 404
		
		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 }
	}
	
	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 = 2
		start_year = 395
		
		folder = {
			name = armour_folder
			position = { x = 3 y = 2 }
		}
		
		ai_will_do = {
			base = 0.8
			
			modifier = {
				factor = 1.2
				date > "398.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "399.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "400.1.1"
			}
			modifier = {
				tag = FRA
				factor = 3
			}
			modifier = {
				tag = JAP
				num_of_military_factories < 100
				factor = 0
			}
			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 = 0.5
		start_year = 395

		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 = 0.5
		start_year = 395
		
		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 = 0.5
		start_year = 395
		
		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 = 2.5
		start_year = 402
		
		folder = {
			name = armour_folder
			position = { x = 3 y = 8 }
		}
		
		ai_will_do = {
			base = 0.8
			modifier = {
				tag = JAP
				num_of_military_factories < 100
				factor = 0
			}
			modifier = {
				factor = 1.2
				date > "403.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "404.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "405.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 = 0.5
		start_year = 402
		
		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 = 0.5
		start_year = 402
		
		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 = 0.5
		start_year = 402
		
		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 = 2.5
		start_year = 404
		
		folder = {
			name = armour_folder
			position = { x = 3 y = 10 }
		}
		
		ai_will_do = {
			base = 0.8
			
			modifier = {
				factor = 1.2
				date > "405.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "406.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "407.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 = 0.5
		start_year = 404
		
		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 = 0.5
		start_year = 404
		
		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 = 0.5
		start_year = 404
		
		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 = 3
		start_year = 402
		folder = {
			name = armour_folder
			position = { x = 9 y = 8 }
		}
		
		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 = 0.5
		start_year = 404
		
		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 = 0.5
		start_year = 404
		
		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 = 0.5
		start_year = 404
		
		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 }
	}
	
}
