technologies = {
	@anti_air = -7
	@anti_tank = 7
	@rocket_artillery = 3


	gw_artillery = {

		enable_equipments = {
			artillery_equipment_1
			heavy_artillery_equipment_1
		}
		enable_subunits = {
			heavy_artillery_brigade
			heavy_artillery_cpy
			#mot_heavy_artillery_brigade
			field_guns
		}

		armored_car = {
			soft_attack = 0.1
		}
		show_equipment_icon = yes

		start_year = 1902

		path = {
			leads_to_tech = adv_gw_artillery
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_anti_air_1
			tank_small_cannon
			secondary_turret_small_cannon
		}

		# 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 = -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 > "1921.1.1"
			}

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

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

	adv_gw_artillery = {

		enable_equipments = {
			artillery_equipment_2
			heavy_artillery_equipment_2
		}

		show_equipment_icon = yes

		start_year = 1918

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

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

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

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

	interwar_artillery = {

		artillery = {
			soft_attack = 0.05
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}

		path = {
			leads_to_tech = artillery1
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_anti_air_1
			tank_small_cannon
			secondary_turret_small_cannon
		}

		enable_equipment_modules = {
			tank_small_cannon_2
			tank_close_support_gun
			#secondary_turret_close_support_gun
			tank_medium_howitzer
		}

		research_cost = 1.5

		start_year = 1920

		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 = { #This is needed for a lot of tank designs
			factor = 6.0
				is_major = yes
			}

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

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

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

			# It is imperative to prepare military tech for the war with China
			modifier = {
				factor = 5
				original_tag = JAP
			}
		}
	}

	artillery1 = {

		on_research_complete = {
			custom_effect_tooltip = counter_battery_tt
		}

		on_research_complete = {
			custom_effect_tooltip = {
				localization_key = counter_battery_tt
			}
		}

		heavy_artillery_cpy = {
			battalion_mult = {
				category = category_light_artillery
				breakthrough = 0.15
			}
			battalion_mult = {
				category = category_heavy_artillery
				defense = 0.15
			}
		}

		armored_car = {
			soft_attack = 0.1
		}

		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
		}

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

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

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

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

	artillery2 = {

		artillery = {
			soft_attack = 0.05
		}
		artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}

		enable_equipment_modules = {
			tank_heavy_howitzer
			imp_tank_close_support_gun
		}

		path = {
			leads_to_tech = artillery3
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = rocket_artillery
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1924

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

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

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

	artillery3 = {

		enable_equipments = {
			artillery_equipment_3
			heavy_artillery_equipment_3
		}

		show_equipment_icon = yes

		artillery = {
			soft_attack = 0.05
		}
		artillery_brigade = {
	soft_attack = 0.1
}
mot_artillery_brigade = {
	soft_attack = 0.1
}
category_self_propelled_artillery = {
	soft_attack = 0.05
}
heavy_artillery_cpy = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}

		enable_equipment_modules = {
			tank_medium_howitzer_3
			tank_small_cannon_3
		}

		path = {
			leads_to_tech = artillery4
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1925

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

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

	artillery4 = {

	armored_car = {
		soft_attack = 0.1
	}

		enable_equipment_modules = {
			tank_medium_cannon_2
		}

		path = {
			leads_to_tech = artillery5
			research_cost_coeff = 1
		}

		research_cost = 2

		start_year = 1926

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

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

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

	artillery5 = {

		artillery = {
			soft_attack = 0.05
		}
		heavy_artillery_cpy = {
	soft_attack = 0.1
}

artillery_brigade = {
	soft_attack = 0.1
}
heavy_artillery_brigade = {
	soft_attack = 0.1
}
mot_artillery_brigade = {
	soft_attack = 0.1
}
category_self_propelled_artillery = {
	soft_attack = 0.05
}
		path = {
			leads_to_tech = artillery_a
			research_cost_coeff = 1
		}
		enable_equipment_modules = {
			tank_heavy_howitzer_1
			auto_loader
		}

		research_cost = 1

		start_year = 1927

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

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

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

	mountain_gun = {

		research_cost = 1

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

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

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

	rocket_artillery = {

		enable_equipments = {
			rocket_artillery_equipment_1
		}
		enable_subunits = {
			mot_rocket_artillery_brigade
			rocket_artillery
			rocket_artillery_brigade
		}
#		enable_subunits = {
#			rocket_artillery_brigade
#		}

		enable_equipment_modules = {
			tank_rocket_launcher
			rocket_rails
			lc_rocket_launcher #Module for Land Cruiser
			anti_tank_rocket_main
			secondary_anti_tank_rocket
		}

		path = {
			leads_to_tech = rocket_artillery2
			research_cost_coeff = 1
		}

		research_cost = 2

		start_year = 1924

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 6 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				tag = RUS
			}
			modifier = {
	factor = 10
	tag = RUS
	date > "1925.1.1"
}
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery2 = {

	category_rocket_artillery = {
			soft_attack = 0.15
		}
		rocket_battery = {
			soft_attack = 0.15
		}

		path = {
			leads_to_tech = rocket_artillery3
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1925

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 8 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				TAG = RUS
			}
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery3 = {

	category_rocket_artillery = {
			soft_attack = 0.15
		}
		rocket_battery = {
			soft_attack = 0.15
		}

		path = {
			leads_to_tech = rocket_artillery4
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1926

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 10 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				TAG = RUS
			}
		}

		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
		}

		path = {
			leads_to_tech = rocket_artillery_a
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1927

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 12 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				TAG = RUS
			}
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	interwar_antiair = {

		enable_equipments = {
			anti_air_equipment_1
		}

		armored_car = {
			hard_attack = 0.1
		}

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

		enable_building = {
			building = anti_air_building
			level = 5
		}

		enable_subunits = {
			anti_air_battery
		}

		path = {
			leads_to_tech = antiair1
			research_cost_coeff = 1
		}

		research_cost = 1.5

		start_year = 1920

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

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

			modifier = {
				factor = 5
				date > "1923.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
		}
		anti_air_battery = {
	air_attack = 0.1
}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}
		category_self_propelled_anti_air = {
	air_attack = 0.15
}

		tech_air_damage_factor = -0.02

		path = {
			leads_to_tech = antiair2
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1923

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 4 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				OR = {
					tag = JAP
					tag = ALK
					tag = USA
				}

				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ALK
				}


				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
		}
		armored_car = {
			hard_attack = 0.1
		}
		static_anti_air_damage_factor = 0.1

		enable_equipment_modules = {
			ship_anti_air_3
			tank_auto_cannon_2
			tank_anti_air_cannon_2
			sub_ship_anti_air_2
			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 = 1924

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 6 }
		}

		ai_will_do = {
			factor = 2

			modifier = {
				OR = {
					tag = JAP
					tag = ALK
					tag = USA
				}

				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ALK
				}


				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
		}
		anti_air_battery = {
	air_attack = 0.1
}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}
		category_self_propelled_anti_air = {
	air_attack = 0.1
}
		enable_equipment_modules = {
			tank_heavy_cannon_2
		}

		tech_air_damage_factor = -0.02

		path = {
			leads_to_tech = antiair4
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1925

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 8 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				OR = {
					tag = JAP
					tag = ALK
					tag = USA
				}
				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ALK
				}


				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
		}
		anti_air_battery = {
	air_attack = 0.1
}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}
		category_self_propelled_anti_air = {
			air_attack = 0.05
		}

		tech_air_damage_factor = -0.02

		path = {
			leads_to_tech = antiair5
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1926

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 10 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				OR = {
					tag = JAP
					tag = ALK
					tag = USA
				}

				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ALK
				}


				factor = 5

			}
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair5 = {

		#navy_anti_air_attack_factor = 0.05

		enable_equipments = {
			anti_air_equipment_3
		}
		armored_car = {
			hard_attack = 0.1
		}

		static_anti_air_damage_factor = 0.1

		path = {
			leads_to_tech = antiair_a
			research_cost_coeff = 1
		}
		enable_equipment_modules = {
			ship_anti_air_4
			tank_heavy_cannon_3
			tank_anti_air_cannon_3
			auto_loader
			lc_heavy_anti_air_platform #Module for Land Cruiser
		}

		research_cost = 1

		start_year = 1927

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 12 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				OR = {
					tag = JAP
					tag = ALK
					tag = USA
				}

				OR = {
					has_war_with = JAP
					has_war_with = USA
					has_war_with = ALK
				}


				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
		}
		armored_car = {
	ap_attack = 0.1
}
		enable_equipment_modules = {
			tank_high_velocity_cannon
			tank_heavy_cannon
			lc_high_velocity_cannon_turret #Module for Land Cruiser
		}
		enable_subunits = {
	anti_tank_battery
}

