Cooking recipe clean up

This commit is contained in:
ezhh 2016-12-11 18:57:55 +00:00
parent b1b0e7ae94
commit f08081a19a

@ -135,47 +135,19 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
type = "cooking", -- cooking recipes
recipe = "abriglass:stainedglass_pattern01", local cook_list = { "stainedglass_pattern01", "stainedglass_pattern02", "stainedglass_pattern03", "stainedglass_pattern04", "stainedglass_pattern05", "stainedglass_tiles_dark", "stainedglass_tiles_pale"}
output = "abriglass:clear_glass",
}) for i = 1, #cook_list do
local name = cook_list[i]
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
recipe = "abriglass:stainedglass_pattern02", recipe = "abriglass:"..name,
output = "abriglass:clear_glass",
})
minetest.register_craft({
type = "cooking",
recipe = "abriglass:stainedglass_pattern03",
output = "abriglass:clear_glass",
})
minetest.register_craft({
type = "cooking",
recipe = "abriglass:stainedglass_pattern04",
output = "abriglass:clear_glass",
})
minetest.register_craft({
type = "cooking",
recipe = "abriglass:stainedglass_pattern05",
output = "abriglass:clear_glass",
})
minetest.register_craft({
type = "cooking",
recipe = "abriglass:stainedglass_tiles_dark",
output = "abriglass:clear_glass",
})
minetest.register_craft({
type = "cooking",
recipe = "abriglass:stainedglass_tiles_pale",
output = "abriglass:clear_glass", output = "abriglass:clear_glass",
}) })
end
-- one-way recipes -- one-way recipes
@ -216,7 +188,3 @@ minetest.register_craft({
} }
}) })
-- missing crafts for:
-- ghost_crystal