generic_fighter = {
	category = air

	roles = {
		air_fighter
	}

	priority = {
		factor = 2000
	}

	early_fighter_1933 = {
		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 = empty
				special_type_slot_2 = empty
			}
		}
	}

	basic_fighter_1936 = {
		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 = {
					any_of = {
						heavy_mg_4x
						light_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_1 = light_mg_4x
				engine_type_slot = engine_2_1x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = armor_plate_small
			}
		}
	}

	improved_fighter_1940 = {
		priority = {
			factor = 100
			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 = {
					any_of = {
						heavy_mg_4x
						light_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_1 = {
					any_of = {
						heavy_mg_4x
						light_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_2 = {
					any_of = {
						heavy_mg_4x
						light_mg_4x
					}
				}
				engine_type_slot = engine_3_1x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = armor_plate_small
			}
		}
	}

	advanced_fighter_1944 = {
		priority = {
			factor = 100
			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 = {
					any_of = {
						aircraft_cannon_1_2x
						heavy_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_1 = {
					any_of = {
						aircraft_cannon_1_2x
						heavy_mg_4x
					}
				}
				fixed_auxiliary_weapon_slot_2 = {
					any_of = {
						aircraft_cannon_1_2x
						heavy_mg_4x
					}
				}
				engine_type_slot = engine_4_1x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = armor_plate_small
			}
		}
	}

	modern_fighter_1945 = {
		priority = {
			factor = 100
		}

		target_variant = {
			match_value = 4000
			type = small_plane_airframe_4
			modules = {
				fixed_main_weapon_slot = {
					any_of = {
						aircraft_cannon_2_2x
						aircraft_cannon_1_2x
					}
				}
				fixed_auxiliary_weapon_slot_1 = {
					any_of = {
						aircraft_cannon_2_2x
						aircraft_cannon_1_2x
					}
				}
				fixed_auxiliary_weapon_slot_2 = {
					any_of = {
						aircraft_cannon_2_2x
						aircraft_cannon_1_2x
					}
				}
				fixed_auxiliary_weapon_slot_3 = {
					any_of = {
						aircraft_cannon_2_2x
						aircraft_cannon_1_2x
					}
				}
				engine_type_slot = {
					any_of = {
						jet_engine_axial_2x
						jet_engine_2x
					}
				}
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = self_sealing_fuel_tanks_small	
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = armor_plate_small
			}
		}
	}
}
