Kind of a 2-parter that needs a story.
When you launch a rocket ship and look at the status of that ship in the Starmap, the Available Mass to harvest has already had the capacity of your cargo bay deducted from it. Doesn't quite seem right but doesn't seem to be a problem yet..
When that planet/asteroid you are harvesting has only just enough available mass to fill your cargo bay however, then we do have a problem.
Say for example the Carbon Asteroid you want to harvest has 1125kg available mass, and your ship has a cargo bay with a 1000kg capacity.
When the rocket ship returns, it sees the planet it just returned from only has 125kg of mass remaining, and so instead of filling your cargo bay with the correct and previously available 1000kg of materials, leaving 125kg still available, it fills it with only the 125kg that appears to be available!
I did a little testing and if that same Carbon Asteroid instead had 2125kg available mass, it would all appear to work correctly. You receive the correct 1000kg in materials and 1000kg of mass is deducted from the Available Mass, leaving 1125kg available, however it's not correct behind the scenes! The calculation only fills your cargo bay correctly if the available mass was double the capacity of your cargo bay.
Thanks guys, I love your work. Real shame about the modding thing though.. <3
Send a rocket ship with cargo bay to somewhere that has only just enough available mass to fill that cargo bay plus a little bit.
Upon return, you will have received only that "plus a little bit" in your cargo bay instead of a full cargo bay load.
Calculation of what to fill the ship cargo bay with upon return is being based on an Available Mass that has already had the capacity of the cargo bay deducted from it! Please patch <3
Here is an unrelated log file since it's mandatory lol luv ya