You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when trying to removing the recipes for cooking to make silver/mithril ingots, the code instead removes all recipes that produce silver/mithril ingots, including recipes such as crafting a silver block into ingots:
I think the fix would be something like changing the clear_craft calls to not specify the output item and instead specify the inputs and type, that way it doesn't delete all the other recipes so you don't have to re-add them:
-- delete cooking iron lumps into steel ingotsminetest.clear_craft({
type="cooking",
recipe="default:iron_lump",
})
-- delete cooking silver lumps into silver ingotsminetest.clear_craft({
type="cooking",
recipe="moreores:silver_lump",
})
-- delete crafting buckets from steel ingotsminetest.register_craft({
recipe= {
{"default:steel_ingot", "", "default:steel_ingot"},
{"", "default:steel_ingot", ""},
}
})
The text was updated successfully, but these errors were encountered:
when trying to removing the recipes for cooking to make silver/mithril ingots, the code instead removes all recipes that produce silver/mithril ingots, including recipes such as crafting a silver block into ingots:
techage/furnace/recipes.lua
Lines 154 to 155 in 8183b05
techage/iron_age/recipes.lua
Lines 141 to 144 in 8183b05
I think the fix would be something like changing the
clear_craft
calls to not specify the output item and instead specify the inputs and type, that way it doesn't delete all the other recipes so you don't have to re-add them:The text was updated successfully, but these errors were encountered: