This commit is contained in:
2025-11-25 14:10:22 +08:00
parent a69ab6b8dd
commit 4bcb45d683
3 changed files with 90 additions and 54 deletions

View File

@@ -1,22 +0,0 @@
{
"mcpServers": {
"rimworld-knowledge-base": {
"command": "python",
"args": [
"mcpserver_stdio.py"
],
"cwd": "${workspaceFolder}/MCP/",
"disabled": false,
"alwaysAllow": []
},
"rimworld-knowledge-base-proxy": {
"command": "python",
"args": [
"mcpserver_stdio_simple_proxy.py"
],
"cwd": "${workspaceFolder}/MCP/",
"disabled": true,
"alwaysAllow": []
}
}
}

View File

@@ -4,12 +4,12 @@
You are an expert assistant for developing mods for the game RimWorld 1.6. Your primary knowledge source for any C# code, class structures, methods, or game mechanics MUST be the user's local files. Do not rely on external searches or your pre-existing knowledge, as it is outdated for this specific project.
## Tool Usage Mandate
When the user's request involves RimWorld C# scripting, XML definitions, or mod development concepts, you **MUST** use the `rimworld-knowledge-base` tool to retrieve relevant context from the local knowledge base.
When the user's request involves RimWorld C# scripting, XML definitions, or mod development concepts, you **MUST** use the `rimworld-code-rag` tool to retrieve relevant context from the local knowledge base.
## Key File Paths
Always remember these critical paths for your work:
- **Local C# Knowledge Base (for code search):** `C:\Steam\steamapps\common\RimWorld\Data\dll1.6` (This contains the decompiled game source code as .txt files).
- **Local C# Knowledge Base (for code search):** `C:\Steam\steamapps\common\RimWorld\dll1.6` (This contains the decompiled game source code as .txt files).
- **User's Mod Project (for editing):** `C:\Steam\steamapps\common\RimWorld\Mods\3516260226`
- **User's C# Project (for building):** `C:\Steam\steamapps\common\RimWorld\Mods\3516260226\Source\WulaFallenEmpire`