support: vscode + VINTAGESTORY_DATA env + optional ConfigLib with warning (#1)

Co-authored-by: HoutarouOreki <thezjarek@gmail.com>
Co-committed-by: HoutarouOreki <thezjarek@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
2026-03-15 00:18:05 +01:00
committed by Jarosław Zgierski
parent a5f2f8d1ae
commit ec89baded7
5 changed files with 143 additions and 53 deletions

24
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,24 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Vintage Story Client",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build mod",
"program": "${env:VINTAGE_STORY}/Vintagestory.dll",
"args": [
"--tracelog",
"--dataPath",
"${env:VINTAGE_STORY_DATA}",
"--addModPath",
"${workspaceFolder}/ChestPreview/ChestPreview/bin/Debug/Mods",
"--addOrigin",
"${workspaceFolder}/ChestPreview/ChestPreview/assets"
],
"cwd": "${env:VINTAGE_STORY}",
"console": "integratedTerminal",
"stopAtEntry": false
}
]
}