TweakScale

TweakScale

1M Downloads

Create an option to fix the part's cost when calculating the DryCost.

Lisias opened this issue · 2 comments

commented

Some parts from 3rd parties are, well, just wrongly defined. The real problem is the convoluted way KSP uses to define the cost of a PART: instead of defining the "dry cost" of the part and let the code to figure out the total cost by summing the RESOURCES or anything else the part uses (frankly, RESOURCE should be a Module - it would be so simpler to call the IPartCostModifier…), the author need to define the cost with all the resource's costs already added.

So if a part have resources added on a second thought, chances are that the author will forget to update the cost to reflect the resources'. Same if they are changed after.

For these parts, a good solution is to manually define a DryCost on TweakScale and tell it to rebuild the part's current cost , fixing the Prefab.

Implement this solution.

commented
commented

Implemented on commit 7ace899 .

TweakScale/Companion_AirCrafts#4 is not unblocked.