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_pistons/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_pistons/init.lua')
-rw-r--r-- | mesecons_pistons/init.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index a6cb06c..d496b1e 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -136,6 +136,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", { paramtype2 = "facedir", after_place_node = piston_orientate, mesecons_piston = pistonspec_normal, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_on = piston_on, rules = piston_get_rules @@ -163,6 +164,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", { node_box = piston_on_box, selection_box = piston_on_box, mesecons_piston = pistonspec_normal, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, rules = piston_get_rules @@ -215,6 +217,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", { paramtype2 = "facedir", after_place_node = piston_orientate, mesecons_piston = pistonspec_sticky, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_on = piston_on, rules = piston_get_rules @@ -242,6 +245,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", { node_box = piston_on_box, selection_box = piston_on_box, mesecons_piston = pistonspec_sticky, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, rules = piston_get_rules @@ -339,6 +343,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", { node_box = piston_up_on_box, selection_box = piston_up_on_box, mesecons_piston = pistonspec_normal_up, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, }} @@ -393,6 +398,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_off", { paramtype2 = "facedir", drop = "mesecons_pistons:piston_sticky_off", mesecons_piston = pistonspec_sticky_up, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_on = piston_on, }} @@ -419,6 +425,7 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", { node_box = piston_up_on_box, selection_box = piston_up_on_box, mesecons_piston = pistonspec_sticky_up, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, }} @@ -491,6 +498,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", { paramtype2 = "facedir", drop = "mesecons_pistons:piston_normal_off", mesecons_piston = pistonspec_normal_down, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_on = piston_on, }} @@ -517,6 +525,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal_on", { node_box = piston_down_on_box, selection_box = piston_down_on_box, mesecons_piston = pistonspec_normal_down, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, }} @@ -567,6 +576,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", { paramtype2 = "facedir", drop = "mesecons_pistons:piston_sticky_off", mesecons_piston = pistonspec_sticky_down, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_on = piston_on, }} @@ -593,6 +603,7 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_on", { node_box = piston_down_on_box, selection_box = piston_down_on_box, mesecons_piston = pistonspec_sticky_down, + sounds = default.node_sound_wood_defaults(), mesecons = {effector={ action_off = piston_off, }} |