diff options
Diffstat (limited to 'mesecons_movestones')
-rw-r--r-- | mesecons_movestones/init.lua | 1 | ||||
-rw-r--r-- | mesecons_movestones/sounds/movestone.ogg | bin | 0 -> 12350 bytes |
2 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index 49ac2b5..cc2d942 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -66,6 +66,7 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical) mesecon.on_dignode(pos, node) mesecon.on_placenode(frontpos, node) minetest.get_node_timer(frontpos):start(timer_interval) + minetest.sound_play("movestone", {pos = pos, max_hear_distance = 20, gain = 0.5,}) -- ### Step 3: If sticky, pull stack behind ### if is_sticky then diff --git a/mesecons_movestones/sounds/movestone.ogg b/mesecons_movestones/sounds/movestone.ogg Binary files differnew file mode 100644 index 0000000..1910d0c --- /dev/null +++ b/mesecons_movestones/sounds/movestone.ogg |