Skip to content
Snippets Groups Projects
Unverified Commit de4eeebd authored by leucome's avatar leucome Committed by GitHub
Browse files

Movestone servo-motor sound (#487)

parent 75bd1e8b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment