summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-10 21:31:52 +0200
committerJeija <norrepli@gmail.com>2012-08-10 21:31:52 +0200
commit4db24333f55efba0ef10e49e2c6ca17a57fd9a6f (patch)
treea216163b0ab9b1b8b86aa05242a0777ed1dc9710
parent32fba63267458986186641687cce5536d89abf1a (diff)
downloadmesecons-4db24333f55efba0ef10e49e2c6ca17a57fd9a6f.tar
mesecons-4db24333f55efba0ef10e49e2c6ca17a57fd9a6f.tar.gz
mesecons-4db24333f55efba0ef10e49e2c6ca17a57fd9a6f.tar.bz2
mesecons-4db24333f55efba0ef10e49e2c6ca17a57fd9a6f.tar.xz
mesecons-4db24333f55efba0ef10e49e2c6ca17a57fd9a6f.zip
Add craft recipe for noteblock
-rw-r--r--mesecons_noteblock/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua
index 7b363cb..13666eb 100644
--- a/mesecons_noteblock/init.lua
+++ b/mesecons_noteblock/init.lua
@@ -10,6 +10,15 @@ minetest.register_node("mesecons_noteblock:noteblock", {
end
})
+minetest.register_craft({
+ output = '"mesecons_noteblock:noteblock" 1',
+ recipe = {
+ {"default:wood", "default:wood", "default:wood"},
+ {"mesecons:mesecon_off", "default:steel_ingot", "mesecons:mesecon_off"},
+ {"default:wood", "default:wood", "default:wood"},
+ }
+})
+
minetest.register_on_punchnode(function (pos, node)
if node.name=="mesecons_noteblock:noteblock" then
local param2 = node.param2+1