
naval_capital_battleship = {
	category = naval
	roles = { capital_bb }

	priority = {
		base = 10
		modifier = {
			factor = 0
			is_major = no
		}
	}

	capital_battleship_1936 = {
		role_icon_index = 1

		priority = {
			base = 35
			modifier = { factor = 0 has_tech = improved_ship_hull_heavy }
		}

		target_variant = {
			match_value = 1000.0

			type = ship_hull_heavy_2
			modules = {
				fixed_ship_battery_slot = ship_heavy_battery
				fixed_ship_anti_air_slot = ship_anti_air
				fixed_ship_fire_control_system_slot = ship_fire_control_system
				fixed_ship_radar_slot = ship_radar
				fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_2 heavy_ship_engine_1 } }
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_armor_slot = { upgrade = current any_of = { ship_armor_bb_2 ship_armor_bb_1 } }
				front_1_custom_slot = ship_heavy_battery
				mid_1_custom_slot = ship_secondaries
				mid_2_custom_slot = ship_secondaries
				rear_1_custom_slot = ship_secondaries
			}
		}
	}

	capital_battleship_1940 = {
		role_icon_index = 1

		priority = {
			base = 35
			modifier = { factor = 0 has_tech = advanced_ship_hull_heavy }
		}

		target_variant = {
			match_value = 3500.0

			type = ship_hull_heavy_3
			modules = {
				fixed_ship_battery_slot = ship_heavy_battery
				fixed_ship_anti_air_slot = ship_anti_air
				fixed_ship_fire_control_system_slot = ship_fire_control_system
				fixed_ship_radar_slot = ship_radar
				fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_armor_slot = { any_of = { ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
				front_1_custom_slot = ship_heavy_battery
				mid_1_custom_slot  = {upgrade = current any_of = { dp_ship_secondaries_2 ship_secondaries_2} } 
				mid_2_custom_slot = {upgrade = current any_of = { dp_ship_secondaries_2 ship_secondaries_2} } 
				mid_3_custom_slot = {upgrade = current any_of = { dp_ship_secondaries_2 ship_secondaries_2} } 
				rear_1_custom_slot = ship_heavy_battery
			}
		}
	}
	capital_battleship_1944 = {
		role_icon_index = 1

		priority = {
			base = 0
			modifier = { add = 50 has_tech = advanced_ship_hull_heavy }
		}

		target_variant = {
			match_value = 5000.0

			type = ship_hull_heavy_4
			modules = {
				fixed_ship_battery_slot = ship_heavy_battery
				fixed_ship_anti_air_slot = ship_anti_air
				fixed_ship_fire_control_system_slot = ship_fire_control_system
				fixed_ship_radar_slot = ship_radar
				fixed_ship_engine_slot = { upgrade = current any_of = { heavy_ship_engine_4 heavy_ship_engine_3 heavy_ship_engine_2 heavy_ship_engine_1 } }
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_armor_slot = { any_of = { ship_armor_bb_3 ship_armor_bb_2 ship_armor_bb_1 } }
				front_1_custom_slot = ship_heavy_battery
				mid_1_custom_slot = {upgrade = current any_of = { dp_ship_secondaries_4 dp_ship_secondaries_3 } } 
				mid_2_custom_slot = {upgrade = current any_of = { dp_ship_secondaries_4 dp_ship_secondaries_3 } } 
				mid_3_custom_slot = {upgrade = current any_of = { dp_ship_secondaries_4 dp_ship_secondaries_3 } } 
				rear_1_custom_slot = ship_heavy_battery
			}
		}
	}
}

