technologies = {

	 ##  ###  #   #  ##  #   # ### #  # ###  ##
	#  # #  # ## ## #  # ## ## #   ## #  #  #
	#### ###  # # # #### # # # ##  # ##  #   #
	#  # #  # #   # #  # #   # #   #  #  #    #
	#  # #  # #   # #  # #   # ### #  #  #  ##


	basic_battery = {

		research_cost = 1

		start_year = 1906

		path = {
			leads_to_tech = basic_light_battery
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = light_battery_advice_tt
			custom_effect_tooltip = medium_battery_advice_tt
			custom_effect_tooltip = heavy_battery_advice_tt
			custom_effect_tooltip = secondary_battery_advice_tt
		}

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

		path = {
			leads_to_tech = basic_heavy_battery
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_light_battery_1
			ship_medium_battery_1
			ship_light_medium_battery_1
			ship_heavy_battery_1_2x
			ship_heavy_battery_1_3x
			ship_heavy_battery_1_4x
			ship_secondaries_1
			ship_heavy_battery_0_2x
			# ship_heavy_battery_0_3x
			ship_heavy_battery_0_4x
			ship_deck_gun_sub_1
		}



		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					has_tech = early_ship_hull_light
					has_tech = early_ship_hull_cruiser
					has_tech = early_ship_hull_heavy
				}
				factor = 500
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_light_battery
			cat_ship_medium_battery
			cat_ship_heavy_battery
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	basic_light_battery = {

		research_cost = 1

		start_year = 1920

		path = {
			leads_to_tech = basic_light_shell
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = light_battery_advice_tt
		}

		enable_equipment_modules = {
			ship_light_battery_2
			ship_light_medium_battery_2
			ship_secondaries_2
		}


		folder = {
			name = mtgnavalsupportfolder
			position = { x = -3 y = 5 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				has_tech = basic_ship_hull_light
			}
			factor = 20
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_light_battery
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	basic_light_shell = {

		research_cost = 0.5

		start_year = 1920

		path = {
			leads_to_tech = improved_light_battery
			research_cost_coeff = 1
		}


		destroyer = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		light_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		heavy_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		battleship = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		battle_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		carrier = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = -3 y = 7 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
	has_war = yes
	factor = 10
}

modifier = {
	factor = 2
	date > 1922.1.1
}

modifier = {
	factor = 2
	date > 1923.1.1
}

modifier = {
	factor = 5
	OR = {
		tag = USA
		tag = ALK
		tag = JAP
		tag = ILD
	}
}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_light_battery = {

		research_cost = 1

		start_year = 1923

		path = {
			leads_to_tech = improved_light_shell
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = basic_dp_light_battery
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = light_battery_advice_tt
		}

		enable_equipment_modules = {
			ship_light_battery_3
			ship_deck_gun_sub_2
			ship_light_medium_battery_3
		}



		folder = {
			name = mtgnavalsupportfolder
			position = { x = -3 y = 11 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				has_tech = improved_ship_hull_light
				factor = 20
}

modifier = {
factor = 1.5
date > 1923.1.1
}

modifier = {
factor = 1.5
date > 1924.1.1
}

modifier = {
factor = 3
OR = {
	tag = USA
	tag = ALK
	tag = ILD
	tag = JAP
}
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_light_battery
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_light_shell = {

		research_cost = 0.5

		start_year = 1926

		path = {
			leads_to_tech = advanced_light_battery
			research_cost_coeff = 1
		}

		destroyer = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		light_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		heavy_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		battleship = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		battle_cruiser = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}
		carrier = {
			lg_attack = 0.05
			lg_armor_piercing = 0.05
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = -3 y = 16 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
			has_war = yes
			factor = 10
			}
			modifier = {
				factor = 2
				date > 1926.1.1
			}

			modifier = {
				factor = 2
				date > 1927.1.1
			}

			modifier = {
				factor = 5
				OR = {
					tag = USA
					tag = ALK
				}
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	advanced_light_battery = {

		research_cost = 1

		start_year = 1928

		enable_equipment_modules = {
			ship_light_battery_4
			ship_deck_gun_sub_3
			ship_light_medium_battery_4
		}

		on_research_complete = {
			custom_effect_tooltip = light_battery_advice_tt
		}


		folder = {
			name = mtgnavalsupportfolder
			position = { x = -3 y = 19 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
			has_tech = advanced_ship_hull_light
			factor = 20
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_light_battery
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	basic_heavy_battery = {

		research_cost = 1

		start_year = 1920

		path = {
			leads_to_tech = basic_heavy_shell
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_medium_battery_2
			ship_heavy_battery_2_2x
			ship_heavy_battery_2_3x
			ship_heavy_battery_2_4x
			ship_super_heavy_battery_1_2x
			ship_super_heavy_battery_1_3x
			ship_super_heavy_battery_1_4x
			ship_heavy_battery_5_2x
			ship_heavy_battery_5_3x
			ship_heavy_battery_5_4x
		}

		on_research_complete = {
			custom_effect_tooltip = heavy_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 3 y = 5 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				has_tech = basic_ship_hull_heavy
				factor = 20
}
modifier = {
				OR = {
					tag = EMP
					tag = JAP
					tag = USA
				}
				factor = 2
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_heavy_battery
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_heavy_battery = {

		research_cost = 1

		start_year = 1923

		path = {
			leads_to_tech = improved_heavy_shell
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_medium_battery_3
			ship_heavy_battery_3_2x
			ship_heavy_battery_3_3x
			ship_heavy_battery_3_4x
			ship_super_heavy_battery_2_2x
			ship_super_heavy_battery_2_3x
			ship_super_heavy_battery_2_4x
		}

		on_research_complete = {
			custom_effect_tooltip = heavy_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 3 y = 11 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 50
				tag = USA
				date > 1921.1.1
			}
			modifier = {
				factor = 20
				has_tech = improved_ship_hull_heavy
			}
			modifier = {
			OR = {
tag = EMP
tag = JAP
}
factor = 2
}

modifier = {
factor = 1.5
date > 1923.1.1
}

modifier = {
factor = 1.5
date > 1924.1.1
}

modifier = {
factor = 3
OR = {
tag = USA
tag = ALK
				}
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_heavy_battery
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval }
	}
	advanced_heavy_battery = {

		research_cost = 1

		start_year = 1928

		enable_equipment_modules = {
			ship_medium_battery_4
			ship_heavy_battery_4_2x
			ship_heavy_battery_4_3x
			ship_heavy_battery_4_4x
		}

		on_research_complete = {
			custom_effect_tooltip = heavy_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 3 y = 19 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				has_tech = advanced_ship_hull_heavy
				factor = 20
}
modifier = {
				OR = {
					tag = EMP
					tag = JAP
					tag = USA
				}
				factor = 2
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			cat_ship_heavy_battery
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval }
	}
	basic_heavy_shell = {

		research_cost = 0.5

		start_year = 1920

		path = {
			leads_to_tech = improved_heavy_battery
			research_cost_coeff = 1
		}

		battleship = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}
		battle_cruiser = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}
		heavy_cruiser = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 3 y = 7 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
			is_major = yes
has_war = yes
factor = 5
}
modifier = {
				factor = 100
				tag = USA
				date > 1921.1.1
			}

	modifier = {
		factor = 5
		date > 1922.1.1
	}

	modifier = {
		factor = 5
		date > 1923.1.1
	}
	modifier = {
		factor = 5
				has_tech = basic_ship_hull_heavy
			}
			modifier = {
		factor = 5
		OR = {
			tag = USA
			tag = ALK
			tag = JAP
			tag = ILD
				}
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_heavy_shell = {

		research_cost = 0.5

		start_year = 1926

		path = {
			leads_to_tech = advanced_heavy_battery
			research_cost_coeff = 1
		}

		battleship = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}
		battle_cruiser = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}
		heavy_cruiser = {
			hg_attack = 0.05
			hg_armor_piercing = 0.05
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 3 y = 16 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				is_major = yes
				has_war = yes
				factor = 5
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	basic_dp_light_battery = {

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

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1923

		enable_equipment_modules = {
			dp_light_battery_2
			dp_ship_secondaries_2
			dp_light_battery_1
			dp_ship_secondaries_1
		}

		path = {
			leads_to_tech = improved_dp_light_battery
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = secondary_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 11 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
			OR = {
tag = ALK
tag = USA
tag = JAP
}
factor = 20
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_dp_light_battery = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1923

		enable_equipment_modules = {
			dp_light_battery_3
			dp_ship_secondaries_3
		}

		on_research_complete = {
			custom_effect_tooltip = secondary_battery_advice_tt
		}

		path = {
			leads_to_tech = advanced_dp_light_battery
			research_cost_coeff = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 13 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
			OR = {
	tag = ALK
	tag = USA
	tag = JAP
}
factor = 20
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	advanced_dp_light_battery = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1928

		enable_equipment_modules = {
			dp_light_battery_4
			dp_ship_secondaries_4
			dp_ship_medium_1
		}

		on_research_complete = {
			custom_effect_tooltip = secondary_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}

		path = {
			leads_to_tech = modern_dp_light_battery
			research_cost_coeff = 1
		}


		ai_will_do = {
			factor = 2
			modifier = {
			OR = {
				tag = ALK
				tag = USA
				tag = JAP
			}
			factor = 20
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	modern_dp_light_battery = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1934

		enable_equipment_modules = {
			dp_light_battery_5
			dp_ship_secondaries_5
		}

		on_research_complete = {
			custom_effect_tooltip = secondary_battery_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 25 }
		}

		ai_will_do = {
			modifier = {
				factor = 20
				OR = {
					tag = ALK
					tag = USA
					tag = JAP
				}
			}
		}

		categories = {
			naval_artillery
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	# basic_dp_medium_battery = {

		# is_special_project_tech = yes

		# research_cost = 1.5

		# start_year = 1928

		# enable_equipment_modules = {
			# dp_ship_medium_1
		# }

		# on_research_complete = {
			# custom_effect_tooltip = secondary_battery_advice_tt
		# }

		# folder = {
			# name = mtgnavalsupportfolder
			# position = { x = 3 y = 19 }
		# }

		# ai_will_do = {
			# factor = 2
			# modifier = {
				# factor = 20
				# OR = {
					# tag = ALK
					# tag = USA
					# tag = JAP
				# }
			# }
		# }

		# categories = {
			# naval_equipment
			# ship_modules_tech
			# mio_cat_tech_all_capital_ship_and_modules
			# mio_cat_tech_all_screen_ship_and_modules
			# mio_cat_tech_all_cruiser_and_modules

		# }
	# }

###  ##  ###  ###  ### ###   ##      #   #  ##  ###   ##  ### ###  ###
 #  #  # #  # #  # #   #  # #  #     #   # #  # #  # #  # #   #  # #
 #  #  # ###  ###  ##  #  # #  #     # # # #### ###  #### ##  ###  ##
 #  #  # #  # #    #   #  # #  #     # # # #  # #  # #  # #   #  # #
 #   ##  #  # #    ### ###   ##       # #  #  # #  # #  # #   #  # ###

	basic_torpedo = {

		research_cost = 2.0

		start_year = 1906

		path = {
			leads_to_tech = magnetic_detonator
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = improved_ship_torpedo_launcher
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_torpedo_s
			ship_torpedo_d
			ship_torpedo_1
			ship_torpedo_sub_1
		}

		on_research_complete = {
			custom_effect_tooltip = torpedo_advice_tt
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules #Not really Sub but unlocks tech improving Subs torpedo stuff later
		}
		special_project_specialization = { specialization_naval }
	}

	magnetic_detonator = {

		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		research_cost = 2.5

		start_year = 1920


		enable_equipment_modules = {
			ship_torpedo_sub_2
		}

		path = {
			leads_to_tech = electric_torpedo
			research_cost_coeff = 1
		}

		destroyer = {
			torpedo_attack = 0.2
		}
		submarine = {
			torpedo_attack = 0.2
		}
		light_cruiser = {
			torpedo_attack = 0.2
		}
		heavy_cruiser = {
			torpedo_attack = 0.2
		}



		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 7 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 60
				has_tech = basic_ship_hull_submarine
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					#tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
			modifier = {
				factor = 2
				tag = JAP #Japan wants torpedoes EXTRA HARD
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	asw_torpedo = {

		xp_research_type = navy
		xp_boost_cost  = 50
		xp_research_bonus = 1.50
		research_cost = 2.5

		enable_equipment_modules = {
			ship_torpedo_sub_5
		}

		path = {
			leads_to_tech = wire_torpedo
			research_cost_coeff = 1
		}

		start_year = 1934
		# destroyer = {
			# torpedo_attack = 0.1
		# }
		# submarine = {
			# torpedo_attack = 0.1
		# }
		# light_cruiser = {
			# torpedo_attack = 0.1
		# }
		# heavy_cruiser = {
			# torpedo_attack = 0.1
		# }
		destroyer = {
			sub_attack = 0.1
		}
		submarine = {
			sub_attack = 0.1
		}
		light_cruiser = {
			sub_attack = 0.1
		}
		heavy_cruiser = {
			sub_attack = 0.1
		}
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 25 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					#tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	wire_torpedo = {

		xp_research_type = navy
		xp_boost_cost  = 50
		xp_research_bonus = 1.50
		research_cost = 2.5


		path = {
			leads_to_tech = high_performance_torpedo
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_torpedo_sub_6
		}

		start_year = 1939
		destroyer = {
			torpedo_attack = 0.1
		}
		submarine = {
			torpedo_attack = 0.1
		}
		light_cruiser = {
			torpedo_attack = 0.1
		}
		heavy_cruiser = {
			torpedo_attack = 0.1
		}
		destroyer = {
			sub_attack = 0.1
		}
		submarine = {
			sub_attack = 0.1
		}
		light_cruiser = {
			sub_attack = 0.1
		}
		heavy_cruiser = {
			sub_attack = 0.1
		}
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 31 }
		}

		ai_will_do = {
			factor = 2

			modifier = {
				factor = 5
				OR = {
					tag = JAP
					#tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	high_performance_torpedo = {

		xp_research_type = navy
		xp_boost_cost  = 50
		xp_research_bonus = 1.50
		research_cost = 2.5

		enable_equipment_modules = {
			ship_torpedo_sub_7
		}

		start_year = 1944
		destroyer = {
			torpedo_attack = 0.1
		}
		submarine = {
			torpedo_attack = 0.1
		}
		light_cruiser = {
			torpedo_attack = 0.1
		}
		heavy_cruiser = {
			torpedo_attack = 0.1
		}
		destroyer = {
			sub_attack = 0.1
		}
		submarine = {
			sub_attack = 0.1
		}
		light_cruiser = {
			sub_attack = 0.1
		}
		heavy_cruiser = {
			sub_attack = 0.1
		}
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 37 }
		}

		ai_will_do = {
			factor = 2

			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	electric_torpedo = {

		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		research_cost = 2.5

		start_year = 1924

		enable_equipment_modules = {
			ship_torpedo_sub_3
		}

		path = {
			leads_to_tech = homing_torpedo
			research_cost_coeff = 1
		}

		naval_torpedo_reveal_chance_factor = -0.25


		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 13 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 60
				has_tech = improved_ship_hull_submarine
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
					tag = EMP
				}
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	homing_torpedo = {

		path = {
			leads_to_tech = asw_torpedo
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_torpedo_sub_4
		}

		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		research_cost = 2.5

		start_year = 1926
		destroyer = {
			naval_torpedo_hit_chance_factor = 0.1
		}
		submarine = {
			naval_torpedo_hit_chance_factor = 0.1
		}
		light_cruiser = {
			naval_torpedo_hit_chance_factor = 0.1
		}
		heavy_cruiser = {
			naval_torpedo_hit_chance_factor = 0.1
		}
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 16 }
		}
		naval_torpedo_reveal_chance_factor = -0.25

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 60
				has_tech = improved_ship_hull_submarine
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
					tag = EMP
				}
			}
			modifier = {
				factor = 3
				has_war = yes
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_ship_torpedo_launcher = {

		research_cost = 1.5

		start_year = 1920

		path = {
			leads_to_tech = advanced_ship_torpedo_launcher
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = torpedo_advice_tt
		}

		enable_equipment_modules = {
			ship_torpedo_2

		}



		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 7 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 10
				has_tech = basic_ship_hull_light
			}
			modifier = {
			tag = JAP
factor = 5
}
modifier = {
factor = 5
OR = {
tag = JAP
tag = USA
tag = EMP
}
}

modifier = {
factor = 1.5
date > 1921.1.1
}
modifier = {
factor = 1.5
date > 1922.1.1
}
modifier = {
factor = 1.5
date > 1923.1.1
}
modifier = {
factor = 3
has_war = yes
has_navy_size = {
size > 10
type = screen_ship
}
}
}

categories = {
naval_equipment
ship_modules_tech
cat_torpedoes
mio_cat_tech_all_screen_ship_and_modules
mio_cat_tech_all_cruiser_and_modules
mio_cat_tech_all_destroyer_and_modules
mio_cat_tech_all_submarine_and_modules
}
special_project_specialization = { specialization_naval }
	}
	advanced_ship_torpedo_launcher = {

		research_cost = 1.5

		start_year = 1924

		path = {
			leads_to_tech = modern_ship_torpedo_launcher
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = torpedo_advice_tt
		}

		enable_equipment_modules = {
			ship_torpedo_3
		}



		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 13 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
			tag = JAP
factor = 5
}
modifier = {
factor = 1.5
date > 1925.1.1
}

modifier = {
factor = 1.5
date > 1926.1.1
}
modifier = {
				factor = 10
				has_tech = improved_ship_hull_light
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
				}
			}
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 10
					type = screen_ship
				}
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
	}
	special_project_specialization = { specialization_naval }
	}
	modern_ship_torpedo_launcher = {

		research_cost = 1.5

		start_year = 1928

		path = {
			leads_to_tech = ship_torpedo_launcher_5
		}

		enable_equipment_modules = {
			ship_torpedo_4
		}

		on_research_complete = {
			custom_effect_tooltip = torpedo_advice_tt
		}


		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 10
				has_tech = advanced_ship_hull_light
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
				}
			}
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 10
					type = screen_ship
				}
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			cat_torpedoes
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
			mio_cat_tech_all_submarine_and_modules
}
special_project_specialization = { specialization_naval }
	}


###   ##  #   #  ##   ##  ###      ##   ##  #  # ### ###   ##  #
#  # #  # ## ## #  # #    #       #  # #  # ## #  #  #  # #  # #
#  # #### # # # #### # ## ##      #    #  # # ##  #  ###  #  # #
#  # #  # #   # #  # #  # #       #  # #  # #  #  #  #  # #  # #
###  #  # #   # #  #  ##  ###      ##   ##  #  #  #  #  #  ##  ###

	damage_control_1 = {

		research_cost = 2.5
		path = {
			leads_to_tech = damage_control_2
			research_cost_coeff = 1
		}
		critical_receive_chance = -0.1
		naval_critical_effect_factor = -0.1
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
			factor = 0
date < 1921.1.1
}
modifier = {
has_navy_size = { size < 10 }
factor = 0.1
}
modifier = {
factor = 0.25
is_historical_focus_on = yes
tag = JAP
}
modifier = {
factor = 3
tag = USA
}
modifier = {
factor = 3
has_war = yes
has_navy_size = {
size > 15
}
}
}

categories = {
naval_equipment
ship_modules_tech
mio_cat_tech_all_capital_ship_and_modules
mio_cat_tech_all_screen_ship_and_modules
mio_cat_tech_all_submarine_and_modules
mio_cat_tech_all_carrier_and_modules
mio_cat_tech_all_cruiser_and_modules
mio_cat_tech_all_destroyer_and_modules
}
special_project_specialization = { specialization_naval }
	}

	damage_control_2 = {

		research_cost = 2.5
		path = {
			leads_to_tech = damage_control_3
			research_cost_coeff = 1
		}
		critical_receive_chance = -0.1
		naval_critical_effect_factor = -0.1
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 6 }
		}

		ai_will_do = {
			factor = 3
			modifier = {
			factor = 0
			date < 1923.1.1
		}
		modifier = {
			factor = 0.25
			is_historical_focus_on = yes
			tag = JAP
			}
			modifier = {
				factor = 3
				tag = USA
}
modifier = {
factor = 3
has_war = yes
has_navy_size = {
	size > 15
}
}
}

categories = {
naval_equipment
ship_modules_tech
mio_cat_tech_all_capital_ship_and_modules
mio_cat_tech_all_screen_ship_and_modules
mio_cat_tech_all_submarine_and_modules
mio_cat_tech_all_carrier_and_modules
mio_cat_tech_all_cruiser_and_modules
mio_cat_tech_all_destroyer_and_modules
}
special_project_specialization = { specialization_naval }
	}

	damage_control_3 = {
		path = {
			leads_to_tech = damage_control_4
			research_cost_coeff = 1
		}
		research_cost = 2.5
		critical_receive_chance = -0.1
		naval_critical_effect_factor = -0.1
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 12 }
		}

		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.25
				is_historical_focus_on = yes
				tag = JAP
			}
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 15
				}
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_submarine_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	damage_control_4 = {

		research_cost = 2.5
		critical_receive_chance = -0.1
		naval_critical_effect_factor = -0.1
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}
		# path = {
			# leads_to_tech = sp_improved_repair_ship
			# research_cost_coeff = 1
		# }

		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0.25
				is_historical_focus_on = yes
				tag = JAP
			}
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 15
				}
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_submarine_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}
### ### ###  ###      ##   ##  #  # ### ###   ##  #       #   # ### ### #  #  ##  ###   ##
#    #  #  # #       #  # #  # ## #  #  #  # #  # #       ## ## #    #  #  # #  # #  # #
##   #  ###  ##      #    #  # # ##  #  ###  #  # #       # # # ##   #  #### #  # #  #  #
#    #  #  # #       #  # #  # #  #  #  #  # #  # #       #   # #    #  #  # #  # #  #   #
#   ### #  # ###      ##   ##  #  #  #  #  #  ##  ###     #   # ###  #  #  #  ##  ###  ##

#NOTE: FIRE CONTROL SYSTEMS ARE IN ELECTROMECHANICAL ENGINEERING FOLDER!

	fire_control_methods_1 = {

		research_cost = 2.5
		path = {
			leads_to_tech = fire_control_methods_2
			research_cost_coeff = 1
		}
		battleship = {
			lg_attack = 0.05
			hg_attack = 0.05
		}
		battle_cruiser = {
			lg_attack = 0.05
			hg_attack = 0.05
		}
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
		factor = 1
		modifier = {
			has_navy_size = { size < 10 }
			factor = 0.1
		}

		modifier = {
			has_war = yes
			factor = 2
		}

		modifier = {
			OR = {
				tag = USA
				tag = ALK
				tag = JAP
				tag = ILD
			}
			factor = 5
		}

		modifier = {
			factor = 2
			date > 1922.1.1
		}

		modifier = {
			factor = 2
			date > 1923.1.1
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules #Not really but for further tech
			mio_cat_tech_all_cruiser_and_modules #Not really but for further tech
			mio_cat_tech_all_destroyer_and_modules #Not really but for further tech
		}
		special_project_specialization = { specialization_naval }
	}

	fire_control_methods_2 = {
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		research_cost = 2.5
		path = {
			leads_to_tech = fire_control_methods_3
			research_cost_coeff = 1
		}
		battleship = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		battle_cruiser = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		heavy_cruiser = {
			lg_attack = 0.05
			hg_attack = 0.05
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 6 }
		}

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

		modifier = {
			OR = {
				tag = USA
				tag = ALK
				tag = JAP
				tag = ILD
			}
			date > 1923.1.1
			factor = 5
		}

		modifier = {
			factor = 2
			date > 1924.1.1
		}

		modifier = {
			factor = 2
			date > 1925.1.1
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules #Not really but for further tech
			mio_cat_tech_all_cruiser_and_modules #Not really but for further tech
			mio_cat_tech_all_destroyer_and_modules #Not really but for further tech
		}
		special_project_specialization = { specialization_naval }
	}

	fire_control_methods_3 = {
		path = {
			leads_to_tech = fire_control_methods_4
			research_cost_coeff = 1
		}
		research_cost = 2.5
		battleship = {
			lg_attack = 0.15
			hg_attack = 0.15
		}
		battle_cruiser = {
			lg_attack = 0.15
			hg_attack = 0.15
		}
		heavy_cruiser = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		light_cruiser = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		destroyer = {
			lg_attack = 0.05
			hg_attack = 0.05
		}
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 12 }
		}

		ai_will_do = {
		factor = 1
		modifier = {
			has_war = yes
			factor = 2
		}
		modifier = {
			OR = {
				tag = USA
				tag = ALK
				tag = JAP
				tag = ILD
			}
			date > 1925.1.1
			factor = 5
		}
		modifier = {
			factor = 0.1
			original_tag = EMP
		}
	}

	categories = {
		naval_equipment
		ship_modules_tech
		mio_cat_tech_all_capital_ship_and_modules
		mio_cat_tech_all_screen_ship_and_modules
		mio_cat_tech_all_cruiser_and_modules
		mio_cat_tech_all_destroyer_and_modules
	}
	special_project_specialization = { specialization_naval }
	}

	fire_control_methods_4 = {

		research_cost = 2.5
		battleship = {
			lg_attack = 0.15
			hg_attack = 0.15
		}
		battle_cruiser = {
			lg_attack = 0.15
			hg_attack = 0.15
		}
		heavy_cruiser = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		light_cruiser = {
			lg_attack = 0.1
			hg_attack = 0.1
		}
		destroyer = {
			lg_attack = 0.05
			hg_attack = 0.05
		}
		xp_research_type = navy
		xp_boost_cost = 50
		xp_research_bonus = 1.50
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}

		ai_will_do = {
			factor = 3
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 15
				}
			}
			modifier = {
				factor = 5
				tag = JAP
			}
		}

		categories = {
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

#   # ### #  # ###  ##
## ##  #  ## # #   #
# # #  #  # ## ##   #
#   #  #  #  # #     #
#   # ### #  # ### ##

	basic_naval_mines = {

		research_cost = 2

		start_year = 1906

		path = {
			leads_to_tech = improved_naval_mines
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = submarine_mine_laying
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_mine_layer_1
		}

		enable_equipment_modules = {
			ship_mine_sweeper_1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 6
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
	}

	submarine_mine_laying = {

		research_cost = 2

		start_year = 1906

		path = {
			leads_to_tech = improved_submarine_mine_laying
			research_cost_coeff = 1
		}

		enable_equipment_modules = {
			ship_mine_layer_sub
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 4 y = 1 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	improved_submarine_mine_laying = {

		research_cost = 2

		start_year = 1924

		submarine = {
			mines_planting = 0.2
		}
		path = {
			leads_to_tech = advanced_submarine_mine_laying
			research_cost_coeff = 1
		}
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 4 y = 13 }
		}

		ai_will_do = {
			factor = 1.5
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	advanced_submarine_mine_laying = {

		research_cost = 2

		start_year = 1934

		submarine = {
			mines_planting = 0.2
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 4 y = 25 }
		}

		ai_will_do = {
			factor = 1.5
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			ship_modules_tech
			mio_cat_tech_all_submarine_and_modules
		}
		special_project_specialization = { specialization_naval }
	}
	improved_naval_mines = {

		research_cost = 2

		start_year = 1920

		path = {
			leads_to_tech = advanced_naval_mines
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = degaussing
			research_cost_coeff = 1
		}



		naval_mines_damage_factor = 0.2 # more boom for the boom box
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 6 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	degaussing = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1922

		naval_mines_effect_reduction = 0.5

		destroyer = {
			sub_detection = 0.1
			}
		light_cruiser = {
			sub_detection = 0.1
			}
		heavy_cruiser = {
			sub_detection = 0.1
			}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 10 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
					tag = RUS
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minesweeping
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_submarine_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	advanced_naval_mines = {

		research_cost = 2

		start_year = 1926

		path = {
			leads_to_tech = modern_naval_mines
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = airdrop_mines
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = airdrop_mines_bba
			research_cost_coeff = 1
		}

		naval_mines_damage_factor = 0.2 # more boom for the boom box
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 15 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				OR = {
					tag = USA
					tag = ALK
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	airdrop_mines = {

		is_special_project_tech = yes

		allow_branch = {
			NOT = { has_dlc = "By Blood Alone" }
		}

		research_cost = 2

		start_year = 1926

		category_nav_bomber = {
			mines_planting = 0.05
		}
		category_tac_bomber = {
			mines_planting = 0.08
		}
		category_strat_bomber = {
			mines_planting = 0.13
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 15 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 7
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
		}
		special_project_specialization = { specialization_naval }
	}

	airdrop_mines_bba = {
		allow_branch = {
			has_dlc = "By Blood Alone"
		}

		research_cost = 1

		start_year = 1926

		enable_equipment_modules = {
			airdropped_mines
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 15 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				OR = {
					tag = EMP
					tag = USA
					tag = ALK
				}
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
		}
		special_project_specialization = { specialization_naval }
	}

	modern_naval_mines = {

		research_cost = 2

		start_year = 1929

		path = {
			leads_to_tech = airsweep_mines
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = airsweep_mines_bba
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = naval_mines_1934
			research_cost_coeff = 1
		}

		naval_mines_damage_factor = 0.2 # more boom for the boom box
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	naval_mines_1934 = {

		research_cost = 2

		start_year = 1934

		path = {
			leads_to_tech = naval_mines_1934b
			research_cost_coeff = 1
		}
		path = {
			leads_to_tech = naval_mines_1939
			research_cost_coeff = 1
		}

		naval_mines_damage_factor = 0.2 # more boom for the boom box
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 25 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	naval_mines_1934b = {

		research_cost = 2

		start_year = 1934

		mines_sweeping_by_fleets_factor = 0.2
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 25 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	naval_mines_1939 = {

		research_cost = 2

		start_year = 1939

		path = {
			leads_to_tech = naval_mines_1939b
			research_cost_coeff = 1
		}

		mines_planting_by_air_factor = 0.2 # more boom for the boom box
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 31 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	naval_mines_1939b = {

		research_cost = 2

		start_year = 1939

		mines_sweeping_by_air_factor = 0.2
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 31 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				tag = USA
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minelaying
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	airsweep_mines = {
		allow_branch = {
			NOT = { has_dlc = "By Blood Alone" }
		}

		research_cost = 2

		start_year = 1928

		category_nav_bomber = {
			mines_sweeping = 0.1
		}

		category_tac_bomber = {
			mines_sweeping = 0.15
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 19 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minesweeping
			naval_equipment
		}
		special_project_specialization = { specialization_naval }
	}

	airsweep_mines_bba = {
		allow_branch = {
			has_dlc = "By Blood Alone"
		}

		research_cost = 1

		start_year = 1928

		enable_equipment_modules = {
			demining_coil
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 2 y = 19 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 2
				is_major = no
			}
		}

		categories = {
			naval_mines
			naval_minesweeping
			naval_equipment
		}
		special_project_specialization = { specialization_naval }
	}

	mtg_transport = { #WHEN BALANCING - ALSO FIX REGULAR NAVAL TREE

		transport_capacity = -0.33
		naval_invasion_prep_days = -10
		naval_invasion_division_cap = 2
		naval_invasion_plan_cap = 1

		enable_equipments = {
			amphibious_assault_ship_1
		}

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

		path = {
			leads_to_tech = mtg_landing_craft
			research_cost_coeff = 1
		}

		research_cost = 1.5
		start_year = 1906

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 1 }
		}

		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0.5
				has_war = no
			}

			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				has_war_with = JAP
				factor = 2
			}

			modifier = {
				factor = 3
				tag = JAP
			}

			modifier = {
				factor = 2
				tag = ALK
			}
		}

		categories = {
			naval_equipment
			tp_tech
		}
		special_project_specialization = { specialization_naval }
	}

	mtg_landing_craft = {

		#invasion_preparation = -0.25
		amphibious_invasion_defence = 0.15
		naval_invasion_prep_days = -10
		naval_invasion_division_cap = 4
		naval_invasion_plan_cap = 3
		#naval_invasion_capacity = 20

		enable_equipments = {
			amphibious_assault_ship_2
			floating_harbor_equipment_1
		}

		path = {
			leads_to_tech = mtg_tank_landing_craft
			research_cost_coeff = 1
		}

		show_equipment_icon = yes

		research_cost = 2
		start_year = 1924

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 13 }
		}

		ai_will_do = {
			factor = 2

			modifier = {
				factor = 0.5
				has_war = no
			}

			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				has_war_with = JAP
				factor = 2
			}
			modifier = {
				factor = 50
				tag = JAP
				OR = {
					has_war_with = USA
					CHI = {
						OR = {
							has_capitulated = yes
							exists = no
		                    is_subject_of = JAP
						}
					}
				}
			}

			modifier = {
				factor = 2
				tag = ALK
			}

			modifier = {
				factor = 10
				OR = {
					tag = ALK
					tag = USA
				}
				has_war_with = EMP
				EMP = { has_war_with = RUS }
			}
		}

		categories = {
			naval_equipment
			tp_tech
		}
		special_project_specialization = { specialization_naval }
	}

	mtg_tank_landing_craft = {

		amphibious_invasion = 0.25
		amphibious_invasion_defence = 0.5
		naval_invasion_prep_days = -10
		naval_invasion_division_cap = 5
		naval_invasion_plan_cap = 4
		#naval_invasion_capacity = 100

		enable_equipments = {
			amphibious_assault_ship_3
		}

		research_cost = 2
		start_year = 1928
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 19 }
		}
		path = {
			leads_to_tech = adv_tank_landing_craft
			research_cost_coeff = 1
		}

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

		ai_will_do = {
			factor = 2

			modifier = {
				factor = 0.5
				has_war = no
			}

			modifier = {
				factor = 20
				tag = USA
			}
			modifier = {
				factor = 2
				has_war_with = JAP
			}
			modifier = {
				factor = 3
				tag = JAP
			}

			modifier = {
				factor = 2
				tag = ALK
			}
		}

		categories = {
			naval_equipment
			tp_tech
		}
		special_project_specialization = { specialization_naval }
	}

	adv_tank_landing_craft = {

		amphibious_invasion = 0.25

		enable_equipments = {
	amphibious_assault_ship_4
}

		research_cost = 2
		start_year = 1934
		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 25 }
		}

		path = {
			leads_to_tech = landing_ship_dock
			research_cost_coeff = 1
		}

        # on_research_complete = {
            # custom_effect_tooltip = ADV_LANDING_CRAFT_TOOLTIP
        # }

		path = {
			leads_to_tech = mod_tank_landing_craft
			research_cost_coeff = 1
		}
		show_effect_as_desc = yes

ai_will_do = {
	factor = 2

	modifier = {
		factor = 0.5
		has_war = no
	}

	modifier = {
		factor = 2
		tag = USA
	}
	modifier = {
		factor = 2
		has_war_with = JAP
	}
	modifier = {
		factor = 3
		tag = JAP
	}

	modifier = {
		factor = 2
		tag = ALK
	}
}

categories = {
	naval_equipment
	tp_tech
}
special_project_specialization = { specialization_naval }
}

landing_ship_dock = {

research_cost = 1

start_year = 1939

naval_invasion_planning_bonus_speed = 0.2
naval_invasion_prep_speed = 0.1

floating_harbor_supply = 0.1
floating_harbor_range = 0.5
floating_harbor_duration = 0.5

enable_equipments = {
	amphibious_assault_ship_5
}

path = {
	leads_to_tech = landing_platform_helicopter
	research_cost_coeff = 1
}

folder = {
	name = mtgnavalsupportfolder
	position = { x = 0 y = 31 }
}

show_effect_as_desc = yes

ai_will_do = {
	factor = 2

	modifier = {
		factor = 0.5
		has_war = no
	}

	modifier = {
		factor = 2
		tag = USA
	}
	modifier = {
		factor = 2
		has_war_with = JAP
	}
	modifier = {
		factor = 3
		tag = JAP
	}

	modifier = {
		factor = 2
		tag = ALK
	}
}

categories = {
	naval_equipment
	tp_tech
}
special_project_specialization = { specialization_naval }
}

