### Shared Attack Submarines — Standard Pattern ### # Covers 24 countries with identical module loadouts (hull_2 through hull_6) # and the same core modules at hull_1 (slot order may differ, which is cosmetic). # Countries with named/unique submarine classes are kept in their own files. SHARED_attack_submarines = { category = naval available_for = { # Group A (torpedoes_1 primary at hull_1): identical to ALG reference ALG AST CAN CHL EGY ENG FRA GER GRE IND ITA KOR LAT LIT POR RAJ SIN # Group B (minelaying primary at hull_1, otherwise identical): GAH pattern GAH KEN LUX MOR PRU SAF SIA } roles = { naval_attack_submarine } priority = { base = 100 } SHARED_attack_sub_1960s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_1 } modifier = { add = -999 has_tech = attack_submarine_hull_2 } } history = yes target_variant = { type = attack_submarine_hull_1 match_value = 2600 modules = { fixed_ship_engine_slot = module_sub_diesel_electric_power fixed_ship_radar_slot = module_sonar_1 fixed_ship_battery_slot = module_anti_ship_torpedoes_1 fixed_ship_auxillary_slot = module_torpedoes_1 fixed_ship_auxillary_slot_1 = module_minelaying fixed_ship_auxillary_slot_2 = module_sub_esm_1 fixed_ship_auxillary_slot_3 = module_fuel_tank } } } SHARED_attack_sub_1980s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_2 } modifier = { add = -999 has_tech = attack_submarine_hull_3 } } history = yes target_variant = { type = attack_submarine_hull_2 match_value = 3200 modules = { fixed_ship_engine_slot = module_sub_diesel_electric_power2 fixed_ship_radar_slot = module_sonar_2 fixed_ship_battery_slot = module_anti_ship_torpedoes_2 fixed_ship_auxillary_slot = module_torpedoes_2 fixed_ship_auxillary_slot_1 = module_torpedoes_1 fixed_ship_auxillary_slot_2 = module_sub_esm_1 fixed_ship_auxillary_slot_3 = module_fuel_tank } } } SHARED_attack_sub_2000s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_3 } modifier = { add = -999 has_tech = attack_submarine_hull_4 } } history = yes target_variant = { type = attack_submarine_hull_3 match_value = 3800 modules = { fixed_ship_engine_slot = module_sub_diesel_electric_power3 fixed_ship_radar_slot = module_sonar_3 fixed_ship_battery_slot = module_anti_ship_torpedoes_3 fixed_ship_auxillary_slot = module_torpedoes_2 fixed_ship_auxillary_slot_1 = module_torpedoes_3 fixed_ship_auxillary_slot_2 = module_sub_esm_1 fixed_ship_auxillary_slot_3 = module_fuel_tank } } } SHARED_attack_sub_2020s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_4 } modifier = { add = -999 has_tech = attack_submarine_hull_5 } } history = yes target_variant = { type = attack_submarine_hull_4 match_value = 4400 modules = { fixed_ship_engine_slot = module_sub_early_reactor_power fixed_ship_radar_slot = module_sonar_4 fixed_ship_battery_slot = module_anti_ship_torpedoes_3 fixed_ship_auxillary_slot = module_naval_sub_vls_cells_8 fixed_ship_auxillary_slot_1 = module_torpedoes_3 fixed_ship_auxillary_slot_2 = module_sub_esm_2 fixed_ship_auxillary_slot_3 = module_fuel_tank fixed_ship_missile_ammo_slot = module_naval_sub_ammo_anti_ship_3 } } } SHARED_attack_sub_2040s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_5 } modifier = { add = -999 has_tech = attack_submarine_hull_6 } } history = yes target_variant = { type = attack_submarine_hull_5 match_value = 5000 modules = { fixed_ship_engine_slot = module_sub_mod_reactor_power fixed_ship_radar_slot = module_sonar_5 fixed_ship_battery_slot = module_anti_ship_torpedoes_4 fixed_ship_auxillary_slot = module_naval_sub_vls_cells_8 fixed_ship_auxillary_slot_1 = module_sub_esm_2 fixed_ship_auxillary_slot_2 = module_torpedoes_4 fixed_ship_auxillary_slot_3 = module_fuel_tank fixed_ship_missile_ammo_slot = module_naval_sub_ammo_anti_ship_4 } } } SHARED_attack_sub_2060s = { priority = { base = -1 modifier = { add = 1000 has_tech = attack_submarine_hull_6 } } history = yes target_variant = { type = attack_submarine_hull_6 match_value = 5600 modules = { fixed_ship_engine_slot = module_sub_fut_reactor_power fixed_ship_radar_slot = module_sonar_6 fixed_ship_battery_slot = module_anti_ship_torpedoes_5 fixed_ship_auxillary_slot = module_naval_sub_vls_cells_8 fixed_ship_auxillary_slot_1 = module_sub_esm_3 fixed_ship_auxillary_slot_2 = module_torpedoes_4 fixed_ship_auxillary_slot_3 = module_fuel_tank fixed_ship_missile_ammo_slot = module_naval_sub_ammo_anti_ship_5 } } } }