Code: Select all
for _, machine in pairs(data.raw) do
if machine.energy_source ~= nil then
if machine.energy_source.type == "electric" then
machine.energy_source = {
type = "burner",
effectivity = 0.5,
fuel_inventory_size = 1
}
end
end
end