add readme, update ways to run

This commit is contained in:
2026-03-15 21:28:29 +01:00
parent ec89baded7
commit ea0eed03e2
5 changed files with 96 additions and 25 deletions

17
.vscode/launch.json vendored
View File

@@ -3,22 +3,9 @@
"configurations": [
{
"name": "Vintage Story Client",
"type": "coreclr",
"type": "dotnet",
"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
"projectPath": "${workspaceFolder}/ChestPreview/ChestPreview/ChestPreview.csproj"
}
]
}

16
.vscode/tasks.json vendored
View File

@@ -16,20 +16,24 @@
"type": "process",
"dependsOn": ["check env"],
"dependsOrder": "sequence",
"options": {
"env": {
"VINTAGE_STORY": "${env:VINTAGE_STORY}"
}
},
"args": [
"build",
"${workspaceFolder}/ChestPreview/ChestPreview/ChestPreview.csproj",
"-c",
"Debug",
"${input:buildConfig}",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
}
],
"inputs": [
{
"id": "buildConfig",
"type": "pickString",
"description": "Build configuration",
"options": ["Debug", "Release", "Version22"],
"default": "Debug"
}
]
}