diff options
author | cheapie <no-email-for-you@example.com> | 2018-11-22 15:44:38 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2018-11-22 15:44:38 -0600 |
commit | ee65d188cae9bf2ab73ab356ff556a98a6e29b3c (patch) | |
tree | 5b8c3bdab9903f8878751198b5606fff6517e12c | |
parent | 9e272a414e1aafaae573c87cf9eeb8c5a7d543c0 (diff) | |
download | digistuff-ee65d188cae9bf2ab73ab356ff556a98a6e29b3c.tar digistuff-ee65d188cae9bf2ab73ab356ff556a98a6e29b3c.tar.gz digistuff-ee65d188cae9bf2ab73ab356ff556a98a6e29b3c.tar.bz2 digistuff-ee65d188cae9bf2ab73ab356ff556a98a6e29b3c.tar.xz digistuff-ee65d188cae9bf2ab73ab356ff556a98a6e29b3c.zip |
Allow lights to be rotated
-rw-r--r-- | init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 = { |