also redefine moreblocks' empty bookshelf in a similar manner

This commit is contained in:
Vanessa Ezekowitz 2014-05-29 19:06:53 -04:00
parent 3db939fca2
commit 2e4dce266f
3 changed files with 27 additions and 0 deletions

View File

@ -1 +1,3 @@
default
moreblocks?

View File

@ -55,3 +55,28 @@ minetest.override_item("default:bookshelf", {
}
}
})
minetest.override_item("moreblocks:empty_bookshelf", {
drawtype = "nodebox",
tiles = {
"3dbookshelf_top.png",
"3dbookshelf_bottom.png",
"3dbookshelf_sides.png",
"3dbookshelf_sides.png",
"3dbookshelf_fb_empty.png",
"3dbookshelf_fb_empty.png"
},
paramtype = "light",
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.1875}, -- NodeBox1
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5}, -- NodeBox2
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5}, -- NodeBox3
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5}, -- NodeBox4
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, -- NodeBox5
{-0.5, -0.0625, -0.5, 0.5, 0.0625, 0.5}, -- NodeBox6
}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B