technologies = {
	# Years
		@1700 = -1
		@1800 = 2
		@1820 = 5
		@1840 = 8
		@1845 = 11
		@1850 = 14
		@1855 = 17
		@1860 =	20
		@1862 = 22
		@1864 = 24
		@1865 = 25
		@1866 = 27
		@1868 = 30
		@1870 = 32
		@1872 = 34
		@1874 = 36
		@1875 = 37
		@1876 = 38
		@1878 = 40
		@1880 = 42
		@1882 = 44
		@1885 = 46
		@1887 = 48
		@1890 = 50
		@1892 = 52
		@1893 = 54
		@1895 = 56
		@1898 = 58
		@1900 = 60
		@1902 = 62
		@1905 = 64
		@1909 = 66
		@1912 = 68
		@1914 = 70
		@1915 = 72
		@1916 = 74
		@1917 = 76
		@1918 = 78
		@1920 = 80
		@1924 = 82
		@1930 = 84
		@1936 = 86
		@1938 = 88
		@1939 = 90
		@1940 = 92
		@1941 = 94
		@1942 = 96
		@1943 = 98
		@1944 = 100
		@1945 = 102
		@1946 = 104
		@1947 = 106
		@1950 = 108
		@1952 = 110
		@1955 = 112
		@1956 = 114
		@1960 = 116
		@1966 = 118
		@1972 = 120
		@1975 = 122
		@1981 = 124
		@1987 = 126
		@1990 = 128
		@1993 = 130
		@1997 = 132
		@2000 = 134
		@2006 = 136
		@2010 = 138
		@2015 = 140
		@2020 = 142
		@2025 = 144
		@2028 = 146
		@2030 = 148
		@2035 = 150
		@2038 = 152
		@2040 = 154
		@2044 = 156
		@2048 = 158
		@2050 = 160
		@2054 = 162
		@2056 = 164
		@2060 = 166

	# General Y-Level Labeling
	# -2   -   Secondary Infantry Weapons
	# 0    -   Rifles Development
	# 2    -   Rifle Technology
	# 4    -   Infantry Armament
	# 6    -   Machine Guns
	# 10   -   Uniforms
	# 12   -   Infantry Protection
	# 14   -   Additional Equipment
	# 16   -   Cavalry
	# 18   -   Special Unit Equipment
	# 20   -   Elite Units
	# 22   -   Marines
	# 24   -   Mountaineers
	# 26   -   Shock Troops

################################
	#### Main Equipmentfeudal_infantry

	traditional_mixed_arms = {
		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_pike_and_shot_0
		}

		enable_subunits = {
			feudal_infantry
		}

		dependencies = {
			tribal_gunpowder = 1
		}

		path = {
			leads_to_tech = infantry_weapons
			research_cost_coeff = 1
		}

		research_cost = 0.1
		start_year = 1750
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1700 }
		}

		categories = {
			infantry_weapons
			# rifle_equipment_techs
		}

		ai_will_do = {
			base = 20
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				
				date < "1870.1.1"
			}
			modifier = {
				factor = 100
				date > "1875.1.1"
			}
		}

		ai_research_weights = {
			infantry_weapons = 1.0
		}
	}

	infantry_weapons = {
		enable_equipments = {
			infantry_equipment_rifle_0
		}

		allow = {
			OR = {
				has_idea = doctrine_victorian_army_1
				has_idea = law_trench_infantry
				has_idea = law_combined_arms
				has_idea = law_modern_army
				has_idea = law_digital_army
				has_idea = law_modern_war_army
				has_idea = law_futuristic_army
				custom_trigger_tooltip = {
					tooltip = has_institution_progress_innovation_40_tt
					check_variable = { ROOT.innovation_progress > 39 }
				}
			}
		}

		on_research_complete = {
			custom_effect_tooltip = eoanb_tt_infantry_weapons
		}

		supply_consumption_factor = 0.05

		enable_subunits = {
			line_infantry
			light_infantry
			irregular_infantry
			guard_infantry
		}

		enable_building = {
			building = bunker
			level = 3
		}

		enable_building = {
			building = coastal_bunker
			level = 3
		}

		path = {
			leads_to_tech = rifle_equipment1
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_flintlock_pistol
			research_cost_coeff = 1
		}
		
		path = {
			leads_to_tech = tech_infantry_practical_rifling
			research_cost_coeff = 1
		}

		research_cost = 0.3
		start_year = 1800
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1800 }
		}

		categories = {
			infantry_weapons
			# rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				
				date < "1870.1.1"
			}
			modifier = {
				factor = 100
				date > "1875.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 3.0
		}
	}

	rifle_equipment1 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_1
		}

		path = {
			leads_to_tech = rifle_equipment2
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_practical_rifling = 1
		}

		research_cost = 0.16
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1850 }
		}

		categories = {
			infantry_weapons
			# rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			# modifier = {
				# factor = 0
				# OR = {
					# NOT = { has_tech = tribal_tatics }
					# NOT = { has_tech = tribal_gunpowder }
					# NOT = { has_tech = tribal_riding }
					# NOT = { has_tech = tribal_steam_experiments }
					# NOT = { has_tech = tribal_forging }
					# NOT = { has_tech = tribal_artisan }
					# NOT = { has_tech = tribal_chemistry }
					# NOT = { has_tech = tribal_guilds_trade }
					# NOT = { has_tech = tribal_steel_tools }
					# NOT = { has_tech = tribal_electrical_theory }
					# NOT = { has_tech = tribal_carrier_birds }
					# NOT = { has_tech = tribal_crop_rotation }
					# NOT = { has_tech = tribal_salted_smoked_goods }
					# NOT = { has_tech = tribal_leching }
				# }
				# OR = { has_idea = oral_tradition has_idea = traditional_uluma }
				# OR = {
					# 
					# 
					# 
					# has_country_flag = Oceania_industrializing
				# }
			# }
		}
		ai_research_weights = {
			infantry_weapons = 1.6
		}
	}

	rifle_equipment2 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_2
		}

		path = {
			leads_to_tech = tech_infantry_breech_loading
			research_cost_coeff = 1
		}

		dependencies = {
			improved_matchlock = 1
		}

		research_cost = 0.16
		start_year = 1860
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1860}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
			factor = 0.5
				is_major = yes
				has_war = no
			}
			modifier = {
				factor = 0.25
				is_major = no
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1875.1.1"
			}
			modifier = {
				factor = 0.2
				date < "1860.1.1"
			}
			modifier = {
				factor = 3
				date > "1865.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.6
		}
	}

	improved_matchlock = {#Improved Percussion Cap

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.05
			breakthrough = 0.05
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.05
			breakthrough = 0.05
		}

		path = {
			leads_to_tech = rifle_equipment2
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1855
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1855 }
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1875.1.1"
			}
			modifier = {
				factor = 0.2
				date < "1864.1.1"
			}
			modifier = {
				factor = 3
				date > "1869.1.1"
			}
		}
	}

	rifle_equipment3 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_3
		}

		path = {
			leads_to_tech = needle_guns
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1866
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1866 }
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1875.1.1"
			}
			modifier = {
				factor = 0.2
				date < "1865.1.1"
			}
			modifier = {
				factor = 3
				date > "1870.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.6
		}
	}

	needle_guns = {

		category_all_infantry = {
			soft_attack = 0.02
			breakthrough = 0.04
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			breakthrough = 0.04
		}

		#What in tarnation is this? I didn't find any reference to this anywhere in our files - disabled it for now.- Londinium
		#enable_subunits = {
		#	united_infantry
		#}

		path = {
			leads_to_tech = rifle_equipment4
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_lever_acutators
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1870
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1870}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1875.1.1"
			}
			modifier = {
				factor = 0.2
				date < "1870.1.1"
			}
			modifier = {
				factor = 3
				date > "1875.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.4
		}
	}

	rifle_equipment4 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_4
		}

		path = {
			leads_to_tech = enhanced_firearm
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_lever_acutators = 1
		}

		research_cost = 0.16
		start_year = 1872
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1872}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1875.1.1"
			}
			modifier = {
				factor = 0.2
				date < "1875.1.1"
			}
			modifier = {
				factor = 3
				date > "1880.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.6
		}
	}
	enhanced_firearm = {

		category_all_infantry = {
			soft_attack = 0.02
			breakthrough = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = improved_ammunition
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1875
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1875}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			# modifier = {
				# factor = 0.8
				# has_war = no
			# }
			# modifier = {
				# factor = 1.5
				# has_war = yes
			# }
			# modifier = {
				# factor = 0
				# 
				# date < "1875.1.1"
			# }
			# modifier = {
				# factor = 0.2
				# date < "1872.1.1"
			# }
			modifier = {
				factor = 3
				date > "1877.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.4
		}
	}

	improved_ammunition = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		category_ranged_cavalry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = rifle_equipment5
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1878
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1878}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0.2
				date < "1878.1.1"
			}
			modifier = {
				factor = 3
				date > "1883.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.4
		}
	}

	rifle_equipment5 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_5
		}

		path = {
			leads_to_tech = reduced_recoil
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_bolt_action = 1
		}

		research_cost = 0.16
		start_year = 1882
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1882}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0.2
				date < "1882.1.1"
			}
			modifier = {
				factor = 3
				date > "1887.1.1"
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.6
		}
	}

	reduced_recoil = {

		category_all_infantry = {
			soft_attack = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment6
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1885}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0.2
				date < "1885.1.1"
			}
			modifier = {
				factor = 3
				date > "1890.1.1"
			}
		}
	}

	rifle_equipment6 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_6
		}

		path = {
			leads_to_tech = tech_infantry_early_small_magazines
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_streamlined_bolt_action = 1
		}

		research_cost = 0.16
		start_year = 1890
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1890}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > "1895.1.1"
			}
		}
	}

	tech_infantry_early_small_magazines = {

		category_all_infantry = {
			soft_attack = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_semi_auto_c93
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = rifle_equipment7
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_improved_magazine_design
			research_cost_coeff = 1
		}

		dependencies = {
			rifle_equipment6 = 1
			tech_infantry_mass_produced_clips = 1
		}

		research_cost = 0.14
		start_year = 1892
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1892}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > "1897.1.1"
			}
		}
	}

	rifle_equipment7 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_7
		}

		path = {
			leads_to_tech = tech_infantry_adopt_advanced_ammunition
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_improved_magazine_design = 1
		}

		research_cost = 0.16
		start_year = 1898
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1898}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > "1903.1.1"
			}
		}
	}

	tech_infantry_adopt_advanced_ammunition = {

		category_all_infantry = {
			soft_attack = 0.02
			hard_attack = 0.02
			breakthrough = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			hard_attack = 0.02
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment8
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1900}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > "1905.1.1"
			}
		}
	}

	rifle_equipment8 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_8
		}

		path = {
			leads_to_tech = tech_infantry_improved_infantry_equipment
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_improved_magazine_design = 1
		}

		research_cost = 0.16
		start_year = 1905
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1905}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > "1910.1.1"
			}
		}
	}

	tech_infantry_improved_infantry_equipment = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.04
		}

		enable_building = {
			building = trench
			level = 1
		}

		path = {
			leads_to_tech = rifle_equipment9
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_early_grenades
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1912}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > "1917.1.1"
			}
		}
	}

	rifle_equipment9 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_9
		}

		path = {
			leads_to_tech = tech_infantry_infantry_field_kits
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1914}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > "1919.1.1"
			}
		}
	}

	tech_infantry_infantry_field_kits = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
			hard_attack = 0.01
			defense = 0.05
		}

		enable_building = {
			building = trench
			level = 3
		}

		path = {
			leads_to_tech = tech_infantry_infantry_pistols
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_specialized_infantry_equipment
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1915}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1920.1.1
			}
		}
	}

	tech_infantry_specialized_infantry_equipment = {

		category_all_infantry = {
			soft_attack = 0.04
			defense = 0.04
		}

		category_ranged_cavalry = {
			soft_attack = 0.04
			defense = 0.04
		}

		enable_subunits = {
			great_war_infantry
		}

		dependencies = {
			tech_infantry_infantry_helmets = 1
		}

		path = {
			leads_to_tech = tech_infantry_trench_equipment
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_flamethrowers
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_anti_tank_rifle
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_smg_design
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = rifle_equipment10
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1916
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1916}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1921.1.1
			}
		}
	}

	rifle_equipment10 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_10
		}

		research_cost = 0.16
		start_year = 1917
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1917}
		}
		path = {
			leads_to_tech = tech_improved_infantry_equipment_3
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1922.1.1
			}
		}
	}
	tech_improved_infantry_equipment_3 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = tech_improved_infantry_equipment_4
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1920}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1925.1.1
			}
		}
	}
	tech_improved_infantry_equipment_4 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment11
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1924
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1924}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1929.1.1
			}
		}
	}
	rifle_equipment11 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_11
		}

		research_cost = 0.16
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1936}
		}
		path = {
			leads_to_tech = tech_advanced_infantry_equipment_1
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1941.1.1
			}
		}
	}
	tech_advanced_infantry_equipment_1 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment12
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1938
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1938}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1943.1.1
			}
		}
	}
	rifle_equipment12 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_12
		}

		research_cost = 0.16
		start_year = 1939
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1939}
		}
		path = {
			leads_to_tech = tech_advanced_infantry_equipment_2
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1944.1.1
			}
		}
	}
	tech_advanced_infantry_equipment_2 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment13
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment3
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1940
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1940}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1945.1.1
			}
		}
	}
	rifle_equipment13 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_13
		}

		research_cost = 0.16
		start_year = 1942
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1942}
		}
		path = {
			leads_to_tech = tech_advanced_infantry_equipment_3
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1947.1.1
			}
		}
	}
	tech_advanced_infantry_equipment_3 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment14
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1944
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1944}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1949.1.1
			}
		}
	}
	rifle_equipment14 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_14
		}

		research_cost = 0.16
		start_year = 1945
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1945}
		}
		path = {
			leads_to_tech = tech_advanced_infantry_equipment_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1950.1.1
			}
		}
	}
	tech_advanced_infantry_equipment_4 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		path = {
			leads_to_tech = rifle_equipment15
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1947
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1947}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1952.1.1
			}
		}
	}
	rifle_equipment15 = {

		supply_consumption_factor = 0.05

		enable_equipments = {
			infantry_equipment_rifle_15
		}

		research_cost = 0.16
		start_year = 1950
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1950}
		}
		path = {
			leads_to_tech = tech_semi_modern_infantry_equipment_1
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1955.1.1
			}
		}
	}
	tech_semi_modern_infantry_equipment_1 = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
		}

		category_ranged_cavalry = {
			soft_attack = 0.02
			defense = 0.02
		}

		#path = {
		#	leads_to_tech = tech_semi_modern_infantry_equipment_2
		#	research_cost_coeff = 1
		#}
		enable_subunits={
			cold_war_infantry
		}

		research_cost = 0.14
		start_year = 1952
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1952}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1957.1.1
			}
		}
	}

	#### Handguns

	tech_infantry_flintlock_pistol = {

		category_front_line = {
			soft_attack = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_caplock_pistol
			research_cost_coeff = 1
		}

		research_cost = 0.135
		start_year = 1820
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1820 }
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = {
				factor = 1.5
				has_war = yes
			}
			# modifier = {
				# factor = 0
				# OR = {
					# NOT = { has_tech = tribal_tatics }
					# NOT = { has_tech = tribal_gunpowder }
					# NOT = { has_tech = tribal_riding }
					# NOT = { has_tech = tribal_steam_experiments }
					# NOT = { has_tech = tribal_forging }
					# NOT = { has_tech = tribal_artisan }
					# NOT = { has_tech = tribal_chemistry }
					# NOT = { has_tech = tribal_guilds_trade }
					# NOT = { has_tech = tribal_steel_tools }
					# NOT = { has_tech = tribal_electrical_theory }
					# NOT = { has_tech = tribal_carrier_birds }
					# NOT = { has_tech = tribal_crop_rotation }
					# NOT = { has_tech = tribal_salted_smoked_goods }
					# NOT = { has_tech = tribal_leching }
				# }
				# OR = { has_idea = oral_tradition has_idea = traditional_uluma }
				# OR = {
					# 
					# 
					# 
					# has_country_flag = Oceania_industrializing
				# }
			# }
		}
	}

	tech_infantry_caplock_pistol = {

		category_front_line = {
			soft_attack = 0.02
		}
		
		path = {
			leads_to_tech = hand_revolvers
			research_cost_coeff = 1
		}

		research_cost = 0.135
		start_year = 1840
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1840 }
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
		}
	}

	hand_revolvers = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = improved_handguns
			research_cost_coeff = 1
		}

		start_year = 1850
		research_cost = 0.15
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1850}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
			modifier = {
				factor = 3
				date > 1860.1.1
			}
		}
	}

	improved_handguns = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_standardised_revolvers
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1860
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1860}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
			modifier = {
				factor = 3
				date > 1865.1.1
			}
		}
	}

	tech_infantry_standardised_revolvers = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_semi_auto_experimentation
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1872
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1872}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
			modifier = {
				factor = 3
				date > 1877.1.1
			}
		}
	}

	tech_infantry_semi_auto_experimentation = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_semi_auto_c93
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1880
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1880}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1885.1.1
			}
		}
	}

	tech_infantry_semi_auto_c93 = {

		category_front_line = {
			soft_attack = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_large_capacity_pistol_mags
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_early_small_magazines = 1
		}

		research_cost = 0.15
		start_year = 1893
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1893}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1898.1.1
			}
		}
	}

	tech_infantry_large_capacity_pistol_mags = {

		category_front_line = {
			soft_attack = 0.01
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_locked_breech_action
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1898
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1898}
		}

		categories = {
			infantry_weapons
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1903.1.1
			}
		}
	}

	tech_infantry_locked_breech_action = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_improved_handgun_designs
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1909
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1909}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1914.1.1
			}
		}
	}

	tech_infantry_improved_handgun_designs = {

		category_front_line = {
			soft_attack = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_infantry_pistols
			research_cost_coeff = 1
		}

		research_cost = 0.135
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1914}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1919.1.1
			}
		}
	}

	tech_infantry_infantry_pistols = {

		category_front_line = {
			soft_attack = 0.02
			breakthrough = 0.01
		}

		dependencies = {
			tech_infantry_improved_handgun_designs = 1
		}

		research_cost = 0.15
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1915}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
			tech_category_handguns
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1920.1.1
			}
		}
	}

	tech_infantry_trench_equipment = {

		category_front_line = {
			defense = 0.04
			soft_attack = 0.01
		}

		enable_building = {
			building = trench
			level = 5
		}

		research_cost = 0.135
		start_year = 1916
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1916}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1921.1.1
			}
		}
	}

	tech_infantry_anti_tank_rifle = {

		category_all_infantry = {
			hard_attack = 0.05
			ap_attack = 0.1
		}

		research_cost = 0.16
		start_year = 1917
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1917}
		}
		path = {
			leads_to_tech = tech_infantry_high_caliber_anti_tank_rifle
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1912.1.1
			}
		}
	}
	tech_infantry_high_caliber_anti_tank_rifle = {

		category_all_infantry = {
			hard_attack = 0.05
			ap_attack = 0.1
		}
		path = {
			leads_to_tech = tech_infantry_early_rpg
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1936}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1941.1.1
			}
		}
	}
	tech_infantry_early_rpg = {

		category_all_infantry = {
			hard_attack = 0.05
			ap_attack = 0.1
		}
		path = {
			leads_to_tech = tech_infantry_rpg-2
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1942
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1942}
		}

		categories = {
			infantry_weapons
			rpg_tech
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1947.1.1
			}
		}
	}
	tech_infantry_rpg-2 = {

		category_all_infantry = {
			hard_attack = 0.05
			ap_attack = 0.1
		}
		path = {
			leads_to_tech = tech_infantry_rpg-7
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1946
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1946}
		}

		categories = {
			infantry_weapons
			rpg_tech
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1951.1.1
			}
		}
	}
	tech_infantry_rpg-7 = {

		category_all_infantry = {
			hard_attack = 0.05
			ap_attack = 0.1
		}
		path = {
			leads_to_tech = tech_infantry_rpg-7
			research_cost_coeff = 1
		}

		research_cost = 0.16
		start_year = 1956
		folder = {
			name = infantry_folder
			position = { x = -2 y = @1956}
		}

		categories = {
			infantry_weapons
			rpg_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1961.1.1
			}
		}
	}


	#### Infantry Technology

	

	tech_infantry_practical_rifling = {

		category_army = {
			soft_attack = 0.02
			hard_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = improved_matchlock
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1845
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1845 }
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 50
			# modifier = {
				# factor = 0
				# OR = {
					# NOT = { has_tech = tribal_tatics }
					# NOT = { has_tech = tribal_gunpowder }
					# NOT = { has_tech = tribal_riding }
					# NOT = { has_tech = tribal_steam_experiments }
					# NOT = { has_tech = tribal_forging }
					# NOT = { has_tech = tribal_artisan }
					# NOT = { has_tech = tribal_chemistry }
					# NOT = { has_tech = tribal_guilds_trade }
					# NOT = { has_tech = tribal_steel_tools }
					# NOT = { has_tech = tribal_electrical_theory }
					# NOT = { has_tech = tribal_carrier_birds }
					# NOT = { has_tech = tribal_crop_rotation }
					# NOT = { has_tech = tribal_salted_smoked_goods }
					# NOT = { has_tech = tribal_leching }
				# }
				# OR = { has_idea = oral_tradition has_idea = traditional_uluma }
				# OR = {
					# 
					# 
					# 
					# has_country_flag = Oceania_industrializing
				# }
			# }
		}
	}

	tech_infantry_breech_loading = {
		category_army = {
			soft_attack = 0.01
			defense = 0.04
		}

		path = {
			leads_to_tech = rifle_equipment3
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1864
		folder = {
			name = infantry_folder
			position = { x = 0 y = @1864}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				
				date < 1875.1.1
			}
			modifier = {
				factor = 3
				date > 1860.1.1
			}
		}
		ai_research_weights = {
			infantry_weapons = 1.4
		}
	}

	tech_infantry_lever_acutators = {

		category_army = {
			soft_attack = 0.02
			hard_attack = 0.02
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_bolt_action
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1872
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1872}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
			modifier = {
				factor = 3
				date > 1879.1.1
			}
		}
	}

	tech_infantry_bolt_action = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.04
		}

		path = {
			leads_to_tech = tech_infantry_streamlined_bolt_action
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1878
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1878}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
			modifier = {
				factor = 3
				date > 1883.1.1
			}
		}
	}

	tech_infantry_streamlined_bolt_action = {

		category_all_infantry = {
			soft_attack = 0.02
			defense = 0.02
			breakthrough = 0.02
		}

		category_cavalry = {
			soft_attack = 0.02
			defense = 0.02
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_mass_produced_clips
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_efficient_bolt_casts
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1885}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1890.1.1
			}
		}
	}

	tech_infantry_mass_produced_clips = {

		category_army = {
			soft_attack = 0.02
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_early_small_magazines
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1890
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1890}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1895.1.1
			}
		}
	}

	tech_infantry_improved_magazine_design = {

		category_army = {
			soft_attack = 0.02
			defense = 0.02
			breakthrough = 0.02
			hard_attack = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_early_silencers
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_circular_magazines
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_shotgun_0
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1898
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1898}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1903.1.1
			}
		}
	}

	tech_infantry_early_silencers = {

		category_all_infantry = {
			soft_attack = 0.02
			breakthrough = 0.02
		}

		special_forces_attack_factor = 0.08

		land_night_attack = 0.02

		research_cost = 0.15
		start_year = 1909
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1909}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1914.1.1
			}
		}
	}

	tech_infantry_early_grenades = {

		category_all_infantry = {
			soft_attack = 0.03
			hard_attack = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_fragmentation_grenades
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1912}
		}

		categories = {
			infantry_weapons
			rifle_equipment_techs
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 3
				date > 1917.1.1
			}
		}
	}

	tech_infantry_fragmentation_grenades = {

		category_all_infantry = {
			soft_attack = 0.06
			breakthrough = 0.03
		}

		research_cost = 0.15
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1915}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1920.1.1
			}
		}
	}

	tech_infantry_smg_design = {

		category_army = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = tech_infantry_smg_equipment0
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_lmg_design = 1
		}

		research_cost = 0.15
		start_year = 1917
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1917}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1922.1.1
			}
		}
	}

	tech_infantry_smg_equipment0 = {

		enable_equipments = {
			infantry_equipment_smg_0
		}

		dependencies = {
			rifle_equipment10 = 1
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment1
			research_cost_coeff = 1
		}

		research_cost = 0.18
		start_year = 1918
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1918}
		}


		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1923.1.1
			}
		}
	}
	tech_infantry_smg_equipment1 = {

		enable_equipments = {
			infantry_equipment_smg_1
		}

		research_cost = 0.18
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1920}
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment2
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1925.1.1
			}
		}
	}
	tech_infantry_smg_equipment2 = {

		enable_equipments = {
			infantry_equipment_smg_2
		}

		research_cost = 0.18
		start_year = 1938
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1938}
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment3
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1943.1.1
			}
		}
	}
	tech_infantry_smg_equipment3 = {

		enable_equipments = {
			infantry_equipment_smg_3
		}

		research_cost = 0.18
		start_year = 1940
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1940}
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1945.1.1
			}
		}
	}
	tech_infantry_smg_equipment4 = {

		enable_equipments = {
			infantry_equipment_smg_4
		}

		research_cost = 0.18
		start_year = 1942
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1942}
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment5
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1947.1.1
			}
		}
	}
	tech_infantry_smg_equipment5 = {

		enable_equipments = {
			infantry_equipment_smg_5
		}

		research_cost = 0.18
		start_year = 1945
		folder = {
			name = infantry_folder
			position = { x = 2 y = @1945}
		}
		path = {
			leads_to_tech = tech_infantry_smg_equipment6
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = tech_advanced_infantry_equipment_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1950.1.1
			}
		}
	}

	#### Bayonets

	tech_infantry_infantry_swords = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = socket_bayonet
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1750
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1700 }
		}

		categories = {
			infantry_weapons
			melee_weapons_tech
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				
				date < 1875.1.1
			}
			# modifier = {
				# factor = 0
				# OR = {
					# NOT = { has_tech = tribal_tatics }
					# NOT = { has_tech = tribal_gunpowder }
					# NOT = { has_tech = tribal_riding }
					# NOT = { has_tech = tribal_steam_experiments }
					# NOT = { has_tech = tribal_forging }
					# NOT = { has_tech = tribal_artisan }
					# NOT = { has_tech = tribal_chemistry }
					# NOT = { has_tech = tribal_guilds_trade }
					# NOT = { has_tech = tribal_steel_tools }
					# NOT = { has_tech = tribal_electrical_theory }
					# NOT = { has_tech = tribal_carrier_birds }
					# NOT = { has_tech = tribal_crop_rotation }
					# NOT = { has_tech = tribal_salted_smoked_goods }
					# NOT = { has_tech = tribal_leching }
				# }
				# OR = { has_idea = oral_tradition has_idea = traditional_uluma }
				# OR = {
					# 
					# 
					# 
					# has_country_flag = Oceania_industrializing
				# }
			# }
		}
	}

	socket_bayonet = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = yataghan_bayonet
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1800
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1800 }
		}

		categories = {
			infantry_weapons
			melee_weapons_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = { factor = 0   date < 1875.1.1 }

		}
	}

	yataghan_bayonet = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = sawback_bayonet
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1845
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1845 }
		}

		categories = {
			infantry_weapons
			melee_weapons_tech
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				
				date < 1875.1.1
			}
			modifier = {
				factor = 3
				date > 1860.1.1
			}
		}
	}


	sawback_bayonet = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		path = {
			leads_to_tech = knife_bayonet
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1864
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1864}
		}

		categories = {
			infantry_weapons
			melee_weapons_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1869.1.1
			}
		}
	}

	knife_bayonet = {

		category_all_infantry = {
			soft_attack = 0.01
			breakthrough = 0.01
		}

		research_cost = 0.125
		start_year = 1880
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1880}
		}

		categories = {
			infantry_weapons
			melee_weapons_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1885.1.1
			}
		}
	}

	tech_infantry_efficient_bolt_casts = {

		category_all_infantry = {
			breakthrough = 0.02
			hard_attack = 0.01
		}

		research_cost = 0.14
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1885}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1890.1.1
			}
		}
	}

	tech_infantry_circular_magazines = {

		out_of_supply_factor = -0.05

		research_cost = 0.14
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1914}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 3
				date > 1919.1.1
			}
		}
	}

	tech_infantry_flamethrowers = {

		enable_subunits = {
			flamethrower_support_company
		}

		enable_equipments = {
			flamethrower_equipment_0
		}

		path = {
			leads_to_tech = tech_infantry_late_flamethrowers
			research_cost_coeff = 1
		}

		research_cost = 0.15
		start_year = 1916
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1916}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_infantry_late_flamethrowers = {

		enable_equipments = {
			flamethrower_equipment_1
		}

		research_cost = 0.15
		start_year = 1916
		folder = {
			name = infantry_folder
			position = { x = 4 y = @1936}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	#Shotguns

	tech_infantry_shotgun_0 = {

		research_cost = 0.11
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 6 y = @1900}
		}

		enable_equipments = {
			infantry_equipment_shotgun_0
		}

		path = {
			leads_to_tech = tech_infantry_shotgun_1
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_shotgun_1 = {

		research_cost = 0.12
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 6 y = @1914}
		}

		enable_equipments = {
			infantry_equipment_shotgun_1
		}

		path = {
			leads_to_tech = tech_infantry_shotgun_1
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	#### Automatic Weaps.

	gatling_gun = {

		research_cost = 0.12
		start_year = 1865
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1865}
		}

		enable_equipments = {
			machine_gun_equipment_0
		}

		enable_subunits = {
			machine_gun_company
		}

		dependencies = {
			tribal_gunpowder = 1
		}

		path = {
			leads_to_tech = lighter_designs
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
			modifier = {
				factor = 0.2
				date < 1864.1.1
			}
		}
	}

	lighter_designs = {

		research_cost = 0.12
		start_year = 1868
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1868}
		}

		path = {
			leads_to_tech = mitrailleuse
			research_cost_coeff = 1
		}

		machine_gun_company = {
			breakthrough = 0.02
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
			modifier = {
				factor = 0.2
				date < 1867.1.1
			}
		}
	}

	mitrailleuse = {

		research_cost = 0.13
		start_year = 1870
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1870}
		}

		path = {
			leads_to_tech = improved_fire_rate
			research_cost_coeff = 1
		}

		enable_equipments = {
			machine_gun_equipment_1
		}
		
		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
			modifier = {
				factor = 0.2
				date < 1869.1.1
			}
		}
	}

	improved_fire_rate = {

		research_cost = 0.1
		start_year = 1874
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1874}
		}

		path = {
			leads_to_tech = enhanced_rotary
			research_cost_coeff = 1
		}

		machine_gun_company = {
			soft_attack = 0.04
			defense = 0.02
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
			modifier = {
				factor = 0.2
				date < 1873.1.1
			}
		}
	}

	enhanced_rotary = {

		research_cost = 0.1
		start_year = 1876
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1876}
		}

		path = {
			leads_to_tech = early_belt_systems
			research_cost_coeff = 1
		}

		machine_gun_company = {
			soft_attack = 0.04
			defense = 0.02
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	early_belt_systems = {

		research_cost = 0.11
		start_year = 1880
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1880}
		}

		path = {
			leads_to_tech = automatic_arms
			research_cost_coeff = 1
		}

		machine_gun_company = {
			defense = 0.1
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	automatic_arms = {

		research_cost = 0.12
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1885}
		}

		enable_equipments = {
			machine_gun_equipment_2
		}

		path = {
			leads_to_tech = tech_infantry_improved_belt_systems
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_improved_belt_systems = {

		machine_gun_company = {
			soft_attack = 0.05
			hard_attack = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_water_jacket_cooling
			research_cost_coeff = 1
		}

		research_cost = 0.1
		start_year = 1892
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1892}
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_water_jacket_cooling = {

		machine_gun_company = {
			defense = 0.04
			breakthrough = 0.04
		}

		path = {
			leads_to_tech = tech_infantry_vickers
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1900}
		}

		categories = {
			infantry_weapons
			gatling_gun_tech
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = {
				factor = 1.5
				has_war = yes
			}
		}
	}

	tech_infantry_vickers = {

		enable_equipments = {
			machine_gun_equipment_3
		}

		path = {
			leads_to_tech = tech_infantry_mg_equipment0
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1912}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_mg_equipment0 = {

		enable_equipments = {
			infantry_equipment_mg_0
		}

		path = {
			leads_to_tech = tech_infantry_lmg_design
			research_cost_coeff = 1
		}

		dependencies = {
			tech_infantry_circular_magazines = 1
		}

		research_cost = 0.14
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1915}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_lmg_design = {

		research_speed_factor = 0.01

		path = {
			leads_to_tech = tech_infantry_mg_equipment1
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1916
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1916}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_mg_equipment1 = {

		enable_equipments = {
			infantry_equipment_mg_1
		}

		research_cost = 0.16
		start_year = 1918
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1918}
		}
		path = {
			leads_to_tech = tech_infantry_mg_equipment2
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_mg_equipment2 = {

		enable_equipments = {
			infantry_equipment_mg_2
		}

		research_cost = 0.16
		start_year = 1938
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1938}
		}
		path = {
			leads_to_tech = tech_infantry_mg_equipment3
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_infantry_mg_equipment3 = {

		enable_equipments = {
			infantry_equipment_mg_3
		}

		research_cost = 0.16
		start_year = 1940
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1940}
		}
		path = {
			leads_to_tech = tech_infantry_mg_equipment4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_infantry_mg_equipment4 = {

		enable_equipments = {
			infantry_equipment_mg_4
		}

		research_cost = 0.16
		start_year = 1942
		folder = {
			name = infantry_folder
			position = { x = 8 y = @1942}
		}
		#path = {
		#	leads_to_tech = tech_infantry_mg_equipment5
		#	research_cost_coeff = 1
		#}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	#### Clothing Equipment

	tech_infantry_napoleonic_uniform = {

		research_cost = 0.1
		start_year = 1800
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1800 }
		}

		dependencies = {
			tribal_tatics = 1
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_0
		}

		path = {
			leads_to_tech = vic_army_cloth
			research_cost_coeff = 1
		}

		categories = {
			#tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < "1865.1.1"
			}
		}
	}

	vic_army_cloth = {

		research_cost = 0.1
		start_year = 1840
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1840 }
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_1
		}

		path = {
			leads_to_tech = civil_army_cloth
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	civil_army_cloth = {

		research_cost = 0.1
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1850}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_2
		}

		path = {
			leads_to_tech = sixfour_army_cloth
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	sixfour_army_cloth = {

		research_cost = 0.1
		start_year = 1864
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1864}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_3
		}

		path = {
			leads_to_tech = durable_cloth
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = camo_uniform
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	camo_uniform = {

		research_cost = 0.1
		start_year = 1868
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1868}
		}

		category_army = {
			defense = 0.04
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = solid_camo
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	solid_camo = {

		research_cost = 0.1
		start_year = 1875
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1875}
		}

		category_army = {
			defense = 0.04
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_two_color_camo
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_two_color_camo = {

		research_cost = 0.1
		start_year = 1880
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1880}
		}

		category_army = {
			defense = 0.04
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_khaki_camo
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_khaki_camo = {

		research_cost = 0.1
		start_year = 1887
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1887}
		}

		category_army = {
			defense = 0.04
			breakthrough = 0.02
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	durable_cloth = {

		research_cost = 0.1
		start_year = 1870
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1870}
		}

		category_army = {
			defense = 0.05
		}

		path = {
			leads_to_tech = seventwo_army_cloth
			research_cost_coeff = 1
		}

		categories = {

			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	seventwo_army_cloth = {

		research_cost = 0.1
		start_year = 1872
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1872}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_4
		}

		path = {
			leads_to_tech = seveneight_army_cloth
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	seveneight_army_cloth = {

		research_cost = 0.1
		start_year = 1878
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1878}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_5
		}

		path = {
			leads_to_tech = tech_infantry_uniform_1887
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_uniform_1887 = {

		research_cost = 0.1
		start_year = 1887
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1887}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_6
		}

		path = {
			leads_to_tech = tech_infantry_uniform_1895
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_uniform_1895 = {

		research_cost = 0.1
		start_year = 1895
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1895}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_7
		}

		path = {
			leads_to_tech = tech_infantry_early_great_war_uniform
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_pith_helmets
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_early_great_war_uniform = {

		research_cost = 0.1
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1912}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_8
		}

		path = {
			leads_to_tech = tech_infantry_improved_great_war_uniform
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_protective_gear
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_improved_great_war_uniform = {

		research_cost = 0.1
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1915}
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_9
		}

		path = {
			leads_to_tech = tech_infantry_uniform_1918
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_infantry_helmets
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_uniform_1918 = {

		research_cost = 0.1
		start_year = 1918
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1918}
		}

		category_army = {
			defense = 0.02
		}

		path = {
			leads_to_tech = tech_interwar_infantry_uniform
			research_cost_coeff = 1
		}

		enable_equipments = {
			uniform_equipment_10
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_interwar_infantry_uniform = {

		research_cost = 0.1
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1936}
		}

		category_army = {
			defense = 0.02
		}
		path = {
			leads_to_tech = tech_ww2_infantry_uniform
			research_cost_coeff = 1
		}

		enable_equipments = {
			uniform_equipment_11
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_ww2_infantry_uniform = {

		research_cost = 0.1
		start_year = 1940
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1940}
		}

		category_army = {
			defense = 0.02
		}
		path = {
			leads_to_tech = tech_improved_ww2_infantry_uniform
			research_cost_coeff = 1
		}

		enable_equipments = {
			uniform_equipment_12
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_improved_ww2_infantry_uniform = {

		research_cost = 0.1
		start_year = 1942
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1942}
		}

		path = {
			leads_to_tech = tech_late_ww2_infantry_uniform
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = night_vision
			research_cost_coeff = 1
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_13
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_late_ww2_infantry_uniform = {

		research_cost = 0.1
		start_year = 1945
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1945}
		}

		path = {
			leads_to_tech = tech_semi_modern_infantry_uniform
			research_cost_coeff = 1
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_14
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_semi_modern_infantry_uniform = {

		research_cost = 0.1
		start_year = 1950
		folder = {
			name = infantry_folder
			position = { x = 10 y = @1950}
		}

		path = {
			leads_to_tech = tech_modern_infantry_uniform
			research_cost_coeff = 1
		}

		category_army = {
			defense = 0.02
		}

		enable_equipments = {
			uniform_equipment_15
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	night_vision = {

		land_night_attack = 0.1

		path = {
			leads_to_tech = night_vision2
			research_cost_coeff = 1
		}

		research_cost = 0.25
		start_year = 1943
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1943 }
		}

		categories = {
			night_vision
		}

		ai_will_do = {
			factor = 4

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

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

			modifier = {
				factor = 5
				date > "1943.1.6"
			}

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

	night_vision2 = {

		land_night_attack = 0.15

		research_cost = 0.2
		start_year = 1946
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1946 }
		}

		categories = {
			night_vision
		}

		ai_will_do = {
			factor = 4

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

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

			modifier = {
				factor = 5
				date > "1946.1.6"
			}
		}
	}

	tech_infantry_pith_helmets = {

		research_cost = 0.1
		start_year = 1895
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1895}
		}

		category_army = {
			defense = 0.04
			breakthrough = 0.04
		}

		path = {
			leads_to_tech = tech_infantry_protective_gear
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_protective_gear = {

		research_cost = 0.1
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1912}
		}

		category_army = {
			defense = 0.05
			breakthrough = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_infantry_helmets
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_gas_masks
			research_cost_coeff = 1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_infantry_helmets = {

		research_cost = 0.1
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1915}
		}

		category_all_infantry = {
			defense = 0.02
			breakthrough = 0.02
		}
		path = {
			leads_to_tech = tech_infantry_1930_helmets
			research_cost_coeff = 1
		}

		enable_equipments = {
			helmet_equipment_0
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_infantry_1930_helmets = {

		research_cost = 0.1
		start_year = 1930
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1930}
		}

		path = {
			leads_to_tech = tech_infantry_1941_helmets
			research_cost_coeff = 1
		}

		enable_equipments = {
			helmet_equipment_1
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}
	tech_infantry_1941_helmets = {

		research_cost = 0.1
		start_year = 1941
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1941}
		}

		enable_equipments = {
			helmet_equipment_2
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_gas_masks = {

		research_cost = 0.14
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 14 y = @1914}
		}

		category_army = {
			defense = 0.05
		}

		categories = {
			tech_category_uniforms
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	#### Cavalry

	tech_camel_cavalry = {

		enable_equipments = {
			camel_equipment_0
		}

		enable_subunits = {
			camel_cavalry
		}

		dependencies = {
			tribal_riding = 1
		}

		allow = {
		 	OR = {
				AND = {
					any_owned_state = {
						is_core_of = ROOT
						is_on_continent = africa
					}
				}
				AND = {
					any_owned_state = {
						is_core_of = ROOT
						is_on_continent = middle_east
					}
				}
			}
        }

		research_cost = 0.1
		start_year = 1845
		folder = {
			name = infantry_folder
			position = { x = 12 y = @1845}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				OR = {
					
					
				}

				date < "1860.1.1"
			}
			modifier = {
				factor = 100000
				OR = {
					
					
				}
				date > "1860.1.1"
			}
		}
	}

	basic_cavalry = {

		enable_equipments = {
			cavalry_equipment_0
		}

		dependencies = {
			tribal_riding = 1
		}

		research_cost = 0.12
		start_year = 1845
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1845}
		}

		enable_subunits = {
			light_cavalry
			heavy_cavalry
			uhlans
		}

		path = {
			leads_to_tech = horse_transport
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = improved_cavalry
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = mounted_infantry
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
			modifier = {
				factor = 0
				OR = {
					
					
				}

				date < "1860.1.1"
			}
			modifier = {
				factor = 100000
				OR = {
					
					
				}
				date > "1860.1.1"
			}
		}
	}

	horse_transport = {

		research_cost = 0.1
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 14 y = @1850}
		}

		enable_equipments = {
			transport_equipment_0
		}

		org_loss_when_moving = -0.1

		path = {
			leads_to_tech = horse_artillery
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 0.8
				has_war = no
			}
			modifier = {
				factor = 1.5
				has_war = yes
			}
			modifier = {
				factor = 0
				

				date < 1875.1.1
			}
		}
	}

	horse_artillery = {
		research_cost = 0.1
		start_year = 1860
		folder = {
			name = infantry_folder
			position = { x = 14 y = @1860}
		}
		enable_equipments = {
			horse_artillery_equipment_0
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	mounted_infantry = {

		research_cost = 0.1
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 18 y = @1850}
		}

		enable_subunits = {
			dragoon
		}

		enable_subunits = {
			mounted_infantry
		}

		path = {
			leads_to_tech = dragoon_equipment
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	dragoon_equipment = {

		category_ranged_cavalry = {
			soft_attack = 0.02
			breakthrough = 0.02
		}

		research_cost = 0.1
		start_year = 1862
		folder = {
			name = infantry_folder
			position = { x = 18 y = @1862}
		}

		path = {
			leads_to_tech = improved_dragoon_equipment
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	improved_dragoon_equipment = {

		category_ranged_cavalry = {
			soft_attack = 0.03
			breakthrough = 0.03
		}

		research_cost = 0.08
		start_year = 1870
		folder = {
			name = infantry_folder
			position = { x = 18 y = @1870}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	improved_cavalry = {

		category_cavalry = {
			soft_attack = 0.02
			breakthrough = 0.02
			max_organisation = 2
		}

		research_cost = 0.1
		start_year = 1860
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1860}
		}

		path = {
			leads_to_tech = specialised_cavalry
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	specialised_cavalry = {

		category_cavalry = {
			soft_attack = 0.01
			breakthrough = 0.01
			max_organisation = 3
		}

		research_cost = 0.1
		start_year = 1862
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1862}
		}

		path = {
			leads_to_tech = cavalry_recon
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	cavalry_recon = {

		category_cavalry = {
			recon = 1
		}

		research_cost = 0.1
		start_year = 1864
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1864}
		}

		path = {
			leads_to_tech = cav_supply
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	cav_supply = {

		category_cavalry = {
			soft_attack = 0.02
		}

		research_cost = 0.1
		start_year = 1865
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1865}
		}

		path = {
			leads_to_tech = cav_integrity
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	cav_integrity = {

		category_cavalry = {
			recon = 0.3

		}

		research_cost = 0.1
		start_year = 1872
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1872}
		}

		path = {
			leads_to_tech = modern_cavalry
			research_cost_coeff = 1
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	modern_cavalry = {

		category_cavalry = {
			soft_attack = 0.03
		}

		path = {
			leads_to_tech = tech_infantry_colonial_cavalry
			research_cost_coeff = 1
		}

		research_cost = 0.1
		start_year = 1876
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1876}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_colonial_cavalry = {

		category_cavalry = {
			soft_attack = 0.01
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_improved_modern_cavalry_equipment
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_colonial_service_equipment
			research_cost_coeff = 1
			ignore_for_layout = yes
		}

		research_cost = 0.11
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1885}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
			factor = 20
			modifier = { factor = 0.8 has_war = no }
			modifier = { factor = 1.5 has_war = yes }
		}
	}

	tech_infantry_improved_modern_cavalry_equipment = {

		category_cavalry = {
			soft_attack = 0.01
			breakthrough = 0.02
		}

		path = {
			leads_to_tech = tech_infantry_specialized_cavalry_weapons
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1895
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1895}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_specialized_cavalry_weapons = {

		category_cavalry = {
			soft_attack = 0.03
			breakthrough = 0.03
		}

		path = {
			leads_to_tech = tech_infantry_great_war_cavalry
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1905
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1905}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_great_war_cavalry = {

		enable_subunits = {
			great_war_cavalry
		}

		research_cost = 0.11
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 16 y = @1912}
		}

		categories = {
			tech_category_cavalry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_special_infantry_corps = {

		special_forces_min = 3
		special_forces_cap = 0.02

		path = {
			leads_to_tech = tech_infantry_colonial_marines
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_terrain_adaptability
			research_cost_coeff = 1
		}

		dependencies = {
			tribal_tatics = 1
		}

		research_cost = 0.125
		start_year = 1840
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1840}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_colonial_marines = {

		enable_subunits = {
			early_marine
		}

		path = {
			leads_to_tech = tech_infantry_improved_landing_gear
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_navy_revolver
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1850}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_navy_revolver = {

		special_forces_attack_factor = 0.04
		special_forces_defence_factor = 0.04

		path = {
			leads_to_tech = tech_infantry_standardised_navy_revolver
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1850}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_standardised_navy_revolver = {

		special_forces_cap = 0.01

		research_cost = 0.11
		start_year = 1862
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1862}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_improved_landing_gear = {

		invasion_preparation = -0.1

		path = {
			leads_to_tech = tech_infantry_improved_field_equipment
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1862
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1862}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_improved_field_equipment = {

		amphibious_invasion  = 0.05
		heat_attrition_factor = -0.05
		winter_attrition_factor = -0.05

		research_cost = 0.11
		start_year = 1870
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1870}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_terrain_adaptability = {

		attrition = -0.04
		supply_consumption_factor = -0.06

		path = {
			leads_to_tech = tech_infantry_specialized_training
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_climate_training
			research_cost_coeff = 1
		}

		research_cost = 0.13
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1850}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_specialized_training = {

		special_forces_min = 2

		path = {
			leads_to_tech = tech_infantry_special_service_branches
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1850
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1850}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_climate_training = {

		heat_attrition_factor = -0.05
		winter_attrition_factor = -0.05

		path = {
			leads_to_tech = tech_infantry_quinine
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_special_service_branches
			research_cost_coeff = 1
		}

		research_cost = 0.14
		start_year = 1876
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1876}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
			factor = 20 modifier = { factor = 0.8 has_war = no }	modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_quinine = {

		supply_consumption_factor = 0.02
		attrition = -0.05
		out_of_supply_factor = -0.1

		on_research_complete = {
			custom_effect_tooltip = EOANBSYS_pandemic_disease_infectivity_parasytic_minus_twenty_percent_tt
		}
		dependencies = {
			early_medicine = 1
		}

		research_cost = 0.14
		start_year = 1876
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1876}
		}
		folder = {
			name = humanities_folder
			position = { x = 21 y = 12 }
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_special_service_branches = {

		special_forces_min = 3
		special_forces_cap = 0.02

		path = {
			leads_to_tech = tech_infantry_colonial_service_equipment
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_marines_1
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_mountaineers_1
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_shocktroops_1
			research_cost_coeff = 1
		}

		research_cost = 0.125
		start_year = 1885
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1885}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_colonial_service_equipment = {

		category_all_infantry = {
			defense = 0.05
		}

		attrition = -0.02
		out_of_supply_factor = -0.02

		path = {
			leads_to_tech = tech_infantry_modern_service_equipment
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1895
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1895}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_modern_service_equipment = {

		category_all_infantry = {
			defense = 0.04
			breakthrough = 0.04
		}

		path = {
			leads_to_tech = tech_infantry_infantry_specialization
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1905
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1905}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_infantry_specialization = {

		special_forces_min = 2

		path = {
			leads_to_tech = tech_infantry_early_sniper_team
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = tech_infantry_two_inch_medium_mortar
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1912
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1912}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_early_sniper_team = {

		enable_subunits = {
			sniper_team_support
		}

		enable_equipments = {
			sniper_equipment_0
		}

		path = {
			leads_to_tech = tech_infantry_sniper_team
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 18 y = @1915}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_sniper_team = {

		sniper_team_support = {
			soft_attack = 0.1
			defense = 0.04
			breakthrough = 0.02
		}

		research_cost = 0.11
		start_year = 1918
		folder = {
			name = infantry_folder
			position = { x = 18 y = @1918}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_two_inch_medium_mortar = {

		category_army = {
			soft_attack = 0.08
			hard_attack = 0.03
		}

		path = {
			leads_to_tech = tech_infantry_stokes_mortar
			research_cost_coeff = 1
		}

		research_cost = 0.12
		start_year = 1915
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1915}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_stokes_mortar = {

		category_army = {
			soft_attack = 0.05
			hard_attack = 0.05
		}

		research_cost = 0.13
		start_year = 1917
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1917}
		}

		path = {
			leads_to_tech = tech_infantry_mortar_3
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_mortar_3 = {

		category_army = {
			soft_attack = 0.05
			hard_attack = 0.05
		}

		research_cost = 0.13
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1920}
		}

		path = {
			leads_to_tech = tech_infantry_mortar_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_mortar_4 = {

		category_army = {
			soft_attack = 0.05
			hard_attack = 0.05
		}

		research_cost = 0.13
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 20 y = @1936}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_marines_1 = {

		enable_subunits = {
			marine
		}

		path = {
			leads_to_tech = tech_infantry_marines_2
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1890
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1890}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_marines_2 = {

		marine = {
			soft_attack = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_marines_3
			research_cost_coeff = 1
		}

		research_cost = 0.115
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1900}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_marines_3 = {

		marine = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1914}
		}
		path = {
			leads_to_tech = tech_infantry_marines_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_marines_4 = {

		marine = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1920}
		}
		path = {
			leads_to_tech = tech_infantry_marines_5
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_marines_5 = {

		marine = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 22 y = @1936}
		}
		path = {
			leads_to_tech = tech_infantry_special_forces_combined
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_mountaineers_1 = {

		enable_subunits = {
			mountaineers
		}

		path = {
			leads_to_tech = tech_infantry_mountaineers_2
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1890
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1890}
		}

		categories = {
			infantry_weapons
			mountaineers_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_mountaineers_2 = {

		mountaineers = {
			soft_attack = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_mountaineers_3
			research_cost_coeff = 1
		}

		research_cost = 0.115
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1900}
		}

		categories = {
			infantry_weapons
			mountaineers_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_mountaineers_3 = {

		mountaineers = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1914}
		}

		path = {
			leads_to_tech = tech_infantry_mountaineers_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			mountaineers_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_mountaineers_4 = {

		mountaineers = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1920}
		}

		path = {
			leads_to_tech = tech_infantry_mountaineers_5
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			mountaineers_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_mountaineers_5 = {

		mountaineers = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1936}
		}

		path = {
			leads_to_tech = tech_infantry_special_forces_combined
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
			mountaineers_tech
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_shocktroops_1 = {

		enable_subunits = {
			shock_troops
		}

		path = {
			leads_to_tech = tech_infantry_shocktroops_2
			research_cost_coeff = 1
		}

		research_cost = 0.11
		start_year = 1890
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1890}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_shocktroops_2 = {

		shock_troops = {
			soft_attack = 0.05
		}

		path = {
			leads_to_tech = tech_infantry_shocktroops_3
			research_cost_coeff = 1
		}

		research_cost = 0.115
		start_year = 1900
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1900}
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_shocktroops_3 = {

		shock_troops = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1914
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1914}
		}

		path = {
			leads_to_tech = tech_infantry_shocktroops_4
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_shocktroops_4 = {

		shock_troops = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1920
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1920}
		}

		path = {
			leads_to_tech = tech_infantry_shocktroops_5
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}
	tech_infantry_shocktroops_5 = {

		shock_troops = {
			max_organisation = 5
		}

		research_cost = 0.11
		start_year = 1936
		folder = {
			name = infantry_folder
			position = { x = 26 y = @1936}
		}

		path = {
			leads_to_tech = tech_infantry_special_forces_combined
			research_cost_coeff = 1
		}

		categories = {
			infantry_weapons
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	tech_infantry_special_forces_combined = {

		supply_consumption_factor = 0.02
		attrition = -0.05
		out_of_supply_factor = -0.1

		research_cost = 0.11
		start_year = 1938
		folder = {
			name = infantry_folder
			position = { x = 24 y = @1938}
		}

		categories = {
			infantry_weapons
			tech_category_naval_infantry
		}

		ai_will_do = {
factor = 20 modifier = { factor = 0.8 has_war = no }	 modifier = { factor = 1.5 has_war = yes } modifier = { factor = 0   date < 1875.1.1 }
		}
	}

	#### HIDDEN

	tech_infantry_raj_oriental_uniforms = {

		heat_attrition_factor = -0.1
		acclimatization_hot_climate_gain_factor = 0.25

		research_cost = 0.1
		start_year = 1857

		allow = {
			always = no
		}

		ai_will_do = {
			factor = 0
		}
	}

	tech_infantry_british_redcoats = {

		enable_subunits = {
			early_marine
		}

		research_cost = 0.1
		start_year = 1857

		allow = {
			always = no
		}

		ai_will_do = {
			factor = 0
		}
	}

	#Custom for the Swedish FT

	tech_kustjagare = {

		allow = {
			always = no
		}

		enable_subunits = {
			early_marine
		}

		research_cost = 0.1
		start_year = 1857

	}

	tech_carolean_cav = {

		allow = {
			always = no
		}

		category_cavalry = {
			breakthrough = 0.15
		}

		research_cost = 0.1
		start_year = 1857

	}

	tech_carolean_speed = {

		allow = {
			always = no
		}

		category_cavalry = {
			breakthrough = 0.5
			maximum_speed = 0.15
		}

		category_army = {
			breakthrough = 0.10
		}

		research_cost = 0.1
		start_year = 1857

	}

	tech_carolean_shock = {

		allow = {
			always = no
		}

		category_army = {
			soft_attack = 0.1
		}

		enable_tactic = tactic_breakthrough

		research_cost = 0.1
		start_year = 1857

	}
	
	#Custom for the Montenegro FT
	
	MNT_mountains_are_like_the_air_we_breathe1 = {
        research_cost = 1

		# only from focus!!! #####
		
		allow = {
			always = no
		}
		
		infantry = {
            hills = {
                attack = 0.025
                defence = 0.025
                movement = 0.025
            }
            mountain = {
                attack = 0.025
                defence = 0.025
                movement = 0.05
			}
		}
	}
 
	MNT_mountains_are_like_the_air_we_breathe2 = {
        research_cost = 1

		# only from focus!!! #####
		
		allow = {
			always = no
		}
		
		infantry = {
            hills = {
                attack = 0.025
                defence = 0.025
                movement = 0.025
            }
            mountain = {
                attack = 0.025
                defence = 0.025
                movement = 0.05
			}
		}
	}
}
