summaryrefslogtreecommitdiff
path: root/digistuff/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'digistuff/init.lua')
-rw-r--r--digistuff/init.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/digistuff/init.lua b/digistuff/init.lua
index 2b1a52e..33b5936 100644
--- a/digistuff/init.lua
+++ b/digistuff/init.lua
@@ -992,12 +992,13 @@ if minetest.get_modpath("mesecons_noteblock") then
end
for i=0,14,1 do
- local mult = 255 - ((14-i)*16)
+ local mult = 255 - ((14-i)*12)
minetest.register_node("digistuff:light_"..i, {
drop = "digistuff:light_0",
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 = {