RimWorld Mods

[KV] Supply and Demand Mod

Author of the [KV] Supply and Demand Mod: mlie

Supply and Demand Mod scales trader stock based on colony wealth, giving visiting traders more goods when your colony is rich enough to buy them.

Supply and Demand Mod Features

The Supply and Demand Mod adjusts trader inventories dynamically instead of creating new trader definitions or manually adding extra silver, leather, weapons, or other goods.

The mod takes your total colony wealth, scales it by game difficulty, and uses the natural logarithm of that value to create a scaling factor with diminishing returns. In simpler terms: the richer your colony is, the more stock traders will bring, but the increase slows down as wealth gets higher.

Mathbrain Stuff

The Supply and Demand Mod uses colony wealth as the main variable because it reflects how much your colony can realistically trade. However, wealth is compressed so traders do not end up carrying absurd quantities of items.

The natural logarithm was chosen because it grows more slowly over time, modeling diminishing returns. To preserve the effect of difficulty, wealth is also scaled by the price loss factor provided by the selected difficulty setting.

Lambda represents total colony wealth, while Phi represents the difficulty scalar. The minimum value of the scaling function is 1.

Compatibility notes

When troubleshooting the Supply and Demand Mod:

  • See if the error persists if you only have this mod and its requirements active.
  • If not, try adding your other mods until it happens again.
  • Always post your log using the Log Uploader.
  • For best support, please use the Discord-channel for error-reporting.
  • Do not report errors by making a discussion-thread, I get no notification of that.
  • If you have the solution for a problem, please post it to the GitHub repository.
  • Use RimSort to sort your mods.

Additional credits: CookieWookiee, Kiame Vivacity.

Hm, you're using an ad blocker...

We get it, ads are not what you’re here for. But ads help us keep the lights on. We deliver up-to-date mods, guides and plenty of RimWorld content at no cost to you. So, please, add us to your ad blocker’s whitelist to continue browsing the RimWorld Base. 

Please whitelist us on your ad blocker and

Get a lifetime ad-free experience with the purchase of any RimWorld merchandise from our store. 

Still seeing this message after making a purchase? Click here to fix it

Get your RimWorld T-Shirt!

Dress in RimWorld style. For you or your loved ones!