mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
More work on country selection
This commit is contained in:
2
scripts/python/.vscode/launch.json
vendored
2
scripts/python/.vscode/launch.json
vendored
@@ -11,7 +11,7 @@
|
||||
"program": "${file}",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": true,
|
||||
"args": ["C:\\Users\\Davide Passoni\\Documents\\DCSOlympus\\client\\public\\databases\\units\\aircraftdatabase.json"]
|
||||
"args": ["C:\\Users\\dpass\\Documents\\DCSOlympus\\client\\public\\databases\\units\\aircraftdatabase.json"]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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"] = []
|
||||
|
||||
Reference in New Issue
Block a user