# AI plane design for testing AZ_fighter = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_fighter } priority = { factor = 1000 modifier = { has_War = yes factor = 2 } } great_war_fighter_default = { priority = { factor = 1 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = small_plane_airframe_0 modules = { fixed_main_weapon_slot = light_mg_4x fixed_auxiliary_weapon_slot_1 = light_mg_4x engine_type_slot = engine_1_1x special_type_slot_1 = armor_plate_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { engine_1_1x light_mg_4x armor_plate_small non_strategic_materials_small } } basic_fighter_default = { priority = { factor = 100 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = small_plane_airframe_1 modules = { fixed_main_weapon_slot = aircraft_cannon_1_1x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x engine_type_slot = engine_2_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { aircraft_cannon_1_1x aircraft_cannon_1_1x engine_2_1x non_strategic_materials_small self_sealing_fuel_tanks_small } } improved_fighter_default = { priority = { factor = 200 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 3000 type = small_plane_airframe_2 modules = { fixed_main_weapon_slot = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_1_1x engine_type_slot = engine_3_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = armor_plate_small special_type_slot_3 = non_strategic_materials_small } } allowed_modules = { light_mg_4x heavy_mg_4x aircraft_cannon_1_2x aircraft_cannon_1_2x engine_3_1x drop_tanks armor_plate_small self_sealing_fuel_tanks_small non_strategic_materials_small } } advanced_fighter_default = { priority = { factor = 300 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = small_plane_airframe_3 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_2_1x engine_type_slot = engine_4_1x special_type_slot_1 = armor_plate_small special_type_slot_2 = self_sealing_fuel_tanks_small special_type_slot_3 = drop_tanks special_type_slot_4 = non_strategic_materials_small } } allowed_modules = { aircraft_cannon_2_2x aircraft_cannon_2_1x heavy_mg_4x engine_4_1x armor_plate_small drop_tanks self_sealing_fuel_tanks_small non_strategic_materials_small } } jet_fighter_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = small_plane_airframe_4 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_3 = aircraft_cannon_2_2x engine_type_slot = engine_4_2x special_type_slot_1 = armor_plate_small special_type_slot_2 = self_sealing_fuel_tanks_small special_type_slot_3 = drop_tanks special_type_slot_4 = non_strategic_materials_small } } allowed_modules = { aircraft_cannon_2_2x engine_4_2x armor_plate_small self_sealing_fuel_tanks_small drop_tanks non_strategic_materials_small } } } AZ_cas = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_cas } priority = { factor = 100 } cas_0 = { priority = { factor = 100 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = small_plane_cas_airframe_0 modules = { fixed_main_weapon_slot = small_bomb_bay fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_1_1x special_type_slot_1 = dive_brakes_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { small_bomb_bay engine_1_1x dive_brakes_small non_strategic_materials_small } } cas_1 = { priority = { factor = 200 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = small_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = small_bomb_bay fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_2_1x special_type_slot_1 = dive_brakes_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { small_bomb_bay engine_2_1x dive_brakes_small non_strategic_materials_small } } cas_2 = { priority = { factor = 300 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1500 type = small_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = tank_buster_2 fixed_auxiliary_weapon_slot_1 = rocket_rails fixed_auxiliary_weapon_slot_2 = rocket_rails engine_type_slot = engine_3_1x special_type_slot_1 = dive_brakes_small special_type_slot_2 = non_strategic_materials_small special_type_slot_3 = self_sealing_fuel_tanks_small } } allowed_modules = { tank_buster_2 rocket_rails bomb_locks engine_3_1x dive_brakes_small non_strategic_materials_small self_sealing_fuel_tanks_small } } cas_3 = { priority = { factor = 400 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2500 type = small_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = tank_buster_2 fixed_auxiliary_weapon_slot_1 = rocket_rails fixed_auxiliary_weapon_slot_2 = rocket_rails fixed_auxiliary_weapon_slot_3 = rocket_rails engine_type_slot = engine_4_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = fuel_tanks_small special_type_slot_3 = non_strategic_materials_small special_type_slot_4 = dive_brakes_small } } allowed_modules = { tank_buster_2 engine_4_1x rocket_rails self_sealing_fuel_tanks_small non_strategic_materials_small dive_brakes_small fuel_tanks_small } } cas_4 = { priority = { factor = 500 } target_variant = { match_value = 2500 type = small_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = tank_buster_2 fixed_auxiliary_weapon_slot_1 = rocket_rails fixed_auxiliary_weapon_slot_2 = rocket_rails fixed_auxiliary_weapon_slot_3 = rocket_rails engine_type_slot = engine_4_1x special_type_slot_1 = fuel_tanks_small special_type_slot_2 = non_strategic_materials_small special_type_slot_3 = dive_brakes_small special_type_slot_4 = empty } } allowed_modules = { tank_buster_2 engine_4_1x rocket_rails self_sealing_fuel_tanks_small non_strategic_materials_small dive_brakes_small fuel_tanks_small } } } AZ_naval_bomber = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_naval_bomber } priority = { factor = 500 } naval_bomber_0 = { priority = { factor = 100 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = small_plane_naval_bomber_airframe_0 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_1_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { torpedo_mounting engine_1_1x self_sealing_fuel_tanks_small non_strategic_materials_small } } naval_bomber_1 = { priority = { factor = 200 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = small_plane_naval_bomber_airframe_1 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_2_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { torpedo_mounting engine_2_1x self_sealing_fuel_tanks_small non_strategic_materials_small } } naval_bomber_2 = { priority = { factor = 300 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1500 type = small_plane_naval_bomber_airframe_2 modules = { fixed_main_weapon_slot = torpedo_mounting_2 fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_3_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = fuel_tanks_small special_type_slot_3 = non_strategic_materials_small } } allowed_modules = { torpedo_mounting_2 engine_3_1x self_sealing_fuel_tanks_small non_strategic_materials_small fuel_tanks_small } } naval_bomber_3 = { priority = { factor = 400 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = small_plane_naval_bomber_airframe_3 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_4_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = fuel_tanks_small special_type_slot_3 = fuel_tanks_small special_type_slot_4 = non_strategic_materials_small } } allowed_modules = { torpedo_mounting_3 self_sealing_fuel_tanks_small engine_4_1x fuel_tanks_small non_strategic_materials_small } } naval_bomber_4 = { priority = { factor = 500 } target_variant = { match_value = 2000 type = small_plane_naval_bomber_airframe_4 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_4_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = fuel_tanks_small special_type_slot_3 = fuel_tanks_small special_type_slot_4 = non_strategic_materials_small } } allowed_modules = { torpedo_mounting_3 self_sealing_fuel_tanks_small engine_4_1x fuel_tanks_small non_strategic_materials_small } } } AZ_cv_fighter = { category = air #blocked_for = { ENG BYG FRA JAP } available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_cv_fighter } priority = { factor = 1000 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } great_war_cv_fighter_default = { priority = { factor = 1 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = cv_small_plane_airframe_0 modules = { fixed_main_weapon_slot = light_mg_4x fixed_auxiliary_weapon_slot_1 = light_mg_4x engine_type_slot = engine_1_1x special_type_slot_1 = self_sealing_fuel_tanks_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { light_mg_4x engine_1_1x self_sealing_fuel_tanks_small non_strategic_materials_small } } basic_cv_fighter_default = { priority = { factor = 100 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_small_plane_airframe_1 modules = { fixed_main_weapon_slot = aircraft_cannon_1_1x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x engine_type_slot = engine_2_1x special_type_slot_1 = armor_plate_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { aircraft_cannon_1_1x engine_2_1x armor_plate_small non_strategic_materials_small } } improved_cv_fighter_default = { priority = { factor = 200 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 3000 type = cv_small_plane_airframe_2 modules = { fixed_main_weapon_slot = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_2 = light_mg_2x engine_type_slot = engine_3_1x special_type_slot_1 = armor_plate_small special_type_slot_2 = self_sealing_fuel_tanks_small special_type_slot_3 = non_strategic_materials_small } } allowed_modules = { aircraft_cannon_1_2x light_mg_2x engine_3_1x armor_plate_small self_sealing_fuel_tanks_small non_strategic_materials_small } } advanced_cv_fighter_default = { priority = { factor = 300 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = cv_small_plane_airframe_3 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = light_mg_4x engine_type_slot = engine_4_1x special_type_slot_1 = armor_plate_small special_type_slot_2 = non_strategic_materials_small special_type_slot_3 = self_sealing_fuel_tanks_small } } allowed_modules = { aircraft_cannon_2_2x light_mg_4x engine_4_1x armor_plate_small self_sealing_fuel_tanks_small } } jet_cv_fighter_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = cv_small_plane_airframe_4 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_3 = aircraft_cannon_2_2x engine_type_slot = engine_4_2x special_type_slot_1 = armor_plate_small special_type_slot_2 = non_strategic_materials_small special_type_slot_3 = self_sealing_fuel_tanks_small } } allowed_modules = { aircraft_cannon_2_2x engine_4_2x armor_plate_small self_sealing_fuel_tanks_small } } } AZ_cv_cas = { category = air #blocked_for = { ENG BYG FRA JAP } available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_cv_cas } priority = { factor = 100 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_cas_0 = { priority = { factor = 1 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = cv_small_plane_cas_airframe_0 modules = { fixed_main_weapon_slot = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_1_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = self_sealing_fuel_tanks_small } } allowed_modules = { armor_piercing_bomb_locks engine_1_1x non_strategic_materials_small self_sealing_fuel_tanks_small } } cv_cas_1 = { priority = { factor = 100 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = cv_small_plane_cas_airframe_1 modules = { fixed_main_weapon_slot = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_2_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = dive_brakes_small } } allowed_modules = { armor_piercing_bomb_locks engine_2_1x non_strategic_materials_small dive_brakes_small } } cv_cas_2 = { priority = { factor = 200 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1500 type = cv_small_plane_cas_airframe_2 modules = { fixed_main_weapon_slot = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_1 = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_3_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = dive_brakes_small special_type_slot_3 = armor_plate_small } } allowed_modules = { armor_piercing_bomb_locks engine_3_1x non_strategic_materials_small dive_brakes_small armor_plate_small } } cv_cas_3 = { priority = { factor = 300 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2500 type = cv_small_plane_cas_airframe_3 modules = { fixed_main_weapon_slot = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_1 = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_2 = armor_piercing_bomb_locks engine_type_slot = engine_4_1x special_type_slot_1 = dive_brakes_small special_type_slot_2 = non_strategic_materials_small } } allowed_modules = { armor_piercing_bomb_locks engine_4_1x dive_brakes_small non_strategic_materials_small } } cv_cas_4 = { priority = { factor = 400 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2500 type = cv_small_plane_cas_airframe_4 modules = { fixed_main_weapon_slot = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_1 = armor_piercing_bomb_locks fixed_auxiliary_weapon_slot_2 = armor_piercing_bomb_locks engine_type_slot = engine_4_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = empty } } allowed_modules = { armor_piercing_bomb_locks engine_4_1x non_strategic_materials_small } } } AZ_cv_naval_bomber = { category = air #blocked_for = { ENG BYG FRA JAP } available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_cv_naval_bomber } priority = { factor = 500 modifier = { has_navy_size = { unit = carrier size < 1 } factor = 0 } } cv_naval_bomber_0 = { priority = { factor = 1 modifier = { has_tech = basic_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = cv_small_plane_naval_bomber_airframe_0 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_1_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = empty } } allowed_modules = { torpedo_mounting engine_1_1x non_strategic_materials_small } } cv_naval_bomber_1 = { priority = { factor = 100 modifier = { has_tech = improved_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = cv_small_plane_naval_bomber_airframe_1 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_2_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = armor_plate_small } } allowed_modules = { torpedo_mounting engine_2_1x armor_plate_small non_strategic_materials_small } } cv_naval_bomber_2 = { priority = { factor = 200 modifier = { has_tech = advanced_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1500 type = cv_small_plane_naval_bomber_airframe_2 modules = { fixed_main_weapon_slot = torpedo_mounting_2 fixed_auxiliary_weapon_slot_1 = empty engine_type_slot = engine_3_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = armor_plate_small special_type_slot_3 = armor_plate_small } } allowed_modules = { torpedo_mounting_2 engine_3_1x armor_plate_small non_strategic_materials_small } } cv_naval_bomber_3 = { priority = { factor = 300 modifier = { has_tech = modern_small_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = cv_small_plane_naval_bomber_airframe_3 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_4_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = armor_plate_small special_type_slot_3 = armor_plate_small } } allowed_modules = { torpedo_mounting_3 armor_plate_small engine_4_1x non_strategic_materials_small } } cv_naval_bomber_4 = { priority = { factor = 400 } target_variant = { match_value = 2000 type = cv_small_plane_naval_bomber_airframe_4 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_4_1x special_type_slot_1 = non_strategic_materials_small special_type_slot_2 = armor_plate_small special_type_slot_3 = armor_plate_small } } allowed_modules = { torpedo_mounting_3 armor_plate_small engine_4_1x non_strategic_materials_small } } } AZ_tactical_bomber = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_tactical_bomber } priority = { factor = 2000 modifier = { num_of_factories < 100 factor = 0.5 } modifier = { num_of_factories < 50 factor = 0 } } gw_tac_bomber_default = { priority = { factor = 1 modifier = { has_tech = basic_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = medium_plane_airframe_0 modules = { fixed_main_weapon_slot = medium_bomb_bay fixed_auxiliary_weapon_slot_1 = bomb_locks engine_type_slot = engine_1_2x special_type_slot_1 = non_strategic_materials_medium special_type_slot_2 = empty } } allowed_modules = { medium_bomb_bay bomb_locks engine_1_2x non_strategic_materials_medium } } tac_bomber_1_default = { priority = { factor = 100 modifier = { has_tech = improved_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 3000 type = medium_plane_airframe_1 modules = { fixed_main_weapon_slot = medium_bomb_bay fixed_auxiliary_weapon_slot_1 = medium_bomb_bay engine_type_slot = engine_2_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = non_strategic_materials_medium } } allowed_modules = { medium_bomb_bay engine_2_2x fuel_tanks_medium non_strategic_materials_medium } } tac_bomber_2_default = { priority = { factor = 200 modifier = { has_tech = advanced_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 3000 type = medium_plane_airframe_2 modules = { fixed_main_weapon_slot = medium_bomb_bay fixed_auxiliary_weapon_slot_1 = medium_bomb_bay fixed_auxiliary_weapon_slot_2 = rocket_rails fixed_auxiliary_weapon_slot_3 = rocket_rails engine_type_slot = engine_3_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = non_strategic_materials_medium special_type_slot_3 = self_sealing_fuel_tanks_medium } } allowed_modules = { medium_bomb_bay rocket_rails engine_3_2x fuel_tanks_medium non_strategic_materials_medium self_sealing_fuel_tanks_medium } } tac_bomber_3_default = { priority = { factor = 300 modifier = { has_tech = modern_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = medium_plane_airframe_3 modules = { fixed_main_weapon_slot = medium_bomb_bay fixed_auxiliary_weapon_slot_1 = medium_bomb_bay fixed_auxiliary_weapon_slot_2 = rocket_rails fixed_auxiliary_weapon_slot_3 = rocket_rails fixed_auxiliary_weapon_slot_4 = rocket_rails engine_type_slot = engine_4_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = self_sealing_fuel_tanks_medium special_type_slot_4 = non_strategic_materials_medium } } allowed_modules = { medium_bomb_bay rocket_rails engine_4_2x fuel_tanks_medium self_sealing_fuel_tanks_medium non_strategic_materials_medium } } jet_tac_bomber_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = medium_plane_airframe_4 modules = { fixed_main_weapon_slot = medium_bomb_bay fixed_auxiliary_weapon_slot_1 = medium_bomb_bay fixed_auxiliary_weapon_slot_2 = rocket_rails fixed_auxiliary_weapon_slot_3 = rocket_rails fixed_auxiliary_weapon_slot_4 = torpedo_mounting_3 engine_type_slot = engine_4_3x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = self_sealing_fuel_tanks_medium special_type_slot_4 = fuel_tanks_medium special_type_slot_5 = non_strategic_materials_medium } } allowed_modules = { medium_bomb_bay rocket_rails torpedo_mounting_3 engine_4_2x fuel_tanks_medium self_sealing_fuel_tanks_medium non_strategic_materials_medium } } } AZ_heavy_fighter = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_heavy_fighter } priority = { factor = 10 } heavy_fighter_0 = { priority = { factor = 1 modifier = { has_tech = basic_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = medium_plane_fighter_airframe_0 modules = { fixed_main_weapon_slot = light_mg_4x fixed_auxiliary_weapon_slot_1 = light_mg_4x fixed_auxiliary_weapon_slot_2 = light_mg_4x engine_type_slot = engine_1_2x special_type_slot_1 = self_sealing_fuel_tanks_medium special_type_slot_2 = non_strategic_materials_medium } } allowed_modules = { light_mg_4x aircraft_cannon_1_2x engine_1_2x self_sealing_fuel_tanks_medium non_strategic_materials_medium } } heavy_fighter_1 = { priority = { factor = 100 modifier = { has_tech = improved_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = medium_plane_fighter_airframe_1 modules = { fixed_main_weapon_slot = aircraft_cannon_1_1x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_1_1x fixed_auxiliary_weapon_slot_3 = aircraft_cannon_1_1x engine_type_slot = engine_2_2x special_type_slot_1 = self_sealing_fuel_tanks_medium special_type_slot_2 = non_strategic_materials_medium } } allowed_modules = { aircraft_cannon_1_1x engine_2_2x self_sealing_fuel_tanks_medium non_strategic_materials_medium } } heavy_fighter_2 = { priority = { factor = 200 modifier = { has_tech = advanced_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1500 type = medium_plane_fighter_airframe_2 modules = { fixed_main_weapon_slot = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_1_2x engine_type_slot = engine_3_2x special_type_slot_1 = self_sealing_fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = non_strategic_materials_medium } } allowed_modules = { aircraft_cannon_1_2x armor_plate_medium fuel_tanks_medium engine_3_2x self_sealing_fuel_tanks_medium non_strategic_materials_medium } } heavy_fighter_3 = { priority = { factor = 300 modifier = { has_tech = modern_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = medium_plane_fighter_airframe_3 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_3 = aircraft_cannon_2_2x engine_type_slot = engine_4_2x special_type_slot_1 = self_sealing_fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = non_strategic_materials_medium } } allowed_modules = { aircraft_cannon_2_2x aircraft_cannon_2_2x engine_4_2x self_sealing_fuel_tanks_medium fuel_tanks_medium non_strategic_materials_medium } } heavy_fighter_4 = { priority = { factor = 400 } target_variant = { match_value = 2000 type = medium_plane_fighter_airframe_4 modules = { fixed_main_weapon_slot = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_2 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_3 = aircraft_cannon_2_2x fixed_auxiliary_weapon_slot_4 = aircraft_cannon_2_2x engine_type_slot = engine_4_3x special_type_slot_1 = self_sealing_fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = armor_plate_medium special_type_slot_4 = non_strategic_materials_medium } } allowed_modules = { aircraft_cannon_2_2x aircraft_cannon_2_2x engine_4_2x self_sealing_fuel_tanks_medium fuel_tanks_medium armor_plate_medium non_strategic_materials_medium } } } AZ_scout_plane = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_scout_plane } priority = { factor = 200 modifier = { num_of_factories < 50 factor = 0 } } scout_plane_0_default = { priority = { factor = 1 modifier = { has_tech = basic_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = medium_plane_scout_plane_airframe_0 modules = { fixed_main_weapon_slot = recon_camera fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_2_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = fuel_tanks_medium special_type_slot_4 = non_strategic_materials_medium } } allowed_modules = { recon_camera engine_2_2x fuel_tanks_medium } } scout_plane_1_default = { priority = { factor = 100 modifier = { has_tech = improved_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = medium_plane_scout_plane_airframe_1 modules = { fixed_main_weapon_slot = recon_camera fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_2_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = fuel_tanks_medium special_type_slot_4 = non_strategic_materials_medium } } allowed_modules = { recon_camera engine_2_2x fuel_tanks_medium non_strategic_materials_medium } } scout_plane_2_default = { priority = { factor = 200 modifier = { has_tech = advanced_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = medium_plane_scout_plane_airframe_2 modules = { fixed_main_weapon_slot = recon_camera fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_3_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = fuel_tanks_medium special_type_slot_4 = fuel_tanks_medium special_type_slot_5 = non_strategic_materials_medium } } allowed_modules = { engine_3_2x recon_camera fuel_tanks_medium non_strategic_materials_medium } } scout_plane_3_default = { priority = { factor = 300 modifier = { has_tech = modern_medium_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = medium_plane_scout_plane_airframe_3 modules = { fixed_main_weapon_slot = recon_camera fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_3_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = fuel_tanks_medium special_type_slot_4 = fuel_tanks_medium special_type_slot_5 = non_strategic_materials_medium } } allowed_modules = { engine_3_2x fuel_tanks_medium recon_camera non_strategic_materials_medium } } scout_plane_4_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = medium_plane_scout_plane_airframe_4 modules = { fixed_main_weapon_slot = recon_camera fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_4_2x special_type_slot_1 = fuel_tanks_medium special_type_slot_2 = fuel_tanks_medium special_type_slot_3 = fuel_tanks_medium special_type_slot_4 = fuel_tanks_medium special_type_slot_5 = non_strategic_materials_medium } } allowed_modules = { engine_4_2x fuel_tanks_medium recon_camera non_strategic_materials_medium } } } AZ_strategic_bomber = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_strategic_bomber } priority = { factor = 200 modifier = { date > "1940.1.1" factor = 5 } modifier = { has_war = yes factor = 4 } } strat_bomber_0_default = { priority = { factor = 1 modifier = { has_tech = basic_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = large_plane_airframe_0 modules = { fixed_main_weapon_slot = large_bomb_bay fixed_auxiliary_weapon_slot_1 = empty fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_2_4x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = hmg_defense_turret_2x special_type_slot_4 = non_strategic_materials_large } } allowed_modules = { large_bomb_bay engine_2_4x self_sealing_fuel_tanks_large fuel_tanks_large hmg_defense_turret_2x non_strategic_materials_large } } strat_bomber_1_default = { priority = { factor = 100 modifier = { has_tech = improved_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = large_plane_airframe_1 modules = { fixed_main_weapon_slot = large_bomb_bay fixed_auxiliary_weapon_slot_1 = large_bomb_bay fixed_auxiliary_weapon_slot_2 = empty engine_type_slot = engine_3_4x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = cannon_defense_turret_2x special_type_slot_5 = non_strategic_materials_large } } allowed_modules = { large_bomb_bay engine_3_4x self_sealing_fuel_tanks_large fuel_tanks_large cannon_defense_turret_2x non_strategic_materials_large } } strat_bomber_2_default = { priority = { factor = 200 modifier = { has_tech = advanced_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = large_plane_airframe_2 modules = { fixed_main_weapon_slot = large_bomb_bay fixed_auxiliary_weapon_slot_1 = large_bomb_bay fixed_auxiliary_weapon_slot_2 = large_bomb_bay engine_type_slot = engine_4_4x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = cannon_defense_turret_2x special_type_slot_5 = non_strategic_materials_large } } allowed_modules = { large_bomb_bay engine_4_4x self_sealing_fuel_tanks_large fuel_tanks_large cannon_defense_turret_2x non_strategic_materials_large } } strat_bomber_3_default = { priority = { factor = 300 modifier = { has_tech = modern_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = large_plane_airframe_3 modules = { fixed_main_weapon_slot = large_bomb_bay fixed_auxiliary_weapon_slot_1 = large_bomb_bay fixed_auxiliary_weapon_slot_2 = large_bomb_bay fixed_auxiliary_weapon_slot_3 = large_bomb_bay engine_type_slot = engine_4_6x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = fuel_tanks_large special_type_slot_5 = non_strategic_materials_large special_type_slot_6 = cannon_defense_turret_2x } } allowed_modules = { large_bomb_bay engine_4_6x self_sealing_fuel_tanks_large fuel_tanks_large cannon_defense_turret_2x non_strategic_materials_large } } strat_bomber_4_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = large_plane_airframe_4 modules = { fixed_main_weapon_slot = large_bomb_bay fixed_auxiliary_weapon_slot_1 = large_bomb_bay fixed_auxiliary_weapon_slot_2 = large_bomb_bay fixed_auxiliary_weapon_slot_3 = large_bomb_bay engine_type_slot = engine_4_6x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = fuel_tanks_large special_type_slot_5 = non_strategic_materials_large special_type_slot_6 = cannon_defense_turret_2x } } allowed_modules = { large_bomb_bay engine_4_6x self_sealing_fuel_tanks_large fuel_tanks_large cannon_defense_turret_2x non_strategic_materials_large } } } AZ_maritime_patrol = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_maritime_patrol } priority = { factor = 200 } maritime_patrol_0_default = { priority = { factor = 1 modifier = { has_tech = basic_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = large_plane_maritime_patrol_plane_airframe_0 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = torpedo_mounting fixed_auxiliary_weapon_slot_2 = torpedo_mounting engine_type_slot = engine_2_4x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = non_strategic_materials_large } } allowed_modules = { torpedo_mounting engine_2_4x fuel_tanks_large self_sealing_fuel_tanks_large non_strategic_materials_large } } maritime_patrol_1_default = { priority = { factor = 100 modifier = { has_tech = improved_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 1000 type = large_plane_maritime_patrol_plane_airframe_1 modules = { fixed_main_weapon_slot = torpedo_mounting fixed_auxiliary_weapon_slot_1 = torpedo_mounting fixed_auxiliary_weapon_slot_2 = torpedo_mounting engine_type_slot = engine_3_4x special_type_slot_1 = fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = non_strategic_materials_large special_type_slot_4 = self_sealing_fuel_tanks_large special_type_slot_5 = cannon_defense_turret } } allowed_modules = { torpedo_mounting engine_3_4x non_strategic_materials_large self_sealing_fuel_tanks_large cannon_defense_turret fuel_tanks_large } } maritime_patrol_2_default = { priority = { factor = 200 modifier = { has_tech = advanced_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 2000 type = large_plane_maritime_patrol_plane_airframe_2 modules = { fixed_main_weapon_slot = torpedo_mounting_2 fixed_auxiliary_weapon_slot_1 = torpedo_mounting_2 fixed_auxiliary_weapon_slot_2 = torpedo_mounting_2 engine_type_slot = engine_4_4x special_type_slot_1 = self_sealing_fuel_tanks_large special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = non_strategic_materials_large special_type_slot_5 = cannon_defense_turret special_type_slot_6 =non_strategic_materials_large } } allowed_modules = { torpedo_mounting_2 engine_4_4x self_sealing_fuel_tanks_large non_strategic_materials_large cannon_defense_turret fuel_tanks_large } } maritime_patrol_3_default = { priority = { factor = 300 modifier = { has_tech = modern_large_airframe factor = 0 #let's not waste XP here } } target_variant = { match_value = 4000 type = large_plane_maritime_patrol_plane_airframe_3 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = torpedo_mounting_3 fixed_auxiliary_weapon_slot_2 = torpedo_mounting_3 engine_type_slot = engine_4_6x special_type_slot_1 = cannon_defense_turret_2x special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = fuel_tanks_large special_type_slot_5 = self_sealing_fuel_tanks_large special_type_slot_6 = non_strategic_materials_large } } allowed_modules = { torpedo_mounting_3 engine_4_6x cannon_defense_turret_2x non_strategic_materials_large self_sealing_fuel_tanks_large fuel_tanks_large } } maritime_patrol_4_default = { priority = { factor = 400 } target_variant = { match_value = 4000 type = large_plane_maritime_patrol_plane_airframe_4 modules = { fixed_main_weapon_slot = torpedo_mounting_3 fixed_auxiliary_weapon_slot_1 = torpedo_mounting_3 fixed_auxiliary_weapon_slot_2 = torpedo_mounting_3 engine_type_slot = engine_4_6x special_type_slot_1 = cannon_defense_turret_2x special_type_slot_2 = fuel_tanks_large special_type_slot_3 = fuel_tanks_large special_type_slot_4 = fuel_tanks_large special_type_slot_5 = self_sealing_fuel_tanks_large special_type_slot_6 = non_strategic_materials_large } } allowed_modules = { torpedo_mounting_3 engine_4_6x cannon_defense_turret_2x non_strategic_materials_large self_sealing_fuel_tanks_large fuel_tanks_large } } } AZ_jianniangji = { category = air available_for = { BYG HUJ CHY DOH TIX BFL SAD YUW BLI WEX SIR SR1 SR2 SR3 SR4 DH1 } roles = { air_fighter } priority = { factor = 5000 modifier = { has_War = yes factor = 100 } } jizaijianniang_fighter_ex = { priority = { factor = 100 } target_variant = { match_value = 1000 type = jizaijianniang_equipment_airframe modules = { fixed_main_weapon_slot = az_fighter_weapon_1 fixed_auxiliary_weapon_slot_1 = az_fighter_weapon_1 fixed_auxiliary_weapon_slot_2 = az_fighter_weapon_1 fixed_auxiliary_weapon_slot_3 = az_fighter_weapon_1 fixed_auxiliary_weapon_slot_4 = az_fighter_weapon_1 engine_type_slot = engine_4_2x special_type_slot_1 = fuel_tanks_small special_type_slot_2 = non_strategic_materials_small special_type_slot_3 = fuel_tanks_small special_type_slot_4 = armor_plate_small special_type_slot_5 = self_sealing_fuel_tanks_small special_type_slot_6 = drop_tanks } } allowed_modules = { engine_4_2x az_fighter_weapon_1 armor_plate_small non_strategic_materials_small fuel_tanks_small self_sealing_fuel_tanks_small drop_tanks } } }