Minor update to export scripts and added Kiowa

This commit is contained in:
Pax1601
2024-07-18 10:57:41 +02:00
parent e77356cb61
commit 274c16851e
9 changed files with 26382 additions and 4836 deletions

View File

@@ -51,11 +51,11 @@ if len(sys.argv) > 1:
database[unit_name]["engagementRange"] = unitmap[found_name].threat_range
except Exception as e:
print(f"Could not find data for aircraft of type {unit_name}: {e}, skipping...")
print(f"Could not find data for unitof type {unit_name}: {e}, skipping...")
# Dump everything in the database
with open(filename, "w") as f:
json.dump(database, f, indent=2)
with open(filename, "w", encoding='utf8') as f:
json.dump(database, f, indent='\t', ensure_ascii=False)
# Done!
print("Done!")