summaryrefslogtreecommitdiff
path: root/trafficlight
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-05-30 16:18:25 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-05-30 16:18:25 +0200
commit94137db6df312da260daa43e9cfdd14e163b5055 (patch)
tree2746873ae5addd013be470180488ca7e897eca7b /trafficlight
parentc604c10529c475db868ec53fbfe9dd56b35e5683 (diff)
downloadroads-94137db6df312da260daa43e9cfdd14e163b5055.tar
roads-94137db6df312da260daa43e9cfdd14e163b5055.tar.gz
roads-94137db6df312da260daa43e9cfdd14e163b5055.tar.bz2
roads-94137db6df312da260daa43e9cfdd14e163b5055.tar.xz
roads-94137db6df312da260daa43e9cfdd14e163b5055.zip
localize rules
Diffstat (limited to 'trafficlight')
-rw-r--r--trafficlight/depends.txt3
-rw-r--r--trafficlight/init.lua17
2 files changed, 18 insertions, 2 deletions
diff --git a/trafficlight/depends.txt b/trafficlight/depends.txt
index 8d7b8d8..afffe32 100644
--- a/trafficlight/depends.txt
+++ b/trafficlight/depends.txt
@@ -1,4 +1,5 @@
default
streetsmod
digilines?
-mesecons? \ No newline at end of file
+mesecons?
+streetspoles \ No newline at end of file
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 73b8c70..d594e75 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -96,7 +96,22 @@ minetest.register_node(":streets:digiline_distributor",{
receptor = {},
effector = {},
wire = {
- rules = streets.rules_pole
+ rules = {
+ {x= 0, y= 0, z=-1},
+ {x= 1, y= 0, z= 0},
+ {x=-1, y= 0, z= 0},
+ {x= 0, y= 0, z= 1},
+ {x= 1, y= 1, z= 0},
+ {x= 1, y=-1, z= 0},
+ {x=-1, y= 1, z= 0},
+ {x=-1, y=-1, z= 0},
+ {x= 0, y= 1, z= 1},
+ {x= 0, y=-1, z= 1},
+ {x= 0, y= 1, z=-1},
+ {x= 0, y=-1, z=-1},
+ {x= 0, y=-1, z= 0},
+ {x= 0, y= 1, z= 0}
+ }
}
}
})