THE GAME'S EXACT FORMULAS, IN CHAT

RimWorld's real math, in Claude.

Savecraft's in-game mod pushes your colony on every save -- colonists, resources, research, defenses. Eight calculators answer with the game's own decompiled formulas. Works with Claude and ChatGPT.

Raid threat estimate for a late-game colony -- 6200 total raid points, 3800 from 800,000 effective wealth and 2400 from colonists
Surgery success calculator showing a 12.6% success chance from the exact CheckSurgeryFail factors -- 0.35 surgeon, 0.80 regular bed, 0.60 herbal medicine, against an operation of 1.50 difficulty
Bolt-action rifle combat card -- 4.68 DPS at range from 5.50 raw at 85% accuracy, 12.3 expected damage versus armor
Exact formulas from the game's decompiled code Eight calculators -- surgery, combat, crops, raids, genes In-game mod on the Steam Workshop Colony state pushed on every save Alpha release -- vanilla RimWorld, actively expanding
MOD-POWERED

Subscribe once. Your colony comes along.

RimWorld doesn't write readable save data mid-session, so Savecraft ships an in-game mod instead -- it exports structured colony state every time the game saves.

Install the mod Subscribe to Savecraft on the Steam Workshop and add it to your mod list. It's a standard Harmony mod: safe to add or remove mid-save, no game files touched.
Your colony, on every save Each save exports colonists (skills, health, mood), resources, research progress, defenses, farming, and factions as structured data. This is an early (alpha) release: vanilla content for now -- modded stats and custom hediffs aren't parsed yet, and very large colonies (30+ colonists) may hitch briefly during collection.
EIGHT CALCULATORS

The game's own math, not vibes.

Every calculator implements the formula from RimWorld's decompiled code -- the same numbers the game computes internally.

Surgery Success Calculator

INSTANT

Calculate true surgery success probability from surgeon skill, bed type, quality, room cleanliness, medicine, and operation difficulty. Implements the exact formula from Recipe_Surgery.CheckSurgeryFail.

Crop Production Optimizer

INSTANT

Compute nutrition/day/tile and silver/day/tile for any crop on any soil type, accounting for fertility sensitivity, temperature growth curves, and rest periods. Includes tiles-per-colonist estimates.

Weapon & Armor Combat Calculator

INSTANT

Compute ranged DPS at any distance (accuracy interpolation across 4 range breakpoints), melee true DPS via weighted verb selection, and armor damage reduction expected values.

Material & Item Stat Lookup

INSTANT

Look up final stats for any item-material-quality combination using the three-layer multiplication: base stat, material factor, and quality multiplier.

Drug Economy & Addiction Analyzer

INSTANT

Compute silver/day for drug production chains (crop to processed drug), silver per raw material, and addiction risk data including tolerance thresholds and safe dose intervals.

Colony Wealth & Raid Threat Estimator

INSTANT

Convert colony wealth to expected raid points using the piecewise wealth curve from StorytellerUtility, with per-colonist point scaling and building wealth at 50% factor.

Gene Metabolism & Xenotype Builder

INSTANT

Validate xenogerm builds against complexity and metabolism budgets, detect gene conflicts via exclusion tags, and tally archite capsule requirements.

Research Tree & Crafting Chain Navigator

INSTANT

Traverse research prerequisite chains with total costs, applying tech level multipliers for tribal starts. Includes research speed estimation.

THE DIFFERENCE

What changes

WITHOUT SAVECRAFT
YOU Should I risk installing the bionic leg on Anya tonight?
AI Bionic surgery is generally safe when you have a decent doctor and a clean room. If Anya's in stable condition, it should be fine to go ahead.

Generic reassurance. No formula, no numbers, no idea who your surgeon is.

SURGERY RISK -- REAL FORMULA
YOU |

The exact CheckSurgeryFail factor chain, computed on your colony's actual options.

HOW YOU USE IT

Coaches the colony you're actually running

Raid prep, load-outs, grow-ops -- each answer runs the game's real numbers.

* RAID PLANNER
YOU We're sitting at 800k wealth. How bad is the next raid going to be?
AI Around 6,200 raid points: 3,800 from wealth and 2,400 from your colonists. Points follow the piecewise wealth curve from the storyteller's code, so that masterwork sculpture in your dining room is adding to the raid math. Sell it off before the next quadrum if you want a slightly quieter year.
= QUARTERMASTER
YOU Bolt-action or assault rifle for the sniper on my wall?
AI At that distance the bolt-action delivers 4.68 DPS of its 5.50 raw -- 85% accuracy at the long-range breakpoint -- and 12.3 expected damage per hit against armored raiders. Accuracy interpolates across four range breakpoints, so the answer flips if they close the gap: keep a shotgunner behind the door.
+ GROW-OP ADVISOR
YOU Is devilstrand worth planting on the gravel patch?
AI Barely. On gravel, devilstrand grows at 0.49x -- 46.8 days to harvest, and it earns just 0.342 silver per tile-day. Devilstrand is fertility-sensitive, so give it your good soil and use the gravel for something that doesn't care. If you need food first, rice is the fast path.
FROM WORKSHOP TO ANSWERS

Three steps to a smarter colony.

The mod does the exporting; the calculators do the math. You just ask questions in plain language.

Subscribe on the Workshop

Add the Savecraft mod to your RimWorld mod list and pair it with your Savecraft account once. Safe to add or remove mid-save.

Play. Save. Done.

Every save pushes your colony's structured state -- no exports to run, no files to find. The data is there the next time you ask.

Ask about your colony

Surgery odds on a specific pawn, the raid your wealth is inviting, what to plant where -- your AI reads your colony and runs the game's formulas on it.

METHODOLOGY

We show our work

The math comes from the game itself, not from a wiki.

Decompiled game code Formulas are implemented from RimWorld's own decompiled assemblies -- surgery success from Recipe_Surgery.CheckSurgeryFail, raid points from the StorytellerUtility wealth curve -- and verified against in-game behavior each patch. Exact math, not approximations.
The game's XML Defs Crop stats, weapon profiles, material factors, and gene data are generated from RimWorld's own XML Defs, so every number matches your game version's data files.
Vanilla first, honestly Modded content -- added stats, custom hediffs -- isn't parsed yet. If your colony leans on mods, the colony state is still useful; the calculators answer for vanilla mechanics.
Ludeon Studios RimWorld is Ludeon Studios' game; Savecraft is an unaffiliated companion tool. Attribution and sources ship with every module answer.

Give your AI the real formulas.

Works with Claude and ChatGPT. Subscribe on the Workshop and your colony comes along.