Quality Miners


Miners' mining speed is now affected by quality, configurable in settings. You can also enable miners to drop stacks on belts. It adds new miner prototypes to the game, so it is inherently incompatible with any other mod that does the same for miners.

Tweaks
20 hours ago
2.0
106
Mining

b [Can't Fix] Hovering over ore patches spams the "mined by" tooltip

17 hours ago

Not 100% sure this is a bug, but it certainly LOOKS like a bug, so I'm reporting it anyways.
With this mod installed and active (as well as base game, Quality, and Space Age of course), the tooltip that tells you what mining drills can extract ore from a given ore patch will be spammed by (up to) 15 entries, one for each of the 5 quality levels of each of the 3 different mining drills that this mod modifies.
I'm pretty sure that's not intended behavior, it's supposed to have (at most) 3 entries in that tool tip, because quality has no impact on what ore patches are valid for a given type of mining drill.
IMO the best way to represent that all qualities of a given type of mining drill can work is to use the "any quality" version of a given mining drill's item icon, which is an asset that is already in the game.
As far as I know, this wasn't happening with a previous version of this mod, so something in an update has likely either stopped working or started working in an additional, unintended way.
Here's the screenshot of what's happening, in case you need an example: https://imgur.com/a/0G92kk0

12 hours ago

Sadly it was happening even with the previous build.
As far as I'm aware I can't really do much about this, because in order to even mod anything related to the extremely hardcoded quality features, mods have to add new buildings to the game.

What's actually happening in the code: Take each mining building, take each quality, make new buildings with the effects provided in the settings, and upon placing an item with quality above common, replace the built thing with the newly created building.
Sadly the ore patches have every available building listed, even while they have a "hidden = true" field. This obfuscates it from your crafting inventory and factoriopedia, but it seems the display you're talking about lists every building that's allowed to mine it.

I really did test it with 1.0.0, and it was happening so it's nothing new (Also I was aware of it, so I'll be expanding the description with a Known Bugs section). And as far as I can see I can't do anything about it, so I'm sorry.

I'll be leaving this thread open if someone does have a solution they want me to push into the mod. Thanks for the report!

New response