landing_platform_helicopter = {

research_cost = 1

start_year = 1944

enable_equipments = {
	amphibious_assault_ship_6
}

naval_invasion_planning_bonus_speed = 0.1
naval_invasion_prep_speed = 0.2

amphibious_invasion = 0.25
floating_harbor_supply = 0.1
floating_harbor_range = 0.5
floating_harbor_duration = 0.5

folder = {
	name = mtgnavalsupportfolder
	position = { x = 0 y = 37 }
}

show_effect_as_desc = yes


		ai_will_do = {
			factor = 2

			modifier = {
				factor = 0.5
				has_war = no
			}

			modifier = {
				factor = 2
				tag = USA
			}
			modifier = {
				factor = 2
				has_war_with = JAP
			}
			modifier = {
				factor = 3
				tag = JAP
			}

			modifier = {
				factor = 2
				tag = ALK
			}
		}

		categories = {
			naval_equipment
			tp_tech
		}
		special_project_specialization = { specialization_naval }
	}

	ship_torpedo_launcher_5 = {

		research_cost = 1

		start_year = 1934

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

		enable_equipment_modules = {
			ship_torpedo_5
		}

		on_research_complete = {
			custom_effect_tooltip = torpedo_advice_tt
		}


		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 26 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 10
				has_tech = ship_hull_light_5
			}
			modifier = {
				factor = 5
				OR = {
					tag = JAP
					tag = USA
				}
			}
			modifier = {
				factor = 3
				has_war = yes
				has_navy_size = {
					size > 10
					type = screen_ship
				}
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval }
	}

	# ship_torpedo_launcher_6 = {

		# research_cost = 1

		# start_year = 1939

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

		# enable_equipment_modules = {
			# ship_torpedo_6
		# }

		# on_research_complete = {
			# custom_effect_tooltip = torpedo_advice_tt
		# }


		# folder = {
			# name = mtgnavalsupportfolder
			# position = { x = 0 y = 32 }
		# }

		# ai_will_do = {
			# factor = 2
			# modifier = {
				# factor = 5
				# tag = JAP
			# }
		# }

		# categories = {
			# naval_equipment
			# mio_cat_tech_all_screen_ship_and_modules
			# mio_cat_tech_all_cruiser_and_modules
			# mio_cat_tech_all_destroyer_and_modules
		# }
	# }

	# ship_torpedo_launcher_7 = {

		# research_cost = 1

		# start_year = 1944


		# enable_equipment_modules = {
			# ship_torpedo_7
		# }

		# on_research_complete = {
			# custom_effect_tooltip = torpedo_advice_tt
		# }


		# folder = {
			# name = mtgnavalsupportfolder
			# position = { x = 0 y = 38 }
		# }

		# ai_will_do = {
			# factor = 2
			# modifier = {
				# factor = 5
				# tag = JAP
			# }
		# }

		# categories = {
			# naval_equipment
			# mio_cat_tech_all_screen_ship_and_modules
			# mio_cat_tech_all_cruiser_and_modules
			# mio_cat_tech_all_destroyer_and_modules
		# }
	# }

	# ship_light_asm_battery_1 = {

		# research_cost = 1

		# start_year = 1939

		# enable_equipment_modules = {
			# ship_light_asm_battery_1
		# }

		# path = {
			# leads_to_tech = ship_dp_missile_battery_1
			# research_cost_coeff = 0.7
		# }

		# path = {
			# leads_to_tech = ship_sam_missile_battery_1
			# research_cost_coeff = 0.7
		# }

		# path = {
			# leads_to_tech = ship_heavy_asm_battery_1
			# research_cost_coeff = 0.7
		# }

		# dependencies = {
			# improved_rocket_engines = 1
		# }

		# folder = {
			# name = mtgnavalsupportfolder
			# position = { x = 0 y = 31 }
		# }

		# ai_will_do = {
			# factor = 1
			# modifier = {
				# has_tech = advanced_ship_hull_light
				# factor = 20
			# }
		# }

		# categories = {
			# naval_equipment
		# }
	# }

	ship_asm_battery_1_tech = {

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

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1939

		enable_equipment_modules = {
			ship_heavy_asm_battery_1
			ship_light_asm_battery_1
		}

		on_research_complete = {
			custom_effect_tooltip = converted_ddg_tt
		}

		path = {
			leads_to_tech = ship_dp_missile_battery_1_tech
			research_cost_coeff = 1
		}

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

		path = {
			leads_to_tech = ship_asm_battery_2_tech
			research_cost_coeff = 1
		}

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


		path = {
			leads_to_tech = ship_light_asm_battery_1_tech
			research_cost_coeff = 1
		}

		# dependencies = {
			# improved_rocket_engines = 1
			# postwar_computing_tech2 = 1
			# fire_control_radar_1 = 1
		# }

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 6 y = 31 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 20
				has_tech = advanced_ship_hull_light
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }

		on_research_complete = {
			hidden_effect = {
				set_technology = {
					converted_guided_missile_tech = 1
					popup = no
				}
			}
		}
	}

	ship_asm_battery_2_tech = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1944

		enable_equipment_modules = {
			ship_heavy_asm_battery_2
			ship_light_asm_battery_2
		}

		path = {
			leads_to_tech = ship_dp_missile_battery_2_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = ship_light_asm_battery_1_tech
			research_cost_coeff = 1
		}

		# dependencies = {
			# postwar_computing_tech3 = 1
		# }

		dependencies = {
			sp_rockets_improved_guidance_4 = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 6 y = 37 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 20
				has_tech = advanced_ship_hull_light
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }
	}

	ship_sam_missile_battery_1_tech = {

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

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1939

		path = {
			leads_to_tech = ship_dp_missile_battery_1_tech
			research_cost_coeff = 1
		}

		path = {
			leads_to_tech = ship_sam_missile_battery_2_tech
			research_cost_coeff = 1
		}

		on_research_complete = {
			custom_effect_tooltip = converted_ddg_tt
		}

		enable_equipment_modules = {
			ship_sam_missile_battery_1
			lc_sam
		}

		path = {
			leads_to_tech = ship_sam_missile_battery_2
			research_cost_coeff = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = -6 y = 31 }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 20
				has_tech = advanced_ship_hull_light
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }

		on_research_complete = {
			hidden_effect = {
				set_technology = {
					converted_guided_missile_tech = 1
					popup = no
				}
			}
		}
	}

	ship_sam_missile_battery_2_tech = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1944

		enable_equipment_modules = {
			ship_sam_missile_battery_2
		}

		path = {
			leads_to_tech = ship_dp_missile_battery_2_tech
			research_cost_coeff = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = -6 y = 37 }
		}

		dependencies = {
			sp_rockets_improved_guidance_4 = 1
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 20
				has_tech = advanced_ship_hull_light
			}
		}

		# dependencies = {
			# postwar_computing_tech3 = 1
		# }

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }
	}

	ship_dp_missile_battery_1_tech = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1939

		enable_equipment_modules = {
			ship_dp_missile_battery_1
		}

		dependencies = {
			ship_sam_missile_battery_1_tech = 1
			ship_asm_battery_1_tech = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 31 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 20
				OR = {
					tag = ALK
					tag = USA
					tag = JAP
				}
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }
	}

	ship_dp_missile_battery_2_tech = {

		is_special_project_tech = yes

		research_cost = 1

		start_year = 1939

		enable_equipment_modules = {
			ship_dp_missile_battery_2
		}

		dependencies = {
			ship_sam_missile_battery_2_tech = 1
			ship_asm_battery_2_tech = 1
		}

		folder = {
			name = mtgnavalsupportfolder
			position = { x = 0 y = 37 }
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 20
				OR = {
					tag = ALK
					tag = USA
					tag = JAP
				}
			}
		}

		categories = {
			naval_equipment
			mio_cat_tech_all_capital_ship_and_modules
			mio_cat_tech_all_screen_ship_and_modules
			mio_cat_tech_all_carrier_and_modules
			mio_cat_tech_all_cruiser_and_modules
			mio_cat_tech_all_destroyer_and_modules
		}
		special_project_specialization = { specialization_naval specialization_air }
	}

	converted_guided_missile_tech = {

		research_cost = 1

		start_year = 1906

		enable_equipments = {
			ship_hull_light_converted_missile
		}

		# folder = {
			# name = mtgnavalsupportfolder
		# }
	}
	#### SUPPORT & REPAIR SHIPS ####

	#sp_improved_support_ship = {
	#	allow_branch = {
	#		has_dlc = "No Compromise, No Surrender"
	#	}
