local colbox_old_lamp_wall = {
   type = 'fixed',
   fixed = {
      {-.3, -.5, -.2, .3, 0, .2},}}

minetest.register_node('lights:old_lamp_wall', {
   description = 'Old Wall Lamp',
   drawtype = 'mesh',
   mesh = 'lights_old_lamp_wall.obj',
   paramtype = 'light',
   paramtype2 = 'facedir',
   light_source = 10,
   selection_box = colbox_old_lamp_wall,
   collision_box = colbox_old_lamp_wall,
   tiles = {'lights_old_light.png'},
   groups = {breakable=1},
   on_place = minetest.rotate_node,
})

local colbox_old_lamp_ceiling = {
   type = 'fixed',
   fixed = {
      {-.2, -.3, -.2, .2, .5, .2},}}

minetest.register_node('lights:old_lamp_ceiling', {
   description = 'Old Ceiling Lamp',
   drawtype = 'mesh',
   mesh = 'lights_old_lamp_ceiling.obj',
   paramtype = 'light',
   light_source = 10,
   selection_box = {type = 'fixed',
      fixed = {
         {-.25, -.5, -.25, .25, .4375, .25},}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.25, -.5, -.25, .25, .4375, .25},}},
   tiles = {'lights_old_light.png'},
   groups = {breakable=1},
})

local colbox_old_lamp_table = {
   type = 'fixed',
   fixed = {
      {-.2, -.5, -.2, .2, .1, .2},}}

minetest.register_node('lights:old_lamp_table', {
   description = 'Old Table Lamp',
   drawtype = 'mesh',
   mesh = 'lights_old_lamp_table.obj',
   paramtype = 'light',
   light_source = 10,
   selection_box = colbox_old_lamp_table,
   collision_box = colbox_old_lamp_table,
   tiles = {'lights_old_light.png'},
   groups = {breakable=1},
})
