Kenshi
35 ratings
NPC Purchasing Power
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
6.859 KB
Aug 25, 2024 @ 11:15pm
1 Change Note ( view )

Subscribe to download
NPC Purchasing Power

Description
Features
Fix to vanilla behavior where most civilian NPCs will run out of money after a few days and won't be able to purchase goods at store counters for the remainder of the playthrough. Characters with especially low wages were given +100-300 Cats / day.

Many civilian characters now purchase misc goods (raw ore, water, etc) and rarely purchase weapons and armor. They usually won't have the money to purchase high quality goods. NPCs will only purchase non-food goods once their daily food purchase goals have been met.

Why did I make this mod?
There are other mods who claim to do implement these features, but all of the ones I found were too old or buggy to accomplish this. I created this mod because I got tired of manually selling ore every day. In the process of modding this feature I discovered the massive bugs with NPC wages in vanilla and decided to fix them.

Feedback
This mod won't affect any characters added by mods, if you found I missed any civilians or other consumer NPCs please let me know and I will address it ASAP. Testing NPC cash balances is truly awful, it is 100% possible I missed circumstances that can lead to NPCs not gaining intended spending money.
10 Comments
Gravenwitch  [author] Apr 18 @ 2:13pm 
@Loopstop sorry this mod is a bit low on my priority list right now. Giving NPCs expanded inventory space can work by giving them their own gigantic, or item stacking backpacks. The issue is that I can't stop the player from getting the backpacks by looting civilians.

It's been a while since I've used the kenshi editor but I believe a decent solution is adding a ton more traveling merchant style caravans and ensure they can respawn when killed. Merchant NPCs are the only ones who can hold infinite items in a way the player can't use.

Another, very silly option would be to make ores and the like edible and add behaviors where the npcs would 'eat' the ore to remove it from their inventory. I couldn't figure it out at the time but it may be the perfect solution excluding the script extender.
Loopstop Apr 18 @ 7:13am 
@gravenwitch you were talking about how to fix npcs being cluttered, is it possible to modify it so npcs have infinite inventory? (or at closest as possible to infinite) dont know if you're still working on this mod but its just a idea.
🍈 Mar 11 @ 2:11am 
probably the best NPC shopping / economy mod
Laughing Forest Sep 29, 2024 @ 2:13pm 
Thanks for this Gravenwitch.

By any chance if I load your mod after Cat's, will this overwrite that component of Cat's and only use yours?

Wondering if possible to still use Cat's for the clothes, armors, etc but have your logic for shopping/populated towns etc
Gravenwitch  [author] Sep 20, 2024 @ 3:18pm 
@Jelly Creeper sadly no. Though that issue takes more than 9 months in game to be a problem vs ~3-7 days for cats to be an issue. This can be further mitigated by item stacking mods.

This problem may have some workarounds and I have been looking into it in the meanwhile. I believe the optimal solution is to provide shoppers a merchant inventory where all their items go as these inventories reset every X hours like merchants do. I have not figured out how to do this without causing further issues yet.

Worst case I will post a mod on the kenshi nexus using the script extender to fix this, no planned release date there.
Jelly Creeper Sep 18, 2024 @ 9:21am 
Does this mod suffer from the problem where npcs inventories get cluttered over time and they stop buying things?
crunk aint dead Sep 13, 2024 @ 8:58am 
nice mod! I have struggled to find a shopping mod that doesnt cause everyone to go aimless for a while
RagEgnite Aug 26, 2024 @ 3:42pm 
Interesting. I'll give this a try.
Gravenwitch  [author] Aug 26, 2024 @ 2:51pm 
@RagEgnite in my testing NPCs enjoy more shopping used the old version of this fix by ensuring all NPCs have spawn money to ensure wages work. At some point the bug flipped and now NPCs will only gain wages properly if they have 0 spawn money.

Enhanced Shopping Economy gives NPCs far more money than this mod does, and further expands their quantity and categories of items they shop for. This mod keeps purchase amounts similar to vanilla but expands the varieties of goods most people will buy.

For the average civilian after they do each of their 2x a day food shopping they have a 50% chance of wanting to buy a misc item. This includes most trade goods, most luxury goods, as well as narcotics, etc. After this check they have around a 10% (more for adventurer archetypes) chance of wanting to buy a piece of combat equipment or piece of clothing.
RagEgnite Aug 26, 2024 @ 11:19am 
How does this mod compare with other mods that claim to do the same thing, namely NPCs enjoy more shopping and Enhanced Shopping Economy