--Various DATA
------------------------------------------------------------------------------------------------------- 
------------------------------------------------------------------------------------------------------- 
-- last modification: updateData_Bd
if not versionDCE then versionDCE = {} end
versionDCE["UTIL_Data.lua"] = "1.14.83"
------------------------------------------------------------------------------------------------------- 
-- updateData_Bd			(Bd flyingAlone)(CH-47F H-6J)(a OH-58)(z F-4E-45MC)(UH-60L)(x hHover)(w reaper)(v Hercules)(u tabTask)(t add is_helicopter table)(s F1EE)(r F-16C_50)(q): Add helicos  (p): Add WOC80)(o: transfer the dataMap to another file)
-- debug_c					(c OH-6A)(b requiredModulesSpecialName)(a add IsWesternCountry function)
-- cleanCode_a				(a: repetition)
-- adjustment_e				(e delete EPLRS_Capacity table)(d CVN to CV)(bombing on Group&Unit)(b: Syria nnTimeZone +3 & GudautaGPS )
-- modification M68_a		add AFAC task
-- modification M67_a		add 2.9 datalinks dataCartridge
-- modification M66_a		add Runway Attack
-- modification M61_a		SAR
-- modification M56_b		AssignCallnameSquad (b: callsignId)
-- modification M54_a		revoir CustomTaskScript et TaskBombing (a: TaskByPlane)
-- modification M50_b		Records landings (b: add data file payload)
-- modification M20_b		Pannes aléatoires (Failures) en SingleMission et ForcedOption (external view etc..) (b failure adapted to each aircraft type)
-- modification M11A_t		Multiplayer (t: AltitudeFloor)
-- modification M01_b		Ajout datalink (b: UTIL_Data file)
------------------------------------------------------------------------------------------------------- 

-- if flight[f].type == "E-2C" or flight[f].type == "E-3A" or flight[f].type == "F-15C" or flight[f].type == "F-15E" or flight[f].type == "F-16C bl.52d" 
--or flight[f].type == "FA-18C_hornet" or flight[f].type == "F/A-18C" or flight[f].type = "A-10C_2", then


-- EPLRS_Capacity = {
-- 	["E-2C"] = true,
-- 	["E-3A"] = true,
-- 	["F-15C"] = true,
-- 	["F-15E"] = true,
-- 	["F-15ESE"] = true,
-- 	["F-16C bl.52d"] = true,
-- 	["F-16C_50"] = true,
-- 	["FA-18C_hornet"] = true,
-- 	["F/A-18C"] = true,
-- 	["A-10C"] = true,
-- 	["A-10C_2"] = true,

-- 	["MQ-9 Reaper"] = true,	

-- 	["AH-64D_BLK_II"] = true,

-- 	["JF-17"] = true,
-- }

Data_configuration = {
	CV_Vmax = 15.4,								--10-- (default : 15.4333( m/s):30kts), can have bp with F14, go down to 10 m/s
	CV_windDeck = 13.8,							--9-- (default : 13.89( m/s):27kts), can have bp with F14, go down to 9 m/s
	CV_despawnAfterLanding = true,				-- (default : true) despawn aircraft landing on CV and LHA ,this avoids collisions between taxxing and landing aircraft
	SC_SpawnOn = {
		["F-14B"] = "deck",						-- (default: "deck"), "catapult", "air"
		["E-2C"] = "deck",
		["S-3B Tanker"] = "deck",
		["Pedro"] = "deck",
	},
}


EctedPilotFrequency = {
	blue = {
		GuardEjection = 243000000,			--frequency used for automatic triggering of the radio beacon during ejection (blue side usually 243)
		radioBeacon = 121500000,			--think you need a compatible helicopter to listen and follow the frequency (preset Chanel 4 R-852)
	},
	red = {
		GuardEjection = 114115000,			--think you need a compatible helicopter to listen and follow the frequency (preset Chanel 1 R-852)
		radioBeacon = 114585000,			--think you need a compatible helicopter to listen and follow the frequency (preset Chanel 3 R-852)
	},
	neutral = {
		GuardEjection = 243000000,			--think you need a compatible helicopter to listen and follow the frequency (blue side usually 243)
		radioBeacon = 121500000,			--think you need a compatible helicopter to listen and follow the frequency (preset Chanel 4 R-852)
	},
}


-- Data_divers = {}
--instrumentUnits = "imperial" or  metric or russian (metric and QNH in mmHg)
-- inheritedFrom = "F-14",	--copy radio frequency, failues ...
-- inherited_APA_From = "F-14",	--copy AddPropAircraft
--requiredModules = true,						--itsModule
-- requiredModulesSpecialName = "VSN_F105",	--if the aircraft type name does not match the requested module name
--flyingAlone = false
	-- alignment_PropAircraft = {
	-- 	fast = {
	-- 		["ReadyALCM"] = true,
	-- 		["ForceINSRules"] = true,
	-- 		["InitHotDrift"] = 0,
	-- 	},
	-- 	slow = {
	-- 		["ReadyALCM"] = false,
	-- 		["ForceINSRules"] = true,
	-- 		["InitHotDrift"] = 0,
	-- 	}
	-- }

