mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 09:25:10 +00:00
Increase hear distance of piston push sound
This commit is contained in:
parent
9bf25214be
commit
e3559e1de8
1 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ local piston_remove_pusher = function (pos, oldnode)
|
|||
core.check_for_falling(pusherpos)
|
||||
minetest.sound_play("piston_retract", {
|
||||
pos = pos,
|
||||
max_hear_distance = 20,
|
||||
max_hear_distance = 31,
|
||||
gain = 0.3,
|
||||
})
|
||||
end
|
||||
|
@ -81,7 +81,7 @@ local piston_remove_base = function (pos, oldnode)
|
|||
core.check_for_falling(basepos)
|
||||
minetest.sound_play("piston_retract", {
|
||||
pos = pos,
|
||||
max_hear_distance = 20,
|
||||
max_hear_distance = 31,
|
||||
gain = 0.3,
|
||||
})
|
||||
end
|
||||
|
@ -104,7 +104,7 @@ local piston_on = function (pos, node)
|
|||
mesecon.mvps_move_objects(np, dir, oldstack)
|
||||
minetest.sound_play("piston_extend", {
|
||||
pos = pos,
|
||||
max_hear_distance = 20,
|
||||
max_hear_distance = 31,
|
||||
gain = 0.3,
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue