diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-27 13:49:45 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-27 13:49:45 +0200 |
commit | cdce04254a5fb8a7813fdf155cc0c8874a353e30 (patch) | |
tree | a13426fe5c7b039b514d63c26a731a272bc5e4fd /trafficlight | |
parent | babc61df54ce98a5c87f182dab271586d6ad75ab (diff) | |
download | roads-cdce04254a5fb8a7813fdf155cc0c8874a353e30.tar roads-cdce04254a5fb8a7813fdf155cc0c8874a353e30.tar.gz roads-cdce04254a5fb8a7813fdf155cc0c8874a353e30.tar.bz2 roads-cdce04254a5fb8a7813fdf155cc0c8874a353e30.tar.xz roads-cdce04254a5fb8a7813fdf155cc0c8874a353e30.zip |
move poles to new submod
Diffstat (limited to 'trafficlight')
-rw-r--r-- | trafficlight/init.lua | 2 | ||||
-rw-r--r-- | trafficlight/pole.lua | 55 |
2 files changed, 0 insertions, 57 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua index a1a0e53..2b4cd46 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -2,8 +2,6 @@ StreetsMod: inDev Trafficlights ]] -dofile(streets.modpath .. "/../trafficlight/pole.lua") - streets.tlBox = { --[[ Thank you, rubenwardy, for your awesome NodeboxEditor! Not perfect, but still great! ]] {-0.1875,-0.5,0.5,0.1875,0.5,0.75}, --nodebox1 diff --git a/trafficlight/pole.lua b/trafficlight/pole.lua deleted file mode 100644 index a8815fc..0000000 --- a/trafficlight/pole.lua +++ /dev/null @@ -1,55 +0,0 @@ ---[[ - StreetsMod: inDev Trafficlights -]] -local 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} -} - -minetest.register_node(":streets:bigpole", { - description = "Pole", - paramtype = "light", - paramtype2 = "facedir", - drawtype = "nodebox", - tiles = {"streets_pole.png"}, - groups = {cracky = 1, level = 2, bigpole = 1}, - node_box = { - type = "fixed", - fixed = { - {-0.15, -0.5, -0.15, 0.15, 0.5, 0.15} - } - }, - on_place = minetest.rotate_node, - digiline = { - wire = { - rules = rules_pole - } - } -}) -minetest.register_node(":streets:bigpole_edge", { - drop = "streets:bigpole", - paramtype = "light", - paramtype2 = "facedir", - drawtype = "nodebox", - tiles = {"streets_pole.png"}, - groups = {cracky = 1, level = 2, not_in_creative_inventory = 1, bigpole = 1}, - node_box = { - type = "fixed", - fixed = { - {-0.15,-0.5,-0.15,0.15,0.15,0.15}, - {-0.15,-0.15,-0.125,0.15,0.15,-0.5} - } - }, -})
\ No newline at end of file |