From 3792b692aafed0ce6b0092b34278ad391b9eaf27 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Wed, 6 Mar 2013 20:51:57 -0500 Subject: Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds. --- mesecons_noteblock/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'mesecons_noteblock') diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index 073524c..12788d3 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -14,6 +14,7 @@ minetest.register_node("mesecons_noteblock:noteblock", { minetest.env:add_node(pos, {name = node.name, param2 = param2}) mesecon.noteblock_play(pos, param2) end, + sounds = default.node_sound_wood_defaults(), mesecons = {effector = { -- play sound when activated action_on = function (pos, node) mesecon.noteblock_play(pos, node.param2) -- cgit v1.2.3