add 3d extras mod with 3d nodebox-based bookshelf

by default, this redefines the default bookshelf.
This commit is contained in:
Vanessa Ezekowitz 2014-05-29 18:52:51 -04:00
parent 7bf1c43c2d
commit 3db939fca2
6 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1 @@
default

View File

@ -0,0 +1,57 @@
minetest.override_item("default:bookshelf", {
drawtype = "nodebox",
tiles = {
"3dbookshelf_top.png",
"3dbookshelf_bottom.png",
"3dbookshelf_sides.png",
"3dbookshelf_sides.png",
"3dbookshelf_fb.png",
"3dbookshelf_fb.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
{-0.4375, 0.0625, -0.4375, -0.3125, 0.375, -0.125}, -- NodeBox7
{-0.3125, 0.0625, -0.4375, -0.25, 0.3125, -0.125}, -- NodeBox8
{-0.25, 0.0625, -0.4375, -0.125, 0.375, -0.125}, -- NodeBox9
{-0.125, 0.0625, -0.4375, 0, 0.4375, -0.125}, -- NodeBox10
{0, 0.0625, -0.4375, 0.0625, 0.3125, -0.125}, -- NodeBox11
{0.0625, 0.0625, -0.4375, 0.125, 0.375, -0.125}, -- NodeBox12
{0.125, 0.0625, -0.4375, 0.1875, 0.25, -0.125}, -- NodeBox13
{0.1875, 0.0625, -0.4375, 0.25, 0.3125, -0.125}, -- NodeBox14
{0.25, 0.0625, -0.4375, 0.3125, 0.25, -0.125}, -- NodeBox15
{0.3125, 0.0625, -0.4375, 0.4375, 0.375, -0.125}, -- NodeBox16
{-0.4375, -0.4375, -0.4375, -0.25, -0.125, -0.125}, -- NodeBox17
{-0.25, -0.4375, -0.4375, -0.125, -0.1875, -0.125}, -- NodeBox18
{-0.125, -0.4375, -0.4375, -0.0625, -0.125, -0.125}, -- NodeBox19
{-0.0625, -0.4375, -0.4375, 0.25, -0.1875, -0.125}, -- NodeBox22
{0.25, -0.4375, -0.4375, 0.375, -0.125, -0.125}, -- NodeBox23
{0.375, -0.4375, -0.4375, 0.4375, -0.1875, -0.125}, -- NodeBox24
{0.3125, 0.0625, 0.125, 0.4375, 0.375, 0.4375}, -- NodeBox25
{0.25, 0.0625, 0.125, 0.3125, 0.3125, 0.4375}, -- NodeBox26
{0.125, 0.0625, 0.125, 0.25, 0.375, 0.4375}, -- NodeBox27
{0, 0.0625, 0.125, 0.125, 0.5, 0.4375}, -- NodeBox28
{-0.0625, 0.0625, 0.125, 0, 0.3125, 0.4375}, -- NodeBox29
{-0.125, 0.0625, 0.125, -0.0625, 0.375, 0.4375}, -- NodeBox30
{-0.1875, 0.0625, 0.125, -0.125, 0.25, 0.4375}, -- NodeBox31
{-0.25, 0.0625, 0.125, -0.1875, 0.3125, 0.4375}, -- NodeBox32
{-0.3125, 0.0625, 0.125, -0.25, 0.25, 0.4375}, -- NodeBox33
{-0.4375, 0.0625, 0.125, -0.3125, 0.375, 0.4375}, -- NodeBox34
{0.25, -0.4375, 0.125, 0.4375, -0.125, 0.4375}, -- NodeBox35
{0.125, -0.4375, 0.125, 0.25, -0.1875, 0.4375}, -- NodeBox36
{0.0625, -0.4375, 0.125, 0.125, -0.125, 0.4375}, -- NodeBox37
{-0.1875, -0.4375, 0.1875, 0.0625, -0.1875, 0.4375}, -- NodeBox38
{-0.25, -0.4375, 0.125, -0.1875, -0.125, 0.4375}, -- NodeBox39
{-0.375, -0.4375, 0.125, -0.25, -0.0625, 0.4375}, -- NodeBox40
{-0.4375, -0.4375, 0.125, -0.375, -0.125, 0.4375}, -- NodeBox41
}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B