nullre / Project-RimFactory-Revived

Project RimFactory Revived
MIT License
0 stars 0 forks source link

Chunk bug #23

Closed zymex22 closed 4 years ago

zymex22 commented 4 years ago

For some reason PRF started to count all stone chunks on map as colony wealth, so first raids will get super hard to survive.

some users said it might be new miner that does it, but coundt find where in code. it was not present at version before we updated it.

nullre commented 4 years ago

case of calculate the wealth value of something that has no Market Value set, It seems to be calculated from the workAmount of the recipe.

Miner is creating a recipe for mining stone chunks. It seems that the wealth value of the stone chunk is calculated from the recipe's workAmount.

I Changed to set MarketValue of Def satisfying these conditions to 0.

zymex22 commented 4 years ago

it works =)