mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-07-20 22:03:25 +00:00
#UTILS - Added CALLSIGN.Intruder enumeration for the A-6E
This commit is contained in:
@@ -249,7 +249,23 @@ CALLSIGN={
|
||||
Stetson = 22,
|
||||
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
|
||||
|
||||
--- Utilities static class.
|
||||
@@ -2014,6 +2030,12 @@ function UTILS.GetCallsignName(Callsign)
|
||||
end
|
||||
end
|
||||
|
||||
for name, value in pairs(CALLSIGN.Intruder) do
|
||||
if value==Callsign then
|
||||
return name
|
||||
end
|
||||
end
|
||||
|
||||
return "Ghostrider"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user