summaryrefslogtreecommitdiff
path: root/trafficlight/pole.lua
diff options
context:
space:
mode:
Diffstat (limited to 'trafficlight/pole.lua')
-rw-r--r--trafficlight/pole.lua55
1 files changed, 0 insertions, 55 deletions
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