mirror of
https://github.com/Ezhh/abriglass.git
synced 2024-08-19 19:34:03 +02:00
Cooking recipe clean up
This commit is contained in:
parent
b1b0e7ae94
commit
f08081a19a
52
crafting.lua
52
crafting.lua
@ -135,47 +135,19 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
|
||||||
type = "cooking",
|
|
||||||
recipe = "abriglass:stainedglass_pattern01",
|
|
||||||
output = "abriglass:clear_glass",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
-- cooking recipes
|
||||||
type = "cooking",
|
local cook_list = { "stainedglass_pattern01", "stainedglass_pattern02", "stainedglass_pattern03", "stainedglass_pattern04", "stainedglass_pattern05", "stainedglass_tiles_dark", "stainedglass_tiles_pale"}
|
||||||
recipe = "abriglass:stainedglass_pattern02",
|
|
||||||
output = "abriglass:clear_glass",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
for i = 1, #cook_list do
|
||||||
type = "cooking",
|
local name = cook_list[i]
|
||||||
recipe = "abriglass:stainedglass_pattern03",
|
|
||||||
output = "abriglass:clear_glass",
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
recipe = "abriglass:stainedglass_pattern04",
|
recipe = "abriglass:"..name,
|
||||||
output = "abriglass:clear_glass",
|
output = "abriglass:clear_glass",
|
||||||
})
|
})
|
||||||
|
end
|
||||||
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",
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
-- one-way recipes
|
-- one-way recipes
|
||||||
@ -216,7 +188,3 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- missing crafts for:
|
|
||||||
-- ghost_crystal
|
|
||||||
|
Loading…
Reference in New Issue
Block a user