forked from nalc/homedecor_modpack
better mesh/UV mapping for openframe bookshelf
This commit is contained in:
parent
c2575df10c
commit
e71bbdc0ef
|
@ -155,24 +155,26 @@ for i in ipairs(chaircolors) do
|
|||
end
|
||||
end
|
||||
|
||||
local ob_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
|
||||
}
|
||||
|
||||
minetest.register_node(":homedecor:openframe_bookshelf", {
|
||||
description = "Bookshelf (open-frame)",
|
||||
drawtype = "mesh",
|
||||
mesh = "homedecor_openframe_bookshelf.obj",
|
||||
tiles = { "homedecor_openframe_bookshelf.png" },
|
||||
tiles = {
|
||||
"homedecor_openframe_bookshelf_books.png",
|
||||
"default_wood.png"
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
groups = {choppy=3,oddly_breakable_by_hand=2,flammable=3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
|
||||
},
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, 0, 0.5, 0.5, 0.5 }
|
||||
},
|
||||
selection_box = ob_cbox,
|
||||
collision_box = ob_cbox,
|
||||
})
|
||||
|
||||
local bedcolors = {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
BIN
homedecor/textures/homedecor_openframe_bookshelf_books.png
Normal file
BIN
homedecor/textures/homedecor_openframe_bookshelf_books.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue
Block a user