equipment_modules = {
	limit = {
		has_dlc = "By Blood Alone"
	}

	basic_iff = { #friend or foe
		abbreviation = "iff"
		category =  plane_special_module_air_air_radar
		gui_category = plane_special_module_electronics
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = { fighter heavy_fighter }

		xp_cost = 1
		dismantle_cost_ic = 0.5

		add_stats = {
			weight = 1
			build_cost_ic = 1
			air_agility = 0.5 #I can identify targets at range and start dogfights on my terms
			night_penalty = -0.005
		}

		build_cost_resources = {
			aluminium = 1
		}
	
		allow_mission_type = {
			air_superiority
			interception
		}

		mission_type_stats = {
			limit = {
				air_superiority
				interception
			}
			add_stats = {
				air_attack = 1
				air_defence = 1
			}
		}
	}

	improved_iff = { #friend or foe
		abbreviation = "iff2"
		category = plane_special_module_air_air_radar
		gui_category = plane_special_module_electronics
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = { fighter heavy_fighter }
		parent = basic_iff

		xp_cost = 1
		dismantle_cost_ic = 0.5

		add_stats = {
			weight = 1
			build_cost_ic = 2
			air_agility = 1 #I can identify targets at range and start dogfights on my terms
			night_penalty = -0.01
		}

		build_cost_resources = {
			aluminium = 1
		}

		allow_mission_type = {
			air_superiority
			interception
		}

		mission_type_stats = {
			limit = {
				air_superiority
				interception
			}
			add_stats = {
				air_attack = 2
				air_defence = 2
			}
		}
	}

	AA_rocket_rails = {
		abbreviation = "aar"
		category = fighter_weapon
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = { fighter heavy_fighter }

		xp_cost = 2
		add_stats = {
			air_attack = 26
			build_cost_ic = 9
			air_agility = -4
			weight = 10
		}

		allow_mission_type = {
			air_superiority
			interception
		}
		mission_type_stats = {
			limit = {
				attack_logistics
			}
			add_stats = {
				air_ground_attack = 2
			}
		}
	}

	guided_AA_rocket_rails = {
		abbreviation = "aar2"
		category = fighter_weapon
		sfx = sfx_ui_sd_module_turret
		parent = AA_rocket_rails
		add_equipment_type = { fighter heavy_fighter }

		xp_cost = 4
		add_stats = { #bad against agile figther but very good against bombers
			air_attack = 36

			build_cost_ic = 9
			air_agility = -8
			weight = 10
		}

		allow_mission_type = {
			air_superiority
			interception
		}

		mission_type_stats = {
			limit = {
				attack_logistics
			}
			add_stats = {
				air_ground_attack = 2
			}
		}
	}

	improved_rocket_rails = {
		abbreviation = "rr2"
		category = cas_weapon
		sfx = sfx_ui_sd_module_turret
		add_equipment_type = cas
		parent = rocket_rails

		add_stats = {
			build_cost_ic = 2
		}
		xp_cost = 2
		allow_mission_type = {
			cas
			attack_logistics
		}
		mission_type_stats = {
			limit = {
				cas
				attack_logistics
			}
			add_stats = {
				air_ground_attack = 7
				weight = 1
			}
		}
		dismantle_cost_ic = 0.5
	}	

	jet_engine_1x_2 = {
		abbreviation = "j1II"
		category = plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_1x

		add_stats = {
			maximum_speed = 1200
			thrust = 55
			build_cost_ic = 27
			fuel_consumption = 0.6
		}

		multiply_stats = {
			air_agility = 0.05
			air_range = -0.2
		}

		build_cost_resources = {
			tungsten = 1
		}

		can_convert_from = {
			module_category = plane_engine_type
			convert_cost_ic = 5
		}
	}

	jet_engine_2x_2 = {
		abbreviation = "j2II"
		category = twin_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_2x

		add_stats = {
			maximum_speed = 1100
			thrust = 82
			build_cost_ic = 50
			fuel_consumption = 0.9
		}
		multiply_stats = {
			air_agility = 0.05
			air_range = -0.2
		}

		build_cost_resources = {
			tungsten = 1
		}

		can_convert_from = {
			module_category = plane_engine_type
			convert_cost_ic = 10
		}
	}

	jet_engine_3x_2 = {
		abbreviation = "j3II"
		category = medium_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_3x

		add_stats = {
			maximum_speed = 1100
			thrust = 95
			build_cost_ic = 72
			fuel_consumption = 1.2
		}

		multiply_stats = {
			air_agility = 0.05
			air_range = -0.2
		}

		build_cost_resources = {
			tungsten = 2
		}

		can_convert_from = {
			module_category = medium_plane_engine_type
			convert_cost_ic = 15
		}
	}

	jet_engine_4x_2 = {
		abbreviation = "j4II"
		category = quad_large_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_4x

		add_stats = {
			maximum_speed = 1100
			thrust = 120
			build_cost_ic = 100
			fuel_consumption = 1.8
		}

		multiply_stats = {
			air_agility = 0.05
			air_range = -0.2
		}

		build_cost_resources = {
			tungsten = 2
		}

		can_convert_from = {
			module_category = medium_plane_engine_type
			convert_cost_ic = 20
		}
	}

	jet_engine_6x_2 = {
		abbreviation = "j6II"
		category = large_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_6x

		add_stats = {
			maximum_speed = 1100
			thrust = 140
			build_cost_ic = 135
			fuel_consumption = 2.2
		}

		multiply_stats = {
			air_agility = 0.05
			air_range = -0.2
		}

		build_cost_resources = {
			tungsten = 3
		}

		can_convert_from = {
			module_category = large_plane_engine_type
			convert_cost_ic = 30
		}
	}	
	jet_engine_1x_3 = {
		abbreviation = "j1III"
		category = plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_1x_2

		add_stats = {
			maximum_speed = 1500
			thrust = 72
			build_cost_ic = 38
			fuel_consumption = 0.9
		}

		multiply_stats = {
			air_agility = 0.05
		}

		build_cost_resources = {
			tungsten = 1
		}

		can_convert_from = {
			module_category = plane_engine_type
			convert_cost_ic = 5
		}
	}

	jet_engine_2x_3 = {
		abbreviation = "j2III"
		category = twin_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_2x_2

		add_stats = {
			maximum_speed = 1400
			thrust = 90
			build_cost_ic = 76
			fuel_consumption = 1.2
		}

		multiply_stats = {
			air_agility = 0.05
		}

		build_cost_resources = {
			tungsten = 1
		}

		can_convert_from = {
			module_category = plane_engine_type
			convert_cost_ic = 10
		}
	}

	jet_engine_3x_3 = {
		abbreviation = "j3III"
		category = medium_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_3x_2

		add_stats = {
			maximum_speed = 1400
			thrust = 110
			build_cost_ic = 97
			fuel_consumption = 1.6
		}

		multiply_stats = {
			air_agility = 0.05
		}

		build_cost_resources = {
			tungsten = 2
		}

		can_convert_from = {
			module_category = medium_plane_engine_type
			convert_cost_ic = 15
		}
	}

	jet_engine_4x_3 = {
		abbreviation = "j4III"
		category = quad_large_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_4x_2

		add_stats = {
			maximum_speed = 1400
			thrust = 130
			build_cost_ic = 120
			fuel_consumption = 2.3
		}

		multiply_stats = {
			air_agility = 0.05
		}

		build_cost_resources = {
			tungsten = 2
		}
		can_convert_from = {
			module_category = medium_plane_engine_type
			convert_cost_ic = 20
		}
	}

	jet_engine_6x_3 = {
		abbreviation = "j6III"
		category = large_plane_jet_engine_type
		sfx = sfx_ui_sd_module_engine
		parent = jet_engine_6x_2

		add_stats = {
			maximum_speed = 1400
			thrust = 160
			build_cost_ic = 160
			fuel_consumption = 2.6
		}

		multiply_stats = {
			air_agility = 0.05
		}

		build_cost_resources = {
			tungsten = 3
		}

		can_convert_from = {
			module_category = large_plane_engine_type
			convert_cost_ic = 30
		}
	}	
}
