# AI plane design for testing

ENG_fighter = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_fighter
	}

	priority = {
		factor = 2000
	}

	great_war_fighter_default = {
		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_airframe_0
			modules = {
				fixed_main_weapon_slot = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = { any_of = { light_mg_2x small_bomb_locks } }
				engine_type_slot = { 
					any_of = {
						engine_1_1x
						engine_2_1x 
					}
				}
				special_type_slot_1 = empty
				special_type_slot_2 = empty
				special_type_slot_6 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			engine_1_1x
			engine_2_1x 
			light_mg_2x
			light_mg_4x
			non_strategic_materials_small
			small_bomb_locks
		}
	}

	basic_fighter_default = {
		priority = {
			factor = 1800
			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 = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = bomb_locks
				engine_type_slot = engine_2_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = empty
				special_type_slot_6 = non_strategic_materials_small	
			}
		}

		allowed_modules = {
			light_mg_4x
			aircraft_cannon_1_1x
			engine_2_1x
			non_strategic_materials_small
			bomb_locks
			armor_plate_small
		}
	}

	improved_fighter_default = {
		priority = {
			factor = 2250
			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 = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
				fixed_auxiliary_weapon_slot_2 = bomb_locks
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = engine_3_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = empty	
				special_type_slot_3 = empty
				special_type_slot_6 = advanced_aerodynamics
			}
		}

		allowed_modules = {
			light_mg_4x
			aircraft_cannon_1_2x
			bomb_locks
			engine_3_1x
			armor_plate_small
			self_sealing_fuel_tanks_small
			advanced_aerodynamics
		}
	}

	advanced_fighter_default = {
		priority = {
			factor = 2000
		}

		target_variant = {
			match_value = 4000
			type = small_plane_airframe_3
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = rocket_rails
				fixed_auxiliary_weapon_slot_3 = bomb_locks
				engine_type_slot = engine_4_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = fuel_tanks_small	
				special_type_slot_3 = self_sealing_fuel_tanks_small
				special_type_slot_6 = advanced_aerodynamics
			}
		}

		allowed_modules = { 
			aircraft_cannon_12_2x
			rocket_rails
			bomb_locks
			engine_4_1x
			armor_plate_small
			self_sealing_fuel_tanks_small
			fuel_tanks_small	
			advanced_aerodynamics
		}
	}
	jet_fighter_default = {
		priority = {
			factor = 500
		}

		target_variant = {
			match_value = 4000
			type = small_plane_airframe_4
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = rocket_rails
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = self_sealing_fuel_tanks_small	
				special_type_slot_3 = radio_navigation_2
				special_type_slot_6 = empty
			}
		}

		allowed_modules = { 
			aircraft_cannon_12_2x
			rocket_rails
			jet_engine_2x
			armor_plate_small
			self_sealing_fuel_tanks_small
			radio_navigation_2
		}
	}
}

ENG_cas = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_cas
	}

	priority = {
		factor = 300
	}
	cas_1 = {
		priority = {
			factor = 200	
		}
		target_variant = {
			match_value = 1000
			type = small_plane_cas_airframe_1
			modules = {
				fixed_main_weapon_slot = bomb_locks
				fixed_auxiliary_weapon_slot_1 = light_mg_2x
				fixed_auxiliary_weapon_slot_2 = bomb_locks
				engine_type_slot = engine_2_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = lmg_defense_turret
				special_type_slot_6 = empty	
			}
		}

		allowed_modules = {
			bomb_locks
			engine_2_1x
			light_mg_2x
			armor_plate_small
			fuel_tanks_small
			lmg_defense_turret
		}
	}
	cas_2 = {
		priority = {
			factor = 300
		}
		target_variant = {
			match_value = 1500
			type = small_plane_cas_airframe_2
			modules = {
				fixed_main_weapon_slot = small_bomb_bay
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = small_bomb_bay
				fixed_auxiliary_weapon_slot_3 = small_bomb_locks
				engine_type_slot = engine_3_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = fuel_tanks_small	
				special_type_slot_3 = { 
					any_of = {
						lmg_defense_turret
						hmg_defense_turret
					}
				}
				special_type_slot_6 = { 
					any_of = {
						bomb_sights_1
						bomb_sights_2
					}
				}
			}
		}
		allowed_modules = {
			small_bomb_bay
			small_bomb_locks
			light_mg_4x
			engine_3_1x
			armor_plate_small
			fuel_tanks_small
      		lmg_defense_turret
			hmg_defense_turret
			bomb_sights_1
			bomb_sights_2
		}
	}
	cas_3 = {
		priority = {
			factor = 300
		}
		target_variant = {
			match_value = 2500
			type = small_plane_cas_airframe_3
			modules = {
				fixed_main_weapon_slot = tank_buster_1
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = tank_buster_1
				fixed_auxiliary_weapon_slot_3 = rocket_rails
				engine_type_slot = engine_4_1x
				special_type_slot_1 = armored_hull
				special_type_slot_2 = self_sealing_fuel_tanks_small	
				special_type_slot_3 = lmg_defense_turret
				special_type_slot_6 = bomb_sights_2
			}
		}

		allowed_modules = {
			tank_buster_1
			light_mg_4x
			bomb_sights_2
			rocket_rails
			lmg_defense_turret
			self_sealing_fuel_tanks_small
			armored_hull
			engine_4_1x
		}
	}
}

