Allow lights to be rotated

This commit is contained in:
cheapie 2018-11-22 15:44:38 -06:00
parent 9e272a414e
commit ee65d188ca

@ -998,6 +998,7 @@ for i=0,14,1 do
description = "Digilines Dimmable Light"..(i > 0 and " (on state - you hacker you!)" or ""),
tiles = {"digistuff_light.png"},
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
@ -1033,7 +1034,12 @@ for i=0,14,1 do
{x = 0,y = 0,z = -1},
{x = 0,y = 1,z = 0},
{x = 0,y = -1,z = 0},
{x = 2,y = 0,z = 0},
{x = -2,y = 0,z = 0},
{x = 0,y = 0,z = 2},
{x = 0,y = 0,z = -2},
{x = 0,y = 2,z = 0},
{x = 0,y = -2,z = 0},
}
},
effector = {