Furnace Recipe Selection


Allows you to select the recipe a furnace uses.

Utilities
4 days ago
1.1 - 2.0
1.80K
Manufacturing

b Error while loading

3 days ago

Error while loading entity prototype useless furnace (furnace): unknown flag "hidden"
Modifications: furnace recipe selection

3 hours ago
(updated 3 hours ago)

Error while loading entity prototype "useless-furnace" (furnace): Unknown flag "hidden"
I'm having the same issue.

3 hours ago

I found that deleting the code doesn't report an error, but I don't know if there's a bug.
if (not hasNonFurnaceFurnace) then
--add a useless furnace so the game doesn't complain when we remove them later
local uselessFurnace = table.deepcopy(data.raw["furnace"]["stone-furnace"])
uselessFurnace.name = "useless-furnace"
uselessFurnace.flags = {"hidden"}
uselessFurnace.next_upgrade = nil
data:extend{uselessFurnace}
end

New response