Digging and footstep sounds for everything that needs them! Plus, pushing buttons, punching switches, and flipping levers all make sounds.

This commit is contained in:
Anthony Zhang
2013-03-06 20:51:57 -05:00
parent 84d5546df1
commit 3792b692aa
25 changed files with 50 additions and 1 deletions

View File

@ -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)