Updated database with Chinook

This commit is contained in:
Pax1601
2024-11-16 11:16:52 +01:00
parent 4bbe5eb2f8
commit 17c71eb4ed
5 changed files with 8785 additions and 6876 deletions

View File

@@ -192,7 +192,7 @@ if len(sys.argv) > 1:
}
database[unit_name]["loadouts"].append(new_payload)
except Exception as e:
print(f"Could not find data for unitof type {unit_name}: {e}, skipping...")
print(f"Could not find data for unit of type {unit_name}: {e}, skipping...")
# Dump everything in the database
with open(filename, "w", encoding='utf8') as f:

View File

@@ -40,7 +40,8 @@ if len(sys.argv) > 1:
"shortLabel": unit.livery_name if hasattr(unit, "livery_name") else unit.name,
"type": unit.__qualname__.split(".")[0],
"enabled": False,
"liveries": {}
"liveries": {},
"category": sys.argv[1]
}
print("Added missing unit " + unit.id)

File diff suppressed because it is too large Load Diff