Furnace Recipe Selection


Allows you to select the recipe a furnace uses.

Utilities
10 months ago
1.1 - 2.0
2.37K
Manufacturing

b Error while loading

10 months ago

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

10 months ago
(updated 10 months ago)

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

10 months 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

10 months ago

Fixed in 1.2.6

New response