forked from nalc/homedecor_modpack
add 3d vessels shelf
This commit is contained in:
parent
4b411d0466
commit
cc804c734d
|
@ -1,3 +1,3 @@
|
||||||
default
|
default
|
||||||
moreblocks?
|
moreblocks?
|
||||||
|
vessels?
|
||||||
|
|
|
@ -10,6 +10,20 @@ minetest.override_item("default:bookshelf", {
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath("vessels") and minetest.registered_nodes["vessels:shelf"] then
|
||||||
|
minetest.override_item("vessels:shelf", {
|
||||||
|
drawtype = "mesh",
|
||||||
|
mesh = "3dvesselshelf.obj",
|
||||||
|
tiles = {
|
||||||
|
"default_wood.png",
|
||||||
|
"default_wood.png^3dbookshelf_inside_back.png",
|
||||||
|
"3dvesselshelf_glass.png",
|
||||||
|
},
|
||||||
|
use_texture_alpha = true,
|
||||||
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
if minetest.get_modpath("moreblocks") then
|
if minetest.get_modpath("moreblocks") then
|
||||||
minetest.override_item("moreblocks:empty_bookshelf", {
|
minetest.override_item("moreblocks:empty_bookshelf", {
|
||||||
|
|
1730
homedecor_3d_extras/models/3dvesselshelf.obj
Normal file
1730
homedecor_3d_extras/models/3dvesselshelf.obj
Normal file
File diff suppressed because it is too large
Load Diff
BIN
homedecor_3d_extras/textures/3dvesselshelf_glass.png
Normal file
BIN
homedecor_3d_extras/textures/3dvesselshelf_glass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 198 B |
Loading…
Reference in New Issue
Block a user