UmbraSpaceIndustries / MKS

MKS/OKS Colonization Systems
Other
221 stars 151 forks source link

MKS Radial Tank resources #168

Closed Tebryn closed 10 years ago

Tebryn commented 10 years ago

MKS PRE .20.0

The MKS Radial tanks throwing errors when toggling through the resouces, starting at water (where it gains 3 resource tanks, 1 with 1200 and 2 with NAN of 1200) shortly after that it goes to no resources at all, and the log starts to fill with errors as you toggle through.

tested and made a change to the cfg file and fixed it by expanding the resourcenames line:

MODULE
{
  name = FSfuelSwitch
  resourceNames = Oxygen,Water,Food;Waste,WasteWater,CarbonDioxide;PatchKits,RepairKits,ReplacementParts,Recyclables;Compost,BioMass;Water;Minerals;Ore;Substrate;RareMetals;ExoticMinerals;Metal;Chemicals;Polymers;BasicMachinery;AdvMachinery;SpecMachinery;PlasticParts;ElectronicParts;MechanicalParts;Robotics;Computers;ModularParts;MEP-Laboratory,MEP-Manufacturing,MEP-Refining;MEP-Computing,MEP-Environmental,MEP-Mining;

Also needs additional work on resource costs per resource right now via; tankCost = 0; 0; 0 // Additional Funds cost for the different tanks. This is added to the part’s base cost. as currently, you can get negative fund cost by emptying many of the tanks. Edit; Rare Metals and Exotic Minerals still don't show a resource tank with the above, but it's not throwing an error anymore... not sure whats causing that on my game.

BobPalmer commented 10 years ago

Fixed

mhoram-kerbin commented 10 years ago

In 0.20.5.1 I still can get negative costs when emptying the Radial Supply Tank with other resources than Life Support, Waste and Water. EDIT: Can't reproduce it anymore ... please ignore.