English | 简体中文
Equip AI-driven colonists with battlefield triage, life-saving rescue, and tactical autonomy.
RimMind-Actions translates high-level AI tactical intents into robust, multi-step game actions called Mechanisms. When facing sudden crises—such as bleeding out under raid fire or suffocating in a burning room—colonists autonomously execute composite interventions rather than standing idly.
StabilizeRestCompositeTool: Automatically assesses a wounded ally's bleeding rate, performs rapid field stabilization, carries them to the nearest available medical bed, and orders rest.- 4-Tier Safety Gate Interceptor: Evaluates path safety, danger proximity, pawn physical capability, and player priority overrides before issuing Verse jobs.
- Fire & Refuge Evasion: Pawns detect explosive radius dangers and pathfind away from infernos to safe designated rally zones.
Battlefield emergency intervention in action: An AI-driven colonist rushes through smoke to bandage a fallen friend and carry them to safety.
RimMind-Actions depends solely on the public API of RimMind-Core:
flowchart LR
Advisor["RimMind-Advisor / AI Planner"] -->|Issues Intent| Actions["RimMind-Actions"]
Actions -->|4-Tier Safety Gate Check| Gate{"Safe & Valid?"}
Gate -- Yes --> Engine["Verse JobDriver / Pawn Action"]
Gate -- No --> Fallback["Cancel with Trace Reason"]
Actions -->|Registered via Public API| Core["RimMind-Core ToolRegistry"]
Ensure RimMind-Core is loaded before RimMind-Actions:
1. Harmony
2. Core (Vanilla RimWorld)
3. RimMind-Core
4. RimMind-Actions
Run unit tests directly:
dotnet test RimMind-Actions/Tests/RimMindActions.Tests.csproj -c ReleaseLicensed under the MIT License.