mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 14:53:16 -04:00
Add different sound
This commit is contained in:
parent
177270baa4
commit
cca3259b73
6 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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.
Binary file not shown.
Binary file not shown.
BIN
mods/default/sounds/default_furnace_active.ogg
Normal file
BIN
mods/default/sounds/default_furnace_active.ogg
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue