Allow lights to be rotated

master
cheapie 2018-11-22 15:44:38 -06:00
parent 9e272a414e
commit ee65d188ca
1 changed files with 6 additions and 0 deletions

View File

@ -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 = {