r/Kenshi•
FrankieWuzHere

Kenshi Fact of the Day #45

TIP

-Vendor min/max stock/cat total-

Ever go to a shop and they only had 32 items for sale when the last time you visited they had 48? Or maybe a shop keeper who usually has around c.25,000 only had c.18,000 when you went to sell your stuff to them. What gives?

Traders (Who have "is trader=True") who own a building with containers which can store their supply have their min/max stock total based off their "vendor fill total amount" value in fcs.

Unless I am forgetting one... All shops in base game have \"trader=True\". Some caravans like the Trader's Guild ones and Holy Nation Caravans do not. Thier stock is determined differently than traders.

The vendor will have between 0.8x to 1.2x whatever "vendor fill total amount" is set to. At least, provided the vendor can actually store the items in their containers. The 32 to 48 items scenario I mentioned above was just using the minimum and maximum items the Armour King will have for sale.

*Discovered this by modding a shop to have 1,000 as their fill total amount (And made them all stack so there was enough room as well as a 0.1 refresh time...) and they never went below 800 or above 1,200 items.

**Items not spawned through the vendor list, such as special items (Like, "The Pacifier: Guidance For A Troublemaker" item which is sold in the Hub bar) and Artifacts (Like the 3 weapons the Armour King has for sale in base game) do not take away from this total.

If you want to see an amazing shop, go hit up the General Shops owned by the Trader's Guild in The Great Desert. Their fill total amount is 400, meaning they can have between 320 to 480 items... With a 12 hour refresh time.

A below average stock.

Now what about the money?

If a vendor has a "vendor money" value, they seem to get between 0.6x to 1.4x of the amount put in.

*Discovered this by modding the "vendor money" value of a shopkeeper to be 100,000 and their refresh time to 0.1. Then I just spammed arrange when outside of their shop and they never went below c.60,000 or above c.140,000.

That being said though as far as I know no NPC has this value at anything other than 0 in base game. I just wanted to mention to help out any modders out there.

SO! Instead, the money the vendor has is determined by the value of their stock! The total cats they will have is equal to 25% of what their stock is worth plus between 0 to 125. This has a cap of c.25,000. Also, if the total is not over 3,000, they will just have c3,000.

*Discovered this by yet again modding a shopkeeper to have a refresh time of 0.1 and set the vendor to have one AI core. The result was the vendor having between c.6,250 to c.6,374. When they were changed to have an AI Core and an Ancient Science book I recorded values ranging from 7,501 to 7,625.

In other words, if the vendor stocks up on expensive stuff, they will have a lot of money as well, if they stock is worthless... Well, they will be broke. This is why robotics, weapon, armour and clothing shops are usually loaded.

-FrankieWuzHere

Posted Jan 23, 2025, 5:06 AM UTC

1079
Loading comments…