Fix issue #186 (removes non-cooking recipes for silver/mithril ingots)

This commit is contained in:
Joachim Stolberg 2025-01-03 18:03:39 +01:00
parent 7700d43f88
commit 04138ab248
2 changed files with 22 additions and 11 deletions

View File

@ -151,8 +151,16 @@ techage.furnace.register_recipe({
if minetest.global_exists("moreores") then if minetest.global_exists("moreores") then
if techage.modified_recipes_enabled then if techage.modified_recipes_enabled then
minetest.clear_craft({output = "moreores:mithril_ingot"}) -- delete cooking iron lumps into steel ingots
minetest.clear_craft({output = "moreores:silver_ingot"}) minetest.clear_craft({
type = "cooking",
recipe = "default:iron_lump",
})
-- delete cooking silver lumps into silver ingots
minetest.clear_craft({
type = "cooking",
recipe = "moreores:silver_lump",
})
end end
techage.furnace.register_recipe({ techage.furnace.register_recipe({

View File

@ -141,21 +141,24 @@ end
-- Changed default recipes -- Changed default recipes
-- --
if techage.modified_recipes_enabled then if techage.modified_recipes_enabled then
minetest.clear_craft({output = "default:bronze_ingot"}) minetest.clear_craft({
minetest.clear_craft({output = "default:steel_ingot"}) output = "default:bronze_ingot",
type = "crafting",
})
minetest.clear_craft({
output = "default:steel_ingot",
type = "cooking",
})
minetest.clear_craft({output = "fire:flint_and_steel"}) minetest.clear_craft({output = "fire:flint_and_steel"})
minetest.clear_craft({output = "bucket:bucket_empty"}) minetest.clear_craft({output = "bucket:bucket_empty"})
if minetest.global_exists("moreores") then if minetest.global_exists("moreores") then
minetest.clear_craft({output = "moreores:silver_ingot"}) minetest.clear_craft({
recipe = "moreores:silver_lump",
type = "cooking",
})
end end
-- add again -- add again
minetest.register_craft({
output = 'default:steel_ingot 9',
recipe = {
{'default:steelblock'},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'default:bronze_ingot 9', output = 'default:bronze_ingot 9',
recipe = { recipe = {