1.0.0 Release! Fixed a bug with clipping out inv slots in shelf cabinets, added screenshot
parent
a9e4caef78
commit
18f8757e26
|
@ -117,8 +117,9 @@ function shelves.set_shelves(pos)
|
|||
local list_name = shelves.build_name_from_tmp(node.name, "list", i)
|
||||
|
||||
local padding = 0.25
|
||||
local width = shelf_data.inv_size.w > 8 and shelf_data.inv_size.w or 8
|
||||
local fs_size = {
|
||||
w = shelf_data.inv_size.w+1+(shelf_data.inv_size.w-1)*padding,
|
||||
w = width+1+(width-1)*padding,
|
||||
h = shelf_data.inv_size.h+5.5+(shelf_data.inv_size.h-1)*padding+3*padding
|
||||
}
|
||||
local player_list_y = shelf_data.inv_size.h+1+(shelf_data.inv_size.h-1)*padding
|
||||
|
|
|
@ -291,6 +291,7 @@ local pots_defs = {
|
|||
mesh = "multidecor_glass_vase",
|
||||
tiles = {"multidecor_gloss.png^[opacity:120"},
|
||||
inventory_image = "multidecor_glass_vase_inv.png",
|
||||
wield_image = "multidecor_glass_vase_inv.png",
|
||||
use_texture_alpha = "blend",
|
||||
bounding_boxes = {{-0.2, -0.5, -0.2, 0.2, 0.2, 0.2}},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
|
@ -307,6 +308,7 @@ for name, def in pairs(pots_defs) do
|
|||
cdef.mesh = def.mesh .. ".b3d"
|
||||
cdef.tiles = def.tiles
|
||||
cdef.inventory_image = def.inventory_image
|
||||
cdef.wield_image = def.wield_image
|
||||
cdef.collision_box = {
|
||||
type = "fixed",
|
||||
fixed = def.bounding_boxes
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue