# AI Ship Designs for His Majesty the King ENG_destroyers = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_screen } priority = { factor = 500 modifier = { factor = 2 has_war = yes } } destroyer_early = { # Historical: V&W-class / A-class name = abcd_class design_team = ENG_yarrow_shipbuilders_organization priority = { factor = 10 } role_icon_index = 2 history = yes target_variant = { match_value = 500.0 type = ship_hull_light_1 modules = { fixed_ship_battery_slot = dp_light_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 = light_ship_engine fixed_ship_torpedo_slot = ship_torpedo mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery ship_torpedo light_ship_engine ship_sonar ship_fire_control_system ship_radar } } destroyer_basic = { # Historical: J/K/N-class name = efgh_class priority = { factor = 100 modifier = { factor = 100 has_war = yes } } role_icon_index = 2 history = yes target_variant = { match_value = 2000.0 type = ship_hull_light_2 modules = { fixed_ship_battery_slot = dp_light_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 = light_ship_engine fixed_ship_torpedo_slot = ship_torpedo mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery ship_torpedo light_ship_engine ship_sonar ship_fire_control_system ship_radar } } destroyer_improved = { # Historical: Battle-class name = battle_Class_1942 priority = { factor = 250 modifier = { factor = 2 has_war = yes } } role_icon_index = 2 history = yes target_variant = { match_value = 2800.0 type = ship_hull_light_3 modules = { fixed_ship_battery_slot = dp_light_battery fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_sonar fixed_ship_radar_slot = ship_radar fixed_ship_engine_slot = light_ship_engine fixed_ship_torpedo_slot = ship_torpedo front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_depth_charge } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery ship_torpedo light_ship_engine ship_sonar ship_fire_control_system ship_radar } } destroyer_advanced = { # Historical: Daring-class name = daring_Class priority = { factor = 400 modifier = { factor = 2 has_war = yes } } role_icon_index = 2 history = yes target_variant = { match_value = 3500.0 type = ship_hull_light_4 modules = { fixed_ship_battery_slot = dp_light_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 = light_ship_engine fixed_ship_torpedo_slot = ship_torpedo front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_depth_charge mid_2_custom_slot = ship_anti_air rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery ship_torpedo light_ship_engine ship_sonar ship_fire_control_system ship_radar } } } ENG_escorts = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_escort } priority = { factor = 100 modifier = { factor = 2 anti_submarine_strategy_required_trigger = yes } modifier = { convoy_threat > 0.5 #churchill panic attack factor = 50 } } escort_early = { # Historical: V&W-class escort conversion name = opqr_class priority = { factor = 10 } role_icon_index = 3 history = yes target_variant = { match_value = 500.0 type = ship_hull_light_1 modules = { fixed_ship_battery_slot = dp_light_battery_1 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = ship_sonar fixed_ship_engine_slot = light_ship_engine_1 fixed_ship_torpedo_slot = empty mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_depth_charge } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery light_ship_engine ship_sonar ship_fire_control_system ship_radar } } escort_basic = { # Historical: Flower-class corvette name = c_class priority = { factor = 100 } role_icon_index = 3 history = yes target_variant = { match_value = 2000.0 type = ship_hull_light_2 modules = { fixed_ship_battery_slot = dp_light_battery_1 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = ship_sonar fixed_ship_engine_slot = light_ship_engine_1 fixed_ship_torpedo_slot = empty mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_depth_charge } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery light_ship_engine ship_sonar ship_fire_control_system ship_radar } } escort_improved = { # Historical: River-class frigate priority = { factor = 250 } role_icon_index = 3 history = yes target_variant = { match_value = 2800.0 type = ship_hull_light_3 modules = { fixed_ship_battery_slot = dp_light_battery_1 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_sonar fixed_ship_radar_slot = ship_radar fixed_ship_engine_slot = light_ship_engine_1 #Stick to cheap engine fixed_ship_torpedo_slot = empty front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_depth_charge rear_1_custom_slot = ship_depth_charge } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery light_ship_engine ship_sonar ship_fire_control_system ship_radar } } escort_advanced = { # Historical: Loch-class frigate priority = { factor = 400 } role_icon_index = 3 history = yes target_variant = { match_value = 3500.0 type = ship_hull_light_4 modules = { fixed_ship_battery_slot = dp_light_battery fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system fixed_ship_radar_slot = ship_sonar fixed_ship_engine_slot = light_ship_engine fixed_ship_torpedo_slot = empty front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_depth_charge mid_2_custom_slot = ship_depth_charge rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_anti_air ship_depth_charge dp_light_battery light_ship_engine ship_sonar ship_fire_control_system ship_radar } } } ENG_naval_light_cruiser = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_cruiser_light } priority = { factor = 300 } cruiser_light_early = { # Leander-class (1933) — 8× 6" twin name = leander_class priority = { factor = 10 modifier = { has_tech = basic_ship_hull_cruiser factor = 0 } } role_icon_index = 2 history = yes target_variant = { match_value = 1000.0 type = ship_hull_cruiser_1 modules = { fixed_ship_battery_slot = ship_light_medium_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 = cruiser_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_cruiser_1 mid_1_custom_slot = ship_light_medium_battery mid_2_custom_slot = ship_airplane_launcher rear_1_custom_slot = ship_light_medium_battery } } allowed_modules = { ship_light_medium_battery ship_anti_air ship_dp_secondaries ship_torpedo ship_depth_charge ship_fire_control_system cruiser_ship_engine ship_radar ship_sonar ship_airplane_launcher ship_cruiser_armor } } cruiser_light_basic = { # Town / Southampton-class (1936) — 12× 6" in 4 triples name = town_class priority = { factor = 100 modifier = { has_tech = improved_ship_hull_cruiser factor = 0 } } role_icon_index = 2 history = yes target_variant = { match_value = 2000.0 type = ship_hull_cruiser_2 modules = { fixed_ship_battery_slot = ship_light_medium_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 = cruiser_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_cruiser_1 front_1_custom_slot = ship_light_medium_battery mid_1_custom_slot = ship_light_medium_battery mid_2_custom_slot = ship_airplane_launcher rear_1_custom_slot = ship_light_medium_battery } } allowed_modules = { ship_light_medium_battery ship_anti_air ship_dp_secondaries ship_torpedo ship_depth_charge ship_fire_control_system cruiser_ship_engine ship_radar ship_sonar ship_airplane_launcher ship_cruiser_armor } } cruiser_light_improved = { # Crown Colony / Fiji-class (1939) — 12× 6" in 4 triples, lighter name = fiji_class priority = { factor = 200 modifier = { has_tech = advanced_ship_hull_cruiser factor = 0 } } role_icon_index = 2 history = yes target_variant = { match_value = 3000.0 type = ship_hull_cruiser_3 modules = { fixed_ship_battery_slot = ship_light_medium_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 = cruiser_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_cruiser_2 front_1_custom_slot = ship_light_medium_battery mid_1_custom_slot = ship_light_medium_battery mid_2_custom_slot = ship_anti_air rear_1_custom_slot = ship_light_medium_battery rear_2_custom_slot = ship_airplane_launcher } } allowed_modules = { ship_light_medium_battery ship_anti_air ship_dp_secondaries ship_torpedo ship_depth_charge ship_fire_control_system cruiser_ship_engine ship_radar ship_sonar ship_airplane_launcher ship_cruiser_armor } } cruiser_light_advanced = { # Minotaur / Swiftsure-class (1944) — 9× 6" in 3 triples name = minotaur_class priority = { factor = 300 } role_icon_index = 2 history = yes target_variant = { match_value = 4000.0 type = ship_hull_cruiser_4 modules = { fixed_ship_battery_slot = ship_light_medium_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 = cruiser_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_cruiser_armor front_1_custom_slot = ship_light_medium_battery mid_1_custom_slot = ship_dp_secondaries mid_2_custom_slot = ship_anti_air rear_1_custom_slot = ship_light_medium_battery rear_2_custom_slot = ship_anti_air } } allowed_modules = { ship_light_medium_battery ship_anti_air ship_dp_secondaries ship_torpedo ship_depth_charge ship_fire_control_system cruiser_ship_engine ship_radar ship_sonar ship_airplane_launcher ship_cruiser_armor } } } ENG_naval_cruiser_heavy = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_cruiser_heavy } priority = { factor = 10 } capital_cruiser_early = { name = county_class priority = { factor = 10 modifier = { factor = 1 } } role_icon_index = 1 history = yes target_variant = { match_value = 1000.0 type = ship_hull_cruiser_1 modules = { fixed_ship_battery_slot = ship_medium_battery_2 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system fixed_ship_radar_slot = empty fixed_ship_engine_slot = cruiser_ship_engine_1 fixed_ship_armor_slot = ship_armor_cruiser_1 mid_1_custom_slot = empty mid_2_custom_slot = ship_torpedo_1 rear_1_custom_slot = ship_airplane_launcher } } allowed_modules = { ship_anti_air ship_medium_battery ship_radar ship_torpedo ship_airplane_launcher ship_dp_secondaries } } capital_cruiser_early_aa_upgrade = { name = county_class_1938 priority = { factor = 5 modifier = { factor = 10 has_War = yes } } role_icon_index = 1 history = yes target_variant = { match_value = 1100.0 type = ship_hull_cruiser_1 modules = { fixed_ship_battery_slot = ship_medium_battery_2 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system fixed_ship_engine_slot = cruiser_ship_engine_1 fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_cruiser_1 mid_1_custom_slot = ship_anti_air mid_2_custom_slot = ship_torpedo rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_anti_air ship_torpedo ship_medium_battery ship_radar ship_airplane_launcher ship_dp_secondaries } } capital_cruiser_basic = { name = heavy_cruiser_2 priority = { factor = 10 modifier = { factor = 1 } } role_icon_index = 1 history = yes target_variant = { match_value = 2000.0 type = ship_hull_cruiser_2 modules = { fixed_ship_battery_slot = ship_medium_battery_2 fixed_ship_anti_air_slot = ship_anti_air fixed_ship_fire_control_system_slot = ship_fire_control_system fixed_ship_radar_slot = empty fixed_ship_engine_slot = cruiser_ship_engine_1 fixed_ship_armor_slot = ship_armor_cruiser_1 fixed_ship_secondaries_slot = ship_dp_secondaries mid_1_custom_slot = ship_airplane_launcher mid_2_custom_slot = ship_torpedo_1 rear_1_custom_slot = ship_medium_battery_2 } } allowed_modules = { ship_anti_air ship_medium_battery ship_radar ship_torpedo ship_airplane_launcher ship_dp_secondaries } } capital_cruiser_basic_aa_upgrade = { name = heavy_cruiser_2_class_aa_upgrade priority = { factor = 1 modifier = { factor = 100 has_war = yes } } role_icon_index = 1 history = yes target_variant = { match_value = 2200.0 type = ship_hull_cruiser_2 modules = { fixed_ship_battery_slot = ship_medium_battery_2 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 = cruiser_ship_engine_1 fixed_ship_armor_slot = ship_armor_cruiser_1 fixed_ship_secondaries_slot = ship_dp_secondaries mid_1_custom_slot = ship_anti_air mid_2_custom_slot = ship_torpedo rear_1_custom_slot = ship_medium_battery_2 } } allowed_modules = { ship_anti_air ship_medium_battery ship_radar ship_torpedo ship_airplane_launcher ship_dp_secondaries } } capital_cruiser_improved = { name = heavy_cruiser_3_class priority = { factor = 1 modifier = { factor = 50 } } role_icon_index = 1 history = yes target_variant = { match_value = 3000.0 type = ship_hull_cruiser_3 modules = { fixed_ship_battery_slot = ship_medium_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 = cruiser_ship_engine_2 fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_cruiser_2 front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_airplane_launcher mid_2_custom_slot = ship_anti_air rear_1_custom_slot = ship_medium_battery } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_medium_battery ship_radar ship_torpedo ship_airplane_launcher ship_fire_control_system } } capital_cruiser_advanced = { name = heavy_cruiser_4_class priority = { factor = 1 } role_icon_index = 1 history = yes target_variant = { match_value = 4000.0 type = ship_hull_cruiser_4 modules = { fixed_ship_battery_slot > ship_medium_battery_2 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 > cruiser_ship_engine_1 fixed_ship_armor_slot > ship_armor_cruiser_2 fixed_ship_secondaries_slot = dp_ship_secondaries_3 front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_anti_air mid_2_custom_slot = ship_airplane_launcher rear_1_custom_slot > ship_medium_battery_2 rear_2_custom_slot = ship_anti_air } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_medium_battery ship_radar ship_torpedo ship_airplane_launcher ship_fire_control_system } } } ENG_naval_capital_battleship = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_capital_bb } priority = { factor = 100 modifier = { date < 1940.1.1 factor = 100 } } capital_battleship_early = { # Revenge-class (R-class, 1916) name = revenge_class priority = { factor = 10 modifier = { has_tech = basic_ship_hull_heavy factor = 0 } } role_icon_index = 1 history = yes target_variant = { match_value = 1000.0 type = ship_hull_heavy_1 modules = { fixed_ship_battery_slot = ship_heavy_battery_1 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 = heavy_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_bb_1 front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_airplane_launcher mid_2_custom_slot = ship_anti_air rear_1_custom_slot = ship_heavy_battery_1 } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor ship_secondaries ship_airplane_launcher heavy_ship_engine } } capital_battleship_basic = { # Nelson-class (1927) — all guns forward, treaty BB name = nelson_class priority = { factor = 100 modifier = { has_tech = improved_ship_hull_heavy factor = 0 } } role_icon_index = 1 history = yes target_variant = { match_value = 2000.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 = heavy_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_bb_2 front_1_custom_slot = ship_heavy_battery mid_1_custom_slot = ship_heavy_battery mid_2_custom_slot = ship_airplane_launcher rear_1_custom_slot = ship_anti_air } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor ship_secondaries ship_airplane_launcher heavy_ship_engine } } capital_battleship_improved = { # King George V-class (1939) name = king_george_v_class priority = { factor = 200 modifier = { has_tech = advanced_ship_hull_heavy factor = 0 } } role_icon_index = 1 history = yes target_variant = { match_value = 3000.0 type = ship_hull_heavy_3 modules = { fixed_ship_battery_slot = ship_heavy_battery_2 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 = heavy_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_bb_2 front_1_custom_slot = ship_heavy_battery_2 mid_1_custom_slot = ship_heavy_battery_2 mid_2_custom_slot = ship_anti_air mid_3_custom_slot = empty rear_1_custom_slot = ship_heavy_battery_2 } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor heavy_ship_engine } } capital_battleship_advanced = { # Vanguard-class (1946) name = vanguard_class priority = { factor = 300 } role_icon_index = 1 history = yes target_variant = { match_value = 4000.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 = heavy_ship_engine fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_heavy_armor front_1_custom_slot = ship_heavy_battery mid_1_custom_slot = ship_anti_air mid_2_custom_slot = ship_anti_air mid_3_custom_slot = ship_anti_air rear_1_custom_slot = ship_heavy_battery } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor heavy_ship_engine } } } ENG_naval_capital_bc = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_capital_bc } priority = { factor = 25 } battlecruiser_early = { priority = { factor = 1 } role_icon_index = 1 history = yes target_variant = { match_value = 1000.0 type = ship_hull_heavy_1 modules = { fixed_ship_battery_slot = ship_heavy_battery_1 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_1 fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_2 fixed_ship_secondaries_slot = dp_ship_secondaries_2 fixed_ship_armor_slot = ship_armor_bc_1 front_1_custom_slot = ship_anti_air_1 mid_1_custom_slot = empty mid_2_custom_slot = dp_ship_secondaries_2 rear_1_custom_slot = ship_airplane_launcher_1 } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor } } battlecruiser_early_aa_upgrade = { name = renown_class priority = { factor = 1 modifier = { factor = 100 has_war = yes has_navy_size = { unit = battle_cruiser size > 0 # at least one BC built } } } role_icon_index = 1 history = yes target_variant = { match_value = 1100.0 type = ship_hull_heavy_1 modules = { fixed_ship_battery_slot = ship_heavy_battery_1 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 = heavy_ship_engine_2 fixed_ship_secondaries_slot = dp_ship_secondaries_1 fixed_ship_armor_slot = ship_armor_bc_1 front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_anti_air mid_2_custom_slot = ship_dp_secondaries rear_1_custom_slot = ship_airplane_launcher } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor } } battlecruiser_improved = { name = admiral_class priority = { factor = 10 } role_icon_index = 1 history = yes target_variant = { match_value = 2000.0 type = ship_hull_heavy_1 modules = { fixed_ship_battery_slot = ship_heavy_battery_1 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_1 fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_2 fixed_ship_secondaries_slot = dp_ship_secondaries_1 fixed_ship_armor_slot = ship_armor_bc_2 front_1_custom_slot = ship_anti_air_1 mid_1_custom_slot = empty mid_2_custom_slot = dp_ship_secondaries_1 rear_1_custom_slot = ship_heavy_battery_1 } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor } } battlecruiser_improved_upgrade = { name = admiral_class_1940 priority = { factor = 10 modifier = { has_war = yes factor = 10 } } role_icon_index = 1 history = yes target_variant = { match_value = 2200.0 type = ship_hull_heavy_1 modules = { fixed_ship_battery_slot = ship_heavy_battery_1 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 = heavy_ship_engine_2 fixed_ship_secondaries_slot = ship_dp_secondaries fixed_ship_armor_slot = ship_armor_bc_2 front_1_custom_slot = ship_anti_air mid_1_custom_slot = ship_airplane_launcher mid_2_custom_slot = ship_dp_secondaries rear_1_custom_slot = ship_heavy_battery_1 } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_secondaries ship_airplane_launcher ship_heavy_battery ship_radar ship_fire_control_system ship_heavy_armor } } } ENG_naval_carrier = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_carrier } priority = { factor = 750 } carrier_early = { name = courageous_class priority = { factor = 1 modifier = { factor = 0 has_tech = basic_ship_hull_carrier } } role_icon_index = 7 history = yes target_variant = { match_value = 1000.0 type = ship_hull_carrier_conversion_bb modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_1 fixed_ship_secondaries_slot = empty mid_1_custom_slot = ship_deck_space } } allowed_modules = { ship_deck_space ship_anti_air ship_dp_secondaries ship_fire_control_system cruiser_ship_engine heavy_ship_engine carrier_ship_engine ship_radar ship_carrier_armor } } carrier_early_upgrade = { name = courageous_class_1939 priority = { factor = 1 modifier = { factor = 0 has_tech = basic_ship_hull_carrier } } role_icon_index = 7 history = yes target_variant = { match_value = 1100.0 type = ship_hull_carrier_conversion_bb modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_1 fixed_ship_secondaries_slot = ship_dp_secondaries mid_1_custom_slot = ship_deck_space } } allowed_modules = { ship_deck_space ship_anti_air ship_dp_secondaries ship_fire_control_system cruiser_ship_engine heavy_ship_engine carrier_ship_engine ship_radar ship_carrier_armor } } carrier_basic = { Name = illustrious_class priority = { factor = 2000 } enable = { not = { has_tech = improved_ship_hull_carrier } } role_icon_index = 7 history = yes target_variant = { match_value = 2000.0 type = ship_hull_carrier_1 modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_engine_slot = carrier_ship_engine_2 fixed_ship_secondaries_slot = dp_ship_secondaries_2 front_1_custom_slot = ship_deck_space } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_fire_control_system carrier_ship_engine ship_radar ship_deck_space ship_carrier_armor } } carrier_improved = { name = implacable_class priority = { factor = 1500 } role_icon_index = 7 history = yes target_variant = { match_value = 3000.0 type = ship_hull_carrier_2 modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air fixed_ship_engine_slot = carrier_ship_engine_3 fixed_ship_secondaries_slot = ship_dp_secondaries front_1_custom_slot = ship_deck_space mid_1_custom_slot = ship_armor_carrier_deck } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_fire_control_system carrier_ship_engine ship_radar ship_deck_space ship_carrier_armor } } carrier_advanced = { name = malta_class priority = { factor = 200 } role_icon_index = 7 history = yes target_variant = { match_value = 4000.0 type = ship_hull_carrier_3 modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air fixed_ship_engine_slot = carrier_ship_engine_4 fixed_ship_secondaries_slot = ship_dp_secondaries front_1_custom_slot = ship_deck_space mid_1_custom_slot = ship_deck_space mid_2_custom_slot = ship_deck_space } } allowed_modules = { ship_dp_secondaries ship_anti_air ship_fire_control_system carrier_ship_engine ship_radar ship_deck_space ship_carrier_armor } } } naval_carrier_light = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_carrier_light } priority = { factor = 50 modifier = { factor = 0 has_War = no } } CVL_carrier = { name = argus_class priority = { factor = 1 } role_icon_index = 7 history = yes target_variant = { match_value = 500.0 type = ship_hull_carrier_conversion_ca modules = { fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air fixed_ship_radar_slot = empty fixed_ship_engine_slot = carrier_ship_engine fixed_ship_secondaries_slot = empty } } allowed_modules = { ship_anti_air ship_dp_secondaries ship_fire_control_system cruiser_ship_engine carrier_ship_engine ship_radar ship_deck_space ship_carrier_armor } } } ENG_naval_escort_carrier = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_carrier_light } priority = { factor = 1 modifier = { factor = 10 is_major = yes } } carrier_escort = { name = "Avenger Class" priority = { factor = 10 } role_icon_index = 3 history = yes target_variant = { match_value = 1000.0 type = ship_hull_escort_carrier modules = { fixed_ship_engine_slot = carrier_ship_engine_1 fixed_ship_deck_slot_1 = ship_escort_deck_space fixed_ship_deck_slot_2 = ship_escort_deck_space front_1_custom_slot = empty mid_1_custom_slot = empty fixed_ship_radar_slot = empty fixed_ship_secondaries_slot = empty fixed_ship_armor_slot = empty fixed_ship_anti_air_slot = ship_anti_air } } allowed_modules = { ship_secondaries ship_anti_air carrier_ship_engine ship_radar ship_escort_deck_space ship_carrier_armor } } improved_carrier_escort = { name = "Attacker Class" priority = { factor = 15 } role_icon_index = 3 history = yes target_variant = { match_value = 1500.0 type = ship_hull_escort_carrier modules = { fixed_ship_engine_slot = carrier_ship_engine fixed_ship_deck_slot_1 = ship_escort_deck_space fixed_ship_deck_slot_2 = ship_escort_deck_space front_1_custom_slot = empty mid_1_custom_slot = empty fixed_ship_radar_slot = ship_radar fixed_ship_secondaries_slot = ship_secondaries fixed_ship_armor_slot = empty fixed_ship_anti_air_slot = ship_anti_air } } allowed_modules = { ship_secondaries ship_anti_air carrier_ship_engine ship_radar ship_escort_deck_space ship_carrier_armor } } } naval_submarine = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_submarine } priority = { factor = 50 modifier = { factor = 10 has_war = yes } } submarine_early = { name = grampus_class priority = { factor = 10 modifier = { factor = 1 } } role_icon_index = 6 history = yes target_variant = { match_value = 1000.0 type = ship_hull_submarine modules = { fixed_ship_engine_slot = sub_ship_engine_1 fixed_ship_torpedo_slot = ship_torpedo_sub_1 rear_1_custom_slot = ship_torpedo_sub_1 } } allowed_modules = { ship_torpedo_sub sub_ship_engine ship_mine_layer_sub ship_sub_snorkel ship_radar } } submarine_basic = { name = t_Class priority = { factor = 20 modifier = { factor = 1 } } role_icon_index = 6 history = yes target_variant = { match_value = 2000.0 type = ship_hull_submarine_2 modules = { fixed_ship_engine_slot = sub_ship_engine_1 fixed_ship_torpedo_slot = ship_torpedo_sub_2 rear_1_custom_slot = ship_torpedo_sub_1 } } allowed_modules = { ship_torpedo_sub sub_ship_engine ship_mine_layer_sub ship_sub_snorkel ship_radar } } submarine_improved = { name = v_class priority = { factor = 20 modifier = { factor = 1 } } role_icon_index = 6 history = yes target_variant = { match_value = 3000.0 type = ship_hull_submarine_3 modules = { fixed_ship_engine_slot = sub_ship_engine fixed_ship_torpedo_slot = ship_torpedo_sub front_1_custom_slot = empty mid_1_custom_slot = ship_radar rear_1_custom_slot = ship_torpedo_sub } } allowed_modules = { ship_torpedo_sub sub_ship_engine ship_mine_layer_sub ship_sub_snorkel ship_radar } } submarine_advanced = { name = amphion_class priority = { factor = 50 modifier = { factor = 15 has_war_with = JAP } } role_icon_index = 6 history = yes target_variant = { match_value = 4000.0 type = ship_hull_submarine_4 modules = { fixed_ship_engine_slot = sub_ship_engine fixed_ship_torpedo_slot = ship_torpedo_sub front_1_custom_slot = ship_torpedo_sub mid_1_custom_slot = ship_radar rear_1_custom_slot = ship_torpedo_sub } } allowed_modules = { ship_torpedo_sub sub_ship_engine ship_mine_layer_sub ship_sub_snorkel ship_radar } } } naval_mine_sweeper = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_mine_sweeper } priority = { factor = 2 modifier = { factor = 5 has_war = yes } } mine_sweeper_light_early = { # base variant priority = { factor = 100 modifier = { factor = 1 } } role_icon_index = 5 enable = { has_tech = basic_naval_mines } history = yes target_variant = { match_value = 1000.0 type = ship_hull_light_1 modules = { rear_1_custom_slot = ship_mine_sweeper_1 fixed_ship_battery_slot = dp_light_battery_1 fixed_ship_engine_slot = light_ship_engine_1 fixed_ship_torpedo_slot = empty fixed_ship_fire_control_system_slot = empty } } requirements = { module = ship_mine_sweeper_1 } allowed_modules = { ship_mine_warfare dp_light_battery ship_anti_air ship_depth_charge ship_fire_control_system light_ship_engine ship_radar ship_sonar } } mine_sweeper_light_late = { #improved variant for late war priority = { factor = 120 modifier = { factor = 1 } } role_icon_index = 5 enable = { has_tech = advanced_dp_light_battery has_tech = basic_naval_mines } history = yes target_variant = { match_value = 2000.0 type = ship_hull_light modules = { rear_1_custom_slot = ship_mine_sweeper_1 mid_1_custom_slot = ship_mine_sweeper_1 fixed_ship_battery_slot = { any_of = { dp_light_battery_1 ship_light_battery_1 } upgrade > current } fixed_ship_engine_slot = light_ship_engine_1 fixed_ship_torpedo_slot = empty fixed_ship_radar_slot = empty fixed_ship_fire_control_system_slot = empty fixed_ship_anti_air_slot = ship_anti_air } } requirements = { module = ship_mine_sweeper_1 } allowed_modules = { ship_mine_sweeper_1 ship_mine_warfare ship_anti_air dp_light_battery ship_depth_charge ship_fire_control_system light_ship_engine ship_radar ship_sonar } } } naval_mine_layer = { category = naval blocked_for = { } available_for = { ENG } roles = { naval_mine_layer } priority = { factor = 3 modifier = { factor = 5 has_war = yes } } mine_layer_light = { priority = { factor = 20 modifier = { factor = 10 } } role_icon_index = 4 history = yes target_variant = { match_value = 1000.0 type = ship_hull_light modules = { rear_1_custom_slot = ship_mine_layer_1 mid_1_custom_slot = ship_mine_layer_1 fixed_ship_engine_slot = light_ship_engine_1 fixed_ship_battery_slot = dp_light_battery_1 fixed_ship_torpedo_slot = empty fixed_ship_fire_control_system_slot = empty fixed_ship_radar_slot = empty fixed_ship_anti_air_slot = ship_anti_air } } requirements = { module = ship_mine_layer_1 } allowed_modules = { ship_mine_layer_1 ship_anti_air dp_light_battery ship_fire_control_system light_ship_engine ship_torpedo ship_depth_charge } } submarine_mine_layer = { priority = { factor = 2 modifier = { factor = 10 has_war = yes } } role_icon_index = 4 history = yes target_variant = { match_value = 2000.0 type = ship_hull_submarine_2 modules = { fixed_ship_engine_slot = sub_ship_engine fixed_ship_torpedo_slot = ship_torpedo_sub rear_1_custom_slot = ship_mine_layer_sub } } requirements = { module = ship_mine_layer_sub } allowed_modules = { ship_torpedo_sub sub_ship_engine ship_mine_layer_sub ship_sub_snorkel ship_radar } } mine_layer_cruiser = { priority = { factor = 10 modifier = { factor = 10 num_of_naval_factories > 19 } } role_icon_index = 4 history = yes target_variant = { match_value = 3000.0 type = ship_hull_cruiser_1 modules = { rear_1_custom_slot = ship_mine_layer_1 mid_2_custom_slot = ship_mine_layer_1 fixed_ship_engine_slot < cruiser_ship_engine_3 fixed_ship_battery_slot = { any_of = { dp_light_battery } upgrade > current } fixed_ship_secondaries_slot = empty fixed_ship_armor_slot = empty fixed_ship_anti_air_slot < ship_anti_air_3 } } requirements = { module = ship_mine_layer_1 } allowed_modules = { ship_mine_layer_1 ship_anti_air dp_light_battery ship_fire_control_system cruiser_ship_engine ship_radar ship_sonar } } }