local colbox_post_light = {
   type = 'fixed',
   fixed = {
      {-.2, -.5, -.2, .2, -.4, .2},
      {-.125, -.4, -.125, .125, .425, .125},}}

minetest.register_node('lights:scifi_post', {
   description = 'Scifi Post Light',
   drawtype = 'mesh',
   mesh = 'lights_scifi_post.obj',
   paramtype = 'light',
   paramtype2 = 'facedir',
   light_source = 14,
   selection_box = colbox_post_light,
   collision_box = colbox_post_light,
   tiles = {'lights_scifi_post.png'},
   groups = {breakable=1},
   on_place = minetest.rotate_node,
})

local colbox_plaque_light = {
   type = 'fixed',
   fixed = {
      {-.4, -.5, -.4, .4, -.4, .4},}}

minetest.register_node('lights:plaque', {
   description = 'Scifi Plaque',
   drawtype = 'mesh',
   mesh = 'lights_plaque.obj',
   paramtype = 'light',
   paramtype2 = 'facedir',
   light_source = 14,
   selection_box = colbox_plaque_light,
   collision_box = colbox_plaque_light,
   tiles = {'lights_plaque.png'},
   groups = {breakable=1},
   on_place = minetest.rotate_node,
})

local colbox_corner_light = {
   type = 'fixed',
   fixed = {
      {-.25, -.5, .3, .25, -.3, .5},}}

minetest.register_node('lights:corner', {
   description = 'Scifi inside Corner light',
   drawtype = 'mesh',
   mesh = 'lights_corner.obj',
   paramtype = 'light',
   paramtype2 = 'facedir',
   light_source = 10,
   selection_box = colbox_corner_light,
   collision_box = colbox_corner_light,
   tiles = {'lights_corner.png'},
   groups = {breakable=1},
   on_place = minetest.rotate_node,
})
