EDIT 3: I am not good at modding or lua (may be forum can help ?), but something like this
for ,dat in pairs(data.raw) do
for ,items in pairs(dat) do
if string.find(items.name, "structure what you whant to edit") then
require("prototypes.luafilename")
end
end
end
or you can just create config file where moduser will select with true/false mods which he use.
After that in data.lua with Mighty if config.modused = true ? you will select which lua files include.
BTW after hole day of playing with Dytech at work, I'm just create small mod which increase enemy health & richness & etc (take it from DT-WAR) and install NE expansion.
BTW2: sorry for my awfull english -))