minetest.register_node('furniture:chest_small', {
   description = 'Small Chest',
   drawtype = 'mesh',
   mesh = 'furniture_chest_small.obj',
   tiles = {'furniture_chest_small.png'},
   overlay_tiles = {{name='furniture_chest_small_overlay.png', color='white'}},
   paramtype = 'light',
   paramtype2 = 'colorfacedir',
   palette = 'furniture_stain_palette.png',
   selection_box = {
      type = 'fixed',
      fixed = {-.4, -.5, -.3, .4, .2, .4},
      },
   collision_box = {
      type = 'fixed',
      fixed = {-.4, -.5, -.3, .4, .2, .4},
      },
   groups = {breakable=1, stash=1},
   on_rightclick = furniture.right_click,
   on_punch = furniture.punch
})

minetest.register_node('furniture:chest', {
   description = 'Chest',
   drawtype = 'mesh',
   mesh = 'furniture_chest.obj',
   tiles = {'furniture_chest.png'},
   overlay_tiles = {{name='furniture_chest_overlay.png', color='white'}},
   paramtype = 'light',
   paramtype2 = 'colorfacedir',
   palette = 'furniture_stain_palette.png',
   selection_box = {
      type = 'fixed',
      fixed = {-.45, -.5, -.4, .45, .4, .5},
      },
   collision_box = {
      type = 'fixed',
      fixed = {-.45, -.5, -.4, .45, .4, .5},
      },
   groups = {breakable=1, stash=1},
   on_rightclick = furniture.right_click,
   on_punch = furniture.punch
})

minetest.register_node('furniture:chest_large', {
   description = 'Large Chest',
   drawtype = 'mesh',
   mesh = 'furniture_chest_large.obj',
   tiles = {'furniture_chest_large.png'},
   overlay_tiles = {{name='furniture_chest_large_overlay.png', color='white'}},
   paramtype = 'light',
   paramtype2 = 'colorfacedir',
   palette = 'furniture_stain_palette.png',
   selection_box = {
      type = 'fixed',
      fixed = {-.5, -.5, -.4, 1.5, .3, .5},
      },
   collision_box = {
      type = 'fixed',
      fixed = {-.5, -.5, -.4, 1.5, .3, .5},
      },
   groups = {breakable=1, stash=1},
   on_rightclick = furniture.right_click,
   on_punch = furniture.punch
})
