summaryrefslogtreecommitdiff
path: root/trafficlight
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-05-30 22:38:10 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-05-30 22:38:10 +0200
commit2222b34500810c3c3605b45192a80ba675471755 (patch)
treebf8593824434b4620f26c6b62116c233e98363c0 /trafficlight
parent888dfb7ec86dd82a217265540cc2dd694ee0bf6e (diff)
downloadroads-2222b34500810c3c3605b45192a80ba675471755.tar
roads-2222b34500810c3c3605b45192a80ba675471755.tar.gz
roads-2222b34500810c3c3605b45192a80ba675471755.tar.bz2
roads-2222b34500810c3c3605b45192a80ba675471755.tar.xz
roads-2222b34500810c3c3605b45192a80ba675471755.zip
Diigiline rules
Diffstat (limited to 'trafficlight')
-rw-r--r--trafficlight/init.lua24
1 files changed, 11 insertions, 13 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index a1e7f9d..562068f 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -103,24 +103,13 @@ minetest.register_node(":streets:digiline_distributor",{
}
},
digiline = {
- receptor = {},
- effector = {},
wire = {
rules = {
{x= 0, y= 0, z=-1},
+ {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}
+ {x= 0, y= 2, z=0}
}
}
}
@@ -285,4 +274,13 @@ minetest.register_craft({
{"default:steel_ingot", "dye:yellow", "default:steel_ingot"},
{"default:steel_ingot", "dye:green", "default:steel_ingot"}
}
+})
+
+minetest.register_craft({
+ output = "streets:digiline_distributor",
+ recipe = {
+ {"", "digilines:wire_std_00000000", ""},
+ {"digilines:wire_std_00000000", "mesecons_luacontroller:luacontroller0000", "digilines:wire_std_00000000"},
+ {"", "digilines:wire_std_00000000", ""}
+ }
}) \ No newline at end of file