How to get "Expected resources" from a mining drill
How to get "Expected resources" from a mining drill
Is there a way to get the "Expected resources" of the ore under a mining drill via the Lua API?
- Attachments
-
- Image59.png (174.23 KiB) Viewed 1689 times
Re: How to get "Expected resources" from a mining drill
Not directly, you will need to go over each tile in the drill area and add it up yourself.
Re: How to get "Expected resources" from a mining drill
I feared that was the case; I couldn't find anything in the API when I perused it. Thank you for the confirmation.daniel34 wrote:Not directly, you will need to go over each tile in the drill area and add it up yourself.
Do you know of a UPS-friendly way to do so? Or is it best to do the usual chunk-by-chunk surface search to find the drills, then another small surface search for the ore tiles?
Thanks!
Re: How to get "Expected resources" from a mining drill
There is none. That's also how the game does it when you hover over the mining drillcan00336 wrote:I feared that was the case; I couldn't find anything in the API when I perused it. Thank you for the confirmation.daniel34 wrote:Not directly, you will need to go over each tile in the drill area and add it up yourself.
Do you know of a UPS-friendly way to do so? Or is it best to do the usual chunk-by-chunk surface search to find the drills, then another small surface search for the ore tiles?
Thanks!
If you want to get ahold of me I'm almost always on Discord.