technologies = {

	@1918 = 0
	@1936 = 2
	@1938 = 4
	@1939 = 6
	@1940 = 8
	@1941 = 8
	@1942 = 10
	@1943 = 12
	@1944 = 14
	@1945 = 14
	@1946 = 15
	@1949 = 18
	@1953 = 22
	@1957 = 26
	@1961 = 30

	@field_hospital_x = 9 #it is actually Y :D
	@logistic_x = 11 #it is actually Y :D
	@signal_x = 14 #it is actually Y :D


	tech_support = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipments = {
			support_equipment_1
		}
		path = {
			leads_to_tech = modern_field_med
			research_cost_coeff = 1
		}	
		path = {
			leads_to_tech = tech_engineers
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_recon
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_field_hospital
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_logistics_company
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_military_police
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_signal_company
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_maintenance_company
			research_cost_coeff = 1
		}
		research_cost = 1.0
		start_year = 1918
		folder = {
			name = support_folder
			position = { x = 0 y = @1918 }
		}

		categories = {
			support_tech
		}

		ai_will_do = {
			base = 2

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

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

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

			modifier = {
				factor = 6
				original_tag = CHI
				NOT = {
					has_dlc = "No Compromise, No Surrender"
				}
			}

		}
	}
	modern_field_med = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		attrition = -0.03 #take 10% less attrition losses

		research_cost = 1.0
		start_year = 1918
		folder = {
			name = support_folder
			position = { x = 2 y = @1918 }
		}
		categories = {	support_tech }
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 4
				date > "1932.1.1"
			}
			modifier = {
				factor = 4
				date > "1934.1.1"
			}
			modifier = {
				factor = 4
				date > "1936.1.1"
			}
		}
	}

	tech_engineers = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			engineer
		}

		path = {
			leads_to_tech = tech_engineers2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_engineer_tech
			research_cost_coeff = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = 0 y = @1936 }
		}

		categories = {
			support_tech
			engineers_tech
		}

		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

			modifier = {
				factor = 2
				date > "1939.1.1"
			}
			modifier = {
				factor = 10
				date > "1940.1.1"
			}

			modifier = {
				factor = 6
				original_tag = CHI
				NOT = {
					has_dlc = "No Compromise, No Surrender"
				}
			}
			
		}

		on_research_complete = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = {
					localization_key = SP_UNLOCK_PROJECT
					PROJECT = sp_land_flamethrower_tank
				}
			}

			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_PROJECT
				PROJECT = sp_land_military_engineering_vehicles
			}

			if = {
				limit = {
					original_tag = AFG
					has_dlc = "Graveyard of Empires"
					has_completed_focus = AFG_expand_quami_template
				}
				add_units_to_division_template = {
					template_name = "Pashtun Levy" 
					support = {
						engineer = 0 
					}
				}
			}
		}
	}

	tech_engineers2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			fort = {
				defence = 0.10
				attack = 0.10
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			fort = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			fort = {
				defence = 0.15
			}
		}

		enable_equipment_modules = {
			dozer_blade
			#flamethrower #MM: Moved to Special Project sp_land_flamethrower_tank
		}

		#enable_subunits = { #MM: Moved to Special Project sp_land_flamethrower_tank
		#	light_flame_tank
		#	medium_flame_tank
		#	heavy_flame_tank
		#}

		#on_research_complete = { #MM: Moved to Special Project sp_land_flamethrower_tank
		#	hidden_effect = {
		#		if = {
		#			limit = {
		#				has_dlc = "No Step Back"
		#				original_tag = ITA
		#				has_completed_focus = ITA_italian_tankettes
		#			}
		#			ITA_add_basic_light_flamethrower_template = yes
		#		}
		#	}
		#}

		path = {
			leads_to_tech = tech_engineers3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 0 y = @1939 }
		}

		categories = {
			support_tech
			engineers_tech
		}

		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

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

	tech_engineers3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipment_modules = {
			lc_obstacle_clearance_gear #Module for Land Cruiser
		}

		engineer = {
			entrenchment = 0.50
			river = {
				attack = 0.1
				defence = 0.10
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			river = {
				attack = 0.1
			}
		}

		armored_engineer = {
			entrenchment = 1
			river = {
				attack = 0.05
				defence = 0.05
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		path = {
			leads_to_tech = tech_engineers4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = 0 y = @1942 }
		}

		categories = {
			support_tech
			engineers_tech
		}

		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

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

	tech_engineers4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			urban = {
				attack = 0.1
				defence = 0.1
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			urban = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			urban = {
				defence = 0.15
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		path = {
			leads_to_tech = tech_engineers5
			research_cost_coeff = 1
		}		

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = 0 y = @1945 }
		}

		categories = {
			support_tech
			engineers_tech
		}

		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}
	}
	
	tech_engineers5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			urban = {
				attack = 0.1
				defence = 0.1
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			urban = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			urban = {
				defence = 0.15
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		path = {
			leads_to_tech = tech_engineers6
			research_cost_coeff = 1
		}		

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = 0 y = @1949 }
		}
		
		categories = {
			support_tech
			engineers_tech
		}
		
		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}	
	
	tech_engineers6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			urban = {
				attack = 0.1
				defence = 0.1
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			urban = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			urban = {
				defence = 0.15
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		path = {
			leads_to_tech = tech_engineers7
			research_cost_coeff = 1
		}		

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = 0 y = @1953 }
		}
		
		categories = {
			support_tech
			engineers_tech
		}
		
		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}	
	
	tech_engineers7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			urban = {
				attack = 0.1
				defence = 0.1
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			urban = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			urban = {
				defence = 0.15
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		path = {
			leads_to_tech = tech_engineers8
			research_cost_coeff = 1
		}		

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = 0 y = @1957 }
		}
		
		categories = {
			support_tech
			engineers_tech
		}
		
		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}	
	
	tech_engineers8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		engineer = {
			entrenchment = 0.50
			urban = {
				attack = 0.1
				defence = 0.1
			}
		}

		assault_engineer = {
			breakthrough = 0.1
			urban = {
				attack = 0.15
			}
		}

		armored_engineer = {
			entrenchment = 1
			urban = {
				defence = 0.15
				movement = 0.15
			}
		}

		light_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		medium_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
		heavy_flame_tank = {
			urban = {
				attack = 0.1
			}
			fort = {
				attack = 0.10
			}
		}