#
#		allow = {
#			ROOT = {
#				is_special_project_completed = sp:sp_naval_support_ships
#			}
#		}
#
#		enable_equipments = {
#			support_ship_2
#		}
#
#		is_special_project_tech = yes
#		xp_research_type = navy
#		xp_boost_cost = 75
#		xp_research_bonus = 1
#		research_cost = 2
#		start_year = 1926
#
#		folder = {
#			name = mtgnavalsupportfolder
#			position = { x = 1 y = 16 }
#		}
#
#		categories = {
#			naval_equipment
#			tp_tech
#		}
#		special_project_specialization = { specialization_naval }
#	}
#
#	sp_improved_repair_ship = {
#		allow_branch = {
#			has_dlc = "No Compromise, No Surrender"
#		}
#
#		allow = {
#			ROOT = {
#				is_special_project_completed = sp:sp_naval_support_ships
#			}
#		}
#
#		enable_equipments = {
#			repair_ship_2
#		}
#
#		is_special_project_tech = yes
#		xp_research_type = navy
#		xp_boost_cost = 75
#		xp_research_bonus = 1
#		research_cost = 2
#		start_year = 1926
#
#		folder = {
#			name = mtgnavalsupportfolder
#			position = { x = 1 y = 16 }
#		}
#
#		categories = {
#			naval_equipment
#			tp_tech
#		}
#		special_project_specialization = { specialization_naval }
#	}
}
