allista / hangar

This is a plugin for the Kerbal Space Program. It provides several modules and parts to store complete vessels that aren't needed to free CPU of their burden.
http://forum.kerbalspaceprogram.com/threads/88933
Other
18 stars 7 forks source link

Feature Request: Adjust output of mining factory #224

Open scolebrook opened 2 years ago

scolebrook commented 2 years ago

The Asteroid Mining Factory shuts off when Ore storage is full. If it produces ore faster than an attached ISRU can process it into something else, then it shuts off and the ISRU runs out of Ore a short time later. This prevents background operation unless a larger ship is constructed so that ISRU capacity exceeds mining capacity, along with power and cooling requirements.

It would be good if the mining factory output could either be manually adjusted to be less than the vessels ISRU capacity, or automatically adjusted when Ore is full, to drill at a reduced rate to keep it full (match ISRU capacity). This would allow background operations to continue so long as a vessel has sufficient power/cooling.

allista commented 2 years ago

Great suggestion!

But I'm not yet sure how it could be implemented, since the mining is performed by the stock logic in ModuleAsteroidDrill. It has the config option AutoShutdown = true, but aside from that I have to dive into its code to understand if its conversion rate could be modified on the fly somehow.