Add context menu support for predefined implant sets

This commit is contained in:
DarkPhoenix
2020-04-06 22:20:28 +03:00
parent 7f35c78a65
commit 543089bcd9
7 changed files with 146 additions and 36 deletions

View File

@@ -484,6 +484,8 @@ def update_db():
break
data = []
for (gradeName, setName), implants in implantSets.items():
if len(implants) < 2:
continue
implants = ','.join('{}'.format(tid) for tid in sorted(implants))
row = {'setName': setName, 'gradeName': gradeName, 'implants': implants}
data.append(row)