############################################################################################################
# Fighter
############################################################################################################

# engine_1_1x
# engine_1_2x
# engine_1_3x
# engine_1_4x
# engine_1_6x
# engine_2_1x
# engine_2_2x
# engine_2_3x
# engine_2_4x
# engine_2_6x
# engine_3_1x
# engine_3_2x
# engine_3_3x
# engine_3_4x
# engine_3_6x
# engine_4_1x
# engine_4_2x
# engine_4_3x
# engine_4_4x
# engine_4_6x

# jet_engine_1x
# jet_engine_2x
# jet_engine_3x
# jet_engine_4x
# jet_engine_6x

# rocket_engine_1
# rocket_engine_2
# rocket_engine_3

# light_mg_2x
# light_mg_4x

# heavy_mg_2x
# heavy_mg_4x

# aircraft_cannon_1_1x
# aircraft_cannon_1_2x

# aircraft_cannon_2_1x
# aircraft_cannon_2_2x

# large_aircraft_cannon_1x
# large_aircraft_cannon_2x

# bomb_locks

# rocket_rails

# small_bomb_bay
# medium_bomb_bay
# large_bomb_bay

# tank_buster_1
# tank_buster_2

# torpedo_mounting
# torpedo_mounting_2
# torpedo_mounting_3

# recon_camera

# airdropped_mines

# guided_anti_ship_missile

# fixed_explosive_charge

# armor_plate_small
# armor_plate_medium
# armor_plate_large

# fuel_tanks_small
# fuel_tanks_medium
# fuel_tanks_large

# self_sealing_fuel_tanks_small
# self_sealing_fuel_tanks_medium
# self_sealing_fuel_tanks_large

# non_strategic_materials_small
# non_strategic_materials_medium
# non_strategic_materials_large

# drop_tanks

# dive_brakes_small

# floats

# demining_coil

# flying_boat_medium
# flying_boat_large

# bomb_sights_1
# bomb_sights_2

# radio_navigation_1
# radio_navigation_2

# air_ground_radar_1
# air_ground_radar_2

# air_air_radar_1
# air_air_radar_2

# lmg_defense_turret
# lmg_defense_turret_2x
# hmg_defense_turret
# hmg_defense_turret_2x

# cannon_defense_turret
# cannon_defense_turret_2x

