1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-29 21:30:26 +02:00

Balance sounds, remove silent water footstep

This commit is contained in:
paramat
2020-11-08 15:43:04 +00:00
committed by Lars Müller
parent 760581b330
commit 0c1252bcf5
9 changed files with 20 additions and 16 deletions

View File

@ -159,7 +159,7 @@ local function furnace_node_timer(pos, elapsed)
end
-- Play cooling sound
minetest.sound_play("default_cool_lava",
{pos = pos, max_hear_distance = 16, gain = 0.1}, true)
{pos = pos, max_hear_distance = 16, gain = 0.07}, true)
else
-- Item could not be cooked: probably missing fuel
update = true
@ -252,9 +252,9 @@ local function furnace_node_timer(pos, elapsed)
result = true
-- Play sound every 5 seconds while the furnace is active
if timer_elapsed == 0 or (timer_elapsed+1) % 5 == 0 then
if timer_elapsed == 0 or (timer_elapsed + 1) % 5 == 0 then
minetest.sound_play("default_furnace_active",
{pos = pos, max_hear_distance = 16, gain = 0.5}, true)
{pos = pos, max_hear_distance = 16, gain = 0.25}, true)
end
else
if fuellist and not fuellist[1]:is_empty() then