English | 简体中文
Equip AI-driven colonists with battlefield triage, autonomous construction, farming, and tactical emergency mechanisms.
RimMind-Actions translates high-level AI tactical and colony-building intents into robust, multi-step game actions called Composite Mechanisms. When facing sudden crises or executing long-running colony projects, colonists autonomously execute and poll composite workflows to completion.
- 10 Built-in Composite Tools:
- Emergency & Survival:
actions.stabilize_rest,actions.emergency_flee,actions.eat_and_recreation,actions.triage_patient - Construction & Engineering:
actions.place_blueprint,actions.plan_room_project,actions.clear_area_for_build - Production & Agriculture:
actions.designated_harvest,actions.set_work_bill,actions.schedule_farming_cycle
- Emergency & Survival:
ContinuousJobPollerMulti-Stage Lifecycle: Continuously drives multi-step jobs (including seamlessBlueprint_Build->Frameresource delivery and construction transitions) until every target structure is finished or canceled.ActionPermissionGuard&ResourceSafetyGuard: Enforces active spawned non-downed colonist eligibility, work-type capability checks, danger proximity interception, and colony material reserve thresholds before issuing Verse jobs.
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 -->|ActionPermissionGuard & ResourceSafetyGuard| Gate{"Safe & Valid?"}
Gate -- Yes --> Poller["ContinuousJobPoller & Verse JobDriver"]
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.