feat: add "factionID" to the TypeID datafile (#22)
This is a breaking change, and not backwards compatible.
This commit is contained in:
@@ -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:
|
||||
|
||||
11
esf.proto
11
esf.proto
@@ -28,11 +28,12 @@ message TypeIDs {
|
||||
required int32 categoryID = 3;
|
||||
required bool published = 4;
|
||||
|
||||
optional int32 marketGroupID = 5;
|
||||
optional float capacity = 6;
|
||||
optional float mass = 7;
|
||||
optional float radius = 8;
|
||||
optional float volume = 9;
|
||||
optional int32 factionID = 5;
|
||||
optional int32 marketGroupID = 6;
|
||||
optional float capacity = 7;
|
||||
optional float mass = 8;
|
||||
optional float radius = 9;
|
||||
optional float volume = 10;
|
||||
}
|
||||
|
||||
map<int32, TypeID> entries = 1;
|
||||
|
||||
Reference in New Issue
Block a user