(12-18-2019, 03:16 PM)Haxus Wrote: Harvester
When I send on of my harvester ships to run a harvesting cycle on a target, it occasionally gets trapped in an endless loop.
If the next harvesting pulse from a ship/stations harvesting bay is set to exceed the harvesting quantity threshold, it won't take the in the resources from that pulse. This means the ship never exceeds the threshold and the ship gets trapped in an infinite harvesting loop, that it only exits when the fuel threshold is met.
Changed harvest function to trim the amount harvested so that it will fit.
I think the same issue exist with manufacturing. If the building's inventory can't fit all the produced commodities, the manufacturing process just says the inventory is full without filling whatever free inventory space there actually is.
See: (Bug report) No Stock Buildup, Yet Full?