S.T.A.L.K.E.R. 2: Heart of Chornobyl

S.T.A.L.K.E.R. 2: Heart of Chornobyl

Not enough ratings
Repair Cost Mechanics
By sunflower
How does game calculate weapons/armors costs, repair costs, and how upgrades affects these costs
2
2
   
Award
Favorite
Favorited
Unfavorite
Note
I verified these formulas on Veteran difficulty in 1.0.3 patch
Item Cost
You can see item cost by hovering mouse over the item. Loaded ammo affects cost of the weapon, as well as attachments.

Every weapon/armor has its base cost - cost of 100% pristine item without any upgrades.

Item with 0% durability left will cost: BasePrice * 0.1
Price decreases linearly. Cost of upgrades simply adds to the item total price, durability doesn't affect this. So:

ItemCost = BasePrice * 0.1 + TotalUpgradesCost + BasePrice * 0.9 * PercentsLeft / 100

Example: I have ZUBR-19 with 58% left. Its base price is 20,000. Cost of upgrades 74,125
ItemCost = 20,000 * 0.1 + 74,125 + 20,000 * 0.9 * 0.58 = 86,565
Repair Cost
Game has 2 static coefficients: one of item base cost, second for upgrades cost. To simplify formula I introduce new value:
WearLevel = (100 - PercentsLeft) / 100

And now:
RepairCost = WearLevel * BasePrice / 1.9 + WearLevel * TotalUpgradesCost * 0.1

This formula was tested for green mechanic. If mechanic is white for you cost is bigger (in my case it was +33%).

Example:
I have Diamond Exoskeleton with 81% durability left. Its base price is 68,000. Cost of my upgrades is 122,000. Now:
WearLevel = (100 - 81) / 100 = 0.19
RepairCost = 0.19 * 68,000 / 1.9 + 0.19 * 122,000* 0.1 = 9,118
Сonclusions
Don't add useless upgrades. Every upgrade you add increases full repair cost of this item (from 0% to 100%) by 10% of upgrade cost.
4 Comments
refrenates Mar 1 @ 2:59pm 
Technician Multitool on Cordon - the lowest price for repairs
myhv Feb 1 @ 6:46am 
sunflower  [author] Dec 24, 2024 @ 10:29am 
Shit gun upgrades cost much less. You still can put upgrades, but they will not do much
cd0m Dec 24, 2024 @ 8:23am 
jesus that's fucking dumb so upgrades are even more useless you can't even boost a shit gun into something neat