add recipe for persian rug

This commit is contained in:
Vanessa Ezekowitz 2015-05-11 12:46:41 -04:00
parent 8e1670e3b9
commit dfcd8154eb

View File

@ -922,26 +922,46 @@ minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "homedecor:rug_small 8", output = "homedecor:rug_small 8",
recipe = { recipe = {
"wool:red", "wool:red",
"wool:yellow", "wool:yellow",
"wool:blue", "wool:blue",
"wool:black" "wool:black"
}, },
}) })
-- cotton version: minetest.register_craft( {
output = "homedecor:rug_persian 8",
recipe = {
{ "", "wool:yellow", "" },
{ "wool:red", "wool:blue", "wool:red" },
{ "", "wool:yellow", "" }
},
})
-- cotton versions:
minetest.register_craft( { minetest.register_craft( {
type = "shapeless", type = "shapeless",
output = "homedecor:rug_small 8", output = "homedecor:rug_small 8",
recipe = { recipe = {
"cotton:red", "cotton:red",
"cotton:yellow", "cotton:yellow",
"cotton:blue", "cotton:blue",
"cotton:black" "cotton:black"
}, },
}) })
minetest.register_craft( {
output = "homedecor:rug_persian 8",
recipe = {
{ "", "cotton:yellow", "" },
{ "cotton:red", "cotton:blue", "cotton:red" },
{ "", "cotton:yellow", "" }
},
})
-- fuel recipes for same
minetest.register_craft({ minetest.register_craft({
type = "fuel", type = "fuel",
recipe = "homedecor:rug_small", recipe = "homedecor:rug_small",
@ -963,6 +983,12 @@ minetest.register_craft({
burntime = 30, burntime = 30,
}) })
minetest.register_craft({
type = "fuel",
recipe = "homedecor:rug_persian",
burntime = 30,
})
-- Speakers -- Speakers
minetest.register_craft( { minetest.register_craft( {