#		path = {
#			leads_to_tech = tech_engineers9
#			research_cost_coeff = 1
#		}		

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = 0 y = @1961 }
		}
		
		categories = {
			support_tech
			engineers_tech
		}
		
		ai_will_do = {
			base = 4

			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}	

	tech_recon = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			recon
			mot_recon
			armored_car_recon
			light_tank_recon
		}

		path = {
			leads_to_tech = tech_recon2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_helicopter_artillery_observers_tech
			research_cost_coeff = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = 2 y = @1936 }
		}

		categories = {
			support_tech
			recon_tech
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

			modifier = {
				factor = 2
				date > "1939.1.1"
			}
			modifier = {
				factor = 10
				date > "1940.1.1"
			}
		}
	}

	tech_recon2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

		path = {
			leads_to_tech = tech_recon3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 2 y = @1939 }
		}

		categories = {
			support_tech
			recon_tech
		}

		ai_will_do = {
			base = 1

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

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

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

	tech_recon3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

		helicopter_brigade = {
			recon = 2
		}

		path = {
			leads_to_tech = tech_recon4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = 2 y = @1942 }
		}

		categories = {
			support_tech
			recon_tech
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 2
				date > "1945.1.1"
			}
		}
	}
	
	tech_recon4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 2
		}

		path = {
			leads_to_tech = tech_recon5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = 2 y = @1945 }
		}

		categories = {
			support_tech
			recon_tech
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}
	}
	
	tech_recon5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

		helicopter_brigade = {
			recon = 2
		}

		path = {
			leads_to_tech = tech_recon6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = 2 y = @1949 }
		}
		
		categories = {
			support_tech
			recon_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_recon6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

		path = {
			leads_to_tech = tech_recon7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = 2 y = @1953 }
		}
		
		categories = {
			support_tech
			recon_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_recon7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

		helicopter_brigade = {
			recon = 2
		}

		path = {
			leads_to_tech = tech_recon8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = 2 y = @1957 }
		}
		
		categories = {
			support_tech
			recon_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_recon8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		category_recon = {
			recon = 2
		}

		helicopter_recon = {
			recon = 1
		}

#		path = {
#			leads_to_tech = tech_recon9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = 2 y = @1961 }
		}
		
		categories = {
			support_tech
			recon_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}

	tech_military_police = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			military_police
		}

		path = {
			leads_to_tech = tech_military_police2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_motorized_military_police_tech
			research_cost_coeff = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = 4 y = @1936 }
		}

		categories = {
			support_tech
			military_police_tech
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 5
				tag = GER
			}

			modifier = {
				factor = 10
				tag = GER

				POL = { has_capitulated = yes }
				GER = { has_war = yes }
			}

			modifier = {
				factor = 5
				tag = JAP
			}

			modifier = {
				factor = 2
				tag = ITA
			}

			modifier = {
				factor = 2
				tag = ENG
			}

			modifier = {
				factor = 2
				tag = USA
			}

			modifier = {
				factor = 2
				has_war = yes
			}
		}

		on_research_complete = {
			if = {
				limit = {
					original_tag = AFG
					has_dlc = "Graveyard of Empires"
					has_completed_focus = AFG_expand_quami_template
				}
				add_units_to_division_template = {
					template_name = "Pashtun Levy" 
					support = {
						military_police = 0 
					}
				}
			}
		}
	}

	tech_military_police2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 4 y = @1939 }
		}

		categories = {
			support_tech
			military_police_tech
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 2
				has_war = yes
			}
		}
	}

	tech_military_police3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = 4 y = @1942 }
		}

		categories = {
			support_tech
			military_police_tech
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 2
				has_war = yes
			}
		}
	}
	
	tech_military_police4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = 4 y = @1945 }
		}

		categories = {
			support_tech
			military_police_tech
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				factor = 2
				has_war = yes
			}
		}
	}

	tech_military_police5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = 4 y = @1949 }
		}
		
		categories = {
			support_tech
			military_police_tech
		}
		
		ai_will_do = {
			factor = 0.5
		}
	}
	
	tech_military_police6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = 4 y = @1953 }
		}
		
		categories = {
			support_tech
			military_police_tech
		}
		
		ai_will_do = {
			factor = 0.5
		}
	}
	
	tech_military_police7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_military_police8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = 4 y = @1957 }
		}
		
		categories = {
			support_tech
			military_police_tech
		}
		
		ai_will_do = {
			factor = 0.5
		}
	}
	
	tech_military_police8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		military_police = {
			suppression_factor = 0.1
		}

		motorized_military_police = {
			suppression_factor = 0.1
			battalion_mult = {
				category = category_vehicle_infantry
				default_morale = 0.05
			}
		}

