forked from nalc/homedecor_modpack
Added a wall shelf
This commit is contained in:
parent
9901cd6dde
commit
f94aa7616e
|
@ -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" },
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user