Mining Drones Remastered

by AivanF

Adds mining drones and depots providing great yet cusomizable balance: - robust drones recipe ingredients instead of pure iron - normal pollution rate - electric energy usage - editable stack sizes - many compatible mods And so much more! Everything is configurable, many supported mods. Locales: 🇬🇧 English 🇩🇪 Deutsch 🇪🇸 Español 🇫🇷 Français 🇹🇷 Türkçe 🇺🇦 Український 🇷🇺 Русский 🇨🇳 中文

Content
7 days ago
1.1 - 2.1
24.8K
Mining

b [FIXED] hidden flags in electric mining drills and burner mining drills

12 days ago
(updated 12 days ago)

When disabling the mining drills I get this error.

Failed to load mods: Error while loading item prototype "burner-mining-drill" (item): Unknown flag "hidden"

There are no hidden flags for both of these types of drills in items or recipes.
Although, there is a hidden flag for electric mining drill technology as shown below.

This code works:
if settings.startup["af-mining-drones-no-burner-drill"].value
then
data.raw.recipe["burner-mining-drill"].enabled = false
end

if settings.startup["af-mining-drones-no-electric-drill"].value
then
data.raw.recipe["electric-mining-drill"].enabled = false
data.raw.technology["electric-mining-drill"].hidden = true
end

10 days ago

Factorio 2.0 replaced the "hidden" flag with a property and 2.1 turned it into a hard error. I went a bit further than your version: the technology unlock is stripped from every technology rather than the vanilla one, and Space Age needed extra work since its big mining drill is crafted from an electric drill. Fixed in MD2R v2.2.1

Thanks for the report, and sorry for the late response! I’ve stepped back from Factorio and modding last years, but I still attempt maintaining my mods whenever I have the time and inspiration.

9 days ago
(updated 9 days ago)

Can you fix for Factorio 2.0? I moved back to 2.0 for now. Version 2.1.5 of this mod is also broken.
Failed to load mods: Error while loading item prototype "burner-mining-drill" (item): Unknown flag "hidden"
Modifications: Base mod › Mining Drones 2 Remastered › JC Stack Sizes

FYI: Having a weird bug with Klonans Mining Drones mod so I am stuck between rock and hard place. The drones stopped working
in Klonans mod and when I deleted the mining buildings to attempt to fix it, I cannot replace them due to invisible buildings where I deleted them.
So off to the other mod to report this.

9 days ago

Ok, I created a backport MD2R v2.1.6 for Factorio 2.0 with many fixes and small features, uploaded to Google Disk only for now – please try it and let me know if that works for you.

8 days ago

Thanks. I will have a look at this.

New response