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.
Is there a way to check if a miner is depleted?
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: Is there a way to check if a miner is depleted?
YesNicksaurus wrote:Has anyone managed this?
viewtopic.php?f=97&t=17566&p=127264&hil ... ct#p127264
-
- Long Handed Inserter
- Posts: 55
- Joined: Thu Aug 28, 2014 12:56 pm
- Contact:
Re: Is there a way to check if a miner is depleted?
Perfect, thanks