r/RimWorld•
Zhentar

The Economics of RimWorld

Guide (Vanilla)

The economics of RimWorld are shrouded in mystery, myth, and superstition. The inner workings are hidden behind enough complexity and variation that it’s hard to see whether your efforts are well directed, and our intuition from other games can mislead us. And so, I dove into the source to reveal the truths* to all…

*(disclaimer: “truths” based on interpretation by a fallible humanlike, may not be actually be true)

Market Value

Many items have a fixed base market value. Most items that either can’t be crafted (e.g. raw materials, artifacts, bionics) or that are crafted but use a fixed set of raw materials (e.g. drugs, TVs, armor^†, ranged weapons) have a fixed base market value. Meals also have a fixed market value. But most crafted/constructed follow a formula:

Base Market Value = (market value of raw materials) + (Display Work To Make * .24)^‡

^† Armor vests, kevlar helmets, and miniguns are worth a bit more than they would be according to the market value formula, everything else is worth less. Pila and Greatbows are terrible

^‡ (Note: the workToMake values in the XML files have a unit of ticks. The work values displayed in game have a unit of real seconds at 1x speed, equivalent to 60 ticks)

Then actual market value depends on two additional modifiers:

Actual Market Value = Base Market Value * Quality Multiplier * Health factor

QualityMarketValue
Awful:0.4
Shoddy:0.6
Poor:0.8
Normal:1
Good:1.2
Superior:1.5
Excellent:2.0
Masterwork:3.0
Legendary:6

Health factors: (linear relationship in between points) 0% health = 0% market value 30% health = 4% market value 90% health = 100% market value 100% health = 100% market value

And after all that, if the value is above $200.00, the value gets rounded up to five (so $200.01 would be rounded to $205.00)

As some examples:

A ‘Good’ Plasteel Large Sculpture has a market value of $4,835. 135 plasteel * $27 = $3,645, plus 1600 work * $0.24 = $384. $3,645 + $384 = $4029, times 1.2 for ‘Good’ quality = $4,385.

A ‘Masterwork’ Sandstone Large Sculpture has a market value of $3,370. 135 sandstone * $1.9 = $256.5, plus 3600 work * $0.24 = $864. $256.5 + $864 = $1120.5, and then times 3 for ‘Masterwork’ quality = … not $$3361.5, rounded to $3365, but actually $3370. Not quite sure why.

Trader Pricing

The prices traders will actually buy and sell things for is based on more than just the market value!

Buying From Traders

Buy From Trader Price = Actual Market Value * (1 - NegotiatorTradePriceImprovement) 
						* ItemPriceType * RandomPriceFactor

Actual Market Value is explained above.

NegotiatorTradePriceImprovement is the Trade Price Improvement stat of whichever pawn is performing the trade. It’s 0.1 (or a 10% price reduction) at 20 social skill and 100% talking capacity, a 0.5% price reduction per level of social.

ItemPriceType is a per trader, per item type price multiplier (see table below).

RandomPriceFactor is a per trader visit, per item random price modifier between 90% and 110%.

Item Price TypesMultipliers:
Very Cheap:40%
Cheap:70%
Normal:100%
Expensive:200%
Exorbitant:500%

In Vanilla, most of traders’ items are Normal or Cheap, with some Expensive. Nothing is Very Cheap or Exorbitant. See a full table of price types for vaguely descriptive categories here: https://docs.google.com/spreadsheets/d/1qbNXH1TV-CN9xQZzIU9ISOpr9QrNIvLpmk2W-y6e8hc/pubhtml?gid=0&single=true

Selling To Traders

The sell price formula is much more complicated.

Sell To Trader Price = Actual Market Value * Difficulty Sell Price Factor 
						* Thing Sell Price Factor * (1 + NegotiatorTradePriceImprovement)
						* (ItemPriceType - 1) * RandomPriceFactor

Actual Market Value again, is explained above

Difficulty Sell Price Factor The harder the difficulty, the less you get for selling your crap. 70% on base builder, 60% on ‘some challenge’, 55% on Rough and Intense, 47% on Extreme.

Thing Sell Price Factor Apparel and weapons sell for half as much, because fuck you, that’s why (or maybe so raider corpses don’t make you too rich)

Negotiator Trade Price Improvement same as selling, except in the other direction. 10% sell price increase at 20 social skill and 100% talking, 0.5% increase per level of social.

ItemPriceType - 1 The same as selling, except one worse. If they sell at Expensive, they buy for Normal; Normal becomes Cheap, and Cheap becomes Very Cheap.

RandomPriceFactor is the same as buying, a random per trader visit & item modifier between 90% and 110%.

Additionally, anything that would sell for over 2,000 silver after all those factors has a post-processing curve that reduces the value (down to 50% at 12,000, and then down to 20% at 200,000).

But what does it all mean!? (or tl;dr)

  • Don’t make weapons or clothing to sell, because there’s a hidden fuck-you-over factor.
  • especially don’t make guns or bows
  • If you want to sell leather or other textiles, make arm chairs or animal beds out them. More traders will buy furniture, even Shoddy items effectively increase the value of the raw materials (your constructor only needs to be skill level 4 to turn a profit), and high level constructors work very fast.
  • If you want to sell minerals (plasteel, gold, uranium, jade), make single beds, stools, animal boxes, or equipment stands, for the same reasons. (unless you have a pawn with a higher art skill and time to spare).
  • And extra don’t make gold/uranium/jade sculptures, because because the high value post-processing will murder your profits.
  • If you want to sell pawn time, make sculptures. (Furniture would be the best, since again, high level constructors get mad speed bonuses, but all vanilla furniture items have a high resource to work ratio). The material doesn’t matter; your pawn’s time is worth the same whether it’s spent making wood, stone, plasteel, or gold statues, so just make it out of whatever you have the most available. Yes, that plasteel statue sells for a shit ton, but so would three wood statues and four plasteel beds.
  • For certain resources (plasteel, Neutroamine, and medicine in particular), the trader type significantly impacts the price.
  • Someone should make a mod that shows the random price factor because hand calculating it is tedious as all hell.

Posted Oct 3, 2016, 1:37 PM UTC

12782
Loading comments…