#		path = {
#			leads_to_tech = tech_military_police9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = 4 y = @1961 }
		}
		
		categories = {
			support_tech
			military_police_tech
		}
		
		ai_will_do = {
			factor = 0.5
		}
	}

	camicie_nere_security_militias = {

		research_cost = 1

		# only from focus!!! #####
		allow = {
			always = no
		}

		military_police = {
			suppression_factor = 0.05
		}
	}

	camicie_nere_security_militias = {

		research_cost = 1

		# only from focus!!! #####
		allow = {
			always = no
		}

		military_police = {
			suppression_factor = 0.05
		}
	}

	tech_maintenance_company = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			maintenance_company
		}

		path = {
			leads_to_tech = tech_maintenance_company2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_maintenance_tech
			research_cost_coeff = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = 6 y = @1936 }
		}

		categories = {
			support_tech
			maintenance_company_tech
		}

		ai_will_do = {
			base = 1

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

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

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

	tech_maintenance_company2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

		enable_equipment_modules = {
			easy_maintenance
		}


		path = {
			leads_to_tech = tech_maintenance_company3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 6 y = @1939 }
		}

		categories = {
			support_tech
			maintenance_company_tech
		}

		ai_will_do = {
			base = 1

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

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

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

	tech_maintenance_company3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05

			battalion_mult = {
				category = category_all_armor
				equipment_capture_factor = 0.01
				add = yes
				display_as_percentage = yes
			}

		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03

			battalion_mult = {
				category = category_all_armor
				equipment_capture_factor = 0.02
				add = yes
				display_as_percentage = yes
			}

		}

		path = {
			leads_to_tech = tech_maintenance_company4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = 6 y = @1942 }
		}

		categories = {
			support_tech
			maintenance_company_tech
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}
		}
	}
	tech_maintenance_company4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

		path = {
			leads_to_tech = tech_maintenance_company5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = 6 y = @1945 }
		}

		categories = {
			support_tech
			maintenance_company_tech
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1948.1.1"
			}
		}
	}
	
	tech_maintenance_company5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

		path = {
			leads_to_tech = tech_maintenance_company6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = 6 y = @1949 }
		}
		
		categories = {
			support_tech
			maintenance_company_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_maintenance_company6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

		path = {
			leads_to_tech = tech_maintenance_company7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = 6 y = @1953 }
		}
		
		categories = {
			support_tech
			maintenance_company_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_maintenance_company7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

		path = {
			leads_to_tech = tech_maintenance_company8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = 6 y = @1957 }
		}
		
		categories = {
			support_tech
			maintenance_company_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_maintenance_company8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		maintenance_company = {
			reliability_factor = 0.05
			equipment_capture_factor = 0.05
		}

		armored_maintenance = {
			reliability_factor = 0.02
			recovery = 0.03
			equipment_capture_factor = 0.1
		}

#		path = {
#			leads_to_tech = tech_maintenance_company9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = 6 y = @1961 }
		}
		
		categories = {
			support_tech
			maintenance_company_tech
		}
		
		ai_will_do = {
			factor = 1
		}
	}

	tech_field_hospital = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			field_hospital
		}

		path = {
			leads_to_tech = tech_field_hospital2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_helicopter_med_evac_tech
			research_cost_coeff = 1
		}

		dependencies = {
			motorised_infantry = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1936 }
		}

		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

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

		on_research_complete = {
			if = {
				limit = {
					original_tag = AFG
					has_dlc = "Graveyard of Empires"
					has_completed_focus = AFG_expand_quami_template
				}
				add_units_to_division_template = {
					template_name = "Pashtun Levy" 
					support = {
						field_hospital = 0 
					}
				}
			}
		}
	}

	tech_field_hospital2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.10
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1939 }
		}

		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

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

	tech_field_hospital3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		helicopter_brigade = {
			casualty_trickleback = 0.15
			experience_loss_factor = -0.1

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1942 }
		}

		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}
		}
	}
	tech_field_hospital4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1945 }
		}

		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1948.1.1"
			}
		}
	}
	
	tech_field_hospital5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1949 }
		}
		
		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_field_hospital6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1953 }
		}
		
		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_field_hospital7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

		path = {
			leads_to_tech = tech_field_hospital8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1957 }
		}
		
		categories = {
			support_tech
			hospital_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_field_hospital8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		field_hospital = {
			casualty_trickleback = 0.1
			experience_loss_factor = -0.10
		}

		helicopter_field_hospital = {
			casualty_trickleback = 0.12
			experience_loss_factor = -0.08

			battalion_mult = {
				category = category_all_infantry
				default_morale = 0.05
			}
		}

#		path = {
#			leads_to_tech = tech_field_hospital9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = @field_hospital_x y = @1961 }
		}
		
		categories = {
			support_tech
			hospital_tech
			motorized_equipment
		}
		
		ai_will_do = {
			factor = 1
		}
	}


	SWI_saint_bernard_tech = { #Saint Bernard tech
		allow = { always = no } #Only obtained through Focus
		field_hospital = {
			casualty_trickleback = 0.20 ## REMEMBER TO UPDATE THE TOOLTIP
			experience_loss_factor = -0.3
		}
	}

	NORDIC_supportCollaboration_tech = { # For the Army Capston in the Nordic JFT
		allow = { always = no } #Only obtained through Focus
		category_support_battalions = {
			max_organisation = 10
			soft_attack = 0.25
			experience_loss_factor = 0.05
		}
	}

	tech_logistics_company = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			logistics_company
		}

		path = {
			leads_to_tech = tech_logistics_company2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_helicopter_transport_pods_tech
			research_cost_coeff = 1
		}

		dependencies = {
			motorised_infantry = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1936 }
		}

		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

			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 = 5
				date > "1940.1.1"
			}
		}
	}

	tech_logistics_company2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		helicopter_transport = {
			supply_consumption_factor = -0.12
		}

		path = {
			leads_to_tech = tech_logistics_company3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1939 }
		}

		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

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

			modifier = {
				factor = 2
				tag = GER
			}
		}
	}

	tech_logistics_company3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		helicopter_transport = {
			supply_consumption_factor = -0.12
		}

		helicopter_brigade = {
			supply_consumption_factor = -0.12
		}

		path = {
			leads_to_tech = tech_logistics_company4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1942 }
		}

		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 2
				date > "1945.1.1"
			}
		}
	}
	tech_logistics_company4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.1
			fuel_consumption_factor = -0.05
		}

		helicopter_transport = {
			supply_consumption_factor = -0.15
		}

		path = {
			leads_to_tech = tech_logistics_company5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1945 }
		}

		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 2
				date > "1948.1.1"
			}
		}
	}
	
	tech_logistics_company5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.05
			fuel_consumption_factor = -0.025
		}

		helicopter_transport = {
			supply_consumption_factor = -0.075
		}

		path = {
			leads_to_tech = tech_logistics_company6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1949 }
		}
		
		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_logistics_company6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.05
			fuel_consumption_factor = -0.025
		}

		helicopter_transport = {
			supply_consumption_factor = -0.075
		}

		path = {
			leads_to_tech = tech_logistics_company7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1953 }
		}
		
		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_logistics_company7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.05
			fuel_consumption_factor = -0.025
		}

		helicopter_transport = {
			supply_consumption_factor = -0.075
		}

		path = {
			leads_to_tech = tech_logistics_company8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1957 }
		}
		
		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_logistics_company8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		logistics_company = {
			supply_consumption_factor = -0.05
			fuel_consumption_factor = -0.025
		}

		helicopter_transport = {
			supply_consumption_factor = -0.075
		}

