mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 16:30:21 +01:00
22259b73c0
the various colors of chairs and make all such tables and chairs flammable
247 lines
5.1 KiB
Lua
247 lines
5.1 KiB
Lua
|
|
minetest.register_craft({
|
|
output = "homedecor:table", "homedecor:chair 2",
|
|
recipe = {
|
|
{ "group:wood","group:wood", "group:wood" },
|
|
{ "default:stick", "", "default:stick" },
|
|
},
|
|
})
|
|
|
|
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({
|
|
type = "fuel",
|
|
recipe = "homedecor:table",
|
|
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({
|
|
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({
|
|
type = "fuel",
|
|
recipe = "homedecor:armchair",
|
|
burntime = 30,
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:table_lamp_off",
|
|
recipe = {
|
|
{"default:paper","default:torch" ,"default:paper"},
|
|
{"","default:stick",""},
|
|
{"","stairs:slab_wood",""},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:table_lamp_off",
|
|
recipe = {
|
|
{"default:paper","default:torch" ,"default:paper"},
|
|
{"","default:stick",""},
|
|
{"","stairsplus:slab_wood",""},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "homedecor:table_lamp_off",
|
|
burntime = 10,
|
|
})
|
|
|
|
local lamp_colors = { "blue", "green", "pink", "red", "violet" }
|
|
|
|
for _, color in ipairs(lamp_colors) do
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:table_lamp_"..color.."_off",
|
|
recipe = {
|
|
{"wool:"..color,"default:torch" ,"wool:"..color},
|
|
{"","default:stick",""},
|
|
{"","stairs:slab_wood",""},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:table_lamp_"..color.."_off",
|
|
recipe = {
|
|
{"wool:"..color,"default:torch" ,"wool:"..color},
|
|
{"","default:stick",""},
|
|
{"","stairsplus:slab_wood",""},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "shapeless",
|
|
output = "homedecor:table_lamp_"..color.."_off",
|
|
recipe = {
|
|
"dye:"..color,
|
|
"homedecor:table_lamp_off",
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "homedecor:table_lamp_"..color.."_off",
|
|
burntime = 10,
|
|
})
|
|
|
|
end
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:toilet",
|
|
recipe = {
|
|
{"","","bucket:bucket_water"},
|
|
{ "default:cobble","default:cobble", "default:cobble" },
|
|
{ "", "bucket:bucket_empty", "" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:sink",
|
|
recipe = {
|
|
{ "default:cobble","bucket:bucket_empty", "default:cobble" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:taps",
|
|
recipe = {
|
|
{ "default:steel_ingot","bucket:bucket_water", "default:steel_ingot" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:shower_tray",
|
|
recipe = {
|
|
{ "default:cobble","bucket:bucket_water", "default:cobble" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:shower_head",
|
|
recipe = {
|
|
{"default:steel_ingot", "bucket:bucket_water"},
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:bars 10",
|
|
recipe = {
|
|
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" },
|
|
{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:L_binding_bars 4",
|
|
recipe = {
|
|
{ "homedecor:bars","" },
|
|
{ "homedecor:bars","homedecor:bars" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:chains 4",
|
|
recipe = {
|
|
{"","default:steel_ingot","default:steel_ingot"},
|
|
{ "default:steel_ingot","", "default:steel_ingot" },
|
|
{ "default:steel_ingot", "default:steel_ingot", "" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:chains 4",
|
|
recipe = {
|
|
{ "default:steel_ingot", "", "default:steel_ingot"},
|
|
{ "glooptest:chainlink", "", "glooptest:chainlink" },
|
|
{ "glooptest:chainlink", "", "glooptest:chainlink" },
|
|
},
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = "homedecor:torch_wall 10",
|
|
recipe = {
|
|
{ "default:coal_lump" },
|
|
{ "default:steel_ingot" },
|
|
},
|
|
})
|