Data_divers = {

	["MosquitoFBMkVI"] =
	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["SpitfireLFMkIX"] = 	{
		instrumentUnits = "imperial",
		playable = true,
	},
	["SpitfireLFMkIXCW"] = 	{
		instrumentUnits = "imperial",
	},

	["P-47D-30bl1"] =	{
		instrumentUnits = "imperial",
	},
	["P-47D-30"] = 	{
		instrumentUnits = "imperial",
		playable = true,
	},
	["P-47D-40"] = 	{
		instrumentUnits = "imperial",
	},
	["P-51D"] = 	{
		instrumentUnits = "imperial",
	},
	["P-51D-30-NA"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["TF-51D"] = 	{
		instrumentUnits = "imperial",
	},

	["A-20G"] = 	{
		instrumentUnits = "imperial",
	},
	["B-17G"] = 	{
		instrumentUnits = "imperial",
	},
	["C-47"] = {
		instrumentUnits = "imperial",
	},

	["Bf-109K-4"] = 	{
		instrumentUnits = "metric",
		playable = true,
	},
	["FW-190A8"] = 	{
		instrumentUnits = "metric",
	},
	["FW-190D9"] = 	{
		instrumentUnits = "metric",
	},
	["Ju-88A4"] = 	{
		instrumentUnits = "metric",
	},

	["I-16"] = 	{
		instrumentUnits = "russian",
	},
	["Yak-52"] = 	{
		instrumentUnits = "russian",
	},


	["Tornado GR4"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["Tornado IDS"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},

	["AV8BNA"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		vCruise = 230,
		hCruise = 4500,
	},
	["A-4E-C"] = 	{--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
		playable = true,
		vCruise = 221,
		hCruise = 10630,--TODO a confirmer
	},
	["A-6E"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		EPLRS_Capacity = false,
		vCruise = 216,
		hCruise = 10670,
	},
	["EA_6B"] = 	{					--Mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
		vCruise = 215,
		hCruise = 9140,
	},

	["VSN_F100"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		EPLRS_Capacity = false,
	},

	["VSN_F105D"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		requiredModulesSpecialName = "VSN_F105",	--if the aircraft type name does not match the requested module name
		EPLRS_Capacity = false,
		Tasks = {
			CAP = true,
			Escort = true,
			FighterSweep = true,
			Intercept = true,
			Reconnaissance = true,
			GroundAttack = true,
			CAS = true,
			RunwayAttack = true,
			AntishipStrike = true,
		},
	},

	["VSN_F105G"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		requiredModulesSpecialName = "VSN_F105",	--if the aircraft type name does not match the requested module name
		EPLRS_Capacity = false,
		Tasks = {
			CAP = true,
			Escort = true,
			FighterSweep = true,
			Intercept = true,
			Reconnaissance = true,
			GroundAttack = true,
			CAS = true,
			RunwayAttack = true,
			AntishipStrike = true,
		},
	},

	["Bronco-OV-10A"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		EPLRS_Capacity = true,
		vCruise = 110,
		hCruise = 4570,
	},

	["vwv_a1_skyraider"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		EPLRS_Capacity = false,
	},


	["A-10A"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		vCruise = 154,
		hCruise = 7600,
	},

	["A-10C"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "SADL",
			isDonnor = true,
		},
		playable = true,
		vCruise = 154,
		hCruise = 7600,
	},
	["A-10C_2"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "SADL",
			hasTeamMembers = 4,
			hasDonors = 12,
			isDonnor = true,
			isReceiver = true,
		},
		inheritedFrom = "A-10C",	--copy radio frequency, failues ...
		playable = true,
		vCruise = 154,
		hCruise = 7600,
	},

	["F-86F Sabre"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["F-4E"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		vCruise = 215,
		hCruise = 9000,
	},
	["F-4E-45MC"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		alignment_PropAircraft = {
			fast = {
				["INSAlignmentStored"] = true,
			},
			slow = {
				["INSAlignmentStored"] = false,
			},
		},
		Tasks = {
			CAP = true,
			Escort = true,
			FighterSweep = true,
			Intercept = true,
			GroundAttack = true,
			RunwayAttack = true,
			PinpointStrike = true,
			CAS = true,
			AFAC = true,
			SEAD = true,
			AntishipStrike = true,
			Reconnaissance = true,
		},
		vCruise = 215,--a peaufiner
		hCruise = 9000,--a peaufiner
	},
	["F-5E-3"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		vCruise = 200,
		hCruise = 7600,
	},
	["vwv_crusader"] = 	{				--Mod
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		EPLRS_Capacity = false,
	},
	["F-14"] = 	{--Common aircraft definitions
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["F-14A-135-GR"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		inheritedFrom = "F-14",	--copy radio frequency, failures ...
		inherited_APA_From = "F-14",	--copy AddPropAircraft
		playable = true,
		alignment_PropAircraft = {
			fast = {
				["INSAlignmentStored"] = true,
			},
			slow = {
				["INSAlignmentStored"] = false,
			},
		},
		Tasks =
		{
			CAP = true,
			Escort = true,
			FighterSweep = true,
			Intercept = true,
			Reconnaissance = true,
			GroundAttack = true,
			RunwayAttack = true,
			PinpointStrike = true,
			AntishipStrike = true,
			CAS = true,
			AFAC = true,
			SEAD = true,
		},

		vCruise = 230,
		hCruise = 9140,
	},
	["F-14B"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		inheritedFrom = "F-14",	--copy radio frequency, failues ...
		inherited_APA_From = "F-14",	--copy AddPropAircraft
		playable = true,
		alignment_PropAircraft = {
			fast = {
				["INSAlignmentStored"] = true,
			},
			slow = {
				["INSAlignmentStored"] = false,
			},
		},
		Tasks =
		{
			CAP = true,
			Escort = true,
			FighterSweep = true,
			Intercept = true,
			Reconnaissance = true,
			GroundAttack = true,
			RunwayAttack = true,
			PinpointStrike = true,
			AntishipStrike = true,
			CAS = true,
			AFAC = true,
			SEAD = true,
		},
		vCruise = 230,
		hCruise = 9140,
	},
	["F-15C"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		vCruise = 265,
		hCruise = 12000,
	},
	["F-15E"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		vCruise = 245,
		hCruise = 12670,
	},
	["F-15ESE"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		playable = true,
		vCruise = 250,
		hCruise = 12670,
	},
	["F-16C_50"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			hasTeamMembers = 8,
			hasDonors = 4,
			isDonnor = true,
			isReceiver = true,

		},
		playable = true,
		vCruise = 220,
		hCruise = 9140,
	},
	["F-16C bl.52d"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		vCruise = 220,
		hCruise = 9140,
	},
	["F/A-18C"]  = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
	},
	["FA-18C_hornet"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			hasTeamMembers = 4,
			hasDonors = 8,
			isDonnor = true,
			isReceiver = true,
		},
		dataCartridge = true,
		playable = true,
	},

	["F-117A"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		flyingAlone = true,
		vCruise = 260,
		hCruise = 12500,
	},
	["B-1B"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		flyingAlone = true,
		vCruise = 250,
		hCruise = 9150,
	},
	["B-52H"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		flyingAlone = true,
		vCruise = 250,
		hCruise = 12000,
	},
	["H-6J"] = 	{
		instrumentUnits = "metric",
		EPLRS_Capacity = false,
	},

	["AJS37"] = 	{
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		vCruise = 240,
		hCruise = 7500,
	},
	["MB-339A"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["MirageF1"] = {--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},
	["MirageF1CT"] = {--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},

	["Mirage-F1"] = {--Common aircraft definitions
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		-- 		3 types : Mirage-F1CE, Mirage-F1EE, Mirage-F1BE 
		-- Le futur devrait être le F-1M ... le plus moderne mais pas pour tout de suite je pense ...
	},
	["Mirage-F1CE"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		inheritedFrom = "Mirage-F1",	--copy radio frequency, failues ...
		playable = true,
	},
	["Mirage-F1EE"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		inheritedFrom = "Mirage-F1",	--copy radio frequency, failues ...
		alignment_PropAircraft = {
			fast = {
				["INSStartMode"] = 1,
			},
			slow = {
				["INSStartMode"] = 0,
			}
		},
		playable = true,
	},
	["Mirage-F1BE"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		inheritedFrom = "Mirage-F1",	--copy radio frequency, failues ...
		playable = true,
	},

	["M-2000C"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
		alignment_PropAircraft = {
			fast = {
				["ReadyALCM"] = true,
				["ForceINSRules"] = true,
				["InitHotDrift"] = 0,
			},
			slow = {
				["ReadyALCM"] = false,
				["ForceINSRules"] = true,
				["InitHotDrift"] = 0,
			}
		}
	},

	["SA342"] = {
		instrumentUnits = "metric",
		EPLRS_Capacity = false,
	},
	["SA342M"] = {
		instrumentUnits = "metric",
		EPLRS_Capacity = false,
		inheritedFrom = "SA342",	--copy radio frequency, failues ...
		inherited_APA_From = "SA342",	--copy AddPropAircraft
		playable = true,
	},
	["SA342Mistral"] = {
		instrumentUnits = "metric",
		EPLRS_Capacity = false,
		inheritedFrom = "SA342",	--copy radio frequency, failues ...
		inherited_APA_From = "SA342",	--copy AddPropAircraft
		playable = true,
	},
	["SA342L"] = {
		instrumentUnits = "metric",
		EPLRS_Capacity = false,
		inheritedFrom = "SA342",	--copy radio frequency, failues ...
		inherited_APA_From = "SA342",	--copy AddPropAircraft
		playable = true,
	},
	["SA342Minigun"] = {
		instrumentUnits = "metric",
		inheritedFrom = "SA342",
		EPLRS_Capacity = false,
	},
	["AH-1W"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["UH-1H"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["SH-3D"] = {--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},
	["vwv_sh2f"] = {--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},
	["vwv_hh2d"] = {--mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},
	["CH-47D"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["CH-47F"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["SH-60B"] = {
		instrumentUnits = "imperial",
	},
	["UH-60L"] = {
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
	},
	["OH58D"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		playable = true,
	},
	["OH-6A"] = {
		instrumentUnits = "imperial",
		requiredModules = true,						--itsModule
		Tasks = {
			Transport = true,
			Reconnaissance = true,
		},
		playable = true,
	},
	["AH-64D_BLK_II"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "IDM",
			hasTeamMembers = 8,
			hasDonors = 8,
			isDonnor = true,
			isReceiver = true,
		},
		playable = true,
	},
	["AH-64A"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},


	["JF-17"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
	},

	["L-39"] = {--Common aircraft definitions
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["L-39C"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		inheritedFrom = "L-39",	--copy radio frequency, failues ...
		playable = true,
	},
	["L-39ZA"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		inheritedFrom = "L-39",	--copy radio frequency, failues ...
		playable = true,
	},

	["MiG-15bis"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},

	["vwv_mig17f"] = {   --Mod
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
	},

	["MiG-19P"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
		alignment_PropAircraft = {
			fast = {
				["NAV_Initial_Hdg"] = 1,
			},
			slow = {
				["NAV_Initial_Hdg"] = 0,
			}
		},
	},
	["MiG-21Bis"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["MiG-23MLD"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["MiG-25PD"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["MiG-27K"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["MiG-29A"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["MiG-29S"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["MiG-31"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["Su-17M4"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 210,
		hCruise = 7500,
	},
	["Su-24M"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 240,
		hCruise = 8000,
	},
	["Su-25"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
		vCruise = 180,
		hCruise = 5000,
	},

	["Su-25T"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		inheritedFrom = "Su-25",	--copy radio frequency, failues ...
		playable = true,
		vCruise = 185,
		hCruise = 5000,
	},
	["Su-30"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 230,
		hCruise = 10000,
	},
	["Su-34"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 250,
		hCruise = 9500,
	},
	["Ka-27"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["Mi-8MT"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["Mi-24V"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["Mi-24P"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["Mi-28N"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},
	["Ka-50"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},
	["Ka-50_3"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		playable = true,
	},


	["E-3A"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		vCruise = 230,
		hCruise = 9150,
	},
	["E-2C"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = true,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
		vCruise = 145,
		hCruise = 7600,
	},
	["A-50"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 205,
		hCruise = 9150,
	},

	["S-3B Tanker"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},
	["KC135MPRS"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["KC-135"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		datalinks = {
			type = "Link16",
			isDonnor = true,
		},
	},
	["KC130"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["IL-78M"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},

	["MiG-25RBT"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},
	["Su-24MR"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},

	["Tu-22M3"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},
	["Tu-95MS"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},
	["Tu-142"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},
	["Tu-160"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		flyingAlone = true,
	},


	["C-130"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		vCruise = 140,
		hCruise = 7620,
	},
	["Hercules"] = {			--Mod
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
		requiredModules = true,						--itsModule
		playable = true,
	},
	["C-17A"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["An-30M"] = {
		instrumentUnits = "imperial",
		EPLRS_Capacity = false,
	},
	["An-26B"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
		vCruise = 123,
		hCruise = 7500,
	},
	["IL-76MD"] = {
		instrumentUnits = "russian",
		EPLRS_Capacity = false,
	},


}

PayloadType = {
	["C-47"] = 10000,					--a consolider
	["C-17A"] = 70000,					--max 77000 mais longue piste � pr�voir
	["C-130"] = 19000,					--Kg
	["Hercules"] = 19000,

	["CH-47D"] = 10000,
	["CH-47F"] = 10000,
	["CH-53E"] = 14000,					--16000 en externe
	["SH-3D"] = 2700,
	["SH-60B"] = 1800,
	["UH-60A"] = 1100,					--4000 en externe
	["UH-60L"] = 1100,					--4000 en externe
	["UH-1H"] = 1500,
	["OH58D"] = 500,
	["OH-6A"] = 500,

	["An-30M"] = 5000,
	["An-26B"] = 5500,
	["IL-76MD"] = 40000,
	["Yak-40"] = 2700,

	["Ka-27"] = 4000,
	["Mi-8MT"] = 4000,
	["Mi-24V"] = 2400,
	["Mi-24P"] = 2400,
	["Mi-26"] = 20000,
}

IsHelicopter = {
	--West Side
	["SA342M"] = {},
	["SA342L"] = {},
	["SA342Minigun"] = {},

	["UH-1H"] = {},
	["AH-1W"] = {},

	["vwv_sh2f"] = {},                            --mod
	["vwv_hh2d"] = {},                            --mod

	["CH-47D"] = {},
	["CH-47F"] = {},
	["CH-53E"] = {},
	["SH-3D"] =
	{
		hHover = 2500,
	},
	["SH-60B"] = {},
	["UH-60A"] = {},
	["UH-60L"] = {},

	["AH-64A"] = {},
	["AH-64D"] =
	{
		hHover = 3505,
	},
	["AH-64D_BLK_II"] =
	{
		["hHover"] = 2990,
	},

	["OH58D"] = {},
	["OH-6A"] = {},


	--East Side
	["Ka-27"] = {},
	["Ka-50"] = {},
	["Ka-50_3"] = {},

	["Mi-8MT"] =
	{
		hHover = 3960,
	},
	["Mi-24P"] =
	{
		hHover = 1500,
	},
	["Mi-24V"] = {},
	["Mi-26"] =
	{
		hHover = 1500,
	},

}

--CustomTasksScript:
--CAS						AttackGroup		AttackUnit			AttackUnit(Static)
--Pinpoint Strike			Bombing 		AttackMapObject
--Ground Attack				Bombing 		AttackMapObject		CarpetBombing
--Runway Attack				Bombing			AttackMapObject		BombingRunway


--CustomTasksScript:
--							Bombing			AttackGroup		AttackUnit		AttackMapObject		BombingRunway		CarpetBombing
--CAS											X				X (&Static)
--Pinpoint Strike				X													X
--Ground Attack					X													X										X
--Runway Attack					X													X					X


--pb F18	"Pinpoint Strike" + AttackGroup  (pas pr�vu)
--pb Mi24	"GroundAttack" + AttackUnit (pas pr�vu)
GoupTask = {
	["CAS"] = {
		["AttackGroup"] = true,
		["AttackUnit"] = true,
	},
	["Pinpoint Strike"] = {
		["Bombing"] = true,
		["AttackMapObject"] = true,
	},
	["Ground Attack"] = {
		["Bombing"] = true,
		["AttackMapObject"] = true,
		["CarpetBombing"] = true,
		["AttackGroup"] = true,
		["AttackUnit"] = true,
	},
	["Runway Attack"] = {
		["Bombing"] = true,
		["AttackMapObject"] = true,
		["BombingRunway"] = true,
	},
	["Intercept"] = {
		["EngageTargetsInZone"] = true,
	},
	["Antiship Strike"] = {
		["AttackGroup"] = true,
	},
	["Escort"] = {
		["EngageTargetsInZone"] = true,
	},
	["CAP"] = {
		["EngageTargetsInZone"] = true,
	},
	["SEAD"] = {
		["EngageTargets"] = true,
	},
	["AWACS"] = {
		["AWACS"] = true,
	},
	["Refueling"] = {
		["Tanker"] = true,
	},
	["SAR"] = {
		["Transport"] = true,
	},
	["CSAR"] = {
		["Transport"] = true,
	},
	["Transport"] = {
		["Transport"] = true,
	},
	["AFAC"] = {
		["AFAC"] = true,
	},
}
--							Bombing			AttackGroup		AttackUnit		AttackMapObject		BombingRunway		CarpetBombing
--CAS											X				X (&Static)
--Pinpoint Strike				X													X
--Ground Attack					X													X										X
--Runway Attack					X													X					X

StrikeDegradedMode = {
	["CAS"] = {
		["AttackGroup"] = true,
		["AttackUnit"] = true,
	},
	["Pinpoint Strike"] = {
		["Bombing"] = true,
	},
	["Ground Attack"] = {
		["Bombing"] = true,
	},
	["Runway Attack"] = {
		["Bombing"] = true,
	},
	["Antiship Strike"] = {
		["AttackGroup"] = true,
		["AttackUnit"] = true,
	},
}


GoupTaskByTypeTarget = {
	["DynamicGroup"] = {
		["CAS"] = {
			["AttackGroup"] = true,
			["AttackUnit"] = true,
		},
		["Pinpoint Strike"] = {
			["Bombing"] = true,
		},
		["Ground Attack"] = {
			["Bombing"] = true,
		},
		-- ["Runway Attack"] = {
			-- ["Bombing"] = true,
		-- },
	},
	["Static"] = {
		["CAS"] = {
			["AttackUnit"] = true,
		},
		["Pinpoint Strike"] = {
			["Bombing"] = true,
		},
		["Ground Attack"] = {
			["Bombing"] = true,
		},
		-- ["Runway Attack"] = {
			-- ["Bombing"] = true,
		-- },
	},
	["MapObject"] = {
		["Pinpoint Strike"] = {
			["AttackMapObject"] = true,
		},
		["Ground Attack"] = {
			["AttackMapObject"] = true,
		},
		["Runway Attack"] = {
			["AttackMapObject"] = true,
		},
	},
	["Runway"] = {
		["Runway Attack"] = {
			-- ["BombingRunway"] = true,
			["Bombing"] = true,
			-- ["CarpetBombing"] = true,
		},
	},
	["Ship"] = {

		["Antiship Strike"] = {
			["AttackGroup"] = true,
			["AttackUnit"] = true,
		},
		-- ["CAS"] = {
			-- ["AttackGroup"] = true,
			-- ["AttackUnit"] = true,
		-- },
		-- ["Pinpoint Strike"] = {
			-- ["Bombing"] = true,
		-- },
		-- ["Ground Attack"] = {
			-- ["Bombing"] = true,
		-- },
		-- ["Runway Attack"] = {
			-- ["Bombing"] = true,
		-- },
	},
	-- ["AA"] = {		
		-- ["Fighter Sweep"] = {
			-- ["EngageTargetsInZone"] = true,
		-- },		
		-- ["CAP"] = {
			-- ["EngageTargetsInZone"] = true,
			-- ["AttackUnit"] = true,
		-- },
		-- ["Escort"] = {
			-- ["EngageTargetsInZone"] = true,
		-- },
		-- ["Intercept"] = {
			-- ["EngageTargetsInZone"] = true,
		-- },
	-- },

	["Fighter Sweep"] = {
		["Fighter Sweep"] = {
			["EngageTargetsInZone"] = true,
		},
	},
	["CAP"] = {
		["CAP"] = {
			["EngageTargetsInZone"] = true,
			["AttackUnit"] = true,
		},
	},
	["Escort"] = {
		["Escort"] = {
			["EngageTargetsInZone"] = true,
		},
	},
	["Intercept"] = {
		["Intercept"] = {
			["EngageTargetsInZone"] = true,
		},
	},

	["SEAD"] = {
		["SEAD"] = {
			["EngageTargets"] = true,
		},
	},
	["AWACS"] = {
		["AWACS"] = {
			["AWACS"] = true,
		},
	},
	["AFAC"] = {
		["AFAC"] = {
			["AFAC"] = true,
		},
	},
	["Transport"] = {
		["Transport"] = {
			["Transport"] = true,
		},
	},
	["Reconnaissance"] = {
		["Reconnaissance"] = {
			["Reconnaissance"] = true,
		},
	},
	["Refueling"] = {
		["Refueling"] = {
			["Tanker"] = true,
		},
	},
	["Laser Illumination"] = {
		["AFAC"] = {
			["EngageTargetsInZone"] = true,
		},
	},
	["Escort Jammer"] = {
		["Ground Attack"] = {
			["Bombing"] = true,
		},
	},
	["SAR"] = {
		["Transport"] = {
			["Transport"] = true,
		},
	},
	["CSAR"] = {
		["Transport"] = {
			["Transport"] = true,
		},
	},
}

TaskByPlane = {
	["Nothing"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,
		["TF-51D"] = true,

		["A-20G"] = true,
		["B-17G"] = true,
		["C-47"] = true,


		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,
		["Ju-88A4"] = true,

		["I-16"] = true,
		["Yak-52"] = true,

		["MQ-9 Reaper"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["AV8BNA"] = true,
		["A-4E-C"] = true,				--Mod
		["A-6E"] = true,				--Mod
		["EA_6B"] = true,				--Mod
		["A-10C"] = true,
		["A-10A"] = true,
		["A-10C_2"] = true,
		["Bronco-OV-10A"] = true,		--Mod
		["vwv_a1_skyraider"] = true,	--Mod
		["VSN_F100"] = true,			--Mod
		["VSN_F105D"] = true,			--Mod
		["VSN_F105G"] = true,			--Mod

		["F-86F Sabre"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15C"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["F-117A"] = true,
		["B-1B"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["AJS37"] = true,
		["MB-339A"] = true,
		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["MirageF1CT"] = true,			--Mod
		["M-2000C"] = true,

		["SA342M"] = true,
		["SA342Mistral"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,
		["AH-1W"] = true,
		["UH-1H"] = true,
		["vwv_sh2f"] = true,			--Mod
		["vwv_hh2d"] = true,			--Mod
		["CH-47D"] = true,
		["CH-47F"] = true,
		["AH-64D_BLK_II"] = true,
		["AH-64A"] = true,
		["OH-6A"] = true,				--Mod
		["OH58D"] = true,


		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,

		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25PD"] = true,
		["MiG-27K"] = true,
		["MiG-29A"] = true,
		["MiG-29S"] = true,
		["MiG-31"] = true,

		["Su-24M"] = true,
		["Su-27"] = true,
		["Su-30"] = true,
		["Su-34"] = true,

		["Ka-27"] = true,
		["Mi-8MT"] = true,
		["Mi-24V"] = true,
		["Mi-24P"] = true,
		["Mi-28N"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,


		["E-3A"] = true,
		["E-2C"] = true,
		["A-50"] = true,

		["S-3B Tanker"] = true,
		["KC135MPRS"] = true,
		["KC-135"] = true,
		["KC130"] = true,
		["IL-78M"] = true,

		["MiG-25RBT"] = true,
		["Su-24MR"] = true,
		["Tu-142"] = true,


		["C-130"] = true,
		["Hercules"] = true,		--Mod
		["C-17A"] = true,
		["An-30M"] = true,
		["An-26B"] = true,
		["IL-76MD"] = true,

	},


	["AFAC"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,

		["C-47"] = true,

		["MQ-9 Reaper"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,				--Mod
		["A-10C"] = true,
		["A-10C_2"] = true,
		["A-10A"] = true,
		["Bronco-OV-10A"] = true,		--Mod
		["vwv_a1_skyraider"] = true,	--Mod

		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,


		["Yak-52"] = true,
		["JF-17"] = true,
		["L-39ZA"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["Su-24M"] = true,

		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,

		["Mi-8MT"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,
		["Mi-24P"] = true,
		["Mi-28N"] = true,

		["AH-64A"] = true,

		["SA342M"] = true,
		["SA342Mistral"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,

		["OH58D"] = true,
		["OH-6A"] = true,			--Mod


	},
	["CAS"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["A-20G"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,
		["Ju-88A4"] = true,

		["I-16"] = true,

		["A-4E-C"] = true,			--Mod
		["A-6E"] = true,			--Mod
		["A-10C"] = true,
		["A-10C_2"] = true,
		["A-10A"] = true,
		["Bronco-OV-10A"] = true,		--Mod
		["vwv_a1_skyraider"] = true,	--Mod
		["VSN_F100"] = true,			--Mod
		["VSN_F105D"] = true,			--Mod
		["VSN_F105G"] = true,			--Mod

		["AJS37"] = true,
		["AV8BNA"] = true,
		["MB-339A"] = true,
		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["MirageF1CT"] = true,			--Mod


		["B-1B"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["F-86F Sabre"] = true,

		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["F-14B"] = true,
		["F-14A-135-GR"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,
		["M-2000C"] = true,

		["AH-1W"] = true,
		["UH-1H"] = true,
		["SA342M"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,
		["AH-64D_BLK_II"] = true,
		["OH58D"] = true,
		["OH-6A"] = true,			--Mod

		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-27K"] = true,
		["MiG-29A"] = true,


		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25"] = true,
		["Su-25T"] = true,
		["Su-27"] = true,
		["Su-30"] = true,
		["Su-34"] = true,



		["Mi-8MT"] = true,
		["Mi-24V"] = true,
		["Mi-24P"] = true,
		["Mi-28N"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,


	},

	["Antiship Strike"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["A-20G"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,
		["Ju-88A4"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,				--Mod
		["A-10C"] = true,
		["A-10C_2"] = true,
		["A-10A"] = true,
		["vwv_a1_skyraider"] = true,	--Mod
		["AJS37"] = true,
		["AV8BNA"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["F-86F Sabre"] = true,

		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,
		["MB-339A"] = true,
		--["Mirage-F1CE"] = true,		--not yet				 
		["MirageF1CT"] = true,			--Mod

		["AH-1W"] = true,
		["AH-64D_BLK_II"] = true,
		["AH-64A"] = true,
		["SH-3D"] = true,				--Mod

		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-27K"] = true,
		["MiG-29A"] = true,
		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25"] = true,
		["Su-25T"] = true,
		["Su-25TM"] = true,
		["Su-34"] = true,

		["Su-27"] = true,
		["Su-30"] = true,

		["Tu-22M3"] = true,
		["Tu-142"] = true,


		["Mi-8MT"] = true,
		["Mi-24V"] = true,
		["Mi-24P"] = true,
		["Mi-28N"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,


	},

	["Ground Attack"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		["A-20G"] = true,
		["B-17G"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,
		["Ju-88A4"] = true,

		["I-16"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,				--Mod
		["A-6E"] = true,				--Mod
		["EA_6B"] = true,				--Mod
		["Bronco-OV-10A"] = true,		--Mod
		["vwv_a1_skyraider"] = true,	--Mod
		["A-10C"] = true,
		["A-10C_2"] = true,
		["A-10A"] = true,
		["AJS37"] = true,
		["AV8BNA"] = true,
		["VSN_F100"] = true,			--Mod
		["VSN_F105D"] = true,			--Mod
		["VSN_F105G"] = true,			--Mod

		["B-1B"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["F-86F Sabre"] = true,

		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,
		["MB-339A"] = true,
		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["MirageF1CT"] = true,			--Mod
		["M-2000C"] = true,

		["AH-1W"] = true,
		["UH-1H"] = true,
		["SA342M"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,
		["AH-64D_BLK_II"] = true,
		["AH-64A"] = true,
		["OH58D"] = true,
		["OH-6A"] = true,			--Mod

		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25RBT"] = true,
		["MiG-27K"] = true,
		["MiG-29A"] = true,

		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25"] = true,
		["Su-25T"] = true,
		["Su-27"] = true,
		["Su-30"] = true,
		["Su-34"] = true,
		["Tu-22M3"] = true,

		["Mi-8MT"] = true,
		["Mi-24V"] = true,
		["Mi-24P"] = true,
		["Mi-28N"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,



	},

	["Runway Attack"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		["A-20G"] = true,
		["B-17G"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,
		["Ju-88A4"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,					--Mod
		["A-6E"] = true,					--Mod
		["A-10C"] = true,
		["A-10C_2"] = true,
		["A-10A"] = true,
		["vwv_a1_skyraider"] = true,		--Mod
		["AJS37"] = true,
		["AV8BNA"] = true,

		["B-1B"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["MB-339A"] = true,
		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["MirageF1CT"] = true,			--Mod
		["M-2000C"] = true,


		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,
		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25"] = true,
		["Su-25T"] = true,
		["Su-27"] = true,
		["Su-30"] = true,
		["Su-34"] = true,
		["MiG-29A"] = true,
		["Tu-22M3"] = true,
		["MiG-27K"] = true,


	},

	["Escort"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,

		-- ["C-47"] = true,				--C47 en escorte? mais ils sont fou chez ED :p

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,

		["I-16"] = true,


		["A-4E-C"] = true,				--Mod
		["AV8BNA"] = true,

		["F-86F Sabre"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15C"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["M-2000C"] = true,

		["AH-1W"] = true,
		["SA342M"] = true,
		["SA342Mistral"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,
		["AH-64D_BLK_II"] = true,
		["OH58D"] = true,

		["Yak-52"] = true,
		["JF-17"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25PD"] = true,
		["MiG-29A"] = true,
		["MiG-29S"] = true,
		["MiG-31"] = true,

		["Su-27"] = true,
		["Su-30"] = true,

		["Mi-24P"] = true,
		["Mi-28N"] = true,
		["Ka-50"] = true,
		["Ka-50_3"] = true,
	},

	["Pinpoint Strike"] = {
		["AJS37"] = true,
		["AV8BNA"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["B-1B"] = true,
		["B-52H"] = true,

		["H-6J"] = true,

		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,
		["F-117A"] = true,

		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["MirageF1CT"] = true,			--Mod
		["M-2000C"] = true,

		["JF-17"] = true,
		["MiG-27K"] = true,
		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25"] = true,
		["Su-25T"] = true,
		["Su-30"] = true,
		["Su-34"] = true,

	},

	["Intercept"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,

		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,

		["I-16"] = true,


		["AJS37"] = true,

		["F-86F Sabre"] = true,

		["AV8BNA"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15C"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,
		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["M-2000C"] = true,

		["JF-17"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25PD"] = true,
		["MiG-29A"] = true,
		["MiG-29S"] = true,
		["MiG-31"] = true,
		["Su-27"] = true,
		["Su-30"] = true,


	},

	["CAP"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,


		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,

		["I-16"] = true,


		["AJS37"] = true,
		["A-4E-C"] = true,				--Mod
		["AV8BNA"] = true,

		["F-86F Sabre"] = true,

		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15C"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["M-2000C"] = true,

		["Yak-52"] = true,
		["JF-17"] = true,
		["L-39C"] = true,
		["L-39ZA"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25PD"] = true,
		["MiG-29A"] = true,
		["MiG-29S"] = true,
		["MiG-31"] = true,
		["Su-27"] = true,
		["Su-30"] = true,


	},

	["Fighter Sweep"] = {
		["MosquitoFBMkVI"] = true,
		["SpitfireLFMkIX"] = true,
		["SpitfireLFMkIXCW"] = true,

		["P-47D-30bl1"] = true,
		["P-47D-30"] = true,
		["P-47D-40"] = true,
		["P-51D"] = true,
		["P-51D-30-NA"] = true,


		["Bf-109K-4"] = true,
		["FW-190A8"] = true,
		["FW-190D9"] = true,

		["I-16"] = true,


		["AJS37"] = true,

		["F-86F Sabre"] = true,

		["AV8BNA"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-5E-3"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-14A-135-GR"] = true,
		["F-14B"] = true,
		["F-15C"] = true,
		["F-15E"] = true,
		["F-15ESE"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["MirageF1"] = true,			--Mod
		["Mirage-F1CE"] = true,
		["Mirage-F1EE"] = true,
		["M-2000C"] = true,

		["JF-17"] = true,
		["MiG-15bis"] = true,
		["vwv_mig17f"] = true,			--Mod
		["MiG-19P"] = true,
		["MiG-21Bis"] = true,
		["MiG-23MLD"] = true,
		["MiG-25PD"] = true,
		["MiG-29A"] = true,
		["MiG-29S"] = true,
		["MiG-31"] = true,
		["Su-27"] = true,
		["Su-30"] = true,


	},


	["Reconnaissance"] = {
		["TF-51D"] = true,
		["FW-190A8"] = true,
		["I-16"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,				--Mod
		["AJS37"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["vwv_crusader"] = true,		--Mod
		["F-15E"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["SA342M"] = true,
		["SA342Mistral"] = true,
		["SA342Minigun"] = true,
		["SA342L"] = true,
		["OH58D"] = true,
		["OH-6A"] = true,			--Mod

		["JF-17"] = true,
		["MiG-21Bis"] = true,
		["MiG-25RBT"] = true,
		["Su-24MR"] = true,
		["Tu-142"] = true,
	},


	["Refueling"] = {
		["A-4E-C"] = true,				--Mod
		["S-3B Tanker"] = true,
		["KC135MPRS"] = true,
		["KC-135"] = true,
		["KC130"] = true,
		["IL-78M"] = true,
	},

	["AWACS"] = {
		["E-3A"] = true,
		["E-2C"] = true,
		["A-50"] = true,
	},

	["SEAD"] = {
		["AJS37"] = true,

		["Tornado GR4"] = true,
		["Tornado IDS"] = true,

		["A-4E-C"] = true,				--Mod	
		--["A-6E"] = true,				--no weapon				 
		["EA_6B"] = true,				--Mod
		["VSN_F100"] = true,			--Mod
		["VSN_F105G"] = true,			--Mod

		["AV8BNA"] = true,
		["F-4E"] = true,
		["F-4E-45MC"] = true,
		["F-16C_50"] = true,
		["F-16C bl.52d"] = true,
		["FA-18C_hornet"] = true,

		["JF-17"] = true,

		["Su-17M4"] = true,
		["Su-24M"] = true,
		["Su-25T"] = true,
		["Su-30"] = true,
		["Su-34"] = true,
		["MiG-27K"] = true,


	},

	["Transport"] = {
		["C-47"] = true,
		["C-130"] = true,
		["Hercules"] = true,		--Mod
		["C-17A"] = true,

		["UH-1H"] = true,
		["vwv_sh2f"] = true,			--Mod
		["vwv_hh2d"] = true,			--Mod
		["CH-47D"] = true,
		["CH-47F"] = true,
		["CH-53E"] = true,
		["UH-60A"] = true,
		["UH-60L"] = true,			--Mod
		["SH-3D"] = true,			--Mod
		["SH-60B"] = true,
		["OH58D"] = true,
		["OH-6A"] = true,			--Mod


		["An-26B"] = true,
		["An-30M"] = true,
		["IL-76MD"] = true,

		["Ka-27"] = true,
		["Mi-8MT"] = true,
		["Mi-24V"] = true,
		["Mi-24P"] = true,
		["Mi-26"] = true,


	},

}

function IsWesternCountry(country)
    return not (
		 ("Russia" 			== country) or
		 ("Ukraine" 		== country) or
		 ("Insurgents" 		== country) or
		 ("Abkhazia" 		== country) or
		 ("South Ossetia" 	== country) or
		 ("China" 			== country) or
		 ("Belarus" 		== country) or
		 ("USSR" 			== country) or
		 ("Yugoslavia"		== country) or
		 ("GDR"				== country)

	)
end


-- WestCallsign = {	

	-- ["Argentina"] = "west", 
	-- ["Bolivia"] = "west", 
	-- ["Chile"] = "west", 
	-- ["Cuba"] = "west", 
	-- ["Honduras"] = "west", 
	-- ["Mexico"] = "west", 

	-- ["Australia"] = "west", 
	-- ["Belgium"] = "west",
	-- ["Canada"] = "west", 


	-- ["CJTF Blue"] = "west",	
	-- ["Croatia"] = "west",
	-- ["Cyprus"] = "west",

	-- ["Denmark"] = "west",			
	-- ["France"] = "west", 
	-- ["Georgia"] = "west",
	-- ["Greece"] = "west",

	-- ["India"] = "west",
	-- ["Iran"] = "west",
	-- ["Israel"] = "west",
	-- ["Italy"] = "west", 

	-- ["Norway"] = "west", 
	-- ["Pakistan"] = "west",

	-- ["South Korea"] = "west", 
	-- ["Spain"] = "west", 
	-- ["Sweden"] = "west",

	-- ["The Netherlands"] = "west", 
	-- ["Turkey"] = "west",

	-- ["UK"] = "west",
	-- ["United Arab Emirates"] = "west",
	-- ["USA"] = "west", 
	-- ["USAF Aggressors"] = "west", 
-- }

Callsign_west = {
	generic = {
		[1] = "Enfield",
		[2] = "Springfield",
		[3] = "Uzi",
		[4] = "Colt",
		[5] = "Dodge",
		[6] = "Ford",
		[7] = "Chevy",
		[8] = "Pontiac",
	},
	AWACS = {
		[1] = "Overlord",
		[2] = "Magic",
		[3] = "Wizard",
		[4] = "Focus",
		[5] = "Darkstar",
	},
	tanker = {
		[1] = "Texaco",
		[2] = "Arco",
		[3] = "Shell",
	}
}

--https://wiki.hoggitworld.com/view/DCS_enum_callsigns
SpecificCallnames = {
	["FA-18C_hornet"] = {
		["USA"] = {
			[9] = 'Hornet',
			[10] = 'Squid',
			[11] = 'Ragin',
			[12] = 'Roman',
			[13] = 'Sting',
			[14] = 'Jury',
			[15] = 'Joker',
			[16] = 'Ram',
			[17] = 'Hawk',
			[18] = 'Devil',
			[19] = 'Check',
			[20] = 'Snake',
		},
	},
	["F-16C_50"] = {
		["USA"] = {
			[9] = 'Viper',
			[10] = 'Venom',
			[11] = 'Lobo',
			[12] = 'Cowboy',
			[13] = 'Python',
			[14] = 'Rattler',
			[15] = 'Panther',
			[16] = 'Wolf',
			[17] = 'Weasel',
			[18] = 'Wild',
			[19] = 'Ninja',
			[20] = 'Jedi',
		},
	},
	["A-10A"] = {
		["USA"] = {
			[9] = 'Hawg',
			[10] = 'Boar',
			[11] = 'Pig',
			[12] = 'Tusk',
		},
	},
	["A-10C"] = {
		["USA"] = {
			[9] = 'Hawg',
			[10] = 'Boar',
			[11] = 'Pig',
			[12] = 'Tusk',
		},
	},
	["A-10C_2"] = {
		["USA"] = {
			[9] = 'Hawg',
			[10] = 'Boar',
			[11] = 'Pig',
			[12] = 'Tusk',
		},
	},
	["B-1B"] = {
		["USA"] = {
			[9] = 'Bone',
			[10] = 'Dark',
			[11] = 'Vader',
		},
	},
	["B-52H"] = {
		["USA"] = {
			[9] = 'Buff',
			[10] = 'Dump',
			[11] = 'Kenworth',
		},
	},
	["C-130"] = {
		["USA"] = {
			[9] = 'Heavy',
			[10] = 'Trash',
			[11] = 'Cargo',
			[12] = 'Ascot',
		},
	},
	["Hercules"] = {
		["USA"] = {
			[9] = 'Heavy',
			[10] = 'Trash',
			[11] = 'Cargo',
			[12] = 'Ascot',
		},
	},
	["C-17A"] = {
		["USA"] = {
			[9] = 'Heavy',
			[10] = 'Trash',
			[11] = 'Cargo',
			[12] = 'Ascot',
		},
	},
	["C-47"] = {
		["USA"] = {
			[9] = 'Heavy',
			[10] = 'Trash',
			[11] = 'Cargo',
			[12] = 'Ascot',
		},
	},
}

--useful table for choosing aircraft when generating missions
TabTask = {
	["a"] = "Anti-ship Strike",
		["Anti-ship Strike"] = "a",
	["c"] = "CAP",
		["CAP"] = "c",
	["d"] = "SEAD",
		["SEAD"] = "d",
	["e"] = "Escort",
		["Escort"] = "e",
	["f"] = "Fighter Sweep",
		["Fighter Sweep"] = "f",
	["i"] = "Intercept",
		["Intercept"] = "i",
	["l"] = "Laser Illumination",
		["Laser Illumination"] = "l",
	["r"] = "Reconnaissance",
		["Reconnaissance"] = "r",
	["s"] = "Strike",
		["Strike"] = "s",
	["ra"] = "Runway Attack",
		["Runway Attack"] = "ra",
	["t"] = "Transport",
		["Transport"] = "t",
	["u"] = "Refueling",
		["Refueling"] = "u",
	["sa"] = "SAR",
		["SAR"] = "sa",
	["cs"] = "CSAR",
		["CSAR"] = "cs",
}

Failures = {
	["A-4E-C"] = {
        'asc',        --('ASC'),        
        'autopilot',--('AUTOPILOT'),
        'hydro',     --('HYDRO'),    
        'l_engine', --('L-ENGINE'),    
        'r_engine', --('R-ENGINE'),    
        'radar',     --('RADAR'),    
        'eos',         --('EOS'),        
        'helmet',     --('HELMET'),    
        'rws',         --('RWS'),        
        'ecm',      --('ECM'),        
        'hud',         --('HUD'),        
        'mfd',         --('MFD'),        
    },
	["A-10A"] = {
		'asc',--('ASC'),
		'autopilot',--('AUTOPILOT'),
		'hydro',--('HYDRO'),
		'l_engine', --('L-ENGINE'),
		'r_engine', --('R-ENGINE'),
		'mlws',--('MLWS'),
		'rws', --('RWS'),
		'ecm', --('ECM'),
		'hud', --('HUD'),
		'mfd', --('MFD'),		
	},
	["A-10C"] = {
		'l_engine',--('L-ENGINE'),
		'r_engine', --('R-ENGINE'),
		'hydro_left',--('L-HYDRO'),
		'hydro_right',--('R-HYDRO'),
		'sas_yaw_left',--('SAS YAW LEFT'),
		'sas_yaw_right',--('SAS YAW RIGHT'),
		'sas_pitch_left',--('SAS PITCH LEFT'),
		'sas_pitch_right',--('SAS PITCH RIGHT'),
		'l_gen',	--('L-GENERATOR'),
		'r_gen', --('R-GENERATOR'),
		'l_conv',--('L-CONVERTER'),
		'r_conv',--('R-CONVERTER'),
		'HUD_FAILURE',--('HUD'),		
		'AAR_47_FAILURE_TOTAL',--('AAR-47'),	
		'AAR_47_FAILURE_SENSOR_RIGHT',--('AAR-47 right sensor'),
		'AAR_47_FAILURE_SENSOR_LEFT',--('AAR-47 left sensor'),
		'AAR_47_FAILURE_SENSOR_TAIL',--('AAR-47 tail sensor'),
		'AAR_47_FAILURE_SENSOR_BOTTOM',--('AAR-47 bottom sensor'),
		'AIRSPEED_INDICATOR_FAILURE',--('Airspeed indicator'),
		'AN_ALE_40V_FAILURE_TOTAL',--('AN/ALE-40V'),
		'AN_ALE_40V_FAILURE_CONTAINER_LEFT_WING',--('AN/ALE-40V left wingtip container'),
		'AN_ALE_40V_FAILURE_CONTAINER_LEFT_GEAR',--('AN/ALE-40V left main gear container'),
		'AN_ALE_40V_FAILURE_CONTAINER_RIGHT_GEAR',--('AN/ALE-40V right main gear container'),
		'AN_ALE_40V_FAILURE_CONTAINER_RIGHT_WING',--('AN/ALE-40V right wingtip container'),
		'AN_ALR69V_FAILURE_TOTAL',--('AN/ALR69V'),	
		'AN_ALR69V_FAILURE_SENSOR_NOSE_RIGHT',	  --('AN/ALR-69V nose right sensor'),	
		'AN_ALR69V_FAILURE_SENSOR_NOSE_LEFT',	  --('AN/ALR-69V nose left sensor'),	
		'AN_ALR69V_FAILURE_SENSOR_TAIL_RIGHT',	  --('AN/ALR-69V tail right sensor'),	
		'AN_ALR69V_FAILURE_SENSOR_TAIL_LEFT',	  --('AN/ALR-69V tail left sensor'),	
		'RADAR_ALTIMETR_LEFT_ANT_FAILURE',	  	--('AN/APN-194 left antenna'),		
		'RADAR_ALTIMETR_RIGHT_ANT_FAILURE',	  	--('AN/APN-194 right antenna'),		
		'CADC_FAILURE_TOTAL',--('CADC'),		
		'CADC_FAILURE_TEMPERATURE',--('CADC temperature sensor'),		
		'CADC_FAILURE_MACH',		  	  			--('CADC mach sensor'),
		'CADC_FAILURE_TAS',		  				--('CADC TAS sensor'),
		'CADC_FAILURE_IAS',		  				--('CADC IAS sensor'),
		'CADC_FAILURE_BARO_ALT',		  			--('CADC baro alt sensor'),
		'CADC_FAILURE_PRESSURE_ALT',	  			--('CADC pressure alt sensor'),		
		'CADC_FAILURE_DYNAMIC',		  			--('CADC dynamic pressure sensor'),	
		'CADC_FAILURE_STATIC',		  			--('CADC static pressure sensor'),	
		'CLOCK_FAILURE',		  	  				--('Digital clock'),
		'IFFCC_FAILURE_TOTAL',		  			--('IFFCC'),		
		'ILS_FAILURE_TOTAL',		  				--('ILS AN/ARN-118'),
		'ILS_FAILURE_ANT_LOCALIZER',	  			--('ILS AN/ARN-118 localizer antenna'),
		'ILS_FAILURE_ANT_GLIDESLOPE',	  		--('ILS AN/ARN-118 glideslope antenna'),
		'ILS_FAILURE_ANT_MARKER',	  			--('ILS AN/ARN-118 marker antenna'),	
		'LEFT_MFCD_FAILURE',		  				--('Left MFCD'),	
		'RIGHT_MFCD_FAILURE',		  			--('Right MFCD'),
		'SADL_FAILURE_TOTAL',		  			--('SADL'),		
		'TACAN_FAILURE_TOTAL',		  			--('TACAN AN/ARN-118'),
		'TACAN_FAILURE_TRANSMITTER',	  			--('TACAN AN/ARN-118 transmitter'),	
		'TACAN_FAILURE_RECEIVER',	  			--('TACAN AN/ARN-118 receiver'),		
		'TGP_FAILURE_RIGHT',		  				--('TGP on right wing'),
		'TGP_FAILURE_LEFT',		  				--('TGP on left wing'),
		'UHF_RADIO_FAILURE_TOTAL',	  			--('UHF radio'),	
		'VHF_AM_RADIO_FAILURE_TOTAL',	  		--('VHF AM radio'),
		'VHF_FM_RADIO_FAILURE_TOTAL',	  		--('VHF FM radio'),
		'IFFCC_FAILURE_GUN',	  					--('GUN'),		
		'CICU_FAILURE_TOTAL',	  				--('CICU'),		
		'CDU_FAILURE_TOTAL',	  					--('CDU'),		
		'EGI_FAILURE_TOTAL',	  					--('EGI'),		
    },
	["AJS37"] = {
		'ADI_UNIT',--('Flight attitude and direction unit'),
		'CK_UNIT',--('Centralkalkylator 37'),
		'DATACARTRIDGE',--('Data cartridge'),
		'RPMSENSOR',--('RPM sensor'),
		'EGTSENSOR',--('EGT sensor'),
		'EPRSENSOR',--('EPR sensor'),
		'TVDISPLAY',--('EP13 Maverick sight display'),
		'HUDDISPLAY',--('EP08 Head Up Display'),
		'MAINPITOT',--('Main pitot'),
		'AOASENSOR',--('Angle of attack sensor'),
		'ACCSENSOR',--('Accelerometer unit'),
		'FDU',--('Flight Data Unit'),
		'BCKPITOT',--('Backup pitot'),
		'BCKGYRO',--('Backup gyro'),
		'TEMPSENSOR',--('Temperature sensor'),
		'HAW',--('High Alpha Warning'),
		'FR22RADIO',--('FR22 Radio unit'),
		'FR22ANTENNA',--('FR22 Radio antenna'),
		'FR24RADIO',--('FR24 Radio unit'),
		'FR24ANTENNA',--('FR24 Radio antenna'),
		'RADARALTUNIT',--('Radar altimeter unit'),
		'RADARALTANT',--('Radar altimeter antenna'),
		'RADARASS',--('Radar PS-37 assembly'),
		'RADARDISPL',--('Central Indikator display'),
		'TAPEREC',--('Tape recorder'),
		'RB05ANT',--('Rb05 antenna unit'),
		'RWRANTLEFT',--('RWR antenna left wing'),
		'RWRANTRIGHT',--('RWR antenna right wing'),
		'RWRANTREAR',--('RWR antenna rear'),
		'RWRUNIT',--('RWR control unit'),
		'JAMMER',--('U22 or U22/A Jammer'),
		'CMDISP',--('KB countermeasure dispenser'),
		'AUTOPILOT',--('SA-06 Autopilot unit'),
		'ELEVONOUTERLEFT',--('Elevon control surface outer left'),
		'ELEVONINNERLEFT',--('Elevon control surface inner left'),
		'ELEVONINNERRIGHT',--('Elevon control surface inner right'),
		'ELEVONOUTERRIGHT',--('Elevon control surface outer right'),
		'ELEVONSERVOUTERLEFT',--('Elevon servo outer left'),
		'ELEVONSERVINNERLEFT',--('Elevon servo inner left'),
		'ELEVONSERVINNERRIGHT',--('Elevon servo inner right'),
		'ELEVONSERVOUTERRIGHT',--('Elevon servo outer right'),
		'RUDDER',--('Rudder control surface'),
		'RUDDERSERV',--('Rudder servo'),
		'CANARDFLAPLEFT',--('Canard flap surface left'),
		'CANARDFLAPRIGHT',--('Canard flap surface right'),
		'CANARDSERVOLEFT',--('Canard flap servo left'),
		'CANARDSERVORIGHT',--('Canard flap servo right'),
		'AIRBRAKE',--('Airbrake surfaces'),
		'AIRBRAKESERVO',--('Airbrake servo'),
		'HYDR1PUMP',--('Hydraulic pump System 1'),
		'HYDR1ACC',--('Hydraulic accumulator System 1'),
		'HYDR2PUMP',--('Hydraulic pump System 2'),
		'HYDR2ACC',--('Hydraulic accumulator System 2'),
		'HYDRRESERVPUMP',--('Hydraulic pump backup'),
		'OXYGEN',--('Oxygen bottle'),
		'MAINPOWER',--('Main electrical junction & relays'),
		'MAINGENERATOR',--('Main generator'),
		'BACKUPGENERATOR',--('Backup generator (RAT)'),
		'BATTERY',--('Main battery'),
		'IFF',--('IFF'),
		'TILS',--('TILS'),
		'DOPPLER_UNIT',--('Doppler unit'),
		'COMPRESSOR',--('Engine fan and compressor stage'),
		'BURNER',--('Engine burner stage'),
		'TURBINE',--('Engine turbine stage'),
		'GTS',--('Engine starter (GTS)'),
		'AFK',--('Auto-thrust (AFK)'),
		'REVERSER',--('Thrust reverser'),
		'FUELTANK2',--('Fuel tank 2'),
		'FUELTANK3L',--('Fuel tank 3V'),
		'FUELTANK3R',--('Fuel tank 3H'),
		'FUELTANK1',--('Fuel tank 1'),
		'FUELTANK4L',--('Fuel tank 4V'),
		'FUELTANK5L',--('Fuel tank 5V'),
		'FUELTANK4R',--('Fuel tank 4H'),
		'FUELTANK5R',--('Fuel tank 5H'),
		'LANDINGGEARL',--('Left landing gear'),
		'LANDINGGEARR',--('Right landing gear'),
	},
	["AV8BNA"] = {
		-- FWD Avionics Bay
		'DMT_FAILURE_TOTAL',	--('DMT Camera Failure'),			
		'ARBS_FAILURE_TOTAL',--('ARBS Failure'),					
		'FLIR_FAILURE_TOTAL',--('NAVFLIR Failure'),				

		-- AFT Avionics Bay
		'ADC_FAILURE_TOTAL',	--('Air Data Computer Failure'),		
		'MSC_FAILURE_TOTAL',	--('Mission Systems Computer Failure'),
		'TCN_FAILURE_TOTAL',	--('TACAN Receiver Failure'),		
		'COM1_FAILURE_TOTAL',--('Radio 1 Failure'),				
		'DVMS_FAILURE_TOTAL',--('Moving Map Controller Failure'),	
		'INS_FAILURE_VELOCITY',--('INS Velocity Failure'),			
		'INS_FAILURE_HEADING',--('INS Heading Failure'),			
		'INS_FAILURE_ATTITUDE',--('INS Attitude Failure'),			
		'COM2_FAILURE_TOTAL',--('Radio 2 Failure'),				
		'SMS_FAILURE_TOTAL',	--('Weapons Controller Failure'),	

		-- Weapons Stations
		'STATION_1_FAILURE',	--('Station 1 Failure'),				
		'STATION_2_FAILURE',	--('Station 2 Failure'),				
		'STATION_3_FAILURE',	--('Station 3 Failure'),				
		'STATION_4_FAILURE',	--('Station 4 Failure'),				
		'STATION_5_FAILURE',	--('Station 5 Failure'),				
		'STATION_6_FAILURE',	--('Station 6 Failure'),				
		'STATION_7_FAILURE',	--('Station 7 Failure'),				
		'STRAKE_LEFT_FAILURE',--('Gun Pod Left Failure'),			
		'STRAKE_RIGHT_FAILURE',--('Gun Pod Right Failure'),			
	},
	["C-101"] =
	{
		"generator_fail",--("Generator failure"),	
		"starter_fail",  --("Starter failure"),		
		"batteries_fail",--("Batteries failure"),	
		"inverters_fail",--("Inverters failure"),    
		"inverter1_fail",--("Normal inverter failure"), 
		"inverter2_fail",--("Standby inverter failure"), 		
		"engine_flameout_irrecoverable",--("Engine flameout without relight"), 
		"engine_flameout_recoverable",--("Engine flameout with relight"), 
		"engine_fire",--("Engine fire"),    		
		"oil_press_drop",--("Oil pressure drop"),    
		"chip_in_oil",   --("Chip in oil"),          		
		"fuel_leak",     --("Fuel leak"),            
		"engine_seized", --("Engine seized"),        
		"engine_antiice_fail",--("Engine anti-ice failure"), 
		"eng_computer_fail",--("Engine computer fail (manual mode)"), 		
		"hydr_leak",     --("Hydraulic leak"),       
		"elevator_loss",  --("Elevator loss"),         		
		"aileron_loss",  --("Aileron loss"),         
		"rudder_loss",  --("Rudder loss"),         
		"pitch_trim_runaway_up",--("Pitch trim runaway - Nose up"), 		
		"pitch_trim_runaway_down",--("Pitch trim runaway - Nose down"), 
		"pitch_trim_fail",--("Control stick pitch trim switch failure"), 
		"aileron_trim_fail",--("Control stick aileron trim switch failure"), 
		"airbrake_cutout_microsw_malf",--("Airbrake autotrim cutout malfunction"), 		
		"LGear_ext_fault",--("Left gear extension fault"), 		
		"LGear_ret_fault",--("Left gear retraction fault"), 
		"RGear_ext_fault",--("Right gear extension fault"), 
		"RGear_ret_fault",--("Right gear retraction fault"), 
		"NGear_ext_fault",--("Nose gear extension fault"), 
		"NGear_ret_fault",--("Nose gear retraction fault"), 
		"antiskid_fail",--("Antiskid fail"), 
		"flaps_fault",--("Flaps fault"), 
		"explosive_depressurization",--("Explosive depressurization"), 		
		"pitot_blocked", --("Pitot tube blocked"),   
		"static_blocked",--("Static port blocked"),  
		"pitot_heat_fail",--("Pitot heat fail"),  
		"gs_fail",--("ILS receiver GS signal fail"), 
		"loc_fail",--("ILS receiver LOC signal fail"), 
		"vor_fail",--("VOR receiver nav signal fail"), 
		"tacan_fail",--("TACAN receiver nav signal fail"), 
	},
	["C-101CC"] =
	{
		"generator_fail",--("Generator failure"),	
		"starter_fail",  --("Starter failure"),		
		"batteries_fail",--("Batteries failure"),	
		"inverters_fail",--("Inverters failure"),    
		"inverter1_fail",--("Normal inverter failure"), 
		"inverter2_fail",--("Standby inverter failure"), 		
		"engine_flameout_irrecoverable",--("Engine flameout without relight"), 
		"engine_flameout_recoverable",--("Engine flameout with relight"), 
		"engine_fire",--("Engine fire"),    
		"oil_press_drop",--("Oil pressure drop"),    
		"chip_in_oil",   --("Chip in oil"),          		
		"fuel_leak",     --("Fuel leak"),            
		"engine_seized", --("Engine seized"),        
		"engine_antiice_fail",--("Engine anti-ice failure"), 
		"eng_computer_fail",--("Engine computer fail (manual mode)"), 		
		"eng_computer_total_fail",--("Failure of auto and manual modes (back-up mode)"), 		
		"hydr_leak",     --("Hydraulic leak"),       
		"elevator_loss",  --("Elevator loss"),         		
		"aileron_loss",  --("Aileron loss"),         
		"rudder_loss",  --("Rudder loss"),         
		"pitch_trim_runaway_up",--("Pitch trim runaway - Nose up"), 		
		"pitch_trim_runaway_down",--("Pitch trim runaway - Nose down"), 
		"pitch_trim_fail",--("Control stick pitch trim switch failure"), 
		"aileron_trim_fail",--("Control stick aileron trim switch failure"), 
		"rudder_trim_fail",--("Rudder trim failure"), 
		"airbrake_cutout_microsw_malf",--("Airbrake autotrim cutout malfunction"), 		
		"LGear_ext_fault",--("Left gear extension fault"), 		
		"LGear_ret_fault",--("Left gear retraction fault"), 
		"RGear_ext_fault",--("Right gear extension fault"), 
		"RGear_ret_fault",--("Right gear retraction fault"), 
		"NGear_ext_fault",--("Nose gear extension fault"), 
		"NGear_ret_fault",--("Nose gear retraction fault"), 
		"antiskid_fail",--("Antiskid fail"), 
		"flaps_fault",--("Flaps fault"), 
		"explosive_depressurization",--("Explosive depressurization"), 		
		"pitot_blocked", --("Pitot tube blocked"),   
		"static_blocked",--("Static port blocked"),  
		"pitot_heat_fail",--("Pitot heat fail"),  
		"gs_fail",--("ILS receiver GS signal fail"), 
		"loc_fail",--("ILS receiver LOC signal fail"), 
		"vor_fail",--("VOR receiver nav signal fail"), 
		"dme_fail",--("DME signal fail"), 		
		"adf_fail",--("ADF receiver indication fail"), 
		"radioalt_fail",--("Radio altimeter signal fail"), 		
		"sight_lamps_fail",--("Gunsight lamps failure"),   
	},
	["F-5E-3"] = {
		-- electric system
		'esf_LeftGenerator',	--('Electricity: Left Generator'),				
		'esf_RightGenerator',--('Electricity: Right Generator'),				
		'esf_LeftRectifier',	--('Electricity: Left Rectifier'),				
		'esf_RightRectifier',--('Electricity: Right Rectifier'),				
		'esf_StaticInverter',--('Electricity: Static Inverter'),				
		-- fuel system
		'fsf_AutoBalance',	--('Fuel System: Fuel Autobalance'),				
		'fsf_LeftBoostPump',	--('Fuel System: Left Fuel Boost Pump'),			
		'fsf_RightBoostPump',--('Fuel System: Right Fuel Boost Pump'),		
		'fsf_CrossfeedValve',--('Fuel System: Crossfeed Valve'),				
		-- hydraulic system
		'hsf_UtilityHydraulic',--('Hydraulic: Utility Hydraulic System'),		
		'hsf_ControlHydraulic',--('Hydraulic: Flight Control Hydraulic System'),
		-- control system
		'csf_PitchDamper',	--('Control: Pitch Damper'),						
		'csf_YawDamper',		--('Control: Yaw Damper'),						
		'csf_PitchTrim',		--('Control: Pitch Trim'),						
		'csf_AutoFlap',		--('Control: Auto Flap System'),					
		-- sensors system
		'sensf_CADC',		--('Sensors: Central Air Data Computer'),		
		'sensf_PITOT_DAMAGE',--('Sensors: Pitot-static System Leakage'),		
		-- power plant
		'ppf_LeftGearbox',	--('Power Plant: Left Gearbox'),					
		'ppf_RightGearbox',	--('Power Plant: Right Gearbox'),				
		'ppf_FireLeft',		--('Power Plant: Fire Left Engine'),				
		'ppf_FireRight',		--('Power Plant: Fire Right Engine'),			
		'ppf_LeftNozzleControl',--('Power Plant: Left Nozzle Control System'),	
		'ppf_RightNozzleControl',--('Power Plant: Right Nozzle Control System'),	
		'ppf_LeftOil',		--('Power Plant: Left Oil System'),				
		'ppf_RightOil',		--('Power Plant: Right Oil System'),				
		-- oxygen system
		'oxy_FAILURE_TOTAL',	--('Oxygen System: Total Failure'),				
		-- weapon system

		-- radio devices
	},
	["M-2000C"] = {
		'HYD_PUMP_1_FAIL_100',
		'HYD_PUMP_2_FAIL_100',
		'HYD_PUMP_3_FAIL_100',
		'OIL_SYSTEM_FAIL_050',
		'OIL_SYSTEM_FAIL_100',
		'BATT_FAIL',
		'TRN_FAIL',
		'TRN_FAIL_AUX',
		'ENG_ALT_1_FAIL',
		'ENG_ALT_2_FAIL',
		'HYD_ALT_1_FAIL',
		'HYD_ALT_2_FAIL',
		'INS_PART_FAIL',
		'INS_GYROS_FAIL',
		'INS_TOTAL_FAIL',
		'RWR_FAILURE_SENSOR_TAIL',
		'RWR_FAILURE_SENSOR_LEFT',
		'RWR_FAILURE_SENSOR_RIGHT',
		'RWR_FAILURE_TOTAL',
		'IFF_FAILURE_MAIN',
	},
	["Mirage-F1"] =
	{
		"battery_fail",
		"alt1_fail",
		"alt2_fail",
		"tr1_fail",
		"tr2_fail",
		"triphase_inv_fail",
		"miss_bus_fail",

		"left_fuel_pump_fail",
		"right_fuel_pump_fail",
		"detotalizer_fail",
		"fuel_gauges_fail",
		"fuel_intercom_fail",
		"left_wing_transfer_fail",
		"right_wing_transfer_fail",
		"front_central_transfer_fail",
		"left_front_transfer_fail",
		"right_front_transfer_fail",
		"left_rear_transfer_fail",
		"right_rear_transfer_fail",
		"external_tanks_transfer_fail",
		"left_wing_leaks",
		"right_wing_leaks",
		"front_central_leaks",
		"left_front_leaks",
		"right_front_leaks",
		"left_rear_leaks",
		"right_rear_leaks",
		"left_feeder_leaks",
		"right_feeder_leaks",
		"fuel_accu_leaks",

		"left_airbrake_fail",
		"right_airbrake_fail",
		"gear_lever_fail",
		"gear_down_lock_fail",
		"gear_nose_stuck",
		"gear_left_stuck",
		"gear_right_stuck",
		"brakes_fail",
		"chute_fail",
		"electropump_fail",
		"hydr1_leaks",
		"hydr1_reserv_leaks",
		"hydr1_pump_fail",
		"hydr2_leaks",
		"hydr2_reserv_leaks",
		"hydr2_pump_fail",
		"hydr_serv_leaks",
		"flap_left_stuck",
		"flap_right_stuck",
		"flaps_stuck",
		"slat_inner_left_stuck",
		"slat_inner_right_stuck",
		"slat_outer_left_stuck",
		"slat_outer_right_stuck",
		"slats_stuck",

		"pitot_heat_fail",
		"altitude_chain_fail",
		"mach_chain_fail",
		"incidometer_fail",
		"incidometer_blockage_fail",
		"anemo_central_fail",

		"trim_pitch_fail",
		"trim_roll_fail",
		"trim_yaw_fail",
		"trim_elect_supply",
		"yaw_damper_fail",
		"pilot_aids_1_fail",
		"pilot_aids_2_fail",
		"pitch_chain_fail",
		"ap_global_fail",

		"broken_guards",
		"oil_fail",
		"nosecone_stuck",
		"nosecone_stuck_forward",
		"nosecone_stuck_backward",
		"start_fail",
		"ignition_fail",
		"total_comp_stall",
		"partial_comp_stall",
		"overspeed_fail",
		"discharge_valves_fail",
		"engine_fire",
		"AB_fire",
		"compressor_damage",
		"engine_flameout",
		"cabin_temp_fail",
		"equip_temp_fail",
		"oxygen_regulator_fail",

		"gyros_general_BSM_fail",
		"gyros_main_att_fail",
		"gyros_main_fail",
		"gyros_emergency_fail",
		"gyros_att_indicator",
		"gyros_temp_drift",
		"BARAX_fail",

	},

	["F-4E-45-MC"] =
	{
		[1] = "/F-4E-45-MC/Pilot Cockpit/Pilot Left Console/Intercom Panel:Full Damage",
		[2] = "/F-4E-45-MC/Air Data Computer/Static Pressure Compensator/On-Off logic Calculator:SPC Failed",
		[3] = "/F-4E-45-MC/IFF Interrogator System:IFF Interrogator Damage",
		[4] = "/F-4E-45-MC/Angle Of Attack Indicator WSO/Servo:AoA Indicator Failure",
		[5] = "/F-4E-45-MC/Pilot Cockpit/Pilot Front Panel/VOR ILS/WSO ARN-127 Aural Tone Generator:VOR ILS Aural Tone Generator Malfunction",
		[6] = "/F-4E-45-MC/Airborne Video Tape Recorder (AVTR):AVTR Damage",
		[7] = "/F-4E-45-MC/Right Engine/Fire Detection:Engine Fire",
		[8] = "/F-4E-45-MC/WSO Cockpit/WSO Front Panel/ECM System Right:ECM Broken",
		[9] = "/F-4E-45-MC/EO TGT Designator System/Range Indicator:Damage",
		[10] = "/F-4E-45-MC/Left Engine/Gas Generator:Compressor Stall",
		[11] = "/F-4E-45-MC/Exterior Lights/Formation Lights Left Damage:HitDamage",
		[12] = "/F-4E-45-MC/Right Engine/Nozzle Controller:Failure",
		[13] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Intercom Panel:Full Damage",
		[14] = "/F-4E-45-MC/Weapons/Nosegun:Gun Damage",
		[15] = "/F-4E-45-MC/Pilot Servoed Altimeter/Altitude Meter/Output Calculator:Pressure Set Rollers Stuck",
		[16] = "/F-4E-45-MC/Bearing Distance Heading Indicator/BDHI Meter:BDHI Stuck",
		[17] = "/F-4E-45-MC/Pilot Cockpit/Pilot Left Console/Intercom Panel:Backup Amplifier Failure",
		[18] = "/F-4E-45-MC/Exterior Lights/Fuselage Lights Bottom Damage:HitDamage",
		[19] = "/F-4E-45-MC/ASN-63/Mode Logic:Failed",
		[20] = "/F-4E-45-MC/EO TGT Designator System/Pave Spike/Camera Damage:HitDamage",
		[21] = "/F-4E-45-MC/Right Engine/Spool Dynamics:Seizure",
		[22] = "/F-4E-45-MC/Ground Speed Indicator:Ground Speed Indicator Stuck",
		[23] = "/F-4E-45-MC/Pilot Vertical Velocity Indicator/Vertical Velocity Meter/Vertical Speed From Pressure Calculator:Vertical Velocity Indicator Pressure Leak Clogged",
		[24] = "/F-4E-45-MC/WSO Servoed Altimeter/Altitude Meter/Output Calculator:Pressure Set Rollers Stuck",
		[25] = "/F-4E-45-MC/UHF Radio:Lower Antenna Damaged",
		[26] = "/F-4E-45-MC/Pilot Cockpit/Pilot Left Console/Intercom Panel:Microphone Failure",
		[27] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Intercom Panel:Microphone Failure",
		[28] = "/F-4E-45-MC/TACAN Info:Transmitter Damage",
		[29] = "/F-4E-45-MC/UHF Radio/UHF Radio:UHF ARC 164 Radio Failed",
		[30] = "/F-4E-45-MC/WSO Servoed Altimeter/Three Position Switch:Broken",
		[31] = "/F-4E-45-MC/Exterior Lights/Wing Pos Light Left Damage:HitDamage",
		[32] = "/F-4E-45-MC/Hud:HUD Damage",
		[33] = "/F-4E-45-MC/Exterior Lights/Formation Lights Right Damage:HitDamage",
		[34] = "/F-4E-45-MC/Exterior Lights/Wing Pos Light Right Damage:HitDamage",
		[35] = "/F-4E-45-MC/WSO Cockpit/WSO Front Panel/ECM System Left:ECM Broken",
		[36] = "/F-4E-45-MC/WSO Servoed Altimeter/Reference Pressure Knob:Broken",
		[37] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Intercom Panel:Internal Failure",
		[38] = "/F-4E-45-MC/WSO Vertical Velocity Indicator/Vertical Velocity Meter/Vertical Speed From Pressure Calculator:Vertical Velocity Indicator Calibrated Leak Clogged",
		[39] = "/F-4E-45-MC/TACAN Info:Total Damage",
		[40] = "/F-4E-45-MC/Pilot Servoed Altimeter/Three Position Switch:Broken",
		[41] = "/F-4E-45-MC/WSO Servoed Altimeter/Altitude Meter/Output Calculator:Needle Stuck",
		[42] = "/F-4E-45-MC/WSO Cockpit/WSO Right Console/Interior Lights:Interior Light Damage",
		[43] = "/F-4E-45-MC/Landing Gear/Right Main Landing Gear/Side Brace Actuator/Actuator:Mechanical Failure",
		[44] = "/F-4E-45-MC/Right Engine/Gas Generator:Compressor Stall",
		[45] = "/F-4E-45-MC/Right Engine/Engine Oil System:Oil Leak",
		[46] = "/F-4E-45-MC/EO TGT Designator System/Laser Coder Control:Damage",
		[47] = "/F-4E-45-MC/Pilot Cockpit/Pilot Front Panel/VOR ILS/VOR ARN-127 Positioning Aid:VOR Receiver Malfunction",
		[48] = "/F-4E-45-MC/Exterior Lights/Anti-Coll Lights Damage:HitDamage",
		[49] = "/F-4E-45-MC/Pilot Servoed Altimeter/Reference Pressure Knob:Broken",
		[50] = "/F-4E-45-MC/WSO Vertical Velocity Indicator/Vertical Velocity Meter/Vertical Speed From Pressure Calculator:Vertical Velocity Indicator Pressure Leak Clogged",
		[51] = "/F-4E-45-MC/Pilot Mach And Airspeed Indicator:Mach And Airspeed Stuck",
		[52] = "/F-4E-45-MC/Left Engine/Engine Oil System:Oil Leak",
		[53] = "/F-4E-45-MC/Pilot Vertical Velocity Indicator/Vertical Velocity Meter/Vertical Speed From Pressure Calculator:Vertical Velocity Indicator Calibrated Leak Clogged",
		[54] = "/F-4E-45-MC/Navigation Computer/Test Cap Off Light:NAV Comp Test Cap failed",
		[55] = "/F-4E-45-MC/Pilot True Airspeed Indicator:True Airspeed Indicator Stuck",
		[56] = "/F-4E-45-MC/WSO Vertical Velocity Indicator/Vertical Velocity Meter:Vertical Velocity Indicator Stuck",
		[57] = "/F-4E-45-MC/WSO Servoed Altimeter/Altitude Meter/Operation Mode Logic:Electric Servo Failed",
		[58] = "/F-4E-45-MC/Exterior Lights/Landing Light Damage:HitDamage",
		[59] = "/F-4E-45-MC/Angle Of Attack Indicator Pilot/Servo:AoA Indicator Failure",
		[60] = "/F-4E-45-MC/Landing Gear/Nose Landing Gear/Drag Brace Actuator/Actuator:Mechanical Failure",
		[61] = "/F-4E-45-MC/Exterior Lights/Tail Pos Light Damage:HitDamage",
		[62] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Intercom Panel:Normal Amplifier Failure",
		[63] = "/F-4E-45-MC/UHF Remote Indicator Pilot:Frequency Channel Indicator Damage",
		[64] = "/F-4E-45-MC/WSO Accelerometer:G-Meter Stuck",
		[65] = "/F-4E-45-MC/Pilot Cockpit/Pilot Front Panel/VOR ILS:VOR ILS Malfunction",
		[66] = "/F-4E-45-MC/Pilot Cockpit/Pilot Front Panel/VOR ILS/Pilot ARN-127 Aural Tone Generator:VOR ILS Aural Tone Generator Malfunction",
		[67] = "/F-4E-45-MC/Attitude Indicator (Rear Cockpit)/Meter:Attitude Indicator Stuck",
		[68] = "/F-4E-45-MC/WSO Mach And Airspeed Indicator:Mach And Airspeed Stuck",
		[69] = "/F-4E-45-MC/Pilot Servoed Altimeter/Altitude Meter/Operation Mode Logic:Electric Servo Failed",
		[70] = "/F-4E-45-MC/TACAN Info:WSO Module Damage",
		[71] = "/F-4E-45-MC/Air Data Computer:Total Failure",
		[72] = "/F-4E-45-MC/Air Data Computer/Altitude Encoder:Altitude Encoder Failed",
		[73] = "/F-4E-45-MC/Left Engine/Fire Detection:Engine Fire",
		[74] = "/F-4E-45-MC/Aural Tone System:Aural Tone Damage",
		[75] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Radio Panel/Panel Logic:Panel failed",
		[76] = "/F-4E-45-MC/Exterior Lights/Refueling Light Damage:HitDamage",
		[77] = "/F-4E-45-MC/UHF Radio:Upper Antenna Damaged",
		[78] = "/F-4E-45-MC/WSO Cockpit/WSO Left Console/Intercom Panel:Backup Amplifier Failure",
		[79] = "/F-4E-45-MC/WSO Servoed Altimeter/Altitude Meter/Output Calculator:Altitude Rollers Stuck",
		[80] = "/F-4E-45-MC/Exterior Lights/Fuselage Light Top Damage:HitDamage",
		[81] = "/F-4E-45-MC/Pilot Cockpit/Pilot Left Console/Intercom Panel:Normal Amplifier Failure",
		[82] = "/F-4E-45-MC/IFF Transponder:Failure",
		[83] = "/F-4E-45-MC/Pilot Cockpit/Pilot Left Console/Intercom Panel:Internal Failure",
		[84] = "/F-4E-45-MC/EO TGT Designator System/Azimuth Elevation Indicator:Damage",
		[85] = "/F-4E-45-MC/Pilot Cockpit/Pilot Right Console/Interior Lights:Interior Light Damage",
		[86] = "/F-4E-45-MC/EO TGT Designator System/Pave Spike/Cooling Damage:HitDamage",
		[87] = "/F-4E-45-MC/WSO Servoed Altimeter:Altimeter Stuck",
		[88] = "/F-4E-45-MC/Pilot Servoed Altimeter/Altitude Meter/Output Calculator:Altitude Rollers Stuck",
		[89] = "/F-4E-45-MC/KY-28:Failure",
		[90] = "/F-4E-45-MC/Exterior Lights/Taxi Light Damage:HitDamage",
		[91] = "/F-4E-45-MC/Pilot Servoed Altimeter:Altimeter Stuck",
		[92] = "/F-4E-45-MC/Pilot Cockpit/Pilot Right Console/Radio Panel/Panel Logic:Panel failed",
		[93] = "/F-4E-45-MC/Left Engine/Nozzle Controller:Failure",
		[94] = "/F-4E-45-MC/Navigation Computer:Nav Comp Damaged",
		[95] = "/F-4E-45-MC/EO TGT Designator System/Target Designator Set Control:Damage",
		[96] = "/F-4E-45-MC/WSO True Airspeed Indicator:True Airspeed Indicator Stuck",
		[97] = "/F-4E-45-MC/Left Engine/Spool Dynamics:Seizure",
		[98] = "/F-4E-45-MC/UHF Remote Indicator WSO:Frequency Channel Indicator Damage",
		[99] = "/F-4E-45-MC/Aural Tone System:Stall Vibrator Damage",
		[100] = "/F-4E-45-MC/Pilot Servoed Altimeter/Altitude Meter/Output Calculator:Needle Stuck",
		[101] = "/F-4E-45-MC/Horizontal Situation Indicator/HSI Meter:HSI Stuck",
		[102] = "/F-4E-45-MC/TACAN Info:Pilot Module Damage",
		[103] = "/F-4E-45-MC/Pilot Seat:Seat Motor Overheated",
		[104] = "/F-4E-45-MC/Pilot Cockpit/Pilot Front Panel/VOR ILS/ILS ARN-127 Landing Aid:ILS Antenna Malfunction",
		[105] = "/F-4E-45-MC/Pilot Main ADI:Failed",
		[106] = "/F-4E-45-MC/Pilot Accelerometer:G-Meter Stuck",
		[107] = "/F-4E-45-MC/UHF Radio/ADF:ADF Damaged",
		[108] = "/F-4E-45-MC/Exterior Lights/Joinup Light Left Damage:HitDamage",
		[109] = "/F-4E-45-MC/TACAN Info:Receiver Damage",
		[110] = "/F-4E-45-MC/Landing Gear/Left Main Landing Gear/Side Brace Actuator/Actuator:Mechanical Failure",
		[111] = "/F-4E-45-MC/Exterior Lights/Joinup Light Right Damage:HitDamage",
		[112] = "/F-4E-45-MC/WSO Seat:Seat Motor Overheated",
		[113] = "/F-4E-45-MC/Pilot Vertical Velocity Indicator/Vertical Velocity Meter:Vertical Velocity Indicator Stuck",
		[114] = "/F-4E-45-MC/EO TGT Designator System/Pave Spike:System Damage",
	},

	["F-14"] =
	{
        'RADAR_FAILURE_TOTAL', --('Radar: Total') -- 0
        'DDD_FAILURE_TOTAL', --('DDD: Total')
        -- ENGINE
        'L_ENG_FIRE', --('Left Engine: Fire')
        'R_ENG_FIRE', --('Right Engine: Fire')
        'L_ENG_SEIZED', --('Left Engine: Main Spool Seizure')
        'R_ENG_SEIZED', --('Right Engine: Main Spool Seizure')
        'L_ENG_TURBINE_FAILURE', --('Left Engine: Turbine Failed')
        'R_ENG_TURBINE_FAILURE', --('Right Engine: Turbine Failed')
        'L_ENG_OIL_LEAK_SLOW', --('Left Engine: Slow Oil Leak (1 hr)')
        'R_ENG_OIL_LEAK_SLOW', --('Right Engine: Slow Oil Leak (1 hr)')
        'L_ENG_OIL_LEAK_MODERATE', --('Left Engine: Moderate Oil Leak (30 min)')
        'R_ENG_OIL_LEAK_MODERATE', --('Right Engine: Moderate Oil Leak (30 min)')
        'L_ENG_OIL_LEAK_SEVERE', --('Left Engine: Severe Oil Leak (2 min)')
        'R_ENG_OIL_LEAK_SEVERE', --('Right Engine: Severe Oil Leak (2 min)')
        'L_ENG_COMPRESSOR_STALL', --('Left Engine: Compressor Stall')
        'R_ENG_COMPRESSOR_STALL', --('Right Engine: Compressor Stall')
        'L_ENG_POP_STALL', --('Left Engine: Pop Stall')
        'R_ENG_POP_STALL', --('Right Engine: Pop Stall')
		--      'L_ENG_SUPERSONIC_INLET_BUZZ', --('Left Engine: Supersonic Inlet Buzz')
		--      'R_ENG_SUPERSONIC_INLET_BUZZ', --('Right Engine: Supersonic Inlet Buzz')
        'L_ENG_HPT_OVERSPEED', --('Left Engine: Turbine Overspeed')
        'R_ENG_HPT_OVERSPEED', --('Right Engine: Turbine Overspeed')
        'L_ENG_AFTC_PRI_FAILED', --('Left Engine: AFTC Failure')
        'R_ENG_AFTC_PRI_FAILED', --('Right Engine: AFTC Failure')
        'L_ENG_AICS_RAMP_FAIL_OPEN', --('Left Engine: AICS Ramp Fail Open')
        'R_ENG_AICS_RAMP_FAIL_OPEN', --('Right Engine: AICS Ramp Fail Open')
        'L_ENG_AICS_RAMP_FAIL_CLOSED', --('Left Engine: AICS Ramp Fail Closed')
        'R_ENG_AICS_RAMP_FAIL_CLOSED', --('Right Engine: AICS Ramp Fail Closed')
        'L_ENG_AICS_RAMP_FAIL_IN_POS', --('Left Engine: AICS Ramp Fail In Position')
        'R_ENG_AICS_RAMP_FAIL_IN_POS', --('Right Engine: AICS Ramp Fail In Position')
        'L_ENG_NOZZLE_FAILURE', --('Left Engine: Exhaust Nozzle Failure')
        'R_ENG_NOZZLE_FAILURE', --('Right Engine: Exhaust Nozzle Failure')
        -- CADC
        'CADC_FAILURE_TOTAL', --('CADC: Total')
        'CADC_PRESSURE_SENSOR', --('CADC: Pressure sensor')
        'CADC_WING_SWEEP_COMMAND_CHANNEL_1', --('CADC: Wing Sweep Channel 1')
        'CADC_WING_SWEEP_COMMAND_CHANNEL_2', --('CADC: Wing Sweep Channel 2')
        'CADC_MANEUVER_FLAP_COMMAND', --('CADC: Maneuver Flap Command')
        'CADC_RUDDER_AUTHORITY_COMMAND', --('CADC: Rudder Authority Command')
        'CADC_STABILIZER_AUTHORITY_COMMAND', --('CADC: Stabilizer Authority Command')
        'CADC_ANGLE_OF_ATTACK_SIGNAL', --('CADC: Angle Of Attack Signal')
        'CADC_TOTAL_TEMPERATURE_SIGNAL', --('CADC: Temperature Signal')
        'CADC_WING_SWEEP_INDICATOR', --('CADC: Wing Sweep Indicator')
        'CADC_CSDC_CONNECTION', --('CADC: Digital output to CSDC')
        -- NAV
        'INS_FAILURE_TOTAL', --('INS: Total')
        'INS_FAILURE_NAV_COMPUTER', --('INS: Nav Computer')
        'IMU_FAILURE_TOTAL', --('IMU: Total')
        'IMU_FAILURE_QUANTIZER', --('IMU: Quantizer')
        'AHRS_FAILURE_TOTAL', --('AHRS: Total')
        'AHRS_FAILURE_GYRO', --('AHRS: Gyro Platform')
        'AHRS_FAILURE_MAD', --('AHRS: Magnetic Azimuth Detector')
        -- RWR AN/ALR-67
        'RWR_FAILURE_TOTAL', --('RWR: Total')
        'RWR_FAILURE_CONTROL_BOX', --('RWR: Control Box')
        'RWR_FAILURE_COMPUTER', --('RWR: Computer')
        'RWR_FAILURE_LOW_BAND', --('RWR: Low Band Receiver/Antenna')
        'RWR_FAILURE_QUAD45', --('RWR: 45 Quad Receiver/Antenna')
        'RWR_FAILURE_QUAD135', --('RWR: 135 Quad Receiver/Antenna')
        'RWR_FAILURE_QUAD225', --('RWR: 225 Quad Receiver/Antenna')
        'RWR_FAILURE_QUAD315', --('RWR: 315 Quad Receiver/Antenna')
        'RWR_FAILURE_MBE', --('RWR: MBE BUS')
        'RWR_FAILURE_BLANKER', --('RWR: Interference Blanker')
        'RWR_FAILURE_DISPLAY_PILOT', --('RWR: Display Pilot')
        'RWR_FAILURE_DISPLAY_RIO', --('RWR: Display RIO')
        -- COUNTERMEASURES AN/ALE-39
        'CMS_FAILURE_PROGRAMMER', --('Countermeasures: Programmer')
        'CMS_FAILURE_LEFT_DISPENSER', --('Countermeasures: Left Dispenser')
        'CMS_FAILURE_RIGHT_DISPENSER', --('Countermeasures: Right Dispenser')
        -- UHF AN/ARC-159
        'UHF_ARC_159_FAILURE_TOTAL', --('UHF AN/ARC-159: Total')
        'UHF_ARC_159_FAILURE_DISPLAY', --('UHF AN/ARC-159: Display')
        'UHF_ARC_159_FAILURE_REMOTE_DISPLAY', --('UHF AN/ARC-159: Remote Display Pilot')
        'UHF_ARC_159_FAILURE_REMOTE_DISPLAY_RIO', --('UHF AN/ARC-159: Remote Display RIO')
        'UHF_ARC_159_FAILURE_INTERNAL_MODULE', --('UHF AN/ARC-159: Internal Module')
        'UHF_ARC_159_FAILURE_TRANSCEIVER', --('UHF AN/ARC-159: Transceiver')
        'UHF_ARC_159_FAILURE_ANTENNA', --('UHF AN/ARC-159: Antenna')
        -- VHF/UHF AN/ARC-182
        'VHF_ARC_182_FAILURE_TOTAL', --('VHF/UHF AN/ARC-182: Total')
        'VHF_ARC_182_FAILURE_DISPLAY', --('VHF/UHF AN/ARC-182: Display')
        'VHF_ARC_182_FAILURE_REMOTE_DISPLAY', --('VHF/UHF AN/ARC-182: Remote Display')
        'VHF_ARC_182_FAILURE_INTERNAL_MODULE', --('VHF/UHF AN/ARC-182: Internal Module')
        'VHF_ARC_182_FAILURE_TRANSCEIVER', --('VHF/UHF AN/ARC-182: Transceiver')
        'VHF_ARC_182_FAILURE_ANTENNA', --('VHF/UHF AN/ARC-182: Antenna')
        -- ICS
        'ICS_FAILURE_AMPLIFIER_PILOT_NORM', --('ICS: Amplifier Pilot')
        'ICS_FAILURE_AMPLIFIER_PILOT_BU', --('ICS: Amplifier Pilot Backup')
        'ICS_FAILURE_AMPLIFIER_RIO_NORM', --('ICS: Amplifier RIO')
        'ICS_FAILURE_AMPLIFIER_RIO_BU', --('ICS: Amplifier RIO Backup')
        -- TACAN
        'TACAN_FAILURE_TOTAL', --('TACAN: Total')
        'TACAN_FAILURE_TRANSMITTER', --('TACAN: Transmitter')
        'TACAN_FAILURE_RECEIVER', --('TACAN: Receiver')
        -- ILS
        'ILS_FAILURE_TOTAL', --('ILS: Total')
        'ILS_FAILURE_DECODER', --('ILS: Decoder')
        'ILS_FAILURE_ANTENNA', --('ILS: Antenna')
        -- HUD
        'HUD_FAILURE_TOTAL', --('HUD: Total')
        -- VDI
        'VDI_FAILURE_TOTAL', --('VDI: Total')
        -- RIO TID bowl
        'TID_FAILURE_TOTAL', --('TID: Total')

        -- Wings
        'W_S_L', --('Wings: Left Sweep Failure')
        'W_S_R', --('Wings: Right Sweep Failure')

        -- Engines


        -- Hydraulics
        'HYD_Combined', --('Hydraulics: Left Engine Pump')
        'HYD_Flight', --('Hydraulics: Right Engine Pump')
        'HYD_Transf', --('Hydraulics: Transfer Pump-Motor')
       --'HYD_CombLeak', --('Hydraulics: Combined System Leak')
       --'HYD_FlightLeak', --('Hydraulics: Flight System Leak')
       --'HYD_SpoilLeak', --('Hydraulics: Spoiler System Leak')
       --'HYD_FBackLeak', --('Hydraulics: Flight Backup System Leak')

       -- Jester
       'JESTER', --('Jester: Incapacitated')

       -- Emergency Gear Handle
       'EMERGENCY_GEAR_LEVER_PULLED', --('Emergency Gear Handle: Pulled'),    enable = false, hh = 0, mm = 0, mmint = 1, prob = 100},

    },
	["F-15ESE"] = {
		--'AAQ13_FLIR_SENSOR_FAIL',	--('AN/AAQ13 FLIR sensor fail'),
		'AAQ13_TF_RADAR_SENSOR_FAIL',--('AN/AAQ13 TF radar fail'),
		'CARA_RADALT_FAIL',		--('CARA Radar Altimeter fail')
	},
	["FA-18C_hornet"] =
	{
		-- electric system
		'Failure_Elec_UtilityBattery', --('Utility Battery FAILURE'), 								
		'Failure_Elec_EmergencyBattery', --('Emergency Battery FAILURE'), 							
		'Failure_Elec_LeftGenerator', --('Left Generator FAILURE'),								
		'Failure_Elec_RightGenerator', --('Right Generator FAILURE'), 								
		'Failure_Elec_LeftTransformerRectifier', --('Left Transformer-Rectifier FAILURE'), 					
		'Failure_Elec_RightTransformerRectifier', --('Right Transformer-Rectifier FAILURE'), 					
		-- hydraulic system
		'Failure_Hyd_HYD1A_Leak',	 --('HYD 1A LEAKAGE'),										
		'Failure_Hyd_HYD1B_Leak',	 --('HYD 1B LEAKAGE'), 										
		'Failure_Hyd_HYD2A_Leak',	 --('HYD 2A LEAKAGE'), 										
		'Failure_Hyd_HYD2B_Leak',	 --('HYD 2B LEAKAGE'), 										
		'Failure_Hyd_IsolatedHYD2BSystem_Leak', --('Isolated HYD 2B System LEAKAGE'), 						
		-- power plant
		'Failure_PP_EngL_Main_FFCS',	 --('Left Engine: Main Fuel Flow Control System FAILURE'),	
		'Failure_PP_EngR_Main_FFCS',	 --('Right Engine: Main Fuel Flow Control System FAILURE'),	
		'Failure_PP_EngL_AB_FFCS',	 --('Left Engine: AB Fuel Flow Control System FAILURE'),		
		'Failure_PP_EngR_AB_FFCS',	 --('Right Engine: AB Fuel Flow Control System FAILURE'),		
		'Failure_PP_EngL_Nozzle_CS',	 --('Left Engine: Nozzle Control System FAILURE'),			
		'Failure_PP_EngR_Nozzle_CS',	 --('Right Engine: Nozzle Control System FAILURE'),			
		'Failure_PP_EngL_OilLeak',	 --('Left Engine: Oil LEAKAGE'),								
		'Failure_PP_EngR_OilLeak',	 --('Right Engine: Oil LEAKAGE'),								
		'Failure_PP_LeftPTS',		 --('Left PTS FAILURE'),										
		'Failure_PP_RightPTS',		 --('Right PTS FAILURE'),										
		'Failure_PP_LeftAMAD_OilLeak', --('Left AMAD Oil LEAKAGE'),									
		'Failure_PP_RightAMAD_OilLeak', --('Right AMAD Oil LEAKAGE'),								
		-- fuel system
		'Failure_Fuel_LeftBoostPump', --('Left Boost Pump FAILURE'),								
		'Failure_Fuel_RightBoostPump', --('Right Boost Pump FAILURE'),								
		'Failure_Fuel_Tank1Transfer', --('Tank 1 Transfer FAILURE'),								
		'Failure_Fuel_Tank4Transfer', --('Tank 4 Transfer FAILURE'),								
		'Failure_Fuel_ExtTankTransferL', --('External Left Wing Tank Transfer FAILURE'),				
		'Failure_Fuel_ExtTankTransferR', --('External Right Wing Tank Transfer FAILURE'),				
		'Failure_Fuel_ExtTankTransferC', --('External Centerline Tank Transfer FAILURE'),				
		'Failure_Fuel_QuantityGaging', --('Fuel Quantity Gaging System FAILURE'),					
		-- gear system
		'Failure_Gear_WOW',			 --('WOW System FAILURE'),									
		'Failure_Gear_NWS',			 --('NWS FAILURE'),											
		-- ECS
		'Failure_ECS_Valve',			 --('ECS Valve FAILURE'),										
		'Failure_ECS_OBOGS',			 --('OBOGS FAILURE'),											
		-- control system
		'Failure_Ctrl_LEF',			 --('LEF FAILURE'),											
		'Failure_Ctrl_Aileron',		 --('Aileron FAILURE'),										
		'Failure_Ctrl_FCS_Ch1',		 --('FCS Channel 1 FAILURE'),									
		'Failure_Ctrl_FCS_Ch2',		 --('FCS Channel 2 FAILURE'),									
		'Failure_Ctrl_FCS_Ch3',		 --('FCS Channel 3 FAILURE'),									
		'Failure_Ctrl_FCS_Ch4',		 --('FCS Channel 4 FAILURE'),									
		-- computers
		'Failure_Comp_ADC',			 --('ADC FAILURE'),											
		'Failure_Comp_MC1',			 --('MC 1 FAILURE'),											
		'Failure_Comp_MC2',			 --('MC 2 FAILURE'),											
		--'Failure_Comp_CSC_Mux',		 --('CSC MUX FAILURE'),										
		-- sensors
		'Failure_Sens_LeftPitotHeater', --('Left PITOT Heater FAILURE'),								
		'Failure_Sens_RightPitotHeater', --('Right PITOT Heater FAILURE'),							
	},
	["F-86F"] = {
		-- electric system
		'es_damage_Generator',	--('Generator FAILURE'), 		
		'es_damage_MainInverter',--('Main Inverter FAILURE'), 	
		'es_damage_AltInverter',	--('Alternate Inverter FAILURE'),
		'es_damage_RadarInverter',--('Radar Inverter FAILURE'), 	
		-- hydraulic system
		'hs_damage_MainHydro',	--('Main Hydraulic FAILURE'),	
		'hs_damage_AltHydro',	--('Alternate Hydraulic FAILURE'), 
		'hs_damage_UtilityHydro',--('Utility Hydraulic FAILURE'), 
		-- power plant
		'pp_damage_BladesBrake',	--('Engine: Blades Brake'),		 
		'pp_damage_Ignition',	--('Engine: Ignition FAILURE'),	 

		'pp_damage_MainMaxFreq',		--('Main Fuel: Max Freq. Limiter FAILURE'),
		'pp_damage_MainMaxNormFreq',	--('Main Fuel: Max Normalized Freq. Limiter FAILURE'),
		'pp_damage_MainMaxTempr',	--('Main Fuel: Max Temperature Limiter FAILURE'),
		'pp_damage_MainStabFactor',	--('Main Fuel: Stability Factor FAILURE'),

		'pp_damage_EmergMaxFreq',	--('Emerg.Fuel: Max Freq. Limiter FAILURE'),
		'pp_damage_EmergMaxNormFreq',--('Emerg.Fuel: Max Normalized Freq. Limiter FAILURE'),
		'pp_damage_EmergMaxTempr',	--('Emerg.Fuel: Max Temperature Limiter FAILURE'),

		'pp_damage_OilPump',		--('Engine: Oil Pump FAILURE'),	
		'pp_damage_OilSeparator',--('Engine: Oil Separator FAILURE'),
		-- 
	},
	["L-39"] = {
		-- engine
		'ef_shutdown',				--('Engine SHUTDOWN'),			
		'ef_fire',					--('Engine FIRE'),				
		'ef_vibration',				--('Engine VIBRATION'),			
		'ef_surge',					--('Engine SURGE'),				  
		'ef_rt12',					--('Engine RT-12 FAILURE'),		
		'ef_fuel_reg',				--('Engine fuel governor FAILURE'),

		-- electric system
		'ELEC_GENERATOR_FAILURE',		--('Generator FAILURE'),			
		'ELEC_EMERGENCY_GENERATOR_FAILURE',		--('Emergency Generator FAILURE'),
		'ELEC_STARTER_FAILURE',			--('Starter FAILURE'),			
		'ELEC_BATTERY_DESTROYED',			--('Battery FAILURE'),			
		'es_damage_Inverter36x3',	--('Inverter 3x36V FAILURE'),	
		'es_damage_InverterPT500C',	--('Inverter PT-500 FAILURE'),	
		'es_damage_Inverter115_1',	--('Inverter 115V I FAILURE'),	
		'es_damage_Inverter115_2',	--('Inverter 115V II FAILURE'),	
		-- fuel system
		'FUEL_BOOSTER_FUEL_PUMP_0_FAILURE',	--('Fuel Booster Pump FAILURE'),	
		-- hydraulic system
		'HYDR_PUMP_FAILURE',		--('Main Hydraulic Pump FAILURE'),
		'hs_damage_MainAccumulator',	--('Main Hydraulic Accumulator FAILURE'),	
		'hs_damage_AuxAccumulator',	--('Auxiliary Accumulator FAILURE'),
		-- oil system
		'ENG0_OIL_PUMP_FAILURE',		--('Oil Pump FAILURE'),			
		-- oxygen system
		'OXYN_PRIMARY_CONTAINER_MINOR_LEAK',	--('Oxygen FAILURE'),			
		-- air system
		'PNEM_MAIN_HOSE_PERFORATED',--('Depressurization'),			
		-- Instruments
		'GMC1AE_GYRO_FAILURE',		--('GMC-1AE gyro FAILURE'),		
		'AGD1_GYRO_TOTAL_FAILURE',	--('AGD-1 gyro FAILURE'),		
		'ssf_full_pressure_fail',	--('fwd cockpit full p manometer FAILURE'),	
		'ssf_static_pressure_fail',	--('fwd cockpit static p manometer FAILURE'),
		-- RKL-41
		'RKL_41_TOTAL_FAILURE',		--('RKL-41 Total FAILURE'),		
		'RKL_41_ADF_DAMAGE',			--('RKL-41 Goniometer FAILURE'),	
		'RKL_41_ANT_DAMAGE',			--('RKL-41 Antenna FAILURE'),	
		-- Weapon System
		'GSH23_CHARGED_FAILURE',		--('GSh-23l Charge FAILURE'),	
	},
	["MB-339A"] =
	{
		 "1",--("Starter/Generator 1 failure"),		
		 "2",--("Generator 2 failure"),		
		 "3",--("Inverter failure"),			
		 "4",--("Backup Inverter failure"),	
		 "5",--("Batteries failure"),			
		 "6",--("Engine low responsive"), 	
		 "7",--("Engine low performance"), 	
		 "8",--("Engine casual RPM drop"), 	
		 "9",--("JPT limiter fail"), 		
		 "10",--("Engine failure"), 			
		 "11",--("Oil pressure drop"),    	
		 "12",--("Engine compressor stall"),	
		 "13",--("Engine flameout with relight"), 
		 "14",--("Engine fire"),    					
		 "15",--("Fuel leak"),				
		 "16",--("Electrical pump failure"),	
		 "17",--("Machanical pump failure"),   
		 "18",--("Engine anti-ice failure"), 	
		 "19",--("Antiskid fail"),	
		 "20",--("Hydraulic pump failure"),	
		 "21",--("Main Hyd Circuit leak"), 	
		 "22",--("Emerg Hyd Circuit leak"),	
		 "23",--("Left Oxygen tank leak"), 	
		 "24",--("Right Oxygen tank leak"), 	
		 "25",--("Nose gear electrical fault"),  		
		 "26",--("Left gear electrical fault"),  
		 "27",--("Right gear electrical fault"), 
		 "28",--("Nose gear mechanical fault"),  		
		 "29",--("Left gear mechanical fault"),  
		 "30",--("Right gear mechanical fault"), 
		 "31",--("Elevator loss"),			
		 "32",--("Aileron loss"),     
		 "33",--("Rudder loss"),		
		 "34",--("Elevator trim loss"), 
		 "35",--("Aileron trim loss"), 
		 "36",--("Rudder trim loss"), 
		 "37",--("Flaps fault"), 	
		-- "38",--("Depressurization"),			
		-- "39",--("Explosive depressurization"),			
		 "40",--("Fwd Pitot tube blocked"),	
		 "41",--("Aft Pitot tube blocked"),	
		 "42",--("Fwd Pitot anti-ice fail"),	
		 "43",--("Aft Pitot anti-ice fail"),	
		 "44",--("Windshield Demist fail"),	
		 "45",--("Nosewheel Steering failure"), 
		-- "gs_fail",--("ILS receiver GS signal fail"), 		
		-- "loc_fail",--("ILS receiver LOC signal fail"), 		
		-- "vor_fail",--("VOR receiver nav signal fail"), 		
		-- "tacan_fail",--("TACAN receiver nav signal fail"), 	
		-- "dme_fail",--("DME signal fail"), 							
	},

	["OH58D"] =
	{
		'engine',
		'LMFD',
		'RMFD',
		'MMSCamera',
		'Inverter',
		'Battery',
		'Rectifier Unit',
		'AC Generator',
		'DC Generator',
		'Transmission',
		'Hydraulic Reserve',
		'Tail Rotor',
		'Engine Oil',
	},
	["AH-64D_BLK_II"] =
	{
		'APU_Fire',--('APU Fire'),
		'LeftEngine_Fire',--('Engine 1 Fire'),
		'RightEngine_Fire',--('Engine 2 Fire'),			
	},

	["MiG-21bis"] =
	{
		'DC_BUS_FAILURE_TOTAL',--('DC Bus'), -- 0
		'DC_BUS_GENERATOR_FAILURE',--('DC Generator'), -- 1
		'AC_BUS_FAILURE_TOTAL',--('AC Bus'), -- 2
		'AC_BUS_PO7501_FAILURE',--('PO7501 Inverter'), -- 3
		'AC_BUS_PO7502_FAILURE',--('PO7502 Inverter'), -- 4
		'ENGINE_FAILURE_TOTAL',--('Engine'), -- 5
		'GYROS_FAILURE_TOTAL',--('Gyroscopes'), -- 6
		'PITOT_FAILURE_TOTAL',--('Pitot Tubes'), -- 7
		'WEAPONS_FAILURE_TOTAL',--('Weapons System'), -- 8
		'SOPLO_FAILURE_PARTIAL',--('Engine Nozzle'), -- 9
		'RADAR_FAILURE_TOTAL',--('Radar'), -- 10
		'KPP_FAILURE_PARTIAL',--('Kpp'), -- 11

		'LANDING_LIGHTS_FAILURE',--('Landing lights failure'), -- 12, 03. Dec 2014
	},

	["JF-17"] = {
        -- power system
        'EMMC_FAILURE_BATTERY_DC1',--('EMMC_FAILURE_BATTERY_DC1')
        'EMMC_FAILURE_BATTERY_DC2',--('EMMC_FAILURE_BATTERY_DC2')
        'EMMC_FAILURE_BATTERY_FCS1',--('EMMC_FAILURE_BATTERY_FCS1')
        'EMMC_FAILURE_BATTERY_FCS2',--('EMMC_FAILURE_BATTERY_FCS2')
        'EMMC_FAILURE_DC_GENERATOR_VOLTAGE_LOW',--('EMMC_FAILURE_DC_GENERATOR_VOLTAGE_LOW')
        'EMMC_FAILURE_DC_GENERATOR_VOLTAGE_HIGH',--('EMMC_FAILURE_DC_GENERATOR_VOLTAGE_HIGH')
        'EMMC_FAILURE_DC_GENERATOR',--('EMMC_FAILURE_DC_GENERATOR')
        'EMMC_FAILURE_DC_GENERATOR_CONTROLLER',--('EMMC_FAILURE_DC_GENERATOR_CONTROLLER')
        'EMMC_FAILURE_DC_GENERATOR_SUBSYSTEM',--('EMMC_FAILURE_DC_GENERATOR_SUBSYSTEM')
        'EMMC_FAILURE_AC_GENERATOR_FEED_LINE',--('EMMC_FAILURE_AC_GENERATOR_FEED_LINE')
        'EMMC_FAILURE_AC_GENERATOR_CONTROLLER',--('EMMC_FAILURE_AC_GENERATOR_CONTROLLER')
        'EMMC_FAILURE_AC_GENERATOR',--('EMMC_FAILURE_AC_GENERATOR')
        'EMMC_FAILURE_AC_GENERATOR_SUBSYSTEM',--('EMMC_FAILURE_AC_GENERATOR_SUBSYSTEM')
        'EMMC_FAILURE_TRU_AC2DC28V',--('EMMC_FAILURE_TRU_AC2DC28V')
        'EMMC_FAILURE_SCU_AC2AC36V',--('EMMC_FAILURE_SCU_AC2AC36V')
        'EMMC_FAILURE_SCU_DC2AC36V',--('EMMC_FAILURE_SCU_DC2AC36V')
        'EMMC_FAILURE_SCU_DC2AC115V',--('EMMC_FAILURE_SCU_DC2AC115V')
        'EMMC_FAILURE_AC_GROUND',--('EMMC_FAILURE_AC_GROUND')

        -- ext light failures
        'FAILURE_EXT_LIGHT_NAV_LEFT',--('FAILURE_EXT_LIGHT_NAV_LEFT')
        'FAILURE_EXT_LIGHT_NAV_RIGHT',--('FAILURE_EXT_LIGHT_NAV_RIGHT')
        'FAILURE_EXT_LIGHT_NAV_TAIL',--('FAILURE_EXT_LIGHT_NAV_TAIL')
        'FAILURE_EXT_LIGHT_ANTICOL',--('FAILURE_EXT_LIGHT_ANTICOL')
        'FAILURE_EXT_LIGHT_FORMATION_LEFT',--('FAILURE_EXT_LIGHT_FORMATION_LEFT')
        'FAILURE_EXT_LIGHT_FORMATION_RIGHT',--('FAILURE_EXT_LIGHT_FORMATION_RIGHT')
        'FAILURE_EXT_LIGHT_TAXI',--('FAILURE_EXT_LIGHT_TAXI')
        'FAILURE_EXT_LIGHT_LAND',--('FAILURE_EXT_LIGHT_LAND')

        -- Hydro failures
        'FAILURE_HYDRAULICS_EMERGE',--('FAILURE_HYDRAULICS_EMERGE')
        'FAILURE_HYDRAULICS_EMERGE_ACCU',--('FAILURE_HYDRAULICS_EMERGE_ACCU')
        'FAILURE_HYDRAULICS_1_PUMP',--('FAILURE_HYDRAULICS_1_PUMP')
        'FAILURE_HYDRAULICS_1_ACCU',--('FAILURE_HYDRAULICS_1_ACCU')
        'FAILURE_HYDRAULICS_1_EXTERNAL_LEAKAGE',--('FAILURE_HYDRAULICS_1_EXTERNAL_LEAKAGE')
        'FAILURE_HYDRAULICS_1_EXTERNAL_LEAKAGE_SEVERE',--('FAILURE_HYDRAULICS_1_EXTERNAL_LEAKAGE_SEVERE')
        'FAILURE_HYDRAULICS_1_INTERNAL_LEAKAGE',--('FAILURE_HYDRAULICS_1_INTERNAL_LEAKAGE')
        'FAILURE_HYDRAULICS_2_PUMP',--('FAILURE_HYDRAULICS_2_PUMP')
        'FAILURE_HYDRAULICS_2_ACCU',--('FAILURE_HYDRAULICS_2_ACCU')
        'FAILURE_HYDRAULICS_2_EXTERNAL_LEAKAGE',--('FAILURE_HYDRAULICS_2_EXTERNAL_LEAKAGE')
        'FAILURE_HYDRAULICS_2_EXTERNAL_LEAKAGE_SEVERE',--('FAILURE_HYDRAULICS_2_EXTERNAL_LEAKAGE_SEVERE')
        'FAILURE_HYDRAULICS_2_INTERNAL_LEAKAGE',--('FAILURE_HYDRAULICS_2_INTERNAL_LEAKAGE')

        -- Oxygen failures
        'OXY_FAILURE_AUTO_100_O2',--('OXY_FAILURE_AUTO_100_O2')
        'OXY_FAILURE_AIR_O2_SWITCH',--('OXY_FAILURE_AIR_O2_SWITCH')
        'OXY_FAILURE_HIGH_PRESS',--('OXY_FAILURE_HIGH_PRESS')
        'OXY_FAILURE_L_LEAK',--('OXY_FAILURE_L_LEAK')
        'OXY_FAILURE_L_LEAK_SEVERE',--('OXY_FAILURE_L_LEAK_SEVERE')
        'OXY_FAILURE_R_LEAK',--('OXY_FAILURE_R_LEAK')
        'OXY_FAILURE_R_LEAK_SEVERE',--('OXY_FAILURE_R_LEAK_SEVERE')

        ---- Nav related failures
        -- SHARS failure
        'SHARS_FAILURE_SENSOR',--('SHARS_FAILURE_SENSOR')

        -- INS failure
        'INS_FAILURE_GYRO',--('INS_FAILURE_GYRO')
        'INS_FAILURE_ACC',--('INS_FAILURE_ACC')
        'INS_FAILURE_DATA_INVALID',--('INS_FAILURE_DATA_INVALID')
        --[['INS_GPS_NAV_MODE_ACTIVE',--('INS_GPS_NAV_MODE_ACTIVE')]]
        'INS_FAILURE_ALGNMENT',--('INS_FAILURE_ALGNMENT')
        'INS_FAILURE_ALT_INVALID',--('INS_FAILURE_ALT_INVALID')
        'INS_DATA_DEGRADED',--('INS_DATA_DEGRADED')
        'INS_WIND_INVALID',--('INS_WIND_INVALID')
        'INS_FAILURE_GPS_RECEIVER',--('INS_FAILURE_GPS_RECEIVER')
        'INS_PU_REJECTED',--('INS_PU_REJECTED')

        -- SNS receiver failures
        'SNS_FAILURE_ANTENNA',--('SNS_FAILURE_ANTENNA')
        'FAILURE_SNS_CABLE',--('SNS_FAILURE_CABLE')
        'SNS_FAILURE_COMPUTER',--('SNS_FAILURE_COMPUTER')

        ---- Defense
        -- RWR failures
        'RWR_FAILURE_ANTENNA_FRONT_LEFT',--('RWR_FAILURE_ANTENNA_FRONT_LEFT')
        'RWR_FAILURE_ANTENNA_REAR_LEFT',--('RWR_FAILURE_ANTENNA_REAR_LEFT')
        'RWR_FAILURE_ANTENNA_FRONT_RIGHT',--('RWR_FAILURE_ANTENNA_FRONT_RIGHT')
        'RWR_FAILURE_ANTENNA_REAR_RIGHT',--('RWR_FAILURE_ANTENNA_REAR_RIGHT')
        'RWR_FAILURE_RECEIVER_XX1',--('RWR_FAILURE_RECEIVER_XX1')
        'RWR_FAILURE_RECEIVER_XX2',--('RWR_FAILURE_RECEIVER_XX2')
        'RWR_FAILURE_RECEIVER_XX3',--('RWR_FAILURE_RECEIVER_XX3')
        'RWR_FAILURE_DB_NOT_LOADED',--('RWR_FAILURE_DB_NOT_LOADED')
        'RWR_FAILURE_COMPUTER',--('RWR_FAILURE_COMPUTER')

        -- OESP failures
        'OESP_FAILURE_FL_DISP_L',--('OESP_FAILURE_FL_DISP_L')
        'OESP_FAILURE_FL_DISP_R',--('OESP_FAILURE_FL_DISP_R')
        'OESP_FAILURE_CH_DISP_L',--('OESP_FAILURE_CH_DISP_L')
        'OESP_FAILURE_CH_DISP_R',--('OESP_FAILURE_CH_DISP_R')
        'OESP_FAILURE_MAWS_L',--('OESP_FAILURE_MAWS_L')
        'OESP_FAILURE_MAWS_R',--('OESP_FAILURE_MAWS_R')

        ---- Weapon
        -- SMS failures
        'FAILURE_SMS_PYLON_1',--('FAILURE_SMS_PYLON_1')
        'FAILURE_SMS_PYLON_2',--('FAILURE_SMS_PYLON_2')
        'FAILURE_SMS_PYLON_3',--('FAILURE_SMS_PYLON_3')
        'FAILURE_SMS_PYLON_4',--('FAILURE_SMS_PYLON_4')
        'FAILURE_SMS_PYLON_5',--('FAILURE_SMS_PYLON_5')
        'FAILURE_SMS_PYLON_6',--('FAILURE_SMS_PYLON_6')
        'FAILURE_SMS_PYLON_7',--('FAILURE_SMS_PYLON_7')

        ---- Misc
        -- DTC failures
        'DTC_FAILURE_CARD_BROKEN',--('DTC_FAILURE_CARD_BROKEN')
        'DTC_FAILURE_DATA_CRC',--('DTC_FAILURE_DATA_CRC')
        'DTC_FAILURE_DATA_DECIPHER',--('DTC_FAILURE_DATA_DECIPHER')
        'DTC_FAILURE_READER_BROKEN',--('DTC_FAILURE_READER_BROKEN')

        -- radar
        'RDR_FAILURE_ARRAY',--('RDR_FAILURE_ARRAY')
        'RDR_FAILURE_PEDESTAL',--('RDR_FAILURE_PEDESTAL')
        'RDR_FAILURE_SERVOLOOP',--('RDR_FAILURE_SERVOLOOP')
        'RDR_FAILURE_RX_FRONT_END',--('RDR_FAILURE_RX_FRONT_END')
        'RDR_FAILURE_RECEIVER',--('RDR_FAILURE_RECEIVER')
        'RDR_FAILURE_TRANSMITTER',--('RDR_FAILURE_TRANSMITTER')
        'RDR_FAILURE_PROCESSOR',--('RDR_FAILURE_PROCESSOR')
        'RDR_FAILURE_ANTENNA_DEGRATION',--('RDR_FAILURE_ANTENNA_DEGRATION')
        'RDR_FAILURE_RX_FRONT_END_DEGRATION',--('RDR_FAILURE_RX_FRONT_END_DEGRATION')
        'RDR_FAILURE_RECEIVER_DEGRATION',--('RDR_FAILURE_RECEIVER_DEGRATION')
        'RDR_FAILURE_TRANSMITTER_DEGRATION',--('RDR_FAILURE_TRANSMITTER_DEGRATION')
        'RDR_FAILURE_PROCESSOR_DEGRATION',--('RDR_FAILURE_PROCESSOR_DEGRATION')
        'RDR_FAILURE_TRANSMITTER_OVERHEAT',--('RDR_FAILURE_TRANSMITTER_OVERHEAT')
        'RDR_FAILURE_PROCESSOR_OVERHEAT',--('RDR_FAILURE_PROCESSOR_OVERHEAT')
        'RDR_FAILURE_SERVO_OVERHEAT',--('RDR_FAILURE_SERVO_OVERHEAT')
        'RDR_FAILURE_PREESURIZATION',--('RDR_FAILURE_PREESURIZATION')
        'RDR_FAILURE_DEGRATED_PERFORMANCE',--('RDR_FAILURE_DEGRATED_PERFORMANCE')

        -- WCS
        'MWMMC_FAILURE',--('MWMMC_FAILURE')
        'MWMMC_FAILURE_CPU',--('MWMMC_FAILURE_CPU')
        'MWMMC_FAILURE_IOC',--('MWMMC_FAILURE_IOC')
        'MWMMC_FAILURE_MBI',--('MWMMC_FAILURE_MBI')
        'MWMMC_FAILURE_AVI',--('MWMMC_FAILURE_AVI')
        'MWMMC_FAILURE_DMP',--('MWMMC_FAILURE_DMP')
        'MWMMC_FAILURE_PS',--('MWMMC_FAILURE_PS')
        'MWMMC_FAILURE_1553B_EMMC',--('MWMMC_FAILURE_1553B_EMMC')
        'MWMMC_FAILURE_1553B_FCS',--('MWMMC_FAILURE_1553B_FCS')
        'MWMMC_FAILURE_1553B_IFF',--('MWMMC_FAILURE_1553B_IFF')
        'MWMMC_FAILURE_1553B_ILS',--('MWMMC_FAILURE_1553B_ILS')
        'MWMMC_FAILURE_1553B_INS',--('MWMMC_FAILURE_1553B_INS')
        'MWMMC_FAILURE_1553B_LMFCD',--('MWMMC_FAILURE_1553B_LMFCD')
        'MWMMC_FAILURE_1553B_CMFCD',--('MWMMC_FAILURE_1553B_CMFCD')
        'MWMMC_FAILURE_1553B_RMFCD',--('MWMMC_FAILURE_1553B_RMFCD')
        'MWMMC_FAILURE_1553B_RDR',--('MWMMC_FAILURE_1553B_RDR')
        'MWMMC_FAILURE_1553B_OESP',--('MWMMC_FAILURE_1553B_OESP')
        'MWMMC_FAILURE_1553B_RALT',--('MWMMC_FAILURE_1553B_RALT')
        'MWMMC_FAILURE_1553B_RWR',--('MWMMC_FAILURE_1553B_RWR')
        'MWMMC_FAILURE_1553B_SAIU',--('MWMMC_FAILURE_1553B_SAIU')
        'MWMMC_FAILURE_1553B_HUD',--('MWMMC_FAILURE_1553B_HUD')
        'MWMMC_FAILURE_1553B_SPJ',--('MWMMC_FAILURE_1553B_SPJ')
        'MWMMC_FAILURE_1553B_TACAN',--('MWMMC_FAILURE_1553B_TACAN')
        'SWMMC_FAILURE',--('SWMMC_FAILURE')
        'SWMMC_FAILURE_CPU',--('SWMMC_FAILURE_CPU')
        'SWMMC_FAILURE_IOC',--('SWMMC_FAILURE_IOC')
        'SWMMC_FAILURE_MBI',--('SWMMC_FAILURE_MBI')
        'SWMMC_FAILURE_AVI',--('SWMMC_FAILURE_AVI')
        'SWMMC_FAILURE_DMP',--('SWMMC_FAILURE_DMP')
        'SWMMC_FAILURE_PS',--('SWMMC_FAILURE_PS')
        'SWMMC_FAILURE_CTVS',--('SWMMC_FAILURE_CTVS')
        'SWMMC_FAILURE_HUD',--('SWMMC_FAILURE_HUD')
        'SWMMC_FAILURE_LMFCD',--('SWMMC_FAILURE_LMFCD')
        'SWMMC_FAILURE_CMFCD',--('SWMMC_FAILURE_CMFCD')
        'SWMMC_FAILURE_RMFCD',--('SWMMC_FAILURE_RMFCD')
        'SWMMC_AAP_NO_RS422_COMM',--('SWMMC_AAP_NO_RS422_COMM')
        'SWMMC_FAILURE_AAP',--('SWMMC_FAILURE_AAP')
        'SWMMC_DVR_NO_RS422_COMM',--('SWMMC_DVR_NO_RS422_COMM')
        'SWMMC_FAILURE_DVR',--('SWMMC_FAILURE_DVR')
        'SWMMC_CSU_NO_RS422_COMM',--('SWMMC_CSU_NO_RS422_COMM')
        'SWMMC_FAILURE_CSU',--('SWMMC_FAILURE_CSU')

        ---- EMMC MISC
        'EMMC_FAILURE_DADS',--('EMMC_FAILURE_DADS')
        'EMMC_FAILURE_LANDING_GEAR',--('EMMC_FAILURE_LANDING_GEAR')
        'EMMC_FAILURE_FUEL_LOW_LEVEL',--('EMMC_FAILURE_FUEL_LOW_LEVEL')
        'EMMC_FAILURE_FUEL_START_PUMP',--('EMMC_FAILURE_FUEL_START_PUMP')
        'EMMC_FAILURE_FUEL_LOWER_PUMP',--('EMMC_FAILURE_FUEL_LOWER_PUMP')
        'EMMC_FAILURE_FUEL_UPPER_PUMP',--('EMMC_FAILURE_FUEL_UPPER_PUMP')
        'EMMC_FAILURE_CANOPY_UNLOCK',--('EMMC_FAILURE_CANOPY_UNLOCK')
        'EMMC_FAILURE_COCKPIT_PRESSURE_LOW',--('EMMC_FAILURE_COCKPIT_PRESSURE_LOW')
        'EMMC_FAILURE_TRU',--('EMMC_FAILURE_TRU')
        'EMMC_FAILURE_LWC',--('EMMC_FAILURE_LWC')
        'EMMC_FAILURE_EMMC',--('EMMC_FAILURE_EMMC')
        'EMMC_FAILURE_PROBES_HEATING',--('EMMC_FAILURE_PROBES_HEATING')
        'EMMC_FAILURE_STATIC_INVERTER',--('EMMC_FAILURE_STATIC_INVERTER')
        'EMMC_FAILURE_ECS_OFF',--('EMMC_FAILURE_ECS_OFF')
        'EMMC_FAILURE_ELECT_EQUIP_HOT',--('EMMC_FAILURE_ELECT_EQUIP_HOT')
        'EMMC_FAILURE_SHARS',--('EMMC_FAILURE_SHARS')
        'EMMC_FAILURE_BAU',--('EMMC_FAILURE_BAU')
        'EMMC_FAILURE_DADS_RPTU',--('EMMC_FAILURE_DADS_RPTU')
        'EMMC_FAILURE_DADS_LPTU',--('EMMC_FAILURE_DADS_LPTU')
        'EMMC_FAILURE_DADS_MPTU',--('EMMC_FAILURE_DADS_MPTU')

        -- CNI
        'CNI_FAILURE_COM1',--('CNI_FAILURE_COM1')
        'CNI_FAILURE_COM1_SECOS',--('CNI_FAILURE_COM1_SECOS')
        'CNI_FAILURE_COM2',--('CNI_FAILURE_COM2')
        'CNI_FAILURE_COM2_SECOS',--('CNI_FAILURE_COM2_SECOS')
        'CNI_FAILURE_TACAN',--('CNI_FAILURE_TACAN')
        'CNI_FAILURE_ILS',--('CNI_FAILURE_ILS')
        'CNI_FAILURE_IFF_TX',--('CNI_FAILURE_IFF_TX')
        'CNI_FAILURE_IFF_RX',--('CNI_FAILURE_IFF_RX')
        'CNI_FAILURE_RALT',--('CNI_FAILURE_RALT')
        -- ZCP
        'ZCP_FAILURE_MALFUNC',--('ZCP_FAILURE_MALFUNC')
        'FCS_FAILURE_COMP_1', --('FCS_FAILURE_COMP_1')
        'FCS_FAILURE_COMP_2', --('FCS_FAILURE_COMP_2')
        'FCS_FAILURE_COMP_3', --('FCS_FAILURE_COMP_3')
        'FCS_FAILURE_COMP_4', --('FCS_FAILURE_COMP_4')
        'FCS_FAILURE_L_ELEVATOR_ELEC_A', --('FCS_FAILURE_L_ELEVATOR_ELEC_A')
        'FCS_FAILURE_L_ELEVATOR_ELEC_B', --('FCS_FAILURE_L_ELEVATOR_ELEC_B')
        'FCS_FAILURE_L_ELEVATOR_ELEC_C', --('FCS_FAILURE_L_ELEVATOR_ELEC_C')
        'FCS_FAILURE_L_ELEVATOR_ELEC_D', --('FCS_FAILURE_L_ELEVATOR_ELEC_D')
        'FCS_FAILURE_R_ELEVATOR_ELEC_A', --('FCS_FAILURE_R_ELEVATOR_ELEC_A')
        'FCS_FAILURE_R_ELEVATOR_ELEC_B', --('FCS_FAILURE_R_ELEVATOR_ELEC_B')
        'FCS_FAILURE_R_ELEVATOR_ELEC_C', --('FCS_FAILURE_R_ELEVATOR_ELEC_C')
        'FCS_FAILURE_R_ELEVATOR_ELEC_D', --('FCS_FAILURE_R_ELEVATOR_ELEC_D')
        'FCS_FAILURE_L_ELEVATOR_HYD_1', --('FCS_FAILURE_L_ELEVATOR_HYD_1')
        'FCS_FAILURE_L_ELEVATOR_HYD_2', --('FCS_FAILURE_L_ELEVATOR_HYD_2')
        'FCS_FAILURE_R_ELEVATOR_HYD_1', --('FCS_FAILURE_R_ELEVATOR_HYD_1')
        'FCS_FAILURE_R_ELEVATOR_HYD_2', --('FCS_FAILURE_R_ELEVATOR_HYD_2')
        'FCS_FAILURE_ROLL_ELEC_SERVO_1', --('FCS_FAILURE_ROLL_ELEC_SERVO_1')
        'FCS_FAILURE_ROLL_ELEC_SERVO_2', --('FCS_FAILURE_ROLL_ELEC_SERVO_2')
        'FCS_FAILURE_YAW_ELEC_SERVO_1', --('FCS_FAILURE_YAW_ELEC_SERVO_1')
        'FCS_FAILURE_YAW_ELEC_SERVO_2', --('FCS_FAILURE_YAW_ELEC_SERVO_2')
        'FCS_FAILURE_PITCH_RATE_GYRO_1', --('FCS_FAILURE_PITCH_RATE_GYRO_1')
        'FCS_FAILURE_PITCH_RATE_GYRO_2', --('FCS_FAILURE_PITCH_RATE_GYRO_2')
        'FCS_FAILURE_PITCH_RATE_GYRO_3', --('FCS_FAILURE_PITCH_RATE_GYRO_3')
        'FCS_FAILURE_PITCH_RATE_GYRO_4', --('FCS_FAILURE_PITCH_RATE_GYRO_4')
        'FCS_FAILURE_ROLL_RATE_GYRO_1', --('FCS_FAILURE_ROLL_RATE_GYRO_1')
        'FCS_FAILURE_ROLL_RATE_GYRO_2', --('FCS_FAILURE_ROLL_RATE_GYRO_2')
        'FCS_FAILURE_YAW_RATE_GYRO_1', --('FCS_FAILURE_YAW_RATE_GYRO_1')
        'FCS_FAILURE_YAW_RATE_GYRO_2', --('FCS_FAILURE_YAW_RATE_GYRO_2')
        'FCS_FAILURE_NZ_SENSOR_1', --('FCS_FAILURE_NZ_SENSOR_1')
        'FCS_FAILURE_NZ_SENSOR_2', --('FCS_FAILURE_NZ_SENSOR_2')
        'FCS_FAILURE_NZ_SENSOR_3', --('FCS_FAILURE_NZ_SENSOR_3')
        'FCS_FAILURE_NZ_SENSOR_4', --('FCS_FAILURE_NZ_SENSOR_4')
        'FCS_FAILURE_NY_SENSOR_1', --('FCS_FAILURE_NY_SENSOR_1')
        'FCS_FAILURE_NY_SENSOR_2', --('FCS_FAILURE_NY_SENSOR_2')
        'FCS_FAILURE_PITCH_LVDT_1', --('FCS_FAILURE_PITCH_LVDT_1')
        'FCS_FAILURE_PITCH_LVDT_2', --('FCS_FAILURE_PITCH_LVDT_2')
        'FCS_FAILURE_PITCH_LVDT_3', --('FCS_FAILURE_PITCH_LVDT_3')
        'FCS_FAILURE_PITCH_LVDT_4', --('FCS_FAILURE_PITCH_LVDT_4')
        'FCS_FAILURE_ROLL_LVDT_1', --('FCS_FAILURE_ROLL_LVDT_1')
        'FCS_FAILURE_ROLL_LVDT_2', --('FCS_FAILURE_ROLL_LVDT_2')
        'FCS_FAILURE_YAW_LVDT_1', --('FCS_FAILURE_YAW_LVDT_1')
        'FCS_FAILURE_YAW_LVDT_2', --('FCS_FAILURE_YAW_LVDT_2')
        'FCS_FAILURE_AOA_SENSOR_1', --('FCS_FAILURE_AOA_SENSOR_1')
        'FCS_FAILURE_AOA_SENSOR_2', --('FCS_FAILURE_AOA_SENSOR_2')
        'FCS_FAILURE_AOA_SENSOR_3', --('FCS_FAILURE_AOA_SENSOR_3')
        'FCS_FAILURE_Q_SENSOR_1', --('FCS_FAILURE_Q_SENSOR_1')
        'FCS_FAILURE_Q_SENSOR_2', --('FCS_FAILURE_Q_SENSOR_2')
        'FCS_FAILURE_Q_SENSOR_3', --('FCS_FAILURE_Q_SENSOR_3')
        'FCS_FAILURE_Q_SENSOR_4', --('FCS_FAILURE_Q_SENSOR_4')
        'FCS_FAILURE_P_SENSOR_1', --('FCS_FAILURE_P_SENSOR_1')
        'FCS_FAILURE_P_SENSOR_2', --('FCS_FAILURE_P_SENSOR_2')
        'FCS_FAILURE_P_SENSOR_3', --('FCS_FAILURE_P_SENSOR_3')
        'FCS_FAILURE_P_SENSOR_4', --('FCS_FAILURE_P_SENSOR_4')
        'FCS_FAILURE_ROLL_AUGD_1', --('FCS_FAILURE_ROLL_AUGD_1')
        'FCS_FAILURE_ROLL_AUGD_2', --('FCS_FAILURE_ROLL_AUGD_2')
        'FCS_FAILURE_YAW_AUGD_1', --('FCS_FAILURE_YAW_AUGD_1')
        'FCS_FAILURE_YAW_AUGD_2', --('FCS_FAILURE_YAW_AUGD_2')
        'FCS_FAILURE_EFCS_1', --('FCS_FAILURE_EFCS_1')
        'FCS_FAILURE_EFCS_2', --('FCS_FAILURE_EFCS_2')
        'FCS_FAILURE_WOW_1', --('FCS_FAILURE_WOW_1')
        'FCS_FAILURE_WOW_2', --('FCS_FAILURE_WOW_2')
        'FCS_FAILURE_WOW_3', --('FCS_FAILURE_WOW_3')
        'FCS_FAILURE_WOW_4', --('FCS_FAILURE_WOW_4')
        'FCS_FAILURE_LG_1', --('FCS_FAILURE_LG_1')
        'FCS_FAILURE_LG_2', --('FCS_FAILURE_LG_2')
        'FCS_FAILURE_LG_3', --('FCS_FAILURE_LG_3')
        'FCS_FAILURE_LG_4', --('FCS_FAILURE_LG_4')

        'ENGINE_FAILURE_AB_IGNITION_UNIT', --('ENGINE_FAILURE_AB_IGNITION_UNIT')
        'ENGINE_FAILURE_APD88_STARTER', --('ENGINE_FAILURE_APD88_STARTER')
        'ENGINE_FAILURE_N1_COMPRESSOR', --('ENGINE_FAILURE_N1_COMPRESSOR')
        'ENGINE_FAILURE_N2_COMPRESSOR', --('ENGINE_FAILURE_N2_COMPRESSOR')
        'ENGINE_FAILURE_N1_TURBINE', --('ENGINE_FAILURE_N1_TURBINE')
        'ENGINE_FAILURE_N2_TURBINE', --('ENGINE_FAILURE_N2_TURBINE')
        'ENGINE_FAILURE_COMBUSTOR', --('ENGINE_FAILURE_COMBUSTOR')
        'ENGINE_FAILURE_NOZZLE_CONTROLLER', --('ENGINE_FAILURE_NOZZLE_CONTROLLER')
        'ENGINE_FAILURE_DEEC', --('ENGINE_FAILURE_DEEC')
    },

	["Ka-50"] =
	{
		'hydro_main',  --('HYDRO MAIN'), 		
		'hydro_common',  --('HYDRO COMMON'), 	
		'l_engine',  --('L-ENGINE'), 		
		'r_engine',  --('R-ENGINE'), 		
		'asc_p',  	--('ASC PITCH'), 	
		'asc_r',  	--('ASC ROLL'), 		
		'asc_y',  	--('ASC YAW'), 		
		'asc_a',  	--('ASC ALT'), 		
		'abris_software',  	--('ABRIS SOFTWARE'),	
		'abris_hardware',  	--('ABRIS HARDWARE'),	
		'laser_failure' ,  	--('LASER FAILURE'),		
		'RADAR_ALT_TOTAL_FAILURE', 	--("RALT FAILURE"), 
	},
	["Ka-50 III"] =
	{
		'hydro_main',  --('HYDRO MAIN'), 		
		'hydro_common',  --('HYDRO COMMON'), 	
		'l_engine',  --('L-ENGINE'), 		
		'r_engine',  --('R-ENGINE'), 		
		'asc_p',  	--('ASC PITCH'), 	
		'asc_r',  	--('ASC ROLL'), 		
		'asc_y',  	--('ASC YAW'), 		
		'asc_a',  	--('ASC ALT'), 		
		'abris_software',  	--('ABRIS SOFTWARE'),	
		'abris_hardware',  	--('ABRIS HARDWARE'),	
		'laser_failure' ,  	--('LASER FAILURE'),		
		'RADAR_ALT_TOTAL_FAILURE', 	--("RALT FAILURE"), 
		'DNS_FAILURE',  --('DNS failure'), 	
		'IMU_FAILURE',  --('INS failure'), 	
	},
	["Mi-24P"] =
	{
		'APU_Fire',--('AI-98 Tank-3 Fire'),
		'LeftEngine_Fire',--('Left Engine Fire'),
		'RightEngine_Fire',--('Right Engine Fire'),
		'MainReducer_Fire',--('Main Reducer Fire'),
	},
}

DataCountry = {

	{id = 0, name = "Russia"},
	{id = 1, name = "Ukraine"},
	{id = 2, name = "USA"},
	{id = 3, name = "Turkey"},
	{id = 4, name = "UK"},
	{id = 5, name = "France"},
	{id = 6, name = "Germany"},
	{id = 7, name = "US Aggressors"},
	{id = 8, name = "Canada"},
	{id = 9, name = "Spain"},
	{id = 10, name = "The Netherlands"},
	{id = 11, name = "Belgium"},
	{id = 12, name = "Norway"},
	{id = 13, name = "Denmark"},
	{id = 14, name = ""},
	{id = 15, name = "Israel"},
	{id = 16, name = "Georgia"},
	{id = 17, name = "Insurgents"},
	{id = 18, name = "Abkhazia"},
	{id = 19, name = "South Ossetia"},
	{id = 20, name = "Italy"},

	{id = 21, name = "Italy"},
	{id = 22, name = "Switzerland"},
	{id = 23, name = "Austria"},
	{id = 24, name = "Belarus"},
	{id = 25, name = "Bulgar"},
	{id = 26, name = "Czech"},
	{id = 27, name = "China"},
	{id = 28, name = "Croatia"},
	{id = 29, name = "Egypt"},
	{id = 30, name = "Finland"},
	{id = 31, name = "Greece"},
	{id = 32, name = "Hungary"},
	{id = 33, name = "India"},
	{id = 34, name = "Iran"},
	{id = 35, name = "Iraq"},
	{id = 36, name = "Japan"},
	{id = 37, name = "Kazakhstan"},
	{id = 38, name = "North Korea"},
	{id = 39, name = "Pakistan"},
	{id = 40, name = "Poland"},

	{id = 41, name = "Romania"},
	{id = 42, name = "Saudi Arabia"},
	{id = 43, name = "Serbia"},
	{id = 44, name = "Slovakia"},
	{id = 45, name = "South Korea"},
	{id = 46, name = "Sweden"},
	{id = 47, name = "Syria"},
	{id = 48, name = "Yemen"},
	{id = 49, name = "Vietnam"},
	{id = 50, name = "Venezuela"},
	{id = 51, name = "Tunisia"},
	{id = 52, name = "Thailand"},
	{id = 53, name = "Sudan"},
	{id = 54, name = "Philippines"},
	{id = 55, name = "Morocco"},
	{id = 56, name = "Mexico"},
	{id = 57, name = "Malaysia"},
	{id = 58, name = "Libia"},
	{id = 59, name = "Jordan"},
	{id = 60, name = "Indonesia"},

	{id = 61, name = "Honduras"},
	{id = 62, name = "Ethiopia"},
	{id = 63, name = "Chile"},
	{id = 64, name = "Brazil"},
	{id = 65, name = "Bahrain"},
	{id = 66, name = "Third Reich"},
	{id = 67, name = "Yugoslavia"},
	{id = 68, name = "USSR"},
	{id = 69, name = "Italian Socialist Republic"},
	{id = 70, name = "Algeria"},
	{id = 71, name = "Kuwait"},
	{id = 72, name = "Quatar"},
	{id = 73, name = "Oman"},
	{id = 74, name = "UAE"},
	{id = 75, name = "South Afrika"},
	{id = 76, name = "Cuba"},
	{id = 77, name = "Portugal"},
	{id = 78, name = "DDR"},
	{id = 79, name = "Lebanon"},
	{id = 80, name = "Combined Joint Task Force Blue"},

	{id = 81, name = "Combined Joint Task Force Red"},
	{id = 82, name = "UN"},
	{id = 83, name = "Argentina"},
	{id = 84, name = "Cyprus"},
	{id = 85, name = "Slovenia"},
	{id = 86, name = "Bolivia"},
	{id = 87, name = "Ghana"},
	{id = 88, name = "Nigeria"},
	{id = 89, name = "Peru"},

}
