Currently you can read a mining drill's mining target (singular), which is the resource that it is currently mining. However, there is no way to get all of the resources that the drill could mine. I would like to request a mining targets (plural) property, so I can read all of the resources that a drill can mine, in the case of a mixed output.
Thanks!
Edit: also, how does a drill decide what to mine? Does it do a set number of mining operations on each resource in range, or does it pick randomly?
LuaEntity::mining_targets read
LuaEntity::mining_targets read
Don't forget, you're here forever.
Re: LuaEntity::mining_targets read
Mining drills don't currently store this list. They just entity-search to find the next resource to mine every 10~ times they mine the current target.
If you want to get ahold of me I'm almost always on Discord.