forked from VoxeLibre/VoxeLibre
Merge pull request 'item pickup sound gain more MC like' (#2054) from pepebotella/MineClone2:pop_sound into master
Reviewed-on: MineClone2/MineClone2#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