#Pfot
on_research_complete = {
	if = {
		limit = {
			has_dlc = "Peace For Our Time"
		}
		custom_effect_tooltip = {
			localization_key = SP_UNLOCK_PROJECT
			PROJECT = sp_land_large_caliber_kinetic_energy_sabot
		}
	}
}
#End Pfot

		path = {
			leads_to_tech = antitank1
			research_cost_coeff = 1
		}

		research_cost = 1.5

		start_year = 1920

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 2 }
		}

		ai_will_do = {
			base = 1

			modifier = {
				factor = 0.2

				OR = {
					tag = CHI
					tag = PRC
					tag = XSM
					tag = SIK
					tag = GXC
					tag = SHX
					tag = YUN
				}
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_war_with = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}
			modifier = { #This is needed for a lot of tank designs
				factor = 4.0
				is_major = yes
			}
			modifier = {
				factor = 2
				date > "1921.1.1"
			}

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

			modifier = {
				factor = 5
				date > "1923.1.1"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 30
						}
					}
				}
			}
		}

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

	antitank1 = {

	category_anti_tank = {
		hard_attack = 0.1
		ap_attack = 0.2
	}
		category_tank_destroyers = {
			hard_attack = 0.15
			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 = 1923

		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 = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}

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

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

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

	antitank2 = {

		mot_anti_tank_brigade = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		armored_car = {
			ap_attack = 0.1
		}
		enable_equipments = {
			anti_tank_equipment_2
		}
		enable_equipment_modules = {
			tank_heavy_cannon_2
			tank_buster_1
			bomber_buster_1
		}
		path = {
			leads_to_tech = antitank3
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1924

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 6 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				date > "1923.1.9"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}

			modifier = {
				factor = 2
				date > "1924.1.1"
			}
			modifier = {
				tag = USA
				has_War = no
				factor = 0.5 #this tank nonsense will never catch on
			}

			modifier = {
				factor = 5
				date > "1924.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_anti_tank = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		category_tank_destroyers = {
			hard_attack = 0.1
			ap_attack = 0.05
		}

		path = {
			leads_to_tech = antitank4
			research_cost_coeff = 1
		}

		path = { #Pfot
			leads_to_tech = sp_advance_sabot_shells
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1925

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 8 }
		}

		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}

		special_project_specialization = { specialization_land }

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				date > "1925.1.1"
				}
