diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-03-06 20:51:57 -0500 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-03-06 20:51:57 -0500 |
commit | 3792b692aafed0ce6b0092b34278ad391b9eaf27 (patch) | |
tree | b369d66cdf9e418e014131f00d5a3547a4fc78e9 /mesecons_noteblock/init.lua | |
parent | 84d5546df1fbe17b7f6b60ec53fb596343d93340 (diff) |
Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds.
Diffstat (limited to 'mesecons_noteblock/init.lua')
-rw-r--r-- | mesecons_noteblock/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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) |