mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-08-21 13:34:11 +02:00
Add craft recipe for noteblock
This commit is contained in:
parent
32fba63267
commit
4db24333f5
@ -10,6 +10,15 @@ minetest.register_node("mesecons_noteblock:noteblock", {
|
|||||||
end
|
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)
|
minetest.register_on_punchnode(function (pos, node)
|
||||||
if node.name=="mesecons_noteblock:noteblock" then
|
if node.name=="mesecons_noteblock:noteblock" then
|
||||||
local param2 = node.param2+1
|
local param2 = node.param2+1
|
||||||
|
Loading…
Reference in New Issue
Block a user