From 5d1c38cb5fb8213bcbc75d131329497141259040 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 10 Jun 2017 21:20:41 +0200 Subject: [PATCH] Reduce excessive item pickup sound distance --- mods/ENTITIES/mcl_item_entity/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 3214039c9b..77cd8e6b30 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -73,8 +73,8 @@ minetest.register_globalstep(function(dtime) inv:add_item("main", ItemStack(object:get_luaentity().itemstring)) minetest.sound_play("item_drop_pickup", { pos = pos, - max_hear_distance = 100, - gain = 10.0, + max_hear_distance = 16, + gain = 1.0, }) check_pickup_achievements(object, player) object:get_luaentity().itemstring = "" @@ -123,8 +123,8 @@ minetest.register_globalstep(function(dtime) if object:get_luaentity().itemstring ~= "" then minetest.sound_play("item_drop_pickup", { pos = pos, - max_hear_distance = 100, - gain = 10.0, + max_hear_distance = 16, + gain = 1.0, }) end check_pickup_achievements(object, player)