forked from mtcontrib/homedecor_modpack
add recipes for white and mahogany tables and
the various colors of chairs and make all such tables and chairs flammable
This commit is contained in:
parent
a2536da5fa
commit
22259b73c0
@ -7,6 +7,32 @@ minetest.register_craft({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "homedecor:table_mahogany",
|
||||||
|
recipe = {
|
||||||
|
"homedecor:table",
|
||||||
|
"dye:brown",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "homedecor:table_mahogany",
|
||||||
|
recipe = {
|
||||||
|
"homedecor:table",
|
||||||
|
"unifieddyes:dark_orange",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "homedecor:table_white",
|
||||||
|
recipe = {
|
||||||
|
"homedecor:table",
|
||||||
|
"dye:white",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
@ -15,20 +41,62 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:chair 2",
|
type = "fuel",
|
||||||
recipe = {
|
recipe = "homedecor:table_mahogany",
|
||||||
{ "default:stick",""},
|
burntime = 30,
|
||||||
{ "group:wood","group:wood" },
|
|
||||||
{ "default:stick","default:stick" },
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "homedecor:chair",
|
recipe = "homedecor:table_white",
|
||||||
burntime = 15,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "homedecor:chair 2",
|
||||||
|
recipe = {
|
||||||
|
{ "default:stick",""},
|
||||||
|
{ "group:wood","group:wood" },
|
||||||
|
{ "default:stick","default:stick" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:chair",
|
||||||
|
burntime = 15,
|
||||||
|
})
|
||||||
|
|
||||||
|
local chaircolors = { "black", "red", "pink", "violet", "blue", "dark_green" }
|
||||||
|
|
||||||
|
for _, color in ipairs(chaircolors) do
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "homedecor:chair_"..color,
|
||||||
|
recipe = {
|
||||||
|
"homedecor:chair",
|
||||||
|
"wool:white",
|
||||||
|
"dye:"..color
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "homedecor:chair_"..color,
|
||||||
|
recipe = {
|
||||||
|
"homedecor:chair",
|
||||||
|
"wool:"..color
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:chair_"..color,
|
||||||
|
burntime = 15,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "fuel",
|
type = "fuel",
|
||||||
recipe = "homedecor:armchair",
|
recipe = "homedecor:armchair",
|
||||||
|
Loading…
Reference in New Issue
Block a user