summaryrefslogtreecommitdiff
path: root/trafficlight/init.lua
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-05-19 21:27:47 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-05-19 21:27:47 +0200
commit946d833d2e3277dd43536ffd6b3300554081e56a (patch)
tree2712ff880cfc3a0ee924904107ee347c2dae64c1 /trafficlight/init.lua
parent09c1f038f50404b136ab746a04c93c0b63b78429 (diff)
downloadroads-946d833d2e3277dd43536ffd6b3300554081e56a.tar
roads-946d833d2e3277dd43536ffd6b3300554081e56a.tar.gz
roads-946d833d2e3277dd43536ffd6b3300554081e56a.tar.bz2
roads-946d833d2e3277dd43536ffd6b3300554081e56a.tar.xz
roads-946d833d2e3277dd43536ffd6b3300554081e56a.zip
Many changed files from the last weeks where I don't know what I chenged
Diffstat (limited to 'trafficlight/init.lua')
-rw-r--r--trafficlight/init.lua21
1 files changed, 2 insertions, 19 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 7e6051a..86d3878 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -18,23 +18,6 @@ streets.tlBox = {
{-0.125,-0.3125,0.3125,-0.0625,-0.25,0.5}, --nodebox10
}
-streets.rules_pole = {
- {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}
-}
-
streets.tlRythm = {
toRed = {
{name = "streets:trafficlight_top_yellow", pauseBefore = 0},
@@ -101,7 +84,7 @@ streets.on_digiline_receive = function(pos, node, channel, msg)
end
minetest.register_node(":streets:digiline_distributor",{
- description = S("Digiline distributor"),
+ description = streets.S("Digiline distributor"),
tiles = {"streets_lampcontroller_top.png","streets_lampcontroller_bottom.png","streets_lampcontroller_sides.png"},
groups = {cracky = 1},
digiline = {
@@ -114,7 +97,7 @@ minetest.register_node(":streets:digiline_distributor",{
})
minetest.register_node(":streets:trafficlight_top_off",{
- description = S("Trafficlight"),
+ description = streets.S("Trafficlight"),
drawtype="nodebox",
paramtype = "light",
paramtype2 = "facedir",