Reduce max_hear_distance
parent
a4e30b25fc
commit
7adcb8422b
2
init.lua
2
init.lua
|
@ -22,7 +22,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
inv:add_item("main", ItemStack(object:get_luaentity().itemstring))
|
inv:add_item("main", ItemStack(object:get_luaentity().itemstring))
|
||||||
minetest.sound_play("item_drop_pickup", {
|
minetest.sound_play("item_drop_pickup", {
|
||||||
pos = pos,
|
pos = pos,
|
||||||
max_hear_distance = 100,
|
max_hear_distance = 15,
|
||||||
gain = 10.0,
|
gain = 10.0,
|
||||||
})
|
})
|
||||||
object:get_luaentity().itemstring = ""
|
object:get_luaentity().itemstring = ""
|
||||||
|
|
Loading…
Reference in New Issue