technologies = {
	@rocket_artillery = 3

	gw_artillery = {

		enable_equipments = {
			artillery_equipment_l_1
		}

		enable_subunits = {
			artillery
			artillery_brigade_l
			mot_artillery_brigade_l
		}

		enable_equipment_modules = {
			ship_anti_air_1
			tank_small_cannon
			secondary_turret_small_cannon
		}

		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
		}
		research_cost = 1.0

		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 }

		sub_technologies = {
			gw_artillery_h
			gw_artillery_m
			gw_artillery_l
		}

		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"
			}
		}
	}
	gw_artillery_l = {

		enable_equipment_modules = {
			tank_close_support_gun
		}
	
		enable_subunits = {
			artillery_brigade_cav
		}
		
		research_cost = 0.5 #Artillery Variant
		start_year = 1934
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_tech = artillery1_l
					has_tech = artillery4_l
				}
			}
			
			modifier = {
				factor = 2
				date > "1936.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1935.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1934.1.1"
			}
			modifier = {
				has_war = yes
				factor = 2
			}
		}
	}
	gw_artillery_m = {

		enable_equipments = {
			artillery_equipment_1
		}
	
		enable_equipment_modules = {
			tank_heavy_howitzer
		}

		enable_subunits = {
			artillery_brigade
			mot_artillery_brigade
		}

		research_cost = 0.5 #Artillery Variant
		start_year = 1934
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_tech = artillery1_m
					has_tech = artillery4_m
				}
			}
			
			modifier = {
				factor = 2
				date > "1936.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1935.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1934.1.1"
			}
			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				num_of_factories < 50
				factor = 0.1
			}
		}
	}
	gw_artillery_h = {

		enable_equipments = {
			artillery_equipment_h_1
		}
	
		enable_subunits = {
			artillery_h
			artillery_brigade_h
			mot_artillery_brigade_h
		}

		enable_equipment_modules = {
			tank_close_support_gun_2
		}

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

		research_cost = 0.5 #Artillery Variant
		start_year = 1934
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_tech = artillery1_h
					has_tech = artillery4_h
				}
			}
			
			modifier = {
				factor = 2
				date > "1936.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1935.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1934.1.1"
			}
			modifier = {
				num_of_factories < 100
				factor = 0.1
			}
		}
	}

	interwar_artillery = {

		category_howitzer = {
			soft_attack = 0.05
		}
		category_anti_tank = {
			soft_attack = 0.05
		}

		enable_equipment_modules = {
			tank_medium_howitzer
		}

		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_subunits = {
			artillery_brigade
			mot_artillery_brigade
		}

		enable_equipment_modules = {
			#tank_heavy_howitzer
			tank_medium_cannon_0
		}

		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 }

		sub_technologies = {
			artillery1_h
			artillery1_m
			artillery1_l
		}

		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"
			}
		}
	}
	artillery1_l = {

		enable_equipment_modules = {
			tank_small_cannon_2
			tank_medium_howitzer_2
		}
		
		enable_equipments = {
			artillery_equipment_l_2
		}
	
		research_cost = 0.5 #Artillery Variant
		start_year = 1939
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				has_tech = artillery4_l
			}
			
			modifier = {
				factor = 2
				date > "1941.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1940.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1939.1.1"
			}
			modifier = {
				has_war = yes
				factor = 2
			}
		}
	}
	artillery1_m = {

		enable_equipment_modules = {
			tank_heavy_howitzer_2
			lc_medium_cannon_turret #Module for Land Cruiser
		}
	
		research_cost = 0.5 #Artillery Variant
		start_year = 1939
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				has_tech = artillery4_m
			}

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

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

			modifier = {
				factor = 5
				date > "1939.1.6"
			}
			modifier = {
				num_of_factories < 50
				factor = 0.1
			}
		}
	}
	artillery1_h = {

		enable_equipments = {
			artillery_equipment_h_2
		}
	
		enable_equipment_modules = {
			tank_heavy_howitzer_3
			lc_assault_gun #Module for Land Cruiser
		}

		enable_subunits = {
			artillery_h
			artillery_brigade_h
			mot_artillery_brigade_h
		}

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

		research_cost = 0.5 #Artillery Variant
		start_year = 1939
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				has_tech = artillery4_h
			}
			
			modifier = {
				factor = 2
				date > "1941.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1940.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1939.1.1"
			}
			modifier = {
				num_of_factories < 100
				factor = 0.1
			}
		}
	}

	artillery2 = {

		enable_equipment_modules = {
			tank_heavy_howitzer
		}

		category_howitzer = {
			soft_attack = 0.05
		}
		category_anti_tank = {
			soft_attack = 0.05
		}

		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 = {

		enable_equipment_modules = {
			tank_medium_cannon
		}

		category_howitzer = {
			soft_attack = 0.05
		}
		category_anti_tank = {
			soft_attack = 0.05
		}

		path = {
			leads_to_tech = artillery4
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = artillery4_sh
			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_h_3
		}

		enable_equipment_modules = {
			tank_heavy_howitzer_3
		}
		
		enable_subunits = {
			artillery_brigade_h
			mot_artillery_brigade_h
		}

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

		path = {
			leads_to_tech = artillery5
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = artillery4_sh_sp
			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 }

		sub_technologies = {
			artillery4_Sh
			#artillery4_h
			artillery4_m
			artillery4_l
		}

		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"
			}
		}
	}
	artillery4_l = {

		enable_equipments = {
			artillery_equipment_l_3
		}
	
		enable_equipment_modules = {
			tank_medium_cannon
		}

		research_cost = 0.5 #Artillery Variant
		start_year = 1942
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				date > "1944.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1943.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
			modifier = {
				has_war = yes
				factor = 2
			}
		}
	}
	artillery4_m = {

		enable_equipments = {
			artillery_equipment_3
		}
		
		enable_equipment_modules = {
			tank_heavy_howitzer_2
		}
	
		research_cost = 0.5 #Artillery Variant
		start_year = 1942
		
		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				date > "1944.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1943.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
			modifier = {
				has_war = yes
				factor = 2
			}
			modifier = {
				num_of_factories < 50
				factor = 0.1
			}
		}
	}
	artillery4_h = {

		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_land_super_heavy_howitzer
			}
		}
		
		enable_equipments = {
			super_heavy_artillery_equipment_2
		}
		
		enable_equipment_modules = {
			tank_super_heavy_howitzer_2
		}
		
		research_cost = 0.5 #Artillery Variant
		start_year = 1942
		
		is_special_project_tech = yes

		categories = {
			artillery
			mio_cat_all_artillery_equipment
			mio_cat_artillery #Only Artillery
		}
		#special_project_specialization = { specialization_land }
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				date > "1944.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1943.1.1"
			}
			
			modifier = {
				factor = 2
				date > "1942.1.1"
			}
			modifier = {
				num_of_factories < 100
				factor = 0.1
			}
		}
	}
	artillery4_sh = {

		#allow_branch = {
		#	 has_dlc = "Gotterdammerung"
		#}

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

		is_special_project_tech = yes

		enable_equipments = {
			super_heavy_artillery_equipment_2
		}

		enable_equipment_modules = {
			tank_super_heavy_howitzer_2
		}

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

		research_cost = 1

		start_year = 1941

		#folder = {
		#	name = artillery_folder
		#	position = { x = -2 y = 8 }
		#}

		is_special_project_tech = yes
		
		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"
			}
		}
	}
	artillery4_sh_sp = {

		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

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

		enable_equipments = {
			self_propelled_super_heavy_artillery_equipment_2
		}

		research_cost = 1

		start_year = 1942

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

		#is_special_project_tech = yes

		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"
			}
		}
	}

	artillery5 = {

		category_howitzer = {
			soft_attack = 0.05
		}
		category_anti_tank = {
			soft_attack = 0.05
		}

		enable_equipment_modules = {
			#tank_super_heavy_howitzer
			auto_loader
		}

		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"
			}
		}
	}

	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 = {

		category_rocket = {
			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 = {

		category_rocket = {
			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
		}
		enable_equipment_modules = {
			tank_rocket_launcher_2
		}
		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 }
	}
	
	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

		enable_equipment_modules = {
			tank_super_heavy_howitzer
		}

		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 = -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_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
		}

		enable_equipment_modules = {
			tank_super_heavy_howitzer
		}

		path = {
			leads_to_tech = artillery4_sh_sp
			research_cost_coeff = 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"
			}
		}
	}
}