1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 08:20:21 +01:00

use mesh node for 3d bookshelf

(but not moreblocks empty one, isn't needed there)
This commit is contained in:
Vanessa Ezekowitz 2014-12-14 05:49:46 -05:00
parent d1064c2beb
commit fecde79709
5 changed files with 1098 additions and 61 deletions

Binary file not shown.

View File

@ -1,67 +1,9 @@
minetest.override_item("default:bookshelf", { minetest.override_item("default:bookshelf", {
drawtype = "nodebox", drawtype = "mesh",
tiles = { mesh = "3dbookshelf.obj",
"3dbookshelf_top.png", tiles = { "3dbookshelf.png" },
"3dbookshelf_bottom.png",
"3dbookshelf_sides.png",
"3dbookshelf_sides.png",
"3dbookshelf_fb.png",
"3dbookshelf_fb.png"
},
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.1875},
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
{-0.5, -0.0625, -0.5, 0.5, 0.0625, 0.5},
{-0.4375, 0.0625, -0.486, -0.3125, 0.375, -0.125},
{-0.3125, 0.0625, -0.420, -0.25, 0.3125, -0.125},
{-0.25, 0.0625, -0.456, -0.1875, 0.375, -0.125},
{-0.125, 0.0625, -0.481, 0, 0.4375, -0.125},
{0, 0.0625, -0.4375, 0.0625, 0.3125, -0.125},
{0.0625, 0.0625, -0.461, 0.125, 0.375, -0.125},
{0.125, 0.0625, -0.425, 0.1875, 0.25, -0.125},
{0.1875, 0.0625, -0.456, 0.25, 0.3125, -0.125},
{0.25, 0.0625, -0.430, 0.3125, 0.25, -0.125},
{0.3125, 0.0625, -0.456, 0.4375, 0.375, -0.125},
{-0.4375, -0.4375, -0.456, -0.25, -0.125, -0.125},
{-0.25, -0.4375, -0.435, -0.125, -0.1875, -0.125},
{-0.125, -0.4375, -0.466, -0.0625, -0.125, -0.125},
{-0.0625, -0.4375, -0.476, 0, -0.1875, -0.125},
{0.25, -0.4375, -0.471, 0.375, -0.125, -0.125},
{0.375, -0.4375, -0.445, 0.4375, -0.1875, -0.125},
{0.3125, 0.0625, 0.125, 0.4375, 0.375, 0.471},
{0.25, 0.0625, 0.125, 0.3125, 0.3125, 0.461},
{0.1875, 0.0625, 0.125, 0.25, 0.375, 0.430},
{0, 0.0625, 0.125, 0.125, 0.4375, 0.497},
{-0.0625, 0.0625, 0.125, 0, 0.3125, 0.435},
{-0.125, 0.0625, 0.125, -0.0625, 0.375, 0.437},
{-0.1875, 0.0625, 0.125, -0.125, 0.25, 0.379},
{-0.25, 0.0625, 0.125, -0.1875, 0.3125, 0.445},
{-0.3125, 0.0625, 0.125, -0.25, 0.25, 0.425},
{-0.4375, 0.0625, 0.125, -0.3125, 0.375, 0.458},
{0.25, -0.4375, 0.125, 0.4375, -0.125, 0.437},
{0.125, -0.4375, 0.125, 0.25, -0.1875, 0.461},
{0.0625, -0.4375, 0.125, 0.125, -0.125, 0.435},
{-0.0625, -0.4375, 0.1875, 0, -0.1875, 0.456},
{-0.25, -0.4375, 0.125, -0.1875, -0.125, 0.394},
{-0.375, -0.4375, 0.125, -0.25, -0.0625, 0.430},
{-0.4375, -0.4375, 0.125, -0.375, -0.125, 0.394},
{-0.125, -0.4375, 0.125, -0.0625, -0.1875, 0.437},
{0.125, -0.4375, -0.435, 0.25, -0.1875, -0.125},
{0, -0.4375, -0.430, 0.0625, -0.1875, -0.125},
{0.0625, -0.4375, -0.461, 0.125, -0.1875, -0.125},
{-0.1875, 0.0625, -0.4375, -0.125, 0.375, -0.125},
{0.125, 0.0625, 0.125, 0.1875, 0.375, 0.448},
{0, -0.4375, 0.125, 0.0625, -0.1875, 0.471},
{-0.1875, -0.4375, 0.125, -0.125, -0.1875, 0.466},
}
}
}) })
if minetest.get_modpath("moreblocks") then if minetest.get_modpath("moreblocks") then

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B