Kenshi
(Anti-cheese/Roleplay) Mining materials sells for less (6x)
Lightning Dust  [developer] 23 May, 2023 @ 8:55am
If you want to manually change the price...
Important things about value
In the FCS editor, the value of the items are affected by the value of the base materials. So when changing the base materials cost, it would affect the items too.

There is a huge discrepancy when looking at the values FCS throws at you and in game. Take copper for example: 180 cats in-game VS 300 value in FCS. This is a trade item!

This is because of global game settings. Under this tab, in the price category, trade price mult affects the cats of all trade goods.

So logically: 300 * 0.6 = 180

This is how you get the real value of the base material.

Important things about profitability
All items that uses any of the listed base resources will affect the item's value! NOT the value of the item!

To fixed this, I had to do a little algebraic maths to get back to the original average price value of said items

I will use these two items for example:
Building Materials
Avg. price: 108 cats
Raw Stone Avg. price: 36 cats
How many are used: 2 stones
Profitability (default): 0.5 (Percentage you make! So you have to plus 1!)
Maths: 108 cats = (36 cats * 2) * (1 + 0.5)

Now we make it a usable math by turning it into algebra:
Avg. price -> A
Raw Stone Avg. price -> B
How many are used -> no change
Profitability -> C
Maths: A = (2B)(1 + C)
If default price and modified base resource: 108 = (2*6)(1 + C)
Now we make C the subject: C = (108/12) - 1
What we get is C = 6.5
6.5 is our profitability value!

Copper Alloy Plate
Avg. price: 608 cats
Copper Avg. price: 180 cats
Iron Plates Avg. price: 135 cats
How many Copper are used: 1.5
How many Iron Plates are used: 1
Profitability (default): 0.5 (Percentage you make! So you have to plus 1!)
Maths: 608 cats = [(180 cats * 1.5) + 135 cats] * (1 + 0.5)

Simplification
Avg. price -> A
Copper Avg. price -> B
Iron Plate Avg. price -> no change
How many Copper are used -> no change
How many Iron Plates are used -> no change
Profitability -> C
Maths: A = (1.5B + 135)(1 + C)
If default price and modified base resource: 608 = (1.5 * 30 + 135)(1 + C)
Now we simplify: C = (608/180) - 1
What we get is C = 2.375
2.375 is our profitability value!


For reference
(seen in change notes)
BASE MATERIALS
Raw Stone -> Value from 60 to 10
Raw Iron -> Value from 150 to 25
Copper -> Value from 300 to 50

ITEMS USING BASE MATERIALS
Building Materials -> Profitability from 0.5 to 6.5
Iron Plates -> Profitability from 0.5 to 8
Copper Alloy Plates -> Profitability from 0.5 to 2.375
Armour Plating -> Profitability from 0.4 to 7.4
Electrical Components -> Profitability from 0.2 to 6.2
Spring Steel -> Profitability from 0.2 to 6.194