Add different sound

This commit is contained in:
An0n3m0us 2020-01-30 00:02:58 +00:00
parent 177270baa4
commit cca3259b73
6 changed files with 5 additions and 5 deletions

View file

@ -339,9 +339,9 @@ sonictechtonic (CC BY 3.0):
https://www.freesound.org/people/sonictechtonic/sounds/241872/
player_damage.ogg
Dynamicell (CC BY 3.0)
http://www.freesound.org/people/Dynamicell/sounds/17548/
default_furnace_active.*.ogg
laurent (Attribution 3.0 Unported)
https://freesound.org/people/laurent/sounds/21109/
default_furnace_active.ogg
Models

View file

@ -156,7 +156,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.025})
{pos = pos, max_hear_distance = 16, gain = 0.0125})
else
-- Item could not be cooked: probably missing fuel
update = true
@ -242,7 +242,7 @@ local function furnace_node_timer(pos, elapsed)
result = true
-- Play sound while the furnace is active
minetest.sound_play("default_furnace_active",
{pos = pos, max_hear_distance = 16, gain = 0.05})
{pos = pos, max_hear_distance = 16, gain = 1})
else
if fuellist and not fuellist[1]:is_empty() then
fuel_state = S("@1%", 0)

Binary file not shown.