ENG_naval_bomber = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }
	
	roles = {
		air_naval_bomber
	}
	priority = {
		factor = 900
	}
	naval_bomber_1 = {
		priority = {
			factor = 750
		}
		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
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_1_1x
				special_type_slot_1 = lmg_defense_turret
				special_type_slot_2 = empty
				special_type_slot_6 = bomb_sights_1
			}
		}
		allowed_modules = {
			torpedo_mounting
			lmg_defense_turret
			bomb_sights_1
			engine_1_1x
		}
	}
	naval_bomber_2 = {
		priority = {
			factor = 900
		}
		target_variant = {
			match_value = 1500
			type = small_plane_naval_bomber_airframe_2
			modules = {
				fixed_main_weapon_slot = { 
					any_of = {
						torpedo_mounting
						torpedo_mounting_2
					}
				}
				fixed_auxiliary_weapon_slot_1 = light_mg_2x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = engine_2_1x
				special_type_slot_1 = floats
				special_type_slot_2 = hmg_defense_turret	
				special_type_slot_3 = dive_brakes_small
				special_type_slot_6 = bomb_sights_2
			}
		}
		allowed_modules = {
			light_mg_2x
			floats
			dive_brakes_small
			torpedo_mounting
			torpedo_mounting_2
			hmg_defense_turret
			engine_2_1x
			bomb_sights_2
		}
	}

	naval_bomber_3 = {
		priority = {
			factor = 900
		}
		target_variant = {
			match_value = 2000
			type = small_plane_naval_bomber_airframe_3
			modules = {
				fixed_main_weapon_slot = { 
					any_of = {
						torpedo_mounting
						torpedo_mounting_2
						torpedo_mounting_3
					}
				}
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = engine_3_1x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = floats	
				special_type_slot_3 = dive_brakes_small
				special_type_slot_6 = bomb_sights_2
			}

		}

		allowed_modules = {
			torpedo_mounting
			torpedo_mounting_2
			torpedo_mounting_3
			light_mg_4x
			engine_3_1x
			floats
			dive_brakes_small
			hmg_defense_turret
			bomb_sights_2
		}
	}
}

ENG_cv_fighter = {
	category = air

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_cv_fighter
	}

	priority = {
		factor = 300
		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 = 100
			type = cv_small_plane_airframe_0
			modules = {
				fixed_main_weapon_slot = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = empty
				engine_type_slot = { 
					any_of = {
						engine_1_1x
						engine_2_1x 
					}
				}
				special_type_slot_1 = empty
				special_type_slot_2 = empty
				special_type_slot_6 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			engine_1_1x
			engine_2_1x 
			light_mg_4x
			non_strategic_materials_small
			
		}
}

	basic_cv_fighter_default = {
		priority = {
			factor = 300
		}

		target_variant = {
			match_value = 2000
			type = cv_small_plane_airframe_1
			modules = {
				fixed_main_weapon_slot = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_2_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = empty
				special_type_slot_6 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			light_mg_4x
			non_strategic_materials_small
			engine_2_1x
			armor_plate_small
		}
}

	improved_cv_fighter_default = {
		priority = {
			factor = 300
		}

		target_variant = {
			match_value = 3000
			type = cv_small_plane_airframe_2
			modules = {
				fixed_main_weapon_slot = light_mg_4x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				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 = empty
				special_type_slot_6 = advanced_aerodynamics
			}
		}

		allowed_modules = {
			light_mg_4x
			aircraft_cannon_1_2x
			engine_3_1x
			advanced_aerodynamics
			armor_plate_small
			self_sealing_fuel_tanks_small
		}
	}

	advanced_cv_fighter_default = {
		priority = {
			factor = 300
		}

		target_variant = {
			match_value = 4000
			type = cv_small_plane_airframe_3
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				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 = empty
				special_type_slot_6 = advanced_aerodynamics
			}
		}

		allowed_modules = { 
			aircraft_cannon_12_2x
			engine_4_1x
			armor_plate_small
			advanced_aerodynamics
			self_sealing_fuel_tanks_small
		}
	}
	jet_cv_fighter_default = {
		priority = {
			factor = 100
		}

		target_variant = {
			match_value = 4000
			type = cv_small_plane_airframe_4
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = jet_engine_1x
				special_type_slot_1 = armor_plate_small
				special_type_slot_2 = self_sealing_fuel_tanks_small	
				special_type_slot_3 = radio_navigation_1
				special_type_slot_6 = air_air_radar_1
			}
		}

		allowed_modules = { 
			aircraft_cannon_12_2x
			air_air_radar_1
			jet_engine_1x
			armor_plate_small
			self_sealing_fuel_tanks_small
			radio_navigation_1
		}
	}
}


ENG_cv_naval_bomber = {
	category = air

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_cv_naval_bomber
	}

	priority = {
		factor = 500
		modifier = {
			has_navy_size = {
				unit = carrier
 	  			size < 1
			}
			factor = 0
		}
	}
	cv_naval_bomber_1 = {
		priority = {
			factor = 500
			
		}

		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
				fixed_auxiliary_weapon_slot_2 = empty
				engine_type_slot = engine_1_1x
				special_type_slot_1 = lmg_defense_turret
				special_type_slot_2 = empty
				special_type_slot_6 = bomb_sights_1
			}
		}
		allowed_modules = {
			torpedo_mounting
			lmg_defense_turret
			bomb_sights_1
			engine_1_1x
		}
	}
	cv_naval_bomber_2 = {
		priority = {
			factor = 500
			
		}

		target_variant = {
			match_value = 1500
			type = cv_small_plane_naval_bomber_airframe_2
				modules = {
				fixed_main_weapon_slot = { 
					any_of = {
						torpedo_mounting
						torpedo_mounting_2
					}
				}
				fixed_auxiliary_weapon_slot_1 = light_mg_2x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = { 
					any_of = {
						engine_2_1x
						engine_3_1x
					}
				}
				special_type_slot_1 = empty
				special_type_slot_2 = lmg_defense_turret	
				special_type_slot_3 = dive_brakes_small
				special_type_slot_6 = bomb_sights_2
			}
		}
		allowed_modules = {
			light_mg_2x
			dive_brakes_small
			torpedo_mounting
			torpedo_mounting_2
			lmg_defense_turret
			engine_2_1x
			engine_3_1x
			bomb_sights_2
		}
	}

	cv_naval_bomber_3 = {
		priority = {
			factor = 500
			
		}

		target_variant = {
			match_value = 2000
			type = cv_small_plane_naval_bomber_airframe_3
			modules = {
				fixed_main_weapon_slot = { 
					any_of = {
						torpedo_mounting
						torpedo_mounting_2
						torpedo_mounting_3
					}
				}
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = empty
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = engine_3_1x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = floats	
				special_type_slot_3 = dive_brakes_small
				special_type_slot_6 = bomb_sights_2
			}

		}

		allowed_modules = {
			torpedo_mounting
			torpedo_mounting_2
			torpedo_mounting_3
			light_mg_4x
			engine_4_1x
			dive_brakes_small
			hmg_defense_turret
			bomb_sights_2
		}
	}
}



