summaryrefslogtreecommitdiff
path: root/streetspoles
diff options
context:
space:
mode:
authorwebdesigner97 <Christian_D_97@gmx.de>2014-05-27 22:23:12 +0200
committerwebdesigner97 <Christian_D_97@gmx.de>2014-05-27 22:23:12 +0200
commitab5768089729faf4f11924d66bde38805154f3be (patch)
treed156a8dff1a9547bfbca24244d7ecbcc4d459457 /streetspoles
parentabecee937d0ef5c6060e32866684d1621b5506da (diff)
downloadroads-ab5768089729faf4f11924d66bde38805154f3be.tar
roads-ab5768089729faf4f11924d66bde38805154f3be.tar.gz
roads-ab5768089729faf4f11924d66bde38805154f3be.tar.bz2
roads-ab5768089729faf4f11924d66bde38805154f3be.tar.xz
roads-ab5768089729faf4f11924d66bde38805154f3be.zip
bigpole craft
Diffstat (limited to 'streetspoles')
-rw-r--r--streetspoles/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/streetspoles/init.lua b/streetspoles/init.lua
index b7d0a6b..a13e3f5 100644
--- a/streetspoles/init.lua
+++ b/streetspoles/init.lua
@@ -104,6 +104,9 @@ minetest.register_node(":streets:bigpole", {
}
},
on_place = minetest.rotate_node,
+ after_place_node = function(pos, placer, itemstack, pointed_thing)
+ minetest.chat_send_all(pointed_thing.name)
+ end,
digiline = {
wire = {
rules = rules_pole
@@ -124,4 +127,12 @@ minetest.register_node(":streets:bigpole_edge", {
{-0.15,-0.15,-0.125,0.15,0.15,-0.5}
}
},
+})
+minetest.register_craft({
+ output = "streets:bigpole 3",
+ recipe = {
+ {"","",""},
+ {"","default:steel_ingot",""},
+ {"","default:steel_ingot",""}
+ }
}) \ No newline at end of file