1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

Update Engineering for suits

This commit is contained in:
A_D 2021-06-02 12:28:06 +02:00
parent 71afdf0bdb
commit 571db43257
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

@ -1110,14 +1110,14 @@ def journal_entry( # noqa: C901, CCR001
'loadoutName': entry['LoadoutName'],
'suitGameID': entry['SuitID'],
'suitType': entry['SuitName'],
'suitMods': entry['SuitMods'],
'suitMods': [{'blueprintName': mod} for mod in entry['SuitMods']],
'suitLoadout': [
{
'slotName': x['SlotName'],
'itemName': x['ModuleName'],
'itemClass': x['Class'],
'itemGameID': x['SuitModuleID'],
'engineering': x['WeaponMods'], # TODO: Verify.
'engineering': [{'blueprintName': mod} for mod in x['WeaponMods']],
} for x in entry['Modules']
],
}
@ -1149,7 +1149,7 @@ def journal_entry( # noqa: C901, CCR001
'itemName': entry['ModuleName'],
'itemGameID': entry['SuitModuleID'],
'itemClass': entry['Class'],
'engineering': [], # TODO: Check casing of names for this
'engineering': [{'blueprintName': mod} for mod in entry['WeaponMods']],
}
],
}