Fix issue #186 (removes non-cooking recipes for silver/mithril ingots)
This commit is contained in:
parent
7700d43f88
commit
04138ab248
@ -151,8 +151,16 @@ techage.furnace.register_recipe({
|
||||
if minetest.global_exists("moreores") then
|
||||
|
||||
if techage.modified_recipes_enabled then
|
||||
minetest.clear_craft({output = "moreores:mithril_ingot"})
|
||||
minetest.clear_craft({output = "moreores:silver_ingot"})
|
||||
-- delete cooking iron lumps into steel ingots
|
||||
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
|
||||
|
||||
techage.furnace.register_recipe({
|
||||
|
@ -141,21 +141,24 @@ end
|
||||
-- Changed default recipes
|
||||
--
|
||||
if techage.modified_recipes_enabled then
|
||||
minetest.clear_craft({output = "default:bronze_ingot"})
|
||||
minetest.clear_craft({output = "default:steel_ingot"})
|
||||
minetest.clear_craft({
|
||||
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 = "bucket:bucket_empty"})
|
||||
if minetest.global_exists("moreores") then
|
||||
minetest.clear_craft({output = "moreores:silver_ingot"})
|
||||
minetest.clear_craft({
|
||||
recipe = "moreores:silver_lump",
|
||||
type = "cooking",
|
||||
})
|
||||
end
|
||||
|
||||
-- add again
|
||||
minetest.register_craft({
|
||||
output = 'default:steel_ingot 9',
|
||||
recipe = {
|
||||
{'default:steelblock'},
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = 'default:bronze_ingot 9',
|
||||
recipe = {
|
||||
|
Loading…
Reference in New Issue
Block a user