Filter Mining Drils


Adds filter support to all mining drills, allowing you to choose which resource to mine when mining overlapping resource patches.

Tweaks
29 days ago
2.0
652
Mining

FAQ

Source code

data-updates.lua

local blacklist = {
}

for _, prototype in pairs(data.raw["mining-drill"]) do
  if not blacklist[prototype.name] then
    if not prototype.filter_count then  -- Mods can specify filter_count and this mod won't override it
      prototype.filter_count = 5
    end
  end
end