mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-19 05:36:02 +00:00
#UTILS - Added CALLSIGN.Intruder enumeration for the A-6E
This commit is contained in:
@@ -249,7 +249,23 @@ CALLSIGN={
|
|||||||
Stetson = 22,
|
Stetson = 22,
|
||||||
Wrath = 23,
|
Wrath = 23,
|
||||||
},
|
},
|
||||||
|
Intruder = {
|
||||||
|
Raygun = 4,
|
||||||
|
Heartless = 5,
|
||||||
|
Viceroy = 6,
|
||||||
|
Cupcake = 7,
|
||||||
|
["Flying Tiger"] = 8,
|
||||||
|
["Flying Ace"] = 9,
|
||||||
|
Buckeye = 10,
|
||||||
|
Goldplate = 11,
|
||||||
|
Phoenix = 12,
|
||||||
|
Electron = 13,
|
||||||
|
Rustler = 14,
|
||||||
|
Vixen = 15,
|
||||||
|
Jackal = 16,
|
||||||
|
Milestone = 17,
|
||||||
|
Devil = 18,
|
||||||
|
},
|
||||||
} --#CALLSIGN
|
} --#CALLSIGN
|
||||||
|
|
||||||
--- Utilities static class.
|
--- Utilities static class.
|
||||||
@@ -2014,6 +2030,12 @@ function UTILS.GetCallsignName(Callsign)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for name, value in pairs(CALLSIGN.Intruder) do
|
||||||
|
if value==Callsign then
|
||||||
|
return name
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
return "Ghostrider"
|
return "Ghostrider"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user