Update vehicles-lua.bat

This update allows you to drop the batt file in your [Cars] folder and it will search though your sub folders making a easier and quicker output.lua
This commit is contained in:
Court-Room-Gaming
2024-07-03 00:35:31 -07:00
committed by GitHub
parent 28d1f6ef9c
commit 5e91afec46

View File

@@ -5,7 +5,7 @@ set LUA_FILE=output.lua
echo "return {" > %LUA_FILE%
for %%f in (*.ytd) do (
for /R %%f in (*.ytd) do (
set name=%%~nf
set name=!name:_= !
echo " { model = '!name!', name = '!name!', brand = 'somebrand', price = 125000, category = 'compacts', type = 'automobile', shop = 'pdm' }," >> %LUA_FILE%