diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-30 22:38:10 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2014-05-30 22:38:10 +0200 |
commit | 2222b34500810c3c3605b45192a80ba675471755 (patch) | |
tree | bf8593824434b4620f26c6b62116c233e98363c0 /streetspoles | |
parent | 888dfb7ec86dd82a217265540cc2dd694ee0bf6e (diff) | |
download | roads-2222b34500810c3c3605b45192a80ba675471755.tar roads-2222b34500810c3c3605b45192a80ba675471755.tar.gz roads-2222b34500810c3c3605b45192a80ba675471755.tar.bz2 roads-2222b34500810c3c3605b45192a80ba675471755.tar.xz roads-2222b34500810c3c3605b45192a80ba675471755.zip |
Diigiline rules
Diffstat (limited to 'streetspoles')
-rw-r--r-- | streetspoles/init.lua | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/streetspoles/init.lua b/streetspoles/init.lua index ce00eda..65b068d 100644 --- a/streetspoles/init.lua +++ b/streetspoles/init.lua @@ -71,23 +71,6 @@ minetest.register_craft({ -- Big pole -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", @@ -105,7 +88,15 @@ minetest.register_node(":streets:bigpole", { on_place = minetest.rotate_node, digiline = { wire = { - rules = rules_pole + 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=-1, z= 0}, + {x= 0, y= 1, z= 0}, + {x= 0, y=-2, z= 0} + } } } }) @@ -125,6 +116,18 @@ minetest.register_node(":streets:bigpole_edge", { {-0.15,-0.15,-0.15,0.15,0.15,-0.5} } }, + digiline = { + 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=-1, z= 0}, + {x= 0, y= 1, z= 0}, + } + } + } }) minetest.register_craft({ output = "streets:bigpole 3", |