UmbraSpaceIndustries / USI-LS

USI Life Support
Other
65 stars 47 forks source link

Fixed issue where empty parts had no cost #303

Closed tomimas closed 3 years ago

tomimas commented 3 years ago

Empty container part costs for fertilizer and supplies were not taken into account with several parts. While the Mulch had container cost as 100 for minipack, the fertilizer and supplies costs were only subject to the resource's cost multiplied by resource units in the container, and the actual container didn't cost anything if the resource amount was set to zero at construction.

The costs have been changed to reflect the total cost of resources with a cost for the empty container.

With this change one can consider returning empty containers back to the Kerbin for refurbishment.