ENG_tactical_bomber = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_tactical_bomber
	}

	priority = {
		factor = 2000
	}

	
	tac_bomber_1_default = {
		priority = {
			factor = 2000
	
		}

		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
				fixed_auxiliary_weapon_slot_2 = bomb_locks
				fixed_auxiliary_weapon_slot_3 = empty
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret
				engine_type_slot = engine_2_2x
				special_type_slot_1 = lmg_defense_turret_2x
				special_type_slot_2 = lmg_defense_turret_2x
				special_type_slot_3 = empty	
				special_type_slot_4 = empty	
				special_type_slot_5 = empty		
			}
		}

		allowed_modules = {
			medium_bomb_bay
			bomb_locks
			lmg_defense_turret
			lmg_defense_turret_2x
			engine_2_2x
		}
	}
	tac_bomber_2_default = {
		priority = {
			factor = 2000
	
		}

		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 = bomb_locks
				fixed_auxiliary_weapon_slot_3 = empty
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret_2x
				engine_type_slot = engine_3_2x
				special_type_slot_1 = hmg_defense_turret_2x
				special_type_slot_2 = armor_plate_medium
				special_type_slot_3 = self_sealing_fuel_tanks_medium	
				special_type_slot_4 = lmg_defense_turret_2x	
				special_type_slot_5 = { 
					any_of = {
						bomb_sights_1
						bomb_sights_2
					}
				}		
			}
			
		}

		allowed_modules = {
			medium_bomb_bay
			bomb_locks
			armor_plate_medium
			self_sealing_fuel_tanks_medium
			engine_3_2x
			lmg_defense_turret_2x
			hmg_defense_turret_2x
			bomb_sights_1
			bomb_sights_2
		}
	}

	tac_bomber_3_default = {
		priority = {
			factor = 1000
		}

		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 = small_bomb_locks
				fixed_auxiliary_weapon_slot_3 = small_bomb_bay
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret_2x
				engine_type_slot = engine_4_2x
				special_type_slot_1 = armor_plate_medium
				special_type_slot_2 = self_sealing_fuel_tanks_medium
				special_type_slot_3 = lmg_defense_turret_2x	
				special_type_slot_4 = lmg_defense_turret_2x	
				special_type_slot_5 = empty
				special_type_slot_6 = bomb_sights_2		
			}
			
		}

		allowed_modules = {
			medium_bomb_bay
			small_bomb_bay
			small_bomb_locks
			self_sealing_fuel_tanks_medium
			bomb_sights_2
			armor_plate_medium
			engine_4_2x
			lmg_defense_turret_2x
		}
	}
	jet_tac_bomber_default = {
		priority = {
			factor = 600
		}

		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 = bomb_locks
				fixed_auxiliary_weapon_slot_3 = bomb_locks
				fixed_auxiliary_weapon_slot_4 = empty
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = armor_plate_medium
				special_type_slot_2 = self_sealing_fuel_tanks_medium
				special_type_slot_3 = fuel_tanks_medium	
				special_type_slot_4 = fuel_tanks_medium	
				special_type_slot_5 = { 
					any_of = {
						bomb_sights_1
						bomb_sights_2
					}
				}
				special_type_slot_6 = { 
					any_of = {
						air_ground_radar_2
						air_ground_radar_1
					}
				}		
			}
			
		}

		allowed_modules = {
			medium_bomb_bay
			bomb_locks
			armor_plate_medium
			self_sealing_fuel_tanks_medium
			fuel_tanks_medium
			cannon_defense_turret
			jet_engine_2x
		}
	}
}

ENG_heavy_fighter = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_heavy_fighter
	}

	priority = {
		factor = 200
		
	}
	heavy_fighter_1 = {
		priority = {
			factor = 200
			
		}
		

		target_variant = {
			match_value = 1000
			type = medium_plane_fighter_airframe_1
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_1_2x
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				fixed_auxiliary_weapon_slot_2 = light_mg_2x
				fixed_auxiliary_weapon_slot_3 = bomb_locks
				fixed_auxiliary_weapon_slot_4 = empty
				engine_type_slot = engine_2_2x
				special_type_slot_1 = armor_plate_medium
				special_type_slot_2 = empty
				special_type_slot_3 = empty	
				special_type_slot_4 = empty	
				special_type_slot_5 = empty		
			}
			
		}

		allowed_modules = {
			light_mg_4x
			light_mg_2x
			aircraft_cannon_1_2x
			engine_2_2x
			bomb_locks
			armor_plate_medium
		}
	}

	heavy_fighter_2 = {
		priority = {
			factor = 200
			
		}
		

		target_variant = {
			match_value = 1500
			type = medium_plane_fighter_airframe_2
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = small_bomb_locks
				fixed_auxiliary_weapon_slot_3 = small_bomb_bay
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret
				engine_type_slot = engine_3_2x
				special_type_slot_1 = armor_plate_medium
				special_type_slot_2 = self_sealing_fuel_tanks_medium
				special_type_slot_3 = empty	
				special_type_slot_4 = radio_navigation_1	
				special_type_slot_5 = non_strategic_materials_medium_2
			}
			
		}

		allowed_modules = {
			armor_plate_medium
			small_bomb_locks
			aircraft_cannon_12_2x
			engine_3_2x
			small_bomb_bay
			lmg_defense_turret
			non_strategic_materials_medium_2
			radio_navigation_1
			self_sealing_fuel_tanks_medium
		}
	}

	heavy_fighter_3 = {
		priority = {
			factor = 200
			
		}

		target_variant = {
			match_value = 2000
			type = medium_plane_fighter_airframe_3
			modules = {
				fixed_main_weapon_slot = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_1 = aircraft_cannon_12_2x
				fixed_auxiliary_weapon_slot_2 = light_mg_4x
				fixed_auxiliary_weapon_slot_3 = bomb_locks
				fixed_auxiliary_weapon_slot_4 = bomb_locks
				engine_type_slot = engine_4_2x
				special_type_slot_1 = armor_plate_medium
				special_type_slot_2 = self_sealing_fuel_tanks_medium
				special_type_slot_3 = lmg_defense_turret	
				special_type_slot_4 = lmg_defense_turret
				special_type_slot_5 = radio_navigation_2
				special_type_slot_6 = non_strategic_materials_medium_2		
			}
			
		}

		allowed_modules = {
			light_mg_4x
			bomb_locks
			self_sealing_fuel_tanks_medium
			armor_plate_medium
			lmg_defense_turret
			aircraft_cannon_12_2x
			radio_navigation_2
			non_strategic_materials_medium_2
			engine_4_2x
		}
	}
}