modifier = {
	factor = 10
	original_tag = EMP
	has_war_with = RUS
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}

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

			modifier = {
				factor = 5
				date > "1927.1.1"
			}
			modifier = {
				factor = 10
				any_enemy_country = {
					ROOT = {
						estimated_intel_max_armor = {
							tag = PREV
							value > 32
						}
					}
				}
			}
		}
	}

	antitank4 = {

		enable_equipment_modules = {
			tank_high_velocity_cannon_2
			tank_buster_2
			bomber_buster_2
		}
		category_anti_tank = {
			hard_attack = 0.1
			ap_attack = 0.1
		}
		category_tank_destroyers = {
			hard_attack = 0.05
			ap_attack = 0.05
		}

		path = {
			leads_to_tech = antitank5
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1926

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 10 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				date > "1926.1.6"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}

			modifier = {
				factor = 5
				date > "1927.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
		}
		armored_car = {
	ap_attack = 0.1
}
		enable_equipment_modules = {
			#tank_medium_cannon_3
			tank_high_velocity_cannon_3
			tank_heavy_cannon_3
			auto_loader
			tank_buster_3
			bomber_buster_3
			lc_heavy_high_velocity_cannons #Module for Land Cruiser
		}

		path = {
			leads_to_tech = antitank_a
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1927

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 12 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				date > "1926.1.9"
			}
			modifier = {
				tag = JAP
				not = {
					OR = {
						has_War_with = RUS
						has_war_with = USA
					}
				}
				factor = 0.5
			}

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

			modifier = {
				factor = 5
				date > "1927.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 }
	}

	antitank_a = {

		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
		}
		category_tank_destroyers = {
			hard_attack = 0.05
			ap_attack = 0.05
		}

		enable_equipment_modules = {
			apds_ammo
			tank_high_velocity_cannon_4
		}

		path = {
			leads_to_tech = antitank_b
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1928

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 14 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_b = {

		# enable_equipment_modules = {
			# apds_ammo
		# }

		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
		}
		category_tank_destroyers = {
			hard_attack = 0.05
			ap_attack = 0.05
		}

		path = {
			leads_to_tech = antitank_c
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1931

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 16 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_c = {

		enable_equipments = {
			anti_tank_equipment_4
		}

		enable_equipment_modules = {

			tank_heavy_cannon_4
		}

		path = {
			leads_to_tech = antitank_d
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1933

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 18 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_d = {

		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
		}
		category_tank_destroyers = {
			hard_attack = 0.05
			ap_attack = 0.05
		}
		enable_equipment_modules = {
			heatfs_ammo
		}

		path = {
			leads_to_tech = antitank_e
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1934

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 20 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_e = {

		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
		}
		category_tank_destroyers = {
			hard_attack = 0.05
			ap_attack = 0.05
		}
		# path = {
			# leads_to_tech = apfsds
			# research_cost_coeff = 1
		# }

		enable_equipment_modules = {
			apfsds_ammo
			tank_high_velocity_cannon_5
		}

		research_cost = 1

		start_year = 1944

		folder = {
			name = artillery_folder
			position = { x = @anti_tank y = 24 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_f = {

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

		is_special_project_tech = yes

		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		path = {
			leads_to_tech = antitank_atgm_2
			research_cost_coeff = 1
		}

		enable_equipments = {
			anti_tank_equipment_5
		}

		enable_equipment_modules = {
			tank_ATGM
			aux_atgm_launcher
			helicopter_anti_tank_missile_module_1
		}


		dependencies = {
			sp_rockets_improved_guidance_2 = 1
		}

		research_cost = 1

		start_year = 1933

		folder = {
			name = artillery_folder
			position = { x = 11 y = 18 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_atgm_2 = {

		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		path = {
			leads_to_tech = antitank_atgm_3
			research_cost_coeff = 1
		}

		enable_equipments = {
			anti_tank_equipment_6
		}
		enable_equipment_modules = {
			helicopter_anti_tank_missile_module_2
		}
		dependencies = {
			sp_rockets_improved_guidance_2 = 1
		}

		research_cost = 1

		start_year = 1939

		folder = {
			name = artillery_folder
			position = { x = 11 y = 22 }
		}

		ai_will_do = {
			factor = 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 }
	}

	antitank_atgm_3 = {

		allow_branch = {
			 has_dlc = "Gotterdammerung"
		}

		enable_equipments = {
			anti_tank_equipment_7
		}

		enable_equipment_modules = {
			helicopter_anti_tank_missile_module_3
		}


		dependencies = {
			sp_rockets_improved_guidance_4 = 1
		}

		research_cost = 1

		start_year = 1949

		folder = {
			name = artillery_folder
			position = { x = 11 y = 26 }
		}

		ai_will_do = {
			factor = 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 }
	}

	artillery_a = {

		enable_equipment_modules = {
			tank_medium_howitzer_4
			#tank_medium_cannon_3
		}

		artillery = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}

		artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}
		path = {
			leads_to_tech = artillery_b
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1928

		folder = {
			name = artillery_folder
			position = { x = 0 y = 14 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}
		special_project_specialization = { specialization_land }
	}

	artillery_b = {


		heavy_artillery_cpy = {
			battalion_mult = {
				category = category_light_artillery
				defense  = 0.05
			}
			battalion_mult = {
				category = category_heavy_artillery
				breakthrough = 0.05
			}
		}

		path = {
			leads_to_tech = artillery_c
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1931

		folder = {
			name = artillery_folder
			position = { x = 0 y = 16 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}
		special_project_specialization = { specialization_land }
	}

	artillery_c = {

		artillery = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}

		artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}

		path = {
			leads_to_tech = artillery_d
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1933

		folder = {
			name = artillery_folder
			position = { x = 0 y = 18 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}
		special_project_specialization = { specialization_land }
	}

	artillery_d = {

		enable_equipments = {
			artillery_equipment_4
			heavy_artillery_equipment_4
		}

		show_equipment_icon = yes

		enable_equipment_modules = {
			tank_heavy_cannon_4
			tank_small_cannon_4
			tank_heavy_howitzer_2
			tank_medium_cannon_3
		}

		artillery = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}

		artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}
		path = {
			leads_to_tech = artillery_e
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1934

		folder = {
			name = artillery_folder
			position = { x = 0 y = 20 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}
		special_project_specialization = { specialization_land }
	}

	artillery_e = {


		heavy_artillery_cpy = {
			battalion_mult = {
				category = category_line_artillery
				default_morale = 0.1
			}
			battalion_mult = {
				category = category_line_artillery
				max_organisation = 0.05
			}
		}

		enable_equipment_modules = {
			tank_medium_howitzer_5
			tank_heavy_howitzer_3
		}

		research_cost = 1

		start_year = 1939

		path = {
			leads_to_tech = artillery_f
			research_cost_coeff = 1
		}
		folder = {
			name = artillery_folder
			position = { x = 0 y = 22 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}
		special_project_specialization = { specialization_land }
	}

	artillery_f = {

		artillery = {
			soft_attack = 0.1
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}

		artillery_brigade = {
			soft_attack = 0.1
		}
		heavy_artillery_brigade = {
			soft_attack = 0.1
		}
		mot_artillery_brigade = {
			soft_attack = 0.1
		}
		category_self_propelled_artillery = {
			soft_attack = 0.15
		}
		research_cost = 1

		start_year = 1944

		folder = {
			name = artillery_folder
			position = { x = 0 y = 24 }
		}

		categories = {
			artillery
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 3
		}

		special_project_specialization = { specialization_land }
	}

	rocket_artillery_a = {

		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
		}
		path = {
			leads_to_tech = rocket_artillery_b
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1928

		folder = {
			name = artillery_folder
			position = { x = 3 y = 14 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}

		special_project_specialization = { specialization_land }
	}

	rocket_artillery_b = {

		rocket_artillery = {
			soft_attack = 0.15
		}
		mot_rocket_artillery_brigade = {
			soft_attack = 0.15
		}

		rocket_artillery_brigade = {
			soft_attack = 0.15
		}

		motorized_rocket_brigade = {
			soft_attack = 0.15
		}

		path = {
			leads_to_tech = rocket_artillery_c
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1931

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 16 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery_c = {

		enable_equipments = {
			rocket_artillery_equipment_3
		}

		enable_equipment_modules = {
			tank_rocket_launcher_3
		}


		motorized_rocket_brigade = {
			soft_attack = 0.3
		}

		path = {
			leads_to_tech = rocket_artillery_d
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1933

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 18 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery_d = {

		rocket_artillery = {
			soft_attack = 0.15
		}
		mot_rocket_artillery_brigade = {
			soft_attack = 0.15
		}

		rocket_artillery_brigade = {
			soft_attack = 0.15
		}

		motorized_rocket_brigade = {
			soft_attack = 0.15
		}
		path = {
			leads_to_tech = rocket_artillery_e
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1934

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 20 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}

	rocket_artillery_e = {

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

		motorized_rocket_brigade = {
			soft_attack = 0.15
		}

		research_cost = 1

		start_year = 1939

		path = {
			leads_to_tech = rocket_artillery_f
			research_cost_coeff = 1
		}

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 22 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air }
	}
	rocket_artillery_f = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_tactical_ballistic_missiles
			}
		}

		is_special_project_tech = yes

		enable_equipments = {
		theater_missile_equipment_1
		}

		enable_subunits = {
			theater_missile
		}

		dependencies = {
			sp_rockets_improved_guidance_4  = 1
		}

		path = {
			leads_to_tech = rocket_artillery_g
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1944

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 24 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air specialization_land }
	}

	rocket_artillery_g = {
		enable_equipments = {
			theater_missile_equipment_2
		}


		path = {
			leads_to_tech = rocket_artillery_h
			research_cost_coeff = 1
		}

		research_cost = 1
		start_year = 1949

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 26 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air specialization_land }
	}

	rocket_artillery_h = {
		enable_equipments = {
			theater_missile_equipment_3
		}


		research_cost = 1
		start_year = 1954

		folder = {
			name = artillery_folder
			position = { x = @rocket_artillery y = 28 }
		}

		ai_will_do = {
			factor = 1
		}

		categories = {
			rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_air specialization_land }
	}

	antiair_a = {

		path = {
			leads_to_tech = antiair_b
			research_cost_coeff = 1
		}

		anti_air = {
			air_attack = 0.1
		}

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

		#navy_anti_air_attack_factor = 0.025

		research_cost = 1

		start_year = 1928

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 14 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair_b = {

		anti_air = {
			air_attack = 0.1
		}

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

		#navy_anti_air_attack_factor = 0.025

		path = {
			leads_to_tech = antiair_c
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1931

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 16 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair_c = {

		enable_equipments = {
			anti_air_equipment_4
		}
		enable_equipment_modules = {
			ship_anti_air_5
			tank_anti_air_cannon_4
		}

		#navy_anti_air_attack_factor = 0.05

		#static_anti_air_damage_factor = 0.1

		path = {
			leads_to_tech = antiair_d
			research_cost_coeff = 1
		}

		research_cost = 1

		start_year = 1933

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 18 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair_d = {

		#is_special_project_tech = yes

		anti_air = {
			air_attack = 0.1
		}

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

		#navy_anti_air_attack_factor = 0.025

		path = {
			leads_to_tech = antiair_e
			research_cost_coeff = 1
		}

		dependencies = {
			postwar_radar_tech_2 = 1
		}

		research_cost = 1

		start_year = 1934

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 20 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair_e = {

		#is_special_project_tech = yes

		anti_air = {
			air_attack = 0.1
		}

		anti_air_brigade = {
			air_attack = 0.1
		}
		mot_anti_air_brigade = {
			air_attack = 0.1
		}
		#navy_anti_air_attack_factor = 0.025

		enable_equipment_modules = {
			tank_anti_air_cannon_5
			radar_fire_director
			radar_guided_aa_cannon
		}

		research_cost = 1

		start_year = 1939

		path = {
			leads_to_tech = antiair_f
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = infantry_aa
			research_cost_coeff = 1
		}
		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 22 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	antiair_f = {
		allow = {
	 		ROOT = {
				is_special_project_completed = sp:sp_low_altitude_sam
			}
		}

		is_special_project_tech = yes

		enable_equipments = {
		medium_range_sam_equipment_1
		}
		enable_subunits = {
			medium_range_sam_battery
		}
	static_anti_air_damage_factor = 0.1

	path = {
		leads_to_tech = antiair_g
		research_cost_coeff = 1
	}

		research_cost = 1

		start_year = 1949

		folder = {
			name = artillery_folder
			position = { x = @anti_air y = 26 }
		}

		ai_will_do = {
			factor = 2
		}

		categories = {
			artillery
			cat_anti_air
			rocketry
mio_cat_all_artillery_equipment
}
special_project_specialization = { specialization_land specialization_air }
}

antiair_g = {

enable_equipments = {
medium_range_sam_equipment_2
}

medium_range_sam_battery = {
air_attack = 0.15
}

static_anti_air_damage_factor = 0.1

research_cost = 1

start_year = 1954

folder = {
name = artillery_folder
position = { x = @anti_air y = 28 }
}

ai_will_do = {
factor = 2
}

categories = {
artillery
cat_anti_air
rocketry
			mio_cat_all_artillery_equipment
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	infantry_aa = {

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

		is_special_project_tech = yes

		enable_equipments = {
			manpad_equipment_1
		}
		# category_all_infantry = {
			# air_attack = 500
		# }
		enable_equipment_modules = {
			surface_to_air_missiles
		}
		# on_research_complete = {
			# custom_effect_tooltip = percentage_increase_notice
		# }
		enable_subunits = {
		manpad_battery
		}

		dependencies = {
			sp_rockets_improved_guidance_4 = 1
		}

		path = {
			leads_to_tech = infantry_aa_2
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1944
		folder = {
			name = artillery_folder
			position = { x = -10 y = 24 }
		}

		categories = {
			infantry_weapons
			cat_anti_air
			rocketry
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 1
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	infantry_aa_2 = {

		is_special_project_tech = yes

		on_research_complete = {
			add_equipment_bonus = {
				name = infantry_aa_2
				bonus = {
					manpad_equipment = {
						air_attack = 0.1
						instant = yes
					}
				}
			}
		}

		research_cost = 1
		start_year = 1949
		folder = {
			name = artillery_folder
			position = { x = -10 y = 27 }
		}

		categories = {
			infantry_weapons
			cat_anti_air
			rocketry
			mio_cat_all_artillery_equipment
		}

		ai_will_do = {
			factor = 1
		}
		special_project_specialization = { specialization_land specialization_air }
	}

	# apfsds = {

		# enable_equipment_modules = {
			# apfsds_ammo

		# }

		# research_cost = 1

		# start_year = 1944

		# folder = {
			# name = artillery_folder
			# position = { x = 9 y = 24 }
		# }

		# ai_will_do = {
			# factor = 1

			# modifier = {
				# factor = 2
				# date > "1926.1.9"
			# }
			# modifier = {
				# tag = JAP
				# not = {
					# OR = {
						# has_War_with = RUS
						# has_war_with = USA
					# }
				# }
				# factor = 0.5
			# }
			# modifier = {
				# factor = 2
				# date > "1927.1.1"
			# }

			# modifier = {
				# factor = 5
				# date > "1927.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
		# }
	# }

	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 = 1924 #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 > "1926.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 = 1924 #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 > "1926.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 = 1925
		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
		}
		heavy_artillery_cpy = {
			soft_attack = 0.1
		}
		artillery_brigade = {
			soft_attack = 0.2
		}
		heavy_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 = 1926
		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 }
	}
	#TAOG
the_thunder_at_our_gates_artillery = {

	artillery_brigade = {
		combat_width = -0.1
	}

}
#End TAOG


#Project Wolfdog

	#Pfot
	sp_land_large_caliber_kinetic_energy_sabot_gd_tech = {
		#HIDDEN EFFECT FOR THE LARGE CALIBER KINETIC ENERGY PENETRATOR

		research_cost = 1
		start_year = 1920

		#fortification_damage = 0.15 #Doesn't work in this context
		sp_land_multi_charge_large_caliber_gun_speed_factor = 0.10
		experience_gain_artillery_combat_factor = 0.10

		artillery_brigade = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		mot_artillery_brigade = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		category_self_propelled_artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		super_heavy_artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		self_propelled_super_heavy_artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		field_guns = {
			ap_attack = 0.1
		}

		allow = {
			always = no
		}
	}

	sp_land_large_caliber_kinetic_energy_sabot_no_gd_tech = {
		#HIDDEN EFFECT FOR THE LARGE CALIBER KINETIC ENERGY PENETRATOR

		research_cost = 1
		start_year = 1920

		#fortification_damage = 0.15 #Doesn't work in this context
		experience_gain_artillery_combat_factor = 0.10

		artillery_brigade = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		mot_artillery_brigade = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		category_self_propelled_artillery = {
			ap_attack = 0.15
			fort = {
				attack = 0.15
			}
		}
		field_guns = {
			ap_attack = 0.1
		}

		allow = {
			always = no
		}
	}

	sp_advance_sabot_shells = {
		allow_branch = {
			has_dlc = "Peace For Our Time"
		}

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

		static_anti_air_hit_chance_factor = 0.15

		anti_tank = {
			ap_attack = 0.15
		}
		anti_tank_brigade = {
			ap_attack = 0.15
		}
		mot_anti_tank_brigade = {
			ap_attack = 0.15
		}
		anti_tank_battery = {
	ap_attack = 0.15
}
		category_tank_destroyers = {
			ap_attack = 0.05
		}

		force_use_small_tech_layout = yes
		research_cost = 1.5
		start_year = 1926
		is_special_project_tech = yes

		folder = {
			name = artillery_folder
			position = { x = 5 y = 10 }
		}

		categories = {
			artillery
			cat_anti_tank
			mio_cat_all_artillery_equipment
		}

		special_project_specialization = { specialization_land }
		ai_will_do = {
			base = 1
			modifier = {
				factor = 2
				is_major = yes
			}
		}
	}
	#End Pfot
}
