Also look for Liberation payloads

This commit is contained in:
Raffson 2022-10-29 21:08:22 +02:00
parent b64a0f17eb
commit 6606f0f58b
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -151,10 +151,22 @@ class Loadout:
# names, so those have been included here too. The priority goes from first to
# last - the first element in the tuple will be tried first, then the second,
# etc.
loadout_names = {t: [f"Retribution {t.value}"] for t in FlightType}
loadout_names = {
t: [f"Retribution {t.value}", f"Liberation {t.value}"] for t in FlightType
}
legacy_names = {
FlightType.TARCAP: ("CAP HEAVY", "CAP", "Retribution BARCAP"),
FlightType.BARCAP: ("CAP HEAVY", "CAP", "Retribution TARCAP"),
FlightType.TARCAP: (
"CAP HEAVY",
"CAP",
"Retribution BARCAP",
"Liberation BARCAP",
),
FlightType.BARCAP: (
"CAP HEAVY",
"CAP",
"Retribution TARCAP",
"Liberation TARCAP",
),
FlightType.CAS: ("CAS MAVERICK F", "CAS"),
FlightType.STRIKE: ("STRIKE",),
FlightType.ANTISHIP: ("ANTISHIP",),