From ab5768089729faf4f11924d66bde38805154f3be Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Tue, 27 May 2014 22:23:12 +0200 Subject: bigpole craft --- streetspoles/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'streetspoles') 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 -- cgit v1.2.3