This is the relevant mod code. Everything else seems to work as expected, it's only the recycler that refuses.
Code: Select all
local categories = {
assembler = "assembling-machine",
beacon = "beacon", -- Way overpowered
furnace = "furnace",
lab = "lab",
drill = "mining-drill",
rocketsilo = "rocket-silo"
}
for _,category in pairs(categories) do for _, e in pairs(data.raw[category]) do
if e.name ~= "burner-mining-drill" and e.name ~= "stone-furnace" then -- Skip these, they don't use electricity
if e.allowed_effects then
e.allowed_effects = {"consumption", "speed", "productivity", "pollution", "quality"}
end
if e.effect_receiver then
e.effect_receiver.uses_beacon_effects = true
end
end
end end
This is with beacons, 106% productivity, but i still get the same 25% items back.
This is with modules in the machine, 100% productivity, and I get around 50% items back.