ENG_strategic_bomber = {
	category = air

	blocked_for = { }

	available_for = { ENG NZL CAN SAF RAJ AST MAL }

	roles = {
		air_strategic_bomber
	}

	priority = {
		factor = 800
		modifier = {
			num_of_factories < 100
			factor = 0
		}
	}

	

	strat_bomber_1_default = {
		priority = {
			factor = 200
		
			
		}

		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
				fixed_auxiliary_weapon_slot_3 = lmg_defense_turret
				engine_type_slot = engine_2_4x
				special_type_slot_1 = lmg_defense_turret_2x
				special_type_slot_2 = lmg_defense_turret
				special_type_slot_3 = lmg_defense_turret
				special_type_slot_4 = empty
				special_type_slot_5 = empty
				special_type_slot_6 = bomb_sights_1
			}
			
		}

		allowed_modules = {
			large_bomb_bay
			engine_2_4x
			lmg_defense_turret
			lmg_defense_turret_2x
			self_sealing_fuel_tanks_large
			lmg_defense_turret
			bomb_sights_1
		}
	}

	strat_bomber_2_default = {
		priority = {
			factor = 200
			
		}

		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 = empty
				fixed_auxiliary_weapon_slot_3 = lmg_defense_turret_2x
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret_2x
				engine_type_slot = engine_3_4x
				special_type_slot_1 = armor_plate_large
				special_type_slot_2 = self_sealing_fuel_tanks_large
				special_type_slot_3 = lmg_defense_turret_2x
				special_type_slot_4 = lmg_defense_turret_2x
				special_type_slot_5 = { 
					any_of = {
						bomb_sights_1
						bomb_sights_2
					}
				}
				special_type_slot_6 = { 
					any_of = {
						radio_navigation_1
						radio_navigation_2
					}
				}
			}
			
		}

		allowed_modules = {
			large_bomb_bay
			self_sealing_fuel_tanks_large
			armor_plate_large
			engine_3_4x
			lmg_defense_turret_2x
			radio_navigation_1
			radio_navigation_2
			bomb_sights_1
			bomb_sights_2
		}
	}

	strat_bomber_3_default = {
		priority = {
			factor = 200
		}

		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 = lmg_defense_turret
				fixed_auxiliary_weapon_slot_4 = lmg_defense_turret_2x
				engine_type_slot = engine_4_4x
				special_type_slot_1 = armor_plate_large
				special_type_slot_2 = self_sealing_fuel_tanks_large
				special_type_slot_3 = lmg_defense_turret_2x
				special_type_slot_4 = lmg_defense_turret_2x
				special_type_slot_5 = bomb_sights_2
				special_type_slot_6 = air_ground_radar_2
			}
			
		}

		allowed_modules = {
			large_bomb_bay
			engine_4_4x
			armor_plate_large
			self_sealing_fuel_tanks_large
			bomb_sights_2
			air_ground_radar_2
			lmg_defense_turret
			lmg_defense_turret_2x
		}
	}
}

