From 94137db6df312da260daa43e9cfdd14e163b5055 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Fri, 30 May 2014 16:18:25 +0200 Subject: localize rules --- trafficlight/depends.txt | 3 ++- trafficlight/init.lua | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) (limited to 'trafficlight') 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} + } } } }) -- cgit v1.2.3