How to get "Expected resources" from a mining drill
Posted: Fri Mar 03, 2017 5:11 am
Is there a way to get the "Expected resources" of the ore under a mining drill via the Lua API?
www.factorio.com
https://forums.factorio.com/
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.
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!