# AI plane design for testing

supersonic_generic_fighter = {
	category = air



	roles = {
		air_fighter
	}

	priority = {
		factor = 1000
	}
	supersonic_jet_fighter_default = {
		priority = {
			factor = 600
		}

		history = yes
		target_variant = {
			match_value = 6000
			type = small_plane_airframe_6
			modules = {
				fixed_main_weapon_slot = {
					any_of = {
						aircraft_cannon_4_2x
						aircraft_cannon_3_2x
						aircraft_cannon_2_2x
						aircraft_cannon_1_2x
						light_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_1 = {
					any_of = {
						guided_air_to_air_missile
						hardpoint
						aircraft_cannon_2_2x
					}
				}
#				fixed_auxiliary_weapon_slot_2 = empty
#				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = jet_engine_2_2x
				special_type_slot_1 = {
					any_of = {
						air_air_radar_4
						air_air_radar_3
						air_air_radar_2
					}
				}
				special_type_slot_2 = self_sealing_fuel_tanks_small
#				special_type_slot_3 = empty
				special_type_slot_7 = compressor
				special_type_slot_8 = canopy3
				special_type_slot_9 = gyro_gunsight_2	
			}
		}

		allowed_modules = {
			aircraft_cannon_4_2x
			aircraft_cannon_3_2x
			aircraft_cannon_2_2x
			guided_air_to_air_missile
			hardpoint
			jet_engine_2x
			jet_engine_2_2x
			rocket_pods
			small_bomb_bay_2
			canopy0
			canopy3
			air_air_radar_4
			air_air_radar_3
			air_air_radar_2
			self_sealing_fuel_tanks_small
		}
	}
}

supersonic_generic_cas = {
	category = air



	roles = {
		air_cas
	}

	priority = {
		factor = 500
	}
	cas_6 = {
		priority = {
			factor = 200
		}
		history = yes
		target_variant = {
			match_value = 4000
			type = small_plane_cas_airframe_6
			modules = {
				fixed_main_weapon_slot = {
					any_of = {
						guided_air_to_surface_missile
						small_bomb_bay
					}
				}
				fixed_auxiliary_weapon_slot_1 = {
					any_of = {
						hardpoint
						small_bomb_bay
					}
				}
#				fixed_auxiliary_weapon_slot_2 = empty
#				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = {
					any_of = {
						jet_engine_2_2x
						jet_engine_2x
					}
				}
#				special_type_slot_1 = empty
				special_type_slot_2 = armor_plate_small
#				special_type_slot_3 = empty
				special_type_slot_7 = compressor
				special_type_slot_8 = canopy3
				special_type_slot_9 = gyro_gunsight_2	
			}
		}

		allowed_modules = {
			small_bomb_bay
			hardpoint
			rocket_rails
			jet_engine_2x
			jet_engine_2_2x
			rocket_pods
			small_bomb_bay_2
			canopy0
			canopy3
			tank_buster_1
			tank_buster_2
			tank_buster_3
			hmg_defense_turret
			armor_plate_small
		}
	}
}

supersonic_generic_naval_bomber = {
	category = air



	roles = {
		air_naval_bomber
	}
	priority = {
		factor = 500
	}

	naval_bomber_6 = {
		priority = {
			factor = 200
		}
		history = yes
		target_variant = {
			match_value = 2500
			type = small_plane_naval_bomber_airframe_6
			modules = {
				fixed_main_weapon_slot = {
					any_of = {
						guided_anti_ship_missile
						torpedo_mounting_4
						torpedo_mounting_3
						torpedo_mounting_2
						torpedo_mounting
					}
				}
#				fixed_auxiliary_weapon_slot_1 = empty
#				fixed_auxiliary_weapon_slot_2 = empty
#				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot = jet_engine_2x
				fixed_auxiliary_weapon_slot_6 = hmg_defense_turret
#				special_type_slot_2 = empty
#				special_type_slot_3 = empty
				special_type_slot_7 = improved_compressor
				special_type_slot_8 = canopy3
			}

		}

		allowed_modules = {
			torpedo_mounting
			torpedo_mounting_2
			torpedo_mounting_3
			torpedo_mounting_4
			guided_anti_ship_missile
			engine_3_1x
			rocket_pods
			small_bomb_bay_2
			radial_engine_3_1x
			jet_engine_2x
			jet_engine_2_2x
			rocket_pods
			small_bomb_bay_2
			canopy0
			canopy3
			hmg_defense_turret
		}
	}
}
