More work on country selection

This commit is contained in:
Pax1601
2023-08-29 19:17:36 +02:00
parent 9d7e61556d
commit d5f4b5c711
282 changed files with 5218 additions and 1043 deletions

View File

@@ -69,7 +69,10 @@ if len(sys.argv) > 1:
database[unit_name]["liveries"] = {}
for livery in liveries:
database[unit_name]["liveries"][livery.id] = livery.name
database[unit_name]["liveries"][livery.id] = {
"name": livery.name,
"countries": [country for country in livery.countries]
}
# Create the loadouts table and add the empty loadout for the default task
database[unit_name]["loadouts"] = []