feat: add "factionID" to the TypeID datafile (#22)

This is a breaking change, and not backwards compatible.
This commit is contained in:
Patric Stout
2023-11-26 21:46:32 +01:00
committed by GitHub
parent 993671259d
commit f754a7f9f1
2 changed files with 8 additions and 5 deletions

View File

@@ -62,6 +62,8 @@ def convert_type_ids(path):
if groupIDs[entry["groupID"]]["categoryID"] == 6:
ships.append(id)
if "factionID" in entry:
pb2.entries[id].factionID = entry["factionID"]
if "marketGroupID" in entry:
pb2.entries[id].marketGroupID = entry["marketGroupID"]
if "capacity" in entry: