Updated python scripts

This commit is contained in:
Pax1601
2024-05-29 15:49:37 +02:00
parent 6db4455d5a
commit c477dcd065
12 changed files with 1155 additions and 245 deletions

View File

@@ -4,7 +4,7 @@ import inspect
import difflib
from slpp import slpp as lua
SEARCH_FOLDER = "D:\\Eagle Dynamics\\DCS World OpenBeta"
SEARCH_FOLDER = sys.argv[2]
from dcs.vehicles import *
from dcs.ships import *
@@ -36,8 +36,8 @@ if len(sys.argv) > 1:
"name": unit.id,
"coalition": "",
"era": "",
"label": unit.name,
"shortLabel": unit.name,
"label": unit.livery_name,
"shortLabel": unit.livery_name,
"type": unit.__qualname__.split(".")[0],
"enabled": False,
"liveries": {}