#		path = {
#			leads_to_tech = tech_logistics_company9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = @logistic_x y = @1961 }
		}
		
		categories = {
			support_tech
			logistics_tech
			motorized_equipment
			mio_cat_tech_all_motorized_mechanized
		}
		
		ai_will_do = {
			factor = 1
		}
	}


	tech_signal_company = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_subunits = {
			signal_company
		}

		path = {
			leads_to_tech = tech_signal_company2
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_armored_signal_tech
			research_cost_coeff = 1
		}

		dependencies = {
			radio = 1
			motorised_infantry = 1
		}

		research_cost = 1.25
		start_year = 1932
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1936 }
		}

		categories = {
			support_tech
			signal_company_tech
			electronics
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 5
				is_major = yes
				date > "1940.1.1"
			}
		}
	}

	tech_signal_company2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1939 }
		}

		categories = {
			support_tech
			signal_company_tech
			electronics
		}

		ai_will_do = {
			base = 1

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

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

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

	tech_signal_company3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company4
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1942 }
		}

		categories = {
			support_tech
			signal_company_tech
			electronics
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}
		}
	}
	
	tech_signal_company4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company5
			research_cost_coeff = 1
		}

		research_cost = 2.0
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1945 }
		}

		categories = {
			support_tech
			signal_company_tech
			electronics
		}

		ai_will_do = {
			base = 1

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

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

			modifier = {
				factor = 1.2
				date > "1948.1.1"
			}
		}
	}
	
	tech_signal_company5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company6
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1949 }
		}
		
		categories = {
			support_tech
			signal_company_tech
			electronics
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_signal_company6 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company7
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1953 }
		}
		
		categories = {
			support_tech
			signal_company_tech
			electronics
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_signal_company7 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

		path = {
			leads_to_tech = tech_signal_company8
			research_cost_coeff = 1
		}

		research_cost = 2
		start_year = 1957
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1957 }
		}
		
		categories = {
			support_tech
			signal_company_tech
			electronics
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
	tech_signal_company8 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		signal_company = {
			initiative = 0.12
		}

		armored_signal = {
			initiative = 0.08
			battalion_mult = {
				category = category_all_armor
				breakthrough = 0.01
			}
		}

#		path = {
#			leads_to_tech = tech_signal_company9
#			research_cost_coeff = 1
#		}

		research_cost = 2
		start_year = 1961
		folder = {
			name = support_folder
			position = { x = @signal_x y = @1961 }
		}
		
		categories = {
			support_tech
			signal_company_tech
			electronics
		}
		
		ai_will_do = {
			factor = 1
		}
	}

	basic_train = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipments = {
			train_equipment_1
		}

		research_cost = 1.5
		start_year = 1910
		folder = {
			name = support_folder
			position = { x = 0 y = @1918 }
		}

		path = {
			leads_to_tech = wartime_train
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = armored_train
			research_cost_coeff = 1
		}

		categories = {
			train_tech
		}

		ai_will_do = {
			base = 1
			modifier = {
				num_of_factories > 25
				factor = 100 #might wanna get on that
			}
			modifier = {
				factor = 1.2
				date > "1936.1.1"
			}

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

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

	railway_gun = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipments = {
			railway_gun_equipment_1
		}

		enable_equipment_modules = {
			lc_hull_mounted_railway_gun #Module for Land Cruiser
		}

		on_research_complete = {
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_PROJECT
				PROJECT = sp_land_super_heavy_railway_gun
			}
		}

		research_cost = 1.5
		start_year = 1936
		
		path = {
			leads_to_tech = sptech_land_super_heavy_railway_gun
			research_cost_coeff = 1
		}

		folder = {
			name = support_folder
			position = { x = 4 y = 3 }
		}

		categories = {
			train_tech
			artillery
		}

		ai_will_do = {
			base = 0.5

			modifier = {
				is_major = yes
				factor = 1
			}

			modifier = {
				OR = {
					TAG = GER
					tag = SOV
				}
				factor = 1.5
			}
		}
	}

	sptech_land_super_heavy_railway_gun = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_super_heavy_railway_gun
			}
		}
		is_special_project_tech = yes

		enable_equipments = {
			super_heavy_railway_gun_equipment_1
		}

		enable_subunits = {
			super_heavy_railway_gun
		}
		
		enable_equipment_modules = {
			lc_super_heavy_railway_gun
		}

		research_cost = 1.5

		folder = {
			name = support_folder
			position = { x = 4 y = @1939 }
		}

		categories = {
			train_tech
			artillery
		}

		ai_will_do = {
			factor = 0
		}
	}

	wartime_train = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipments = {
			train_equipment_2
		}

		path = {
			leads_to_tech = train_3
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 0 y = @1939 }
		}

		categories = {
			train_tech
		}

		ai_will_do = {
			base = 2

			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				factor = 1.2
				date > "1940.1.1"
			}

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

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

	train_3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50
		
		enable_equipments = {
			train_equipment_3_1
		}
		SUPPLY_CONSUMPTION_FACTOR = -0.03

		path = {
			leads_to_tech = train_4
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1944
		folder = {
			name = support_folder
			position = { x = 0 y = @1945 }
		}
		
		categories = {
			train_tech
		}
		
		ai_will_do = {
			factor = 2
			
			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				factor = 1.2
				date > "1946.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1947.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1948.1.1"
			}
		}
	}

	train_4 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50
		
		enable_equipments = {
			train_equipment_4
		}
		SUPPLY_CONSUMPTION_FACTOR = -0.03

		path = {
			leads_to_tech = train_5
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1953
		folder = {
			name = support_folder
			position = { x = 0 y = @1953 }
		}
		
		categories = {
			train_tech
		}
		
		ai_will_do = {
			factor = 2
			
			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				factor = 1.2
				date > "1954.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1955.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1956.1.1"
			}
		}
	}

	train_5 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50
		
		enable_equipments = {
			train_equipment_5
		}
		SUPPLY_CONSUMPTION_FACTOR = -0.03

		folder = {
			name = support_folder
			position = { x = 0 y = @1961 }
		}
		
		research_cost = 1.5
		start_year = 1961
		categories = {
			train_tech
		}
		
		ai_will_do = {
			factor = 2
			
			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				factor = 1.2
				date > "1962.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1963.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1964.1.1"
			}
		}
	}

	armored_train = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50

		enable_equipments = {
			train_equipment_3
		}

		allow_branch = {
			has_dlc = "No Step Back"
		}

		path = {
			leads_to_tech = railway_gun
			research_cost_coeff = 1
		}
		
		path = {
			leads_to_tech = armored_train_2
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1936
		folder = {
			name = support_folder
			position = { x = 2 y = 3 }
		}

		categories = {
			train_tech
		}

		ai_will_do = {
			base = 1

			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				tag = GER
				factor = 5
			}
			modifier = {
				factor = 1.2
				date > "1938.1.1"
			}

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

			modifier = {
				factor = 1.2
				date > "1940.1.1"
			}
		}
	}
	
	armored_train_2 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50
		
		enable_equipments = {
			armored_train_equipment_2
		}

		allow_branch = {
			has_dlc = "No Step Back"
		}

		path = {
			leads_to_tech = armored_train_3
			research_cost_coeff = 1
		}
		
		allow_branch = {
			has_dlc = "No Step Back"
		}
		
		research_cost = 1.5
		start_year = 1940
		folder = {
			name = support_folder
			position = { x = 2 y = @1942 }
		}
		
		categories = {
			train_tech
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				tag = GER
				factor = 5
			}
			modifier = {
				factor = 1.2
				date > "1944.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1945.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1946.1.1"
			}
		}
	}
	
	armored_train_3 = {
		xp_research_type = army
		xp_boost_cost = 50
		xp_research_bonus = 0.50
		
		enable_equipments = {
			armored_train_equipment_3
		}

		allow_branch = {
			has_dlc = "No Step Back"
		}

		path = {
			leads_to_tech = armored_train_3
			research_cost_coeff = 1
		}
		
		allow_branch = {
			has_dlc = "No Step Back"
		}
		
		research_cost = 1.5
		start_year = 1949
		folder = {
			name = support_folder
			position = { x = 2 y = @1949 }
		}
		
		categories = {
			train_tech
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				has_war = yes
				factor = 20
			}
			modifier = {
				tag = GER
				factor = 5
			}
			modifier = {
				factor = 1.2
				date > "1951.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1952.1.1"
			}
			
			modifier = {
				factor = 1.2
				date > "1953.1.1"
			}
		}
	}

	tech_recon_focus_bonus = { #gained from Help from the Nagas

		allow = {
			always = no
		}
		category_recon = {
			recon = 2
		}

		categories = {
			support_tech
			recon_tech
		}

		ai_will_do = {
			factor = 0
		}
	}


	### SPECIAL PROJECTS ###

	sp_armored_engineer_tech = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_military_engineering_vehicles
			}
		}

#		is_special_project_tech = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 1 y = @1938 }
		}

		categories = {
			support_tech
			engineers_tech
		}

		enable_subunits = {
			armored_engineer
		}

		on_research_complete = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				SP_create_variant_based_on_country_armored_engineer = yes
			}
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

	sp_armored_maintenance_tech = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_military_engineering_vehicles
			}
		}

#		is_special_project_tech = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 7 y = @1938 }
		}

		categories = {
			support_tech
			maintenance_company_tech
		}

		enable_subunits = {
			armored_maintenance
		}

		on_research_complete = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				SP_create_variant_based_on_country_armored_maintenance = yes
			}
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

	sp_armored_signal_tech = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_military_engineering_vehicles
			}
		}

#		is_special_project_tech = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 15 y = @1938 }
		}

		categories = {
			support_tech
			signal_company_tech
			electronics
		}

		enable_subunits = {
			armored_signal
		}

		enable_equipment_modules = { #This shouldn't show up without NSB OR GOT
			lc_command_center #Module for Land Cruiser
		}

		on_research_complete = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				SP_create_variant_based_on_country_armored_signal = yes
			}
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

	sp_helicopter_transport_pods_tech = {
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_air_helicopter
			}
		}

#		is_special_project_tech = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 12 y = @1938 }
		}

		categories = {
			support_tech
			logistics_tech
			helicopter_tech
		}

		enable_subunits = {
			helicopter_transport
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}

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

	sp_helicopter_artillery_observers_tech = {
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_air_helicopter
			}
		}

#		is_special_project_tech = yes

		enable_subunits = {
			helicopter_recon
		}

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 3 y = @1938 }
		}

		categories = {
			support_tech
			recon_tech
			helicopter_tech
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

	sp_helicopter_med_evac_tech = {
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_air_helicopter
			}
		}

#		is_special_project_tech = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 10 y = @1938 }
		}

		categories = {
			support_tech
			hospital_tech
			helicopter_tech
		}

		enable_subunits = {
			helicopter_field_hospital
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}

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

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

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

	sp_armored_motorized_military_police_tech = {
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_military_engineering_vehicles
			}
		}

#		is_special_project_tech = yes

		force_use_small_tech_layout = yes
		show_equipment_icon = yes

		research_cost = 2.0
		start_year = 1935
		folder = {
			name = support_folder
			position = { x = 5 y = @1938 }
		}

		categories = {
			support_tech
			military_police_tech
		}

		enable_subunits = {
			motorized_military_police
		}

		enable_equipments = {
			motorbike_equipment_1
		}

		ai_will_do = {
			base = 2

			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}

}
