minetest.register_node('lights:street_light_base', {
   description = 'Street Light Base',
   drawtype = 'mesh',
   mesh = 'lights_street_light_base.obj',
   tiles = {'lights_street_light_base.png'},
   paramtype = 'light',
   selection_box = {type = 'fixed',
      fixed = {
         {-.2, -.5, -.2, .2, .5, .2},}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.2, -.5, -.2, .2, .5, .2},}},
   groups = {breakable=1},
})

minetest.register_node('lights:street_light_top', {
   description = 'Street Light top',
   drawtype = 'mesh',
   mesh = 'lights_street_light_top.obj',
   tiles = {'lights_street_light_top.png'},
   paramtype = 'light',
   selection_box = {type = 'fixed',
      fixed = {
         {-.125, -.5, -.125, .125, .5, .125},}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.125, -.5, -.125, .125, .5, .125},}},
   groups = {breakable=1},
})

minetest.register_node('lights:street_light_light', {
   description = 'Street Light',
   drawtype = 'mesh',
   mesh = 'lights_street_light_light.obj',
   tiles = {'lights_street_light_light.png'},
   paramtype = 'light',
   paramtype2 = 'facedir',
   light_source = 14,
   selection_box = {type = 'fixed',
      fixed = {
         {-.2, .2, -.2, .2, .5, .75},}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.2, .2, -.2, .2, .5, .75},}},
   groups = {breakable=1},
   on_construct = function(pos)
      lights.drop_light(pos, 14)
   end,
   on_destruct = lights.dropped_light_removal
})

minetest.register_node('lights:tiki_torch', {
   description = 'Tiki Torch',
   drawtype = 'mesh',
   mesh = 'lights_tiki_torch.obj',
   tiles = {'lights_tiki_torch.png'},
   paramtype = 'light',
   light_source = 10,
   groups = {breakable=1},
   selection_box = {type = 'fixed',
      fixed = {
         {-.1, -.5, -.1, .1, .875, .1},}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.1, -.5, -.1, .1, .875, .1},}},
})

minetest.register_node('lights:brazier', {
   description = 'Brazier',
   drawtype = 'mesh',
   mesh = 'lights_brazier.obj',
   tiles = {'lights_brazier.png', {name = 'lights_brazier_flame.png',
      animation = {type = 'vertical_frames', aspect_w = 32, aspect_h = 32, length = 2}}},
   use_texture_alpha = 'clip',
   paramtype = 'light',
   light_source = 13,
   groups = {breakable=1},
   selection_box = {type = 'fixed',
      fixed = {
         {-.16, -.5, -.16, .16, .25, .16},
         {-.375, .125, -.375, .375, .45, .375}}},
   collision_box = {type = 'fixed',
      fixed = {
         {-.16, -.5, -.16, .16, .25, .16},
         {-.375, .125, -.375, .375, .45, .375}}},
})