EAI_fighter = {
	category = air
	roles = { air_fighter }
	priority = {
		base = 0
		modifier = {
			add = 50000
			EAI_FTR_military_focus = yes
			has_tech = aa_lmg
			NOT = { EAI_FTR_design_priority = yes }
		}
	}

	##################
	### BASIC
	##################

	BASIC_FIGHTER_VARIANT_A = { # Normal type
		priority = {
			base = 0
			modifier = { 
				add = 100 
				
				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_A }
				has_tech = basic_small_airframe 
				has_tech = engines_2 
			}
			modifier = { 
				add = -500 
				
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
		}

		target_variant = {
			type = small_plane_airframe_1
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = light_mg_4x }
				engine_type_slot > engine_1_1x
				special_type_slot_1 = { module = drop_tanks module = empty }
				special_type_slot_2 = { module = armor_plate_small module = empty } 
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	BASIC_FIGHTER_VARIANT_B = { # More rubber
		priority = {
			base = 0
			modifier = { 
				add = 100 
				
				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_B }
				has_tech = basic_small_airframe 
				has_tech = engines_2 
			}
			modifier = { 
				add = -500 
				
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
		}

		target_variant = {
			type = small_plane_airframe_1
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = light_mg_4x }
				engine_type_slot > engine_1_1x
				special_type_slot_1 = { module = drop_tanks module = empty }
				special_type_slot_2 = { module = self_sealing_fuel_tanks_small module = empty } 
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	BASIC_FIGHTER_VARIANT_C = { # Less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 
				
				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_C }
				has_tech = basic_small_airframe 
				has_tech = engines_2 
			}
			modifier = { 
				add = -500 
				
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
		}

		target_variant = {
			type = small_plane_airframe_1
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = light_mg_4x }
				engine_type_slot > engine_1_1x
				special_type_slot_1 = { module = drop_tanks module = empty }
				special_type_slot_2 = { module = non_strategic_materials_small module = empty } 
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	BASIC_FIGHTER_VARIANT_D = { # More rubber + less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 
				
				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_D }
				has_tech = basic_small_airframe 
				has_tech = engines_2 
			}
			modifier = { 
				add = -500 
				
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
		}

		target_variant = {
			type = small_plane_airframe_1
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_1_1x
				special_type_slot_1 = { module = self_sealing_fuel_tanks_small module = empty }
				special_type_slot_2 = { module = non_strategic_materials_small module = empty } 
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	BASIC_FIGHTER_VARIANT_E = { # Range type : for JAP / ENG
		priority = {
			base = 0
			modifier = { 
				add = 100 
				
				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_E }
				has_tech = basic_small_airframe 
				has_tech = engines_2 
			}
			modifier = { 
				add = -500 
				
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
		}

		target_variant = {
			type = small_plane_airframe_1
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = light_mg_4x }
				engine_type_slot > engine_1_1x
				special_type_slot_1 = { module = drop_tanks module = empty }
				special_type_slot_2 = { module = self_sealing_fuel_tanks_small module = empty } 
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	##################
	### IMPROVED
	##################

	IMPROVED_FIGHTER_VARIANT_A = { # Normal type
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_A }			
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
			modifier = { 
				add = -500 
				
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
		}

		target_variant = {
			type = small_plane_airframe_2
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_2_1x
				special_type_slot_1 = fuel_tanks_small
 				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	IMPROVED_FIGHTER_VARIANT_B = { # More rubber
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_B }			
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
			modifier = { 
				add = -500 
				
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
		}

		target_variant = {
			type = small_plane_airframe_2
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_2_1x
				special_type_slot_1 = fuel_tanks_small
 				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	IMPROVED_FIGHTER_VARIANT_C = { # Less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_C }			
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
			modifier = { 
				add = -500 
				
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
		}

		target_variant = {
			type = small_plane_airframe_2
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_2_1x
				special_type_slot_1 = fuel_tanks_small
 				special_type_slot_2 = armor_plate_small
				special_type_slot_3 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	IMPROVED_FIGHTER_VARIANT_D = { # More rubber + less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_D }			
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
			modifier = { 
				add = -500 
				
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
		}

		target_variant = {
			type = small_plane_airframe_2
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_2_1x
				special_type_slot_1 = fuel_tanks_small
 				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	IMPROVED_FIGHTER_VARIANT_E = { # Range type : for JAP / ENG
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_E }			
				has_tech = improved_small_airframe 
				has_tech = engines_3 
			}
			modifier = { 
				add = -500 
				
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
		}

		target_variant = {
			type = small_plane_airframe_2
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				engine_type_slot > engine_2_1x
				special_type_slot_1 = fuel_tanks_small
 				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = self_sealing_fuel_tanks_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	##################
	### ADVANCED
	##################

	ADVANCED_FIGHTER_VARIANT_A = { # Normal type
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_A }		
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
			modifier = { 
				add = -500 
				
				has_tech = modern_small_airframe 
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_3
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot > engine_3_1x
				special_type_slot_1 = fuel_tanks_small
				special_type_slot_2 = armor_plate_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	ADVANCED_FIGHTER_VARIANT_B = { # More rubber
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_B }		
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
			modifier = { 
				add = -500 
				
				has_tech = modern_small_airframe 
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_3
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot > engine_3_1x
				special_type_slot_1 = fuel_tanks_small
				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	ADVANCED_FIGHTER_VARIANT_C = { # Less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_C }		
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
			modifier = { 
				add = -500 
				
				has_tech = modern_small_airframe 
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_3
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot > engine_3_1x
				special_type_slot_1 = { module = fuel_tanks_small module = empty }
				special_type_slot_2 = { module = armor_plate_small module = empty }
				special_type_slot_3 = { module = armor_plate_small module = empty }
				special_type_slot_4 = { module = non_strategic_materials_small module = empty }
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	ADVANCED_FIGHTER_VARIANT_D = { # More rubber + less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_D }	
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
			modifier = { 
				add = -500 
				
				has_tech = modern_small_airframe 
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_3
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot > engine_3_1x
				special_type_slot_1 = fuel_tanks_small
				special_type_slot_2 = self_sealing_fuel_tanks_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	ADVANCED_FIGHTER_VARIANT_E = { # Range type : for JAP / ENG
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_E }		
				has_tech = advanced_small_airframe 
				has_tech = engines_4
			}
			modifier = { 
				add = -500 
				
				has_tech = modern_small_airframe 
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_3
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = empty
				engine_type_slot > engine_3_1x
				special_type_slot_1 = fuel_tanks_small
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = self_sealing_fuel_tanks_small
				special_type_slot_4 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	##################
	### MODERN
	##################

	MODERN_FIGHTER_VARIANT_A = { # Normal type
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_A }			
				has_tech = modern_small_airframe
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_4
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = { module = empty }
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = empty
			}
		}

		allowed_modules = {
			plane_jet_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	MODERN_FIGHTER_VARIANT_B = { # More rubber
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_B }			
				has_tech = modern_small_airframe
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_4
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = { module = empty }
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = self_sealing_fuel_tanks_small
				special_type_slot_4 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_jet_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	MODERN_FIGHTER_VARIANT_C = { # Less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_C }			
				has_tech = modern_small_airframe
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_4
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = { module = empty }
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = armor_plate_small
				special_type_slot_4 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			plane_jet_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	MODERN_FIGHTER_VARIANT_D = { # More rubber + less aluminium
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_D }			
				has_tech = modern_small_airframe
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_4
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = { module = empty }
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = self_sealing_fuel_tanks_small
				special_type_slot_4 = non_strategic_materials_small
			}
		}

		allowed_modules = {
			plane_jet_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}

	MODERN_FIGHTER_VARIANT_E = { # Range type : for JAP / ENG
		priority = {
			base = 0
			modifier = { 
				add = 100 

				check_variable = { EAI_fighter_variant = global.EAI_FIGHTER_VARIANT_E }			
				has_tech = modern_small_airframe
				has_tech = jet_engines
			}
		}

		target_variant = {
			type = small_plane_airframe_4
			match_value = 1
			
			modules = {
				fixed_main_weapon_slot = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_1 = { module = heavy_mg_4x module = light_mg_4x }
				fixed_auxiliary_weapon_slot_2 = { module = light_mg_4x }
				fixed_auxiliary_weapon_slot_3 = { module = empty }
				engine_type_slot = jet_engine_2x
				special_type_slot_1 = drop_tanks
				special_type_slot_2 = fuel_tanks_small
				special_type_slot_3 = self_sealing_fuel_tanks_small
				special_type_slot_4 = armor_plate_small
			}
		}

		allowed_modules = {
			plane_jet_engine_type

			light_mg_2x
			light_mg_4x
			heavy_mg_2x
			heavy_mg_4x
			aircraft_cannon_1_1x
			aircraft_cannon_1_2x
			aircraft_cannon_2_1x
			aircraft_cannon_2_2x
			large_aircraft_cannon_1x
			large_aircraft_cannon_2x

			drop_tanks
			fuel_tanks_small
			armor_plate_small
			self_sealing_fuel_tanks_small
			non_strategic_materials_small
		}
	}
}