mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-27 19:57:31 +01:00
Merge pull request 'item pickup sound gain more MC like' (#2054) from pepebotella/MineClone2:pop_sound into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2054
This commit is contained in:
commit
ba0e2cbf29
@ -110,7 +110,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
if tick == true and pool[name] > 0 then
|
if tick == true and pool[name] > 0 then
|
||||||
minetest.sound_play("item_drop_pickup", {
|
minetest.sound_play("item_drop_pickup", {
|
||||||
pos = pos,
|
pos = pos,
|
||||||
gain = 0.7,
|
gain = 0.3,
|
||||||
max_hear_distance = 16,
|
max_hear_distance = 16,
|
||||||
pitch = math.random(70,110)/100
|
pitch = math.random(70,110)/100
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user