Added a wall shelf

This commit is contained in:
kilbith 2014-09-10 16:09:06 +02:00 committed by Vanessa Ezekowitz
parent 9901cd6dde
commit f94aa7616e
2 changed files with 24 additions and 0 deletions

View File

@ -2636,5 +2636,11 @@ minetest.register_craft({
},
})
minetest.register_craft({
output = "homedecor:wall_shelf 2",
recipe = {
{ "homedecor:wood_table_small_square", "homedecor:curtainrod_wood", "homedecor:curtainrod_wood" },
},
})

View File

@ -722,6 +722,24 @@ minetest.register_node("homedecor:deckchair_foot", {
end
})
minetest.register_node("homedecor:wall_shelf", {
description = "Wall Shelf",
tiles = {
"homedecor_wood_table_large_edges.png",
},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = { snappy = 3 },
node_box = {
type = "fixed",
fixed = {
{-0.5, 0.4, 0.47, 0.5, 0.47, 0.5},
{-0.5, 0.47, -0.1875, 0.5, 0.5, 0.5}
}
}
})
-- Aliases for 3dforniture mod.
minetest.register_alias("3dforniture:table", "homedecor:table")