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/ https://www.freesound.org/people/sonictechtonic/sounds/241872/
player_damage.ogg player_damage.ogg
Dynamicell (CC BY 3.0) laurent (Attribution 3.0 Unported)
http://www.freesound.org/people/Dynamicell/sounds/17548/ https://freesound.org/people/laurent/sounds/21109/
default_furnace_active.*.ogg default_furnace_active.ogg
Models Models

View file

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

Binary file not shown.