Add sounds to piston arms

This commit is contained in:
Wuzzy 2017-02-17 01:56:52 +01:00
parent 1c409dfdc5
commit 7c4a17d5a5

View File

@ -211,6 +211,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
corresponding_piston = "mesecons_pistons:piston_normal_on", corresponding_piston = "mesecons_pistons:piston_normal_on",
selection_box = piston_pusher_box, selection_box = piston_pusher_box,
node_box = piston_pusher_box, node_box = piston_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
-- Sticky ones -- Sticky ones
@ -295,6 +296,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
corresponding_piston = "mesecons_pistons:piston_sticky_on", corresponding_piston = "mesecons_pistons:piston_sticky_on",
selection_box = piston_pusher_box, selection_box = piston_pusher_box,
node_box = piston_pusher_box, node_box = piston_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
-- --
@ -347,7 +349,8 @@ minetest.register_node("mesecons_pistons:piston_up_normal_off", {
mesecons = {effector={ mesecons = {effector={
action_on = piston_on, action_on = piston_on,
rules = piston_up_rules, rules = piston_up_rules,
}} }},
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
-- onstate -- onstate
@ -397,6 +400,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_normal", {
corresponding_piston = "mesecons_pistons:piston_up_normal_on", corresponding_piston = "mesecons_pistons:piston_up_normal_on",
selection_box = piston_up_pusher_box, selection_box = piston_up_pusher_box,
node_box = piston_up_pusher_box, node_box = piston_up_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
@ -484,6 +488,7 @@ minetest.register_node("mesecons_pistons:piston_up_pusher_sticky", {
corresponding_piston = "mesecons_pistons:piston_up_sticky_on", corresponding_piston = "mesecons_pistons:piston_up_sticky_on",
selection_box = piston_up_pusher_box, selection_box = piston_up_pusher_box,
node_box = piston_up_pusher_box, node_box = piston_up_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
-- --
@ -589,6 +594,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_normal", {
corresponding_piston = "mesecons_pistons:piston_down_normal_on", corresponding_piston = "mesecons_pistons:piston_down_normal_on",
selection_box = piston_down_pusher_box, selection_box = piston_down_pusher_box,
node_box = piston_down_pusher_box, node_box = piston_down_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })
-- Sticky -- Sticky
@ -672,6 +678,7 @@ minetest.register_node("mesecons_pistons:piston_down_pusher_sticky", {
corresponding_piston = "mesecons_pistons:piston_down_sticky_on", corresponding_piston = "mesecons_pistons:piston_down_sticky_on",
selection_box = piston_down_pusher_box, selection_box = piston_down_pusher_box,
node_box = piston_down_pusher_box, node_box = piston_down_pusher_box,
sounds = mcl_sounds.node_sound_wood_defaults(),
}) })