Hi, thanks for keeping this alive. 1.1.20 fails at data stage when Mining_Drones_Remastered (2.3.0) is also enabled:
Failed to load mod "Construction_Drones_Forked": __Construction_Drones_Forked__/data-final-fixes.lua:8: attempt to index field 'units' (a nil value)
Cause: the data stage shares one Lua global table across all mods, and both mods assign a global named shared:
Construction_Drones_Forked/data.lua:2 - shared = require("shared")
Mining_Drones_Remastered/data.lua:2 - shared = require("shared") (runs later, since M sorts after C)
1.1.20 changed data-final-fixes.lua:3 to shared = shared or require("shared"). By then the global holds Mining Drones' table, so the or keeps it and shared.units is nil. 1.1.19 always re-required its own and was fine.
Fix (one line) in data-final-fixes.lua, line 3:
-- before
shared = shared or require("shared")
-- after
shared = require("shared")
(Using local shared = require("shared") everywhere would avoid the collision for good, as long as nothing else reads the global.)
Tested: headless --dump-data on 2.1.25 with only base + both drone mods: 1.1.20 as shipped reproduces the error; with the one-line change it loads clean, and my modded save plays normally.
Minor, unrelated: the two toggle inputs log unknown key_sequence: SHIFT + ] / SHIFT + [ on 2.1.25, so they start unbound.