Mod: Item-health to Price

Hey guys,

I believe that a very elegant solution to balancing the Game-Economy would be to increase the Price-drop with lowered Item-Status. So much so that a “broken” or “rotten” Item with a Status below 50% would count as worthless.

You can make adjustments to that in the rpg_param.xml with the following line:
“ItemHealthPriceStatusWeight” rpg_param_value=“1”

The vanilla value is 0.8. The Problem is that by increasing this value to over 1 will lead the game to drop the price below zero at different points of degeneration. But KCD doesn’t recognize a price <0 as 0 but as the max-price (of 217 million groschen) minus whatever price the game comes up with.

The question:
Does anyone of you know how to change that?
Is there any possibility to get access to the underlying formula that is used for that calculation?

I have been looking for quite some time now, without making any significant progress.

Kind regards
Pommes

Thanks for finding this parameter, just the thing I was looking for. I tried tweaking it, but it doesn’t seem to do anything, prices don’t change. Other parameters are tweakable, so… perhaps it requires a new game, or it only applies to newly spawned items?