summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
+ }
}
}
})