forked from Mirrorlandia_minetest/digistuff
Allow lights to be rotated
This commit is contained in:
parent
9e272a414e
commit
ee65d188ca
6
init.lua
6
init.lua
@ -998,6 +998,7 @@ for i=0,14,1 do
|
|||||||
description = "Digilines Dimmable Light"..(i > 0 and " (on state - you hacker you!)" or ""),
|
description = "Digilines Dimmable Light"..(i > 0 and " (on state - you hacker you!)" or ""),
|
||||||
tiles = {"digistuff_light.png"},
|
tiles = {"digistuff_light.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
paramtype2 = "facedir",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -1033,7 +1034,12 @@ for i=0,14,1 do
|
|||||||
{x = 0,y = 0,z = -1},
|
{x = 0,y = 0,z = -1},
|
||||||
{x = 0,y = 1,z = 0},
|
{x = 0,y = 1,z = 0},
|
||||||
{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},
|
||||||
|
{x = 0,y = -2,z = 0},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
effector = {
|
effector = {
|
||||||
|
Loading…
Reference in New Issue
Block a user