mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 16:30:21 +01:00
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",
|
||||||
@ -14,6 +40,18 @@ minetest.register_craft({
|
|||||||
burntime = 30,
|
burntime = 30,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:table_mahogany",
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "homedecor:table_white",
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "homedecor:chair 2",
|
output = "homedecor:chair 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -29,6 +67,36 @@ minetest.register_craft({
|
|||||||
burntime = 15,
|
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