master
runs 2021-01-08 21:38:40 +01:00
parent 9ef00c55e8
commit 70bf071213
4 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,7 @@ end)
function closet.register_container(name, d)
local def = table.copy(d)
def.drawtype = 'mesh'
def.use_texture_alpha = true
def.paramtype = "light"
def.paramtype2 = "facedir"
def.is_ground_content = false

View File

@ -7,6 +7,7 @@ closet.register_container("closet", {
tiles = {
"closet_closet.png",
},
use_texture_alpha = true,
selection_box = {
type = "fixed",
fixed = { -1/2, -1/2, 0.062500, 1/2, 1.5, 1/2 },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 16 KiB