Page 1 of 1

Is there a way to check if a miner is depleted?

Posted: Wed Mar 16, 2016 2:34 am
by Nicksaurus
I'm trying to make it so that my miners will automatically get marked for deconstruction when they run out of resources but I can't find a way to actually check if they're depleted (without searching their mining areas for minable resources, which is more effort than I'm prepared to put into this).

Has anyone managed this? I've also noticed depleted miners get marked with red dots when the debug view 'show_active_state' is enabled. So if it's possible just to get that information in the API that could work as a solution too.

Re: Is there a way to check if a miner is depleted?

Posted: Wed Mar 16, 2016 8:23 am
by Choumiko
Nicksaurus wrote:Has anyone managed this?
Yes :)
viewtopic.php?f=97&t=17566&p=127264&hil ... ct#p127264

Re: Is there a way to check if a miner is depleted?

Posted: Wed Mar 16, 2016 9:18 am
by Nicksaurus
Perfect, thanks