mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
use mesh node for 3d bookshelf
(but not moreblocks empty one, isn't needed there)
This commit is contained in:
parent
d1064c2beb
commit
fecde79709
BIN
homedecor_3d_extras/blends/3dbookshelf.blend
Normal file
BIN
homedecor_3d_extras/blends/3dbookshelf.blend
Normal file
Binary file not shown.
@ -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
|
||||||
|
1095
homedecor_3d_extras/models/3dbookshelf.obj
Normal file
1095
homedecor_3d_extras/models/3dbookshelf.obj
Normal file
File diff suppressed because it is too large
Load Diff
BIN
homedecor_3d_extras/textures/3dbookshelf.png
Normal file
BIN
homedecor_3d_extras/textures/3dbookshelf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 348 B |
Loading…
Reference in New Issue
Block a user