generic_light_mr_fighter = { category = air blocked_for = { USA } roles = { light_mr_fighter } priority = { factor = 2 } generic_mr_light_fighter_default = { priority = { factor = 1 modifier = { has_tech = gen_3_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_mr_weapons plane_fighter_weapons } } fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_single special_slot_type_1 = plane_countermeasures } upgrades = { plane_bba_engine_upgrade = 2 plane_bba_radar_upgrade = { base = 1 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } gen_3.5_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_strike_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_4_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 3000 type = small_plane_strike_airframe_2 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { plane_redundant_systems plane_countermeasures plane_protective_materials plane_refueling_systems plane_fighter_weapons } } gen_5_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 4000 type = small_plane_strike_airframe_3 modules = { fixed_main_weapon_slot = plane_stealth_mr_weapons fixed_auxiliary_weapon_slot_1 = plane_stealth_mr_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 spec_redundant_3 spec_redundant_2 spec_redundant_1 } } special_slot_type_3 = plane_stealth_materials special_slot_type_4 = plane_stealth_shape } upgrades = { plane_bba_engine_upgrade = 4 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_6_light_mr = { priority = { factor = 10 } target_variant = { match_value = 4000 type = small_plane_strike_airframe_4 modules = { fixed_main_weapon_slot = plane_stealth_mr_weapons fixed_auxiliary_weapon_slot_1 = plane_stealth_mr_weapons fixed_auxiliary_weapon_slot_2 = plane_stealth_mr_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_thrust_vectoring special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 spec_redundant_3 spec_redundant_2 spec_redundant_1 } } special_slot_type_4 = plane_stealth_materials special_slot_type_5 = plane_stealth_shape } upgrades = { plane_bba_engine_upgrade = 4 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } } generic_light_as_fighter = { category = air blocked_for = { USA } roles = { light_as_fighter } priority = { factor = 150 } gen_3_light_as_default = { priority = { factor = 1 modifier = { has_tech = gen_3_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_single special_slot_type_1 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } gen_3.5_light_as = { priority = { factor = 10 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_airframe_1 modules = { fixed_main_weapon_slot = plane_intercept_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_4_light_as = { priority = { factor = 10 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 3000 type = small_plane_airframe_2 modules = { fixed_main_weapon_slot = plane_intercept_weapons fixed_auxiliary_weapon_slot_1 = plane_fighter_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = plane_redundant_systems } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons } } gen_5_light_as = { priority = { factor = 10 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 4000 type = small_plane_airframe_3 modules = { fixed_main_weapon_slot = plane_stealth_weapons fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_6_light_as = { priority = { factor = 10 } target_variant = { match_value = 4000 type = small_plane_airframe_4 modules = { fixed_main_weapon_slot = plane_stealth_weapons fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_int_mp_light_hardpoint_4 weap_int_mp_light_hardpoint_3 weap_int_mp_light_hardpoint_2 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = plane_redundant_systems special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } } generic_light_cas = { category = air blocked_for = { USA } roles = { light_cas } priority = { factor = 100 } gen_3_light_cas = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = plane_cas_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_4_light_cas = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = small_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = plane_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { plane_multipurpose_gun plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_guided_bombs plane_guided_bombs plane_stealth_cas_weapons plane_stealth_mr_weapons plane_cas_weapons plane_fighter_weapons plane_nav_weapons } } gen_5_light_cas = { priority = { factor = 200 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2500 type = small_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = plane_stealth_cas_weapons fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = wing_delta special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } } upgrades = { plane_bba_engine_upgrade = 4 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_6_light_cas = { priority = { factor = 500 } target_variant = { match_value = 3500 type = small_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = plane_stealth_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_stealth_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_stealth_cas_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_light_single avionics_type_slot = plane_avionics wingform_type_slot = wing_delta special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 4 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } } generic_light_naval_bomber = { category = air blocked_for = { USA } roles = { light_naval_bomber } priority = { factor = 500 } gen_3_light_nav_bomber = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_naval_bomber_airframe_1 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_light_single plane_prop_single plane_prop_double } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } gen_4_light_nav_bomber = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = small_plane_naval_bomber_airframe_2 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_light_single plane_prop_single plane_prop_double } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } gen_5_light_nav_bomber = { priority = { factor = 300 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2000 type = small_plane_naval_bomber_airframe_3 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_light_single plane_prop_single plane_prop_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } gen_6_light_nav_bomber = { priority = { factor = 400 } target_variant = { match_value = 2000 type = small_plane_naval_bomber_airframe_4 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_light_single plane_prop_single plane_prop_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } } generic_drone = { category = air blocked_for = { USA } roles = { light_drone } priority = { factor = 500 } atk_drone_1 = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = small_plane_suicide_airframe_1 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_single plane_prop_double plane_light_single plane_light_double } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } atk_drone_2 = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = small_plane_suicide_airframe_2 modules = { fixed_main_weapon_slot = plane_drone_systems fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_single plane_prop_double plane_light_single plane_light_double } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } atk_drone_3 = { priority = { factor = 200 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2000 type = small_plane_suicide_airframe_3 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics fixed_auxiliary_weapon_slot_1 = plane_guided_bombs wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_single plane_prop_double plane_light_single plane_light_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } atk_drone_4 = { priority = { factor = 200 } target_variant = { match_value = 2000 type = small_plane_suicide_airframe_4 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_guided_bombs wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_single plane_prop_double plane_light_single plane_light_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_stealth_shape plane_stealth_materials plane_thrust_vectoring plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } } generic_cv_light_mr_fighter = { category = air blocked_for = { USA } roles = { cv_light_mr_fighter } priority = { factor = 1000 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_generic_mr_light_fighter_default = { priority = { factor = 1 modifier = { has_tech = gen_3_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_mr_weapons plane_fighter_weapons } } fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_double special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } cv_gen_3.5_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_airframe_1 modules = { fixed_main_weapon_slot = weap_mp_light_hardpoint_1 fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_single special_slot_type_1 > empty } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } cv_gen_4_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 3000 type = cv_small_plane_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_mr_weapons plane_fighter_weapons } } fixed_auxiliary_weapon_slot_1 = plane_fighter_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons } } cv_gen_5_light_mr = { priority = { factor = 10 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 4000 type = cv_small_plane_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_mr_weapons plane_fighter_weapons } } fixed_auxiliary_weapon_slot_1 = plane_fighter_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons } } cv_gen_6_light_mr = { priority = { factor = 10 } target_variant = { match_value = 4000 type = cv_small_plane_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_mr_weapons plane_fighter_weapons } } fixed_auxiliary_weapon_slot_1 = plane_fighter_weapons fixed_auxiliary_weapon_slot_2 = plane_fighter_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_1 > empty } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_shape plane_stealth_materials plane_thrust_vectoring } } } generic_cv_light_as_fighter = { category = air blocked_for = { USA } roles = { cv_light_as_fighter } priority = { factor = 1000 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_light_as_default = { priority = { factor = 1 modifier = { has_tech = gen_3_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_double special_slot_type_1 > empty } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } cv_gen_3.5_light_as = { priority = { factor = 10 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_airframe_1 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = wing_swept engine_type_slot = plane_light_double special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems } } cv_gen_4_light_as = { priority = { factor = 10 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 3000 type = cv_small_plane_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons } } cv_gen_5_light_as = { priority = { factor = 10 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 4000 type = cv_small_plane_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_protective_materials } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons } } cv_gen_6_light_as = { priority = { factor = 10 } target_variant = { match_value = 4000 type = cv_small_plane_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_auxiliary_weapon_slot_2 = plane_fighter_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_protective_materials special_slot_type_3 > empty } } allowed_modules = { plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_stealth_mr_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_thrust_vectoring } } } generic_cv_light_cas = { category = air blocked_for = { USA } roles = { cv_light_cas } priority = { factor = 100 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_light_cas = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_cas_airframe_1 modules = { fixed_gun_slot = plane_multipurpose_gun fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_multipurpose_gun plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_guided_bombs plane_guided_bombs plane_stealth_cas_weapons plane_stealth_mr_weapons plane_cas_weapons plane_fighter_weapons plane_nav_weapons } } cv_gen_4_light_cas = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = cv_small_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures } } allowed_modules = { plane_multipurpose_gun plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_guided_bombs plane_guided_bombs plane_stealth_cas_weapons plane_stealth_mr_weapons plane_cas_weapons plane_fighter_weapons plane_nav_weapons } } cv_gen_5_light_cas = { priority = { factor = 200 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2500 type = cv_small_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_light_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_protective_materials } } allowed_modules = { plane_multipurpose_gun plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_guided_bombs plane_guided_bombs plane_stealth_cas_weapons plane_stealth_mr_weapons plane_cas_weapons plane_fighter_weapons plane_nav_weapons } } cv_gen_6_light_cas = { priority = { factor = 500 } target_variant = { match_value = 3500 type = cv_small_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons engine_type_slot = { any_of = { plane_light_double plane_light_single } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_protective_materials special_slot_type_3 > empty } } allowed_modules = { plane_multipurpose_gun plane_countermeasures plane_protective_materials plane_refueling_systems plane_redundant_systems plane_guided_bombs plane_guided_bombs plane_stealth_cas_weapons plane_stealth_mr_weapons plane_cas_weapons plane_fighter_weapons plane_nav_weapons } } } generic_cv_light_naval_bomber = { category = air blocked_for = { USA } roles = { cv_light_naval_bomber } priority = { factor = 500 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_light_nav_bomber = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_naval_bomber_airframe_1 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_prop_double } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } cv_gen_4_light_nav_bomber = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = cv_small_plane_naval_bomber_airframe_2 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_prop_double } } } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } cv_gen_5_light_nav_bomber = { priority = { factor = 300 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2000 type = cv_small_plane_naval_bomber_airframe_3 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_prop_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } cv_gen_6_light_nav_bomber = { priority = { factor = 400 } target_variant = { match_value = 2000 type = cv_small_plane_naval_bomber_airframe_4 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_light_double plane_prop_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_fighter_weapons plane_countermeasures plane_redundant_systems } } } generic_cv_drone = { category = air blocked_for = { USA } roles = { cv_light_drone } priority = { factor = 500 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_atk_drone_1 = { priority = { factor = 100 modifier = { has_tech = gen_4_light factor = 0 } } target_variant = { match_value = 1000 type = cv_small_plane_suicide_airframe_1 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_double plane_light_double } } special_slot_type_1 = plane_countermeasures } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } cv_atk_drone_2 = { priority = { factor = 200 modifier = { has_tech = gen_5_light factor = 0 } } target_variant = { match_value = 1500 type = cv_small_plane_suicide_airframe_2 modules = { fixed_main_weapon_slot = plane_drone_systems fixed_auxiliary_weapon_slot_1 = plane_guided_bombs avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_double plane_light_double } } special_slot_type_1 = plane_countermeasures } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } cv_atk_drone_3 = { priority = { factor = 200 modifier = { has_tech = gen_6_light factor = 0 } } target_variant = { match_value = 2000 type = cv_small_plane_suicide_airframe_3 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics fixed_auxiliary_weapon_slot_1 = plane_guided_bombs wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_double plane_light_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems } } cv_atk_drone_4 = { priority = { factor = 200 } target_variant = { match_value = 2000 type = cv_small_plane_suicide_airframe_4 modules = { fixed_main_weapon_slot = plane_drone_systems avionics_type_slot = plane_avionics fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_guided_bombs wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } engine_type_slot = { any_of = { plane_prop_double plane_light_double } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_shape plane_stealth_materials plane_thrust_vectoring plane_cas_weapons plane_guided_bombs plane_fighter_weapons plane_recon_tgp_systems plane_countermeasures plane_redundant_systems plane_refueling_systems } } } generic_medium_mr_fighter = { #MR medium fighters category = air blocked_for = { USA } roles = { medium_mr_fighter } priority = { factor = 2000 modifier = { num_of_military_factories < 20 #middling countries build a little factor = 0.5 } modifier = { num_of_military_factories < 9 #poor countries don't build heavy fighters factor = 0 } } gen_3_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_jet_double avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 spec_redundant_3 spec_redundant_2 spec_redundant_1 } } } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_4_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_airframe_2 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_fighter_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_jet_double avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta_canard wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 spec_refuel_1 } } special_slot_type_4 = { any_of = { spec_redundant_3 spec_redundant_2 spec_redundant_1 } } } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_5_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = medium_plane_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 weap_mp_med_hardpoint_3 weap_mp_med_hardpoint_2 weap_mp_med_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 weap_mp_med_hardpoint_3 weap_mp_med_hardpoint_2 weap_mp_med_hardpoint_1 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_int_mp_light_hardpoint_4 weap_int_mp_light_hardpoint_3 weap_int_mp_light_hardpoint_2 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_6_med_mr_fighter = { priority = { factor = 100 } target_variant = { match_value = 4000 type = medium_plane_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 weap_mp_med_hardpoint_3 weap_mp_med_hardpoint_2 weap_mp_med_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 weap_mp_med_hardpoint_3 weap_mp_med_hardpoint_2 weap_mp_med_hardpoint_1 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_int_mp_med_hardpoint_4 weap_int_mp_med_hardpoint_3 weap_int_mp_med_hardpoint_2 weap_mp_med_hardpoint_3 weap_mp_med_hardpoint_2 weap_mp_med_hardpoint_1 } } fixed_auxiliary_weapon_slot_3 = { any_of = { weap_int_mp_light_hardpoint_4 weap_int_mp_light_hardpoint_3 weap_int_mp_light_hardpoint_2 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } } generic_medium_as_fighter = { category = air blocked_for = { USA } roles = { medium_as_fighter } priority = { factor = 500 } gen_3_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_fighter_airframe_1 modules = { fixed_main_weapon_slot = plane_intercept_weapons fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_jet_double avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta_canard wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_redundant_3 spec_redundant_2 spec_redundant_1 } } } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_4_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_fighter_airframe_2 modules = { fixed_main_weapon_slot = plane_intercept_weapons fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_auxiliary_weapon_slot_2 = plane_fighter_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = plane_jet_double avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta_canard wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_redundant_3 spec_redundant_2 spec_redundant_1 } } special_slot_type_4 = spec_refuel_1 } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_5_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = medium_plane_fighter_airframe_3 modules = { fixed_main_weapon_slot = plane_stealth_weapons fixed_auxiliary_weapon_slot_1 = plane_stealth_weapons fixed_auxiliary_weapon_slot_2 = plane_stealth_mr_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_thrust_vector_3 spec_thrust_vector_2 spec_redundant_3 spec_redundant_2 spec_redundant_1 } } special_slot_type_4 = plane_stealth_materials special_slot_type_5 = plane_stealth_shape } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } gen_6_med_as_fighter = { priority = { factor = 100 } target_variant = { match_value = 4000 type = medium_plane_fighter_airframe_4 modules = { fixed_main_weapon_slot = plane_stealth_weapons fixed_auxiliary_weapon_slot_1 = plane_stealth_weapons fixed_auxiliary_weapon_slot_2 = plane_stealth_mr_weapons fixed_auxiliary_weapon_slot_3 = plane_stealth_mr_weapons fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = plane_thrust_vectoring special_slot_type_4 = plane_stealth_materials special_slot_type_5 = plane_stealth_shape } upgrades = { plane_bba_engine_upgrade = 5 plane_bba_radar_upgrade = { base = 3 modifier = { add = 2 has_war = yes } } } } allowed_modules = { } } } generic_medium_cas_fighter = { category = air blocked_for = { USA } roles = { medium_cas_fighter } priority = { factor = 500 } gen_3_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = { any_of = { weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_gun_slot = { any_of = { weap_multi_at_2 weap_multi_at_1 } } engine_type_slot = { any_of = { engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta_canard wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_3 = { any_of = { spec_redundant_3 spec_redundant_2 spec_redundant_1 } } } upgrades = { plane_bba_engine_upgrade = 5 } } allowed_modules = { } } gen_4_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta_canard wing_delta wing_variable wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_refueling_systems special_slot_type_3 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_4 = { any_of = { spec_redundant_3 spec_redundant_2 spec_redundant_1 } } } upgrades = { plane_bba_engine_upgrade = 5 } } allowed_modules = { } } gen_5_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = medium_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 6 } } allowed_modules = { } } gen_6_med_cas = { priority = { factor = 100 } target_variant = { match_value = 4000 type = medium_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_1 = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_2 = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_auxiliary_weapon_slot_3 = { any_of = { weap_int_ag_cas_hardpoint_4 weap_int_ag_cas_hardpoint_3 weap_int_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_4 weap_ag_cas_hardpoint_3 weap_ag_cas_hardpoint_2 weap_ag_cas_hardpoint_1 } } fixed_gun_slot = weap_multi_gun_2 engine_type_slot = { any_of = { engine_ramjet engine_scramjet engine_jet_double_5 engine_jet_double_4 engine_jet_double_3 engine_jet_double_2 engine_jet_double_1 } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta_canard wing_delta } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_stealth_materials special_slot_type_3 = plane_stealth_shape special_slot_type_4 = { any_of = { spec_tgp_3 spec_tgp_2 spec_tgp_1 } } special_slot_type_5 = plane_thrust_vectoring } upgrades = { plane_bba_engine_upgrade = 8 } } allowed_modules = { } } } generic_medium_maritime_patrol = { category = air blocked_for = { USA } roles = { medium_naval_bomber } priority = { factor = 500 } gen_3_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_3_medium factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = medium_plane_maritime_patrol_airframe_0 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_single plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } gen_3.5_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_maritime_patrol_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_single plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } gen_4_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = medium_plane_maritime_patrol_airframe_2 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_single plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } gen_5_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = medium_plane_maritime_patrol_airframe_3 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_single plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } gen_6_med_mpa = { priority = { factor = 100 } target_variant = { match_value = 4000 type = medium_plane_maritime_patrol_airframe_4 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_3 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_single plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } } generic_medium_cv_mr_fighter = { #MR medium fighters category = air blocked_for = { USA } roles = { cv_medium_mr_fighter } priority = { factor = 2000 modifier = { num_of_military_factories < 100 #middling countries build a little factor = 0.6 } modifier = { num_of_factories < 50 #poor countries don't build medium fighters (much) factor = 0.1 } modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_3_medium factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_medium_plane_airframe_0 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_3.5_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_4_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_airframe_2 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_5_med_mr_fighter = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = cv_medium_plane_airframe_3 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_6_med_mr_fighter = { priority = { factor = 100 } target_variant = { match_value = 4000 type = cv_medium_plane_airframe_4 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_guided_bombs fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_auxiliary_weapon_slot_3 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } } generic_medium_cv_as_fighter = { category = air blocked_for = { USA } roles = { cv_medium_as_fighter } priority = { factor = 500 modifier = { num_of_military_factories < 100 #middling countries build a little factor = 0.5 } modifier = { num_of_factories < 50 #poor countries don't build medium fighters factor = 0 } modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_3_medium factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_medium_plane_fighter_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_3.5_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_fighter_airframe_1 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_4_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_fighter_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_5_med_as_fighter = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = cv_medium_plane_fighter_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_6_med_as_fighter = { priority = { factor = 100 } target_variant = { match_value = 4000 type = cv_medium_plane_fighter_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_weapons plane_intercept_weapons } } fixed_auxiliary_weapon_slot_1 = plane_intercept_weapons fixed_auxiliary_weapon_slot_2 = plane_guided_bombs fixed_auxiliary_weapon_slot_3 = plane_guided_bombs fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } } generic_medium_cv_cas_fighter = { category = air blocked_for = { USA } roles = { cv_cas_fighter } priority = { factor = 400 modifier = { num_of_military_factories < 100 #middling countries build a little factor = 0.5 } modifier = { num_of_factories < 50 #poor countries don't build medium cas factor = 0 } modifier = { #if no carriers, no carrier planes has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_3_medium factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_medium_plane_cas_airframe_0 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_3.5_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_4_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_5_med_cas = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = cv_medium_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_6_med_cas = { priority = { factor = 100 } target_variant = { match_value = 4000 type = cv_medium_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = { any_of = { plane_stealth_cas_weapons plane_cas_weapons } } fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_auxiliary_weapon_slot_3 = plane_cas_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } } generic_medium_cv_maritime_patrol = { category = air blocked_for = { USA } roles = { cv_medium_naval_bomber } priority = { factor = 500 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_gen_3_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_3_medium factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_medium_plane_maritime_patrol_airframe_0 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_3.5_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_maritime_patrol_airframe_1 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_4_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_maritime_patrol_airframe_2 modules = { fixed_main_weapon_slot = plane_guided_bombs fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_5_med_mpa = { priority = { factor = 100 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 4000 type = cv_medium_plane_maritime_patrol_airframe_3 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } cv_gen_6_med_mpa = { priority = { factor = 100 } target_variant = { match_value = 4000 type = cv_medium_plane_maritime_patrol_airframe_4 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_3 = plane_heavy_nav_weapons fixed_gun_slot = plane_multipurpose_gun engine_type_slot = { any_of = { plane_jet_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_stealth_weapons plane_stealth_mr_weapons plane_intercept_weapons plane_guided_bombs plane_cas_weapons plane_nav_weapons plane_fighter_weapons plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_asw_systems plane_redundant_systems plane_heavy_nav_weapons } } } generic_medium_cv_transport = { category = air blocked_for = { USA } roles = { cv_medium_transport } priority = { factor = 300 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } gen_3_cv_med_trans = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0.1 } } target_variant = { match_value = 1000 type = cv_medium_plane_air_transport_airframe_1 modules = { fixed_main_weapon_slot = weap_buff_transport engine_type_slot = { any_of = { plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_4_cv_med_trans = { priority = { factor = 150 modifier = { has_tech = gen_5_medium factor = 0.1 } } target_variant = { match_value = 1500 type = cv_medium_plane_air_transport_airframe_2 modules = { fixed_main_weapon_slot = weap_buff_transport engine_type_slot = { any_of = { plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_5_cv_med_trans = { priority = { factor = 200 modifier = { has_tech = gen_6_medium factor = 0.1 } } target_variant = { match_value = 2000 type = cv_medium_plane_air_transport_airframe_3 modules = { fixed_main_weapon_slot = weap_buff_transport engine_type_slot = { any_of = { plane_jet_single plane_jet_double plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_6_cv_med_trans = { priority = { factor = 250 modifier = { has_tech = gen_6_medium factor = 0.1 } } target_variant = { match_value = 2500 type = cv_medium_plane_air_transport_airframe_4 modules = { fixed_main_weapon_slot = weap_buff_transport engine_type_slot = { any_of = { plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } } allowed_modules = { plane_stealth_shape plane_stealth_materials plane_countermeasures plane_refueling_systems plane_protective_materials plane_redundant_systems } } } generic_medium_cv_awacs = { category = air blocked_for = { USA } roles = { cv_medium_awacs } priority = { factor = 500 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } gen_3_cv_med_awacs = { priority = { factor = 100 modifier = { has_tech = gen_4_medium factor = 0.1 } } target_variant = { match_value = 1000 type = cv_medium_plane_scout_airframe_1 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_4_cv_med_awacs = { priority = { factor = 200 modifier = { has_tech = gen_5_medium factor = 0 } } target_variant = { match_value = 2000 type = cv_medium_plane_scout_airframe_2 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_prop_single plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_5_cv_med_awacs = { priority = { factor = 300 modifier = { has_tech = gen_6_medium factor = 0 } } target_variant = { match_value = 3000 type = cv_medium_plane_scout_airframe_3 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_6_cv_med_awacs = { priority = { factor = 400 } target_variant = { match_value = 4000 type = cv_medium_plane_scout_airframe_4 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_straight wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } } generic_large_awacs = { category = air blocked_for = { USA } roles = { large_awacs } priority = { factor = 200 modifier = { num_of_military_factories < 75 #wealthy kids only factor = 0 } } gen_3_large_awacs = { priority = { factor = 10 modifier = { has_tech = gen_4_large factor = 0 } } target_variant = { match_value = 1000 type = large_plane_awacs_airframe_1 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = wing_swept special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_refueling_systems plane_countermeasures plane_redundant_systems } } gen_4_large_awacs = { priority = { factor = 20 modifier = { has_tech = gen_5_large factor = 0 } } target_variant = { match_value = 2000 type = large_plane_awacs_airframe_2 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_flyingwing wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_refueling_systems plane_countermeasures plane_redundant_systems } } gen_5_large_awacs = { priority = { factor = 30 modifier = { has_tech = gen_6_large factor = 0 } } target_variant = { match_value = 3000 type = large_plane_awacs_airframe_3 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_flyingwing wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_materials plane_stealth_shape plane_refueling_systems plane_redundant_systems } } gen_6_large_awacs = { priority = { factor = 40 } target_variant = { match_value = 4000 type = large_plane_awacs_airframe_4 modules = { fixed_main_weapon_slot = plane_awacs_module engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_flyingwing wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_materials plane_stealth_shape plane_refueling_systems plane_redundant_systems } } } generic_strategic_bomber = { category = air blocked_for = { USA } roles = { large_strat_bomber } priority = { factor = 200 modifier = { num_of_military_factories < 100 #wealthy kids only factor = 0 } } gen_3_strat = { priority = { factor = 10 modifier = { has_tech = gen_4_large factor = 0 } } target_variant = { match_value = 1000 type = large_plane_airframe_1 modules = { fixed_main_weapon_slot = plane_bomb_bay fixed_gun_slot = plane_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons engine_type_slot = { any_of = { plane_jet_quad plane_jet_six plane_jet_eight plane_prop_six plane_prop_eight plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_diamond wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 9 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_4_strat = { priority = { factor = 10 modifier = { has_tech = gen_5_large factor = 0 } } target_variant = { match_value = 2000 type = large_plane_airframe_2 modules = { fixed_main_weapon_slot = plane_bomb_bay fixed_gun_slot = plane_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_auxiliary_weapon_slot_3 = plane_cas_weapons engine_type_slot = { any_of = { plane_jet_quad plane_jet_six plane_jet_eight plane_prop_six plane_prop_eight plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_diamond wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 9 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_5_strat = { priority = { factor = 10 modifier = { has_tech = gen_6_large factor = 0 } } target_variant = { match_value = 3000 type = large_plane_airframe_3 modules = { fixed_main_weapon_slot = plane_bomb_bay fixed_gun_slot = plane_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_auxiliary_weapon_slot_3 = plane_cas_weapons engine_type_slot = { any_of = { plane_jet_six plane_jet_quad plane_jet_eight plane_prop_six plane_prop_eight plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_diamond wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 9 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } gen_6_strat = { priority = { factor = 10 } target_variant = { match_value = 4000 type = large_plane_airframe_4 modules = { fixed_main_weapon_slot = plane_bomb_bay fixed_gun_slot = plane_cas_weapons fixed_auxiliary_weapon_slot_1 = plane_cas_weapons fixed_auxiliary_weapon_slot_2 = plane_cas_weapons fixed_auxiliary_weapon_slot_3 = plane_cas_weapons fixed_auxiliary_weapon_slot_4 = plane_cas_weapons engine_type_slot = { any_of = { plane_jet_quad plane_jet_six plane_jet_eight plane_prop_six plane_prop_eight plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_diamond wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty special_slot_type_5 > empty } upgrades = { plane_bba_engine_upgrade = 9 plane_bba_radar_upgrade = { base = 4 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_countermeasures plane_stealth_shape plane_stealth_materials plane_refueling_systems plane_protective_materials plane_redundant_systems } } } generic_gunship = { category = air blocked_for = { USA } roles = { large_gunship } priority = { factor = 100 modifier = { num_of_military_factories < 100 #no poor kids allowed factor = 0 } } gen_3_gunship = { priority = { factor = 10 modifier = { has_tech = gen_4_large factor = 0 } } target_variant = { match_value = 1000 type = large_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = plane_gunship_modules fixed_gun_slot = plane_gunship_modules fixed_auxiliary_weapon_slot_1 = plane_gunship_modules fixed_auxiliary_weapon_slot_2 = plane_gunship_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_gunship_modules plane_guided_bombs plane_countermeasures plane_refueling_systems plane_protective_materials plane_stealth_shape plane_redundant_systems } } gen_4_gunship = { priority = { factor = 20 modifier = { has_tech = gen_5_large factor = 0.1 } } target_variant = { match_value = 2000 type = large_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = plane_gunship_modules fixed_gun_slot = plane_gunship_modules fixed_auxiliary_weapon_slot_1 = plane_gunship_modules fixed_auxiliary_weapon_slot_2 = plane_gunship_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_straight wing_delta wing_diamond wing_swept } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_gunship_modules plane_guided_bombs plane_countermeasures plane_refueling_systems plane_protective_materials plane_stealth_shape plane_redundant_systems } } gen_5_gunship = { priority = { factor = 30 modifier = { has_tech = gen_6_large factor = 0.1 } } target_variant = { match_value = 3000 type = large_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = plane_gunship_modules fixed_gun_slot = plane_gunship_modules fixed_auxiliary_weapon_slot_1 = plane_gunship_modules fixed_auxiliary_weapon_slot_2 = plane_gunship_modules fixed_auxiliary_weapon_slot_3 = plane_gunship_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_delta wing_diamond wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } } allowed_modules = { plane_gunship_modules plane_guided_bombs plane_countermeasures plane_refueling_systems plane_protective_materials plane_stealth_shape plane_stealth_materials plane_redundant_systems } } gen_6_gunship = { priority = { factor = 40 } target_variant = { match_value = 4000 type = large_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = plane_gunship_modules fixed_gun_slot = plane_gunship_modules fixed_auxiliary_weapon_slot_1 = plane_gunship_modules fixed_auxiliary_weapon_slot_2 = plane_gunship_modules fixed_auxiliary_weapon_slot_3 = plane_gunship_modules fixed_auxiliary_weapon_slot_4 = plane_gunship_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double plane_jet_quad plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_diamond wing_delta wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty special_slot_type_5 > empty } } allowed_modules = { plane_gunship_modules plane_guided_bombs plane_countermeasures plane_refueling_systems plane_protective_materials plane_stealth_shape plane_stealth_materials plane_redundant_systems } } } generic_maritime_patrol = { category = air blocked_for = { USA } roles = { large_maritime_patrol } priority = { factor = 200 modifier = { num_of_military_factories < 100 factor = 0 } modifier = { all_owned_state = { is_coastal = no } factor = 0 } } gen_3_large_mpa = { priority = { factor = 10 modifier = { has_tech = gen_4_large factor = 0.2 } } target_variant = { match_value = 1000 type = large_plane_maritime_patrol_airframe_1 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = empty fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons engine_type_slot = { any_of = { plane_prop_double plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_asw_systems special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_asw_systems plane_countermeasures plane_redundant_systems plane_refueling_systems plane_protective_materials } } gen_4_large_mpa = { priority = { factor = 20 modifier = { has_tech = gen_5_large factor = 0.2 } } target_variant = { match_value = 2000 type = large_plane_maritime_patrol_airframe_2 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = empty fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_3 = plane_heavy_nav_weapons engine_type_slot = { any_of = { plane_prop_double plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_asw_systems special_slot_type_3 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_asw_systems plane_countermeasures plane_redundant_systems plane_refueling_systems plane_protective_materials } } gen_5_large_mpa = { priority = { factor = 30 modifier = { has_tech = gen_6_large factor = 0.2 } } target_variant = { match_value = 1000 type = large_plane_maritime_patrol_airframe_3 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = empty fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_3 = plane_heavy_nav_weapons engine_type_slot = { any_of = { plane_prop_double plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_asw_systems special_slot_type_3 > empty special_slot_type_4 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_asw_systems plane_countermeasures plane_stealth_shape plane_stealth_materials plane_redundant_systems plane_refueling_systems plane_protective_materials } } gen_6_large_mpa = { priority = { factor = 40 } target_variant = { match_value = 4000 type = large_plane_maritime_patrol_airframe_4 modules = { fixed_main_weapon_slot = plane_heavy_nav_weapons fixed_gun_slot = empty fixed_auxiliary_weapon_slot_1 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_2 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_3 = plane_heavy_nav_weapons fixed_auxiliary_weapon_slot_4 = plane_heavy_nav_weapons engine_type_slot = { any_of = { plane_prop_double plane_prop_quad } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 = plane_asw_systems special_slot_type_3 > empty special_slot_type_4 > empty special_slot_type_5 > empty } upgrades = { plane_bba_engine_upgrade = 1 plane_bba_radar_upgrade = { base = 3 modifier = { add = 1 has_war = yes } } } } allowed_modules = { plane_heavy_nav_weapons plane_nav_weapons plane_asw_systems plane_countermeasures plane_stealth_shape plane_stealth_materials plane_redundant_systems plane_refueling_systems plane_protective_materials } } } generic_air_transport = { category = air blocked_for = { USA } roles = { large_transport } priority = { factor = 100 modifier = { num_of_factories < 50 factor = 0 } } gen_3_large_transport = { priority = { factor = 10 } target_variant = { match_value = 1000 type = large_plane_air_transport_airframe_1 modules = { fixed_main_weapon_slot = weap_buff_transport fixed_gun_slot = plane_heavy_strike_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_heavy_strike_modules plane_countermeasures plane_redundant_systems plane_refueling_systems } } gen_4_large_transport = { priority = { factor = 20 } target_variant = { match_value = 2000 type = large_plane_air_transport_airframe_2 modules = { fixed_main_weapon_slot = weap_buff_transport fixed_gun_slot = plane_heavy_strike_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty } } allowed_modules = { plane_heavy_strike_modules plane_countermeasures plane_redundant_systems plane_refueling_systems } } gen_5_large_transport = { priority = { factor = 30 } target_variant = { match_value = 3000 type = large_plane_air_transport_airframe_3 modules = { fixed_main_weapon_slot = weap_buff_transport fixed_gun_slot = plane_heavy_strike_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_flyingwing wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty } } allowed_modules = { plane_heavy_strike_modules plane_countermeasures plane_stealth_materials plane_stealth_shape plane_redundant_systems plane_refueling_systems } } gen_6_large_transport = { priority = { factor = 40 } target_variant = { match_value = 4000 type = large_plane_air_transport_airframe_4 modules = { fixed_main_weapon_slot = weap_buff_transport fixed_gun_slot = plane_heavy_strike_modules engine_type_slot = { any_of = { plane_jet_double plane_prop_double } } avionics_type_slot = plane_avionics wingform_type_slot = { any_of = { wing_blended wing_flyingwing wing_swept wing_straight } } special_slot_type_1 = plane_countermeasures special_slot_type_2 > empty special_slot_type_3 > empty special_slot_type_4 > empty special_slot_type_5 > empty } } allowed_modules = { plane_heavy_strike_modules plane_countermeasures plane_stealth_materials plane_stealth_shape plane_redundant_systems plane_refueling_systems } } }