summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2018-11-22 15:48:52 -0600
committercheapie <no-email-for-you@example.com>2018-11-22 15:48:52 -0600
commit1b7cb824e713a743a2eaabcb190ffbd014e81b90 (patch)
treefeeae5fb50c0e54cc18a65719aa554764aa72634
parent02ea436a939071ce3cfd2b18f0b55d886aa5aa0a (diff)
downloadrgblightstone-1b7cb824e713a743a2eaabcb190ffbd014e81b90.tar
rgblightstone-1b7cb824e713a743a2eaabcb190ffbd014e81b90.tar.gz
rgblightstone-1b7cb824e713a743a2eaabcb190ffbd014e81b90.tar.bz2
rgblightstone-1b7cb824e713a743a2eaabcb190ffbd014e81b90.tar.xz
rgblightstone-1b7cb824e713a743a2eaabcb190ffbd014e81b90.zip
Allow conduction of digilines signals
-rw-r--r--init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a26f7ab..812ca2b 100644
--- a/init.lua
+++ b/init.lua
@@ -72,6 +72,16 @@ minetest.register_node("rgblightstone:rgblightstone", {
end,
light_source = 0,
digiline = {
+ wire = {
+ rules = {
+ {x = 1,y = 0,z = 0},
+ {x = -1,y = 0,z = 0},
+ {x = 0,y = 0,z = 1},
+ {x = 0,y = 0,z = -1},
+ {x = 0,y = 1,z = 0},
+ {x = 0,y = -1,z = 0},
+ },
+ },
receptor = {},
effector = {
action = function(pos, node, channel, msg)