technologies = {
	@anti_air = -7
	@anti_tank = 7
	@rocket_artillery = 3
	@1918 = 0
	@1936 = 2
	@1938 = 4
	@1939 = 6
	@1940 = 8
	@1941 = 10
	@1942 = 12
	@1945 = 14
	@1948 = 16
	@1951 = 18
	@1954 = 20
	@1957 = 22

	gw_artillery = {

		enable_equipments = {
			artillery_equipment_1
		}
		
		path = {
			leads_to_tech = interwar_artillery 
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = interwar_antitank
			research_cost_coeff = 1
		}
		
		path = {
			leads_to_tech = interwar_antiair 
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			ship_anti_air_1
			tank_small_cannon
			secondary_turret_small_cannon
			tank_small_cannon_f
		}
		on_research_complete = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = {
					localization_key = SP_UNLOCK_PROJECT
					PROJECT = sp_land_super_heavy_howitzer
				}
			}
		}
		
		research_cost = 1.5
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 0 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }		
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1937.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1938.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1939.1.1"
			}
		}
	}
	
	interwar_artillery = {

		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}
		enable_equipment_modules = {
			tank_medium_howitzer
			tank_small_cannon_2
			tank_close_support_gun
			secondary_turret_close_support_gun
			tank_small_cannon_2_f
			tank_close_support_gun_f
		}

		
		path = {
			leads_to_tech = artillery1
			research_cost_coeff = 1
		}
		
		research_cost = 1.5

		start_year = 1936
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 2 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }		
		ai_will_do = {
			factor = 2

			modifier = {
				factor = 2
				date > "1937.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1938.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1939.1.1"
			}
		}
	}
	
	artillery1 = {
	
		enable_equipments = {
			artillery_equipment_2
		}
		enable_equipment_modules = {
			tank_medium_howitzer_2
			tank_medium_cannon
			lc_medium_cannon_turret #Module for Land Cruiser
			lc_assault_gun #Module for Land Cruiser
		}

		#artillery = {
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		
		path = {
			leads_to_tech = artillery2
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = sp_artillery_rocket_assisted_projectiles_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = sp_artillery_purpose_built_gun_motor_carriages_tech
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1939
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 4 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }	
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1938.1.9"
			}
			
			modifier = {
				factor = 2
				date > "1939.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1939.1.6"
			}
		}
	}
	
	artillery2 = {

		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}

		
		path = {
			leads_to_tech = artillery3
			research_cost_coeff = 1
		}
		
		path = {
			leads_to_tech = rocket_artillery
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1940
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 6 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1940.1.6"
			}
			
			modifier = {
				factor = 2
				date > "1941.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1942.1.1"
			}
		}
	}
	
	artillery3 = {

		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}

		enable_equipment_modules = {
			tank_medium_cannon_2
		}
		
		path = {
			leads_to_tech = artillery4
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1941
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 8 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1941.1.6"
			}
			
			modifier = {
				factor = 5
				date > "1942.1.1"
			}
		}
	}
	
	artillery4 = {
	
		enable_equipments = {
			artillery_equipment_3
		}
		enable_equipment_modules = {
			tank_heavy_howitzer
		}


		#artillery = { 
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		
		path = {
			leads_to_tech = artillery5
			research_cost_coeff = 1
		}
		
		research_cost = 2

		start_year = 1942
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 10 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1941.1.9"
			}
			
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1942.1.6"
			}
		}
	}
	
	artillery5 = {

		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}


		enable_equipment_modules = {
			tank_heavy_howitzer
			auto_loader
			tank_post_war_howitzer
		}
		path = {
			leads_to_tech = cwart1
			research_cost_coeff = 1
		}		
		research_cost = 1

		start_year = 1943
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 12 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1943.1.6"
			}
			
			modifier = {
				factor = 2
				date > "1944.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1945.1.1"
			}
		}
	}
	cwart1 = {
	
		enable_equipments = {
			artillery_equipment_4
		}
		
		path = {
			leads_to_tech = cwart2
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			tank_early_modern_howitzer
			secondary_mortar
			tank_super_art
		}
		
		research_cost = 2

		start_year = 1950
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 14 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1948.1.9"
			}
		}
	}
	cwart2 = {
		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		light_sp_artillery_brigade = {
			soft_attack = 0.1
		}
		medium_sp_artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_sp_artillery_brigade = {
			soft_attack = 0.1
		}
		super_heavy_sp_artillery_brigade = {
			soft_attack = 0.1
		}
		modern_sp_artillery_brigade= {
			soft_attack = 0.1
		}
	
		enable_equipments = {
			artillery_equipment_5
		}

		#artillery = { 
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		
		path = {
			leads_to_tech = cwart3
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			tank_modern_howitzer
		}
		
		research_cost = 2

		start_year = 1960
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 16 }
		}
		
		categories = {
			artillery
		}
		
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1958.1.9"
			}
		}
	}
	cwart3 = {
	
		enable_equipments = {
			artillery_equipment_6
		}

		#artillery = { 
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		
		path = {
			leads_to_tech = cwart4
			research_cost_coeff = 1
		}
		
		research_cost = 2

		start_year = 1970
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 18 }
		}
		
		categories = {
			artillery
		}
		
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1968.1.9"
			}
		}
	}
	cwart4 = {
		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}

	
		enable_equipments = {
			artillery_equipment_7
		}

		#artillery = { 
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		
		path = {
			leads_to_tech = cwart5
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			tank_advanced_modern_howitzer
		}
		
		research_cost = 2

		start_year = 1980
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 20 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1978.1.9"
			}
		}
	}
	cwart5 = {
	
		enable_equipments = {
			artillery_equipment_8
		}

		#artillery = { 
		#	soft_attack = 0.1
		#}
		#artillery_brigade = {
		#	soft_attack = 0.1
		#}
		enable_equipment_modules = { 
			tank_super_art2
		}
		research_cost = 2

		start_year = 1990
		
		folder = {
			name = artillery_folder
			position = { x = 0 y = 22 }
		}
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
		ai_will_do = {
			factor = 2
			
			modifier = {
				factor = 2
				date > "1988.1.9"
			}
		}
	}

	mountain_gun = {

		research_cost = 1

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

		artillery_brigade = {
			mountain = {
				movement = 0.15 #If you change this - Change the custom tooltip too: RAJ_revive_the_screw_guns_effect ROM_modern_at_guns_tech_tt
			}
		}

		anti_tank_brigade = {
			mountain = {
				movement = 0.15 #If you change this - Change the custom tooltip too: RAJ_revive_the_screw_guns_effect ROM_modern_at_guns_tech_tt
			}
		}
	}
	
	rocket_artillery = {

		enable_equipments = {
			rocket_artillery_equipment_1
		}
#		enable_subunits = {
#			rocket_artillery_brigade
#		}
		enable_equipment_modules = {
			tank_rocket_launcher
			rocket_rails
			lc_rocket_launcher #Module for Land Cruiser
		}
		
		path = {
			leads_to_tech = rocket_artillery2
			research_cost_coeff = 1
		}
		
		research_cost = 2

		start_year = 1940
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 6 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}
	
	rocket_artillery2 = {

		rocket_artillery = {
			soft_attack = 0.15
		}
		rocket_artillery_brigade = {
			soft_attack = 0.15
		}
		mot_rocket_artillery_brigade = {
			soft_attack = 0.15
		}
		motorized_rocket_brigade = {
			soft_attack = 0.15
		}
		attackheli = {
			soft_attack = 0.15
		}
		
		path = {
			leads_to_tech = rocket_artillery3
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1941
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 8 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}
	
	rocket_artillery3 = {

		rocket_artillery = {
			soft_attack = 0.15
		}
		rocket_artillery_brigade = {
			soft_attack = 0.15
		}
		mot_rocket_artillery_brigade = {
			soft_attack = 0.15
		}
		motorized_rocket_brigade = {
			soft_attack = 0.15
		}
		attackheli = {
			soft_attack = 0.15
		}

		path = {
			leads_to_tech = rocket_artillery4
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1942
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 10 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}
	
	rocket_artillery4 = {
	
		enable_equipments = {
			rocket_artillery_equipment_2
		}
		motorized_rocket_brigade = {
			soft_attack = 0.3
		}
		attackheli = {
			soft_attack = 0.3
		}
		enable_equipment_modules = {
			tank_rocket_launcher_2
			secondary_rockets
		}

		#rocket_artillery = {
		#	soft_attack = 0.15
		#}
		#rocket_artillery_brigade = {
		#	soft_attack = 0.15
		#}
		


		path = {
			leads_to_tech = rocket_artillery5
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1943
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 12 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery5 = {
	
		enable_equipments = {
			rocket_artillery_equipment_3
		}
		motorized_rocket_brigade = {
			soft_attack = 0.3
		}
		attackheli = {
			soft_attack = 0.3
		}

		#rocket_artillery = {
		#	soft_attack = 0.15
		#}
		#rocket_artillery_brigade = {
		#	soft_attack = 0.15
		#}

		path = {
			leads_to_tech = rocket_artillery6
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1950
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 14 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}


	rocket_artillery6 = {
	
		enable_equipments = {
			rocket_artillery_equipment_4
		}
		motorized_rocket_brigade = {
			soft_attack = 0.3
		}
		attackheli = {
			soft_attack = 0.3
		}

		enable_equipment_modules = {
			rocket_pod
		}

		#rocket_artillery = {
		#	soft_attack = 0.15
		#}
		#rocket_artillery_brigade = {
		#	soft_attack = 0.15
		#}

		path = {
			leads_to_tech = rocket_artillery7
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1960
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 16 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery7 = {
	
		enable_equipments = {
			rocket_artillery_equipment_5
		}
		motorized_rocket_brigade = {
			soft_attack = 0.3
		}
		attackheli = {
			soft_attack = 0.3
		}

		#rocket_artillery = {
		#	soft_attack = 0.15
		#}
		#rocket_artillery_brigade = {
		#	soft_attack = 0.15
		#}
		enable_equipment_modules = {
			flamethrower_rocket
			flamethrower_rocket_w_sec
		}
		path = {
			leads_to_tech = rocket_artillery8
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1970
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 18 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery8 = {
		
#		sub_technologies = {
#		thermobaric_rockets_tech	
#		}
	
		enable_equipments = {
			rocket_artillery_equipment_6
		}
		motorized_rocket_brigade = {
			soft_attack = 0.3
		}
		attackheli = {
			soft_attack = 0.3
		}

		#rocket_artillery = {
		#	soft_attack = 0.15
		#}
		#rocket_artillery_brigade = {
		#	soft_attack = 0.15
		#}

		research_cost = 1

		start_year = 1980
		
		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 20 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				tag = SOV
			}
		}
		
		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}
	
	interwar_antiair = {

		enable_equipments = {
			anti_air_equipment_1
		}

		enable_equipment_modules = { 
			ship_anti_air_2
			tank_auto_cannon
			tank_anti_air_cannon
			tank_anti_air_cannon_s
			tank_heavy_cannon
			tank_auto_cannon_f
			lc_light_anti_air_battery #Module for Land Cruiser
		}

		enable_building = {
			building = anti_air
			level = 5
		}
		
		path = {
			leads_to_tech = antiair1
			research_cost_coeff = 1
		}
		
		research_cost = 1.5

		start_year = 1936
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 2 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0.5

				OR = {
					tag = CHI
					tag = PRC
					tag = XSM
					tag = SIK
					tag = GXC
					tag = SHX
					tag = YUN
				}
			}
			modifier = {
				factor = 2
				date > "1937.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1938.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1939.1.1"
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	antiair1 = {

		anti_air = {
			air_attack = 0.1
		}
		anti_air_brigade = {
			air_attack = 0.1
		}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}

		tech_air_damage_factor = -0.02
		
		path = {
			leads_to_tech = antiair2
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1939
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 4 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	antiair2 = {
	
		enable_equipments = {
			anti_air_equipment_2
		}

		static_anti_air_damage_factor = 0.1

		enable_equipment_modules = { 
			ship_anti_air_3
			tank_auto_cannon_2
			tank_heavy_cannon_2
			tank_anti_air_cannon_2
			tank_anti_air_cannon_2_s
			tank_auto_cannon_2_f
			lc_heavy_anti_air_battery #Module for Land Cruiser
		}
		
		path = {
			leads_to_tech = antiair3
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = sp_shock_hardening_techniques
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1940
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 6 }
		}
		
		ai_will_do = {
			factor = 2
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	antiair3 = {

		anti_air = {
			air_attack = 0.1
		}
		anti_air_brigade = {
			air_attack = 0.1
		}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}
		
		tech_air_damage_factor = -0.02

		path = {
			leads_to_tech = antiair4
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1941
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 8 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	antiair4 = {

		anti_air = {
			air_attack = 0.1
		}
		anti_air_brigade = {
			air_attack = 0.1
		}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}

		tech_air_damage_factor = -0.02
		
		path = {
			leads_to_tech = antiair5
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1942
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 10 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	antiair5 = {

		enable_equipments = {
			anti_air_equipment_3
		}
		path = {
			leads_to_tech = antiair6
			research_cost_coeff = 1
		}
		static_anti_air_damage_factor = 0.1
		
		enable_equipment_modules = { 
			ship_anti_air_4
			tank_heavy_cannon_3
			tank_anti_air_cannon_3
			tank_anti_air_cannon_3_s
			auto_loader
			lc_heavy_anti_air_platform #Module for Land Cruiser
		}
		
		research_cost = 1

		start_year = 1943
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 12 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	antiair6 = {

		enable_equipments = {
			anti_air_equipment_4
		}
		path = {
			leads_to_tech = antiair7
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			early_modern_anti_air_cannon
			early_modern_anti_air_cannon_s
			tank_early_modern_anti_air_missile
			ship_anti_air_5
			secondary_coax_autocannon
		}	

		static_anti_air_damage_factor = 0.1
		
		research_cost = 1

		start_year = 1950
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 14 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	antiair7 = {

		enable_equipments = {
			anti_air_equipment_5
		}
		path = {
			leads_to_tech = antiair8
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			modern_anti_air_cannon
			modern_anti_air_cannon_s
			tank_modern_anti_air_missile
			ship_anti_air_6
		}
		static_anti_air_damage_factor = 0.1
		
		research_cost = 1

		start_year = 1960
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 16 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	antiair8 = {

		enable_equipments = {
			anti_air_equipment_6
		}
		
		enable_equipment_modules = { 
			secondary_aa_autocannon
		}
		path = {
			leads_to_tech = antiair9
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			ship_anti_air_7
		}
		static_anti_air_damage_factor = 0.1
		
		research_cost = 1

		start_year = 1970
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 18 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	antiair9 = {

		enable_equipments = {
			anti_air_equipment_7
		}
		path = {
			leads_to_tech = antiair10
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			advanced_modern_anti_air_cannon
			advanced_modern_anti_air_cannon_s
			tank_advanced_modern_anti_air_missile
			ship_anti_air_8
		}
		static_anti_air_damage_factor = 0.1
		
		research_cost = 1

		start_year = 1980
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 20 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	antiair10 = {

		enable_equipments = {
			anti_air_equipment_8
		}
		enable_equipment_modules = { 
			ship_anti_air_9
		}
		static_anti_air_damage_factor = 0.1
		
		research_cost = 1

		start_year = 1990
		
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 22 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					tag = JAP
					tag = ENG
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ENG
				}
				factor = 5
			}
		}
		
		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}
	
	interwar_antitank = {

		enable_equipments = {
			anti_tank_equipment_1
		}
		enable_equipment_modules = {
			tank_high_velocity_cannon
			tank_heavy_cannon
			tank_buster_1
			lc_high_velocity_cannon_turret #Module for Land Cruiser
		}
		
		path = {
			leads_to_tech = antitank1
			research_cost_coeff = 1
		}
		
		research_cost = 1.5

		start_year = 1936
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 2 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 30
						}
					}
				}
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 2
				date > "1937.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1938.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1939.1.1"
			}

		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	antitank1 = {

		category_antitank = {
			hard_attack = 0.1
			ap_attack = 0.2
		}
		
		enable_equipment_modules = {
			tank_medium_cannon
			squeezebore_adaptor
		}

		
		path = {
			leads_to_tech = antitank2
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1939
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 4 }
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 30
						}
					}
				}
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 2
				date > "1939.1.6"
			}
			
			modifier = {
				factor = 5
				date > "1940.1.1"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	antitank2 = {
		category_antitank = {
			hard_attack = 0.2
			ap_attack = 0.2
		}
		
		enable_equipments = {
			anti_tank_equipment_2
		}
		enable_equipment_modules = {
			tank_high_velocity_cannon_2
			tank_heavy_cannon_2
			tank_buster_2
		}
		#anti_tank = {
		#	hard_attack = 0.1
		#	ap_attack = 0.05
		#}
		#anti_tank_brigade = {
		#	hard_attack = 0.1
		#	ap_attack = 0.05
		#}
		
		path = {
			leads_to_tech = antitank3
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1940
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 6 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1939.1.9"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 2
				date > "1940.1.1"
			}
			modifier = {
				tag = USA
				has_War = no
				factor = 0.5 #this tank nonsense will never catch on
			}
			modifier = {
				factor = 5
				date > "1940.1.6"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 32
						}
					}
				}
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	antitank3 = {
		enable_equipment_modules = {
			tank_medium_cannon_2
		}

		category_antitank = {
			hard_attack = 0.1
			ap_attack = 0.1
		}

		
		path = {
			leads_to_tech = antitank4
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1941
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 8 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1941.1.6"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1943.1.1"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 32
						}
					}
				}
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	antitank4 = {

		category_antitank = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
	
		path = {
			leads_to_tech = antitank5
			research_cost_coeff = 1
		}
		
		research_cost = 1

		start_year = 1942
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 10 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1942.1.6"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 5
				date > "1943.1.1"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 35
						}
					}
				}
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	antitank5 = {
			
		enable_equipments = {
			anti_tank_equipment_3
		}	
			
		enable_equipment_modules = {
			tank_high_velocity_cannon_3
			tank_heavy_cannon_3
			auto_loader
			lc_heavy_high_velocity_cannons #Module for Land Cruiser
		}
		#anti_tank = {
		#	hard_attack = 0.1
		#	ap_attack = 0.05
		#}
		#anti_tank_brigade = {
		#	hard_attack = 0.1
		#	ap_attack = 0.05
		#}
		path = {
			leads_to_tech = antitank6
			research_cost_coeff = 1
		}		
		research_cost = 1

		start_year = 1943
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 12 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1942.1.9"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = SOV
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = {
				factor = 2
				date > "1943.1.1"
			}
			
			modifier = {
				factor = 5
				date > "1943.1.6"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 35
						}
					}
				}
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	antitank6 = {
			
		enable_equipments = {
			anti_tank_equipment_4
		}	
		path = {
			leads_to_tech = antitank7
			research_cost_coeff = 1
		}

		enable_equipment_modules = { 
			tank_early_modern_cannon
			early_light_modern_cannon
			early_light_modern_cannon_f
			tank_super_heavy_at
		}
		
#		sub_technologies = {
#			hesh_tech_1
#		}

		research_cost = 1

		start_year = 1950
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 14 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1948.1.9"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	antitank7 = {
		

			
		enable_equipments = {
			anti_tank_equipment_5
		}	
		path = {
			leads_to_tech = antitank8
			research_cost_coeff = 1
		}
		enable_equipment_modules = { 
			tank_modern_cannon
			secondary_atgm
		}	
		research_cost = 1

		start_year = 1960
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 16 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1958.1.9"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	antitank8 = {
			
		enable_equipments = {
			anti_tank_equipment_6
		}	
		path = {
			leads_to_tech = antitank9
			research_cost_coeff = 1
		}	
		enable_equipment_modules = { 
			light_modern_cannon
			light_modern_cannon_f
		}		
		research_cost = 1

		start_year = 1970
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 18 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1968.1.9"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	antitank9 = {
			
		enable_equipments = {
			anti_tank_equipment_7
		}	
		path = {
			leads_to_tech = antitank10
			research_cost_coeff = 1
		}	
		enable_equipment_modules = { 
			tank_advanced_modern_cannon
			tank_buster_3
		}	
		research_cost = 1

		start_year = 1980
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 20 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1978.1.9"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	antitank10 = {
			
		enable_equipments = {
			anti_tank_equipment_8
		}
		enable_equipment_modules = { 
			tank_super_heavy_at2
		}
		research_cost = 1

		start_year = 1990
		
		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 22 }
		}
		
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 2
				date > "1988.1.9"
			}
		}
		
		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land }
	}
	
	hesh_tech_1 = {
		
		on_research_complete = {
			country_event = hesh.1
		}
			research_cost = 1
			start_year = 1950

	}
	
	hesh_poor_at = {
		
		category_tanks = {
			ap_attack = -0.05
			fort = {
				attack = 0.15
			}
			urban = {
				attack = 0.05
			}
		}
		
		
			research_cost = 1
			start_year = 1950

	}
	
	hesh_mixed_at = {
		
		category_tanks = {
			ap_attack = -0.05
			hard_attack = 0.1
			fort = {
				attack = 0.15
			}
			urban = {
				attack = 0.05
			}
		}
		
		
			research_cost = 1
			start_year = 1950

	}
	
	thermobaric_rockets_tech = {
		sub_tech_index = 1
		
		on_research_complete = {
			country_event = thermo.1
		}
			research_cost = 1
			start_year = 1980

	}
	
	thermobarics = {
		
		category_rocket_artillery = {
			soft_attack = 0.2
			fort = {
				attack = 0.05
			}
			urban = {
				attack = 0.25
			}
		}
		
		
			research_cost = 1
			start_year = 1950

	}
	
	perfect_thermobarics = {
		
		category_rocket_artillery = {
			soft_attack = 0.25
			fort = {
				attack = 0.05
			}
			urban = {
				attack = 0.25
			}
		}
		category_all_infantry = {
			soft_attack = 0.05
		}
		
		
			research_cost = 1
			start_year = 1950

	}
	
	SWE_bofors_antitank_gun = {

		research_cost = 1

		# only from focus!!! Bofors anti tank gun ##### 
		allow = {
			always = no
		}

		anti_tank = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		anti_tank_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		mot_anti_tank_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		light_tank_destroyer_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		medium_tank_destroyer_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		heavy_tank_destroyer_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		super_heavy_tank_destroyer_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		modern_tank_destroyer_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}

		categories = {
			cat_anti_tank
			artillery
			mio_cat_all_artillery_equipment
		}
	}

	### SPECIAL PROJECTS ###

	sp_artillery_rocket_assisted_projectiles_tech = {

		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_super_heavy_howitzer
				has_tech = experimental_rockets
			}
		}

		is_special_project_tech = yes

		super_heavy_artillery = {
			soft_attack = 0.1
		}

		self_propelled_super_heavy_artillery = {
			soft_attack = 0.1
		}

		research_cost = 1.5

		start_year = 1940 #TODO_Manu: Adjust if necessary

		folder = {
			name = artillery_folder
			position = { x = -2 y = 6 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }

		ai_will_do = {
			base = 5
			modifier = {
				factor = 2
				is_major = yes
			}
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
		}
	}


	sp_artillery_purpose_built_gun_motor_carriages_tech = {
		
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

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

		is_special_project_tech = yes

		super_heavy_artillery = {
			reliability = 0.07
			supply_consumption = -0.1
		}

		self_propelled_super_heavy_artillery = {
			reliability = 0.07
			supply_consumption = -0.1
		}

		research_cost = 1.5

		start_year = 1940 #TODO_Manu: Adjust if necessary

		folder = {
			name = artillery_folder
			position = { x = -4 y = 6 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }

		ai_will_do = {
			base = 5
			modifier = {
				factor = 2
				is_major = yes
			}
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
		}
	}

	sp_shock_hardening_techniques = {
		
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

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

		static_anti_air_damage_factor = 0.15 #Remember to adjust sp_naval_proximity_fuze_custom_tt when changing value
		static_anti_air_hit_chance_factor = 0.3 

		path = {
			leads_to_tech = sp_variable_time_fuze_shells
			research_cost_coeff = 1
		}
        
        force_use_small_tech_layout = yes		
		is_special_project_tech = yes	
		research_cost = 1.5
		start_year = 1941
		folder = {
			name = artillery_folder
			position = { x = -9 y = 8 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery
		}

		special_project_specialization = { specialization_land specialization_air }
	}

	sp_variable_time_fuze_shells = {
		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_naval_proximity_fuze
			}
		}
		
		artillery = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.2
		}
		mot_artillery_brigade = {
			soft_attack = 0.2
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}

		force_use_small_tech_layout = yes
		research_cost = 1.5
		start_year = 1942
		is_special_project_tech = yes
			
		folder = {
			name = artillery_folder
			position = { x = -9 y = 10 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery
		}

		special_project_specialization = { specialization_land specialization_air }
	}
}