diff options
author | webdesigner97 <Christian_D_97@gmx.de> | 2014-06-19 23:14:01 +0200 |
---|---|---|
committer | webdesigner97 <Christian_D_97@gmx.de> | 2014-06-19 23:14:01 +0200 |
commit | 59610279478543d186c735e7bae96b1bf98d1005 (patch) | |
tree | 9533d3dbad649ec86ca3a130de4e7d59f525396c /streetspoles | |
parent | 2f3b60cbfd21d08faeb0f651b2a58cc96e54a945 (diff) | |
download | roads-59610279478543d186c735e7bae96b1bf98d1005.tar roads-59610279478543d186c735e7bae96b1bf98d1005.tar.gz roads-59610279478543d186c735e7bae96b1bf98d1005.tar.bz2 roads-59610279478543d186c735e7bae96b1bf98d1005.tar.xz roads-59610279478543d186c735e7bae96b1bf98d1005.zip |
add t-junction pole (more coming soon)
Diffstat (limited to 'streetspoles')
-rw-r--r-- | streetspoles/init.lua | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/streetspoles/init.lua b/streetspoles/init.lua index 65b068d..964467e 100644 --- a/streetspoles/init.lua +++ b/streetspoles/init.lua @@ -129,6 +129,35 @@ minetest.register_node(":streets:bigpole_edge", { } } }) +minetest.register_node(":streets:bigpole_tjunction", { + description = "Pole", + drop = "streets:bigpole", + paramtype = "light", + paramtype2 = "facedir", + drawtype = "nodebox", + tiles = {"streets_pole.png"}, + sunlight_propagates = true, + groups = {cracky = 1, level = 2, bigpole = 1}, + node_box = { + type = "fixed", + fixed = { + {-0.15, -0.5, -0.15, 0.15, 0.15, 0.15}, + {-0.15, -0.15, -0.5, 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", recipe = { @@ -152,4 +181,12 @@ minetest.register_craft({ {"streets:bigpole","streets:bigpole",""}, {"","streets:bigpole",""} } +}) +minetest.register_craft({ + output = "streets:bigpole_tjunction 2", + recipe = { + {"","",""}, + {"streets:bigpole_edge","streets:bigpole",""}, + {"","",""} + } })
\ No newline at end of file |