forked from mtcontrib/homedecor_modpack
Added a simple bench
slabs to make it can be from moreblocks or default stairs mod
This commit is contained in:
parent
2973272d63
commit
784de299e3
@ -2485,3 +2485,18 @@ minetest.register_craft( {
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:simple_bench",
|
||||
recipe = {
|
||||
{ "stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood" },
|
||||
{ "stairs:slab_wood", "", "stairs:slab_wood" }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "homedecor:simple_bench",
|
||||
recipe = {
|
||||
{ "moreblocks:slab_wood", "moreblocks:slab_wood", "moreblocks:slab_wood" },
|
||||
{ "moreblocks:slab_wood", "", "moreblocks:slab_wood" }
|
||||
},
|
||||
})
|
||||
|
@ -491,6 +491,32 @@ local fdir_to_right = {
|
||||
{ 0, 1 },
|
||||
}
|
||||
|
||||
|
||||
minetest.register_node("homedecor:simple_bench", {
|
||||
tiles = {
|
||||
"homedecor_generic_wood.png",
|
||||
"homedecor_generic_wood.png",
|
||||
"homedecor_generic_wood.png",
|
||||
"homedecor_generic_wood.png",
|
||||
"homedecor_bench_large_2_left_back.png",
|
||||
"homedecor_bench_large_2_left_front.png"
|
||||
},
|
||||
description = "Simple Bench",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.15, -0.2, 0.5, -0.05, 0.2},
|
||||
{-0.4, -0.5, -0.1, -0.3, -0.15, 0.1},
|
||||
{ 0.3, -0.5, -0.1, 0.4, -0.15, 0.1},
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_node("homedecor:bench_large_1_left", {
|
||||
description = "Garden Bench (style 1)",
|
||||
tiles = {
|
||||
|
Loading…
Reference in New Issue
Block a user