Make sure order of options doesn't depend on order of options in memory (which can be random as it's dict)

This commit is contained in:
DarkPhoenix
2019-02-11 12:57:27 +03:00
parent a5efea56ab
commit f2deb0e6c7
2 changed files with 8 additions and 14 deletions

View File

@@ -51,16 +51,10 @@ MODULE_CATS = ('Module', 'Subsystem', 'Structure Module')
SLOT_ORDER = (Slot.LOW, Slot.MED, Slot.HIGH, Slot.RIG, Slot.SUBSYSTEM, Slot.SERVICE)
OFFLINE_SUFFIX = '/OFFLINE'
EFT_OPTIONS = {
Options.IMPLANTS.value: {
'name': 'Implants && Boosters',
'description': 'Exports implants and boosters'
},
Options.MUTATIONS.value: {
'name': 'Mutated Attributes',
'description': 'Exports mutated modules\' stats'
}
}
EFT_OPTIONS = (
(Options.IMPLANTS.value, 'Implants && Boosters', 'Exports implants and boosters'),
(Options.MUTATIONS.value, 'Mutated Attributes', 'Exports mutated modules\' stats'),
)
def exportEft(fit, options):