From 69c9b0acb603155ee477b2e415a7f5f182abb632 Mon Sep 17 00:00:00 2001 From: An0n3m0us Date: Mon, 27 Jan 2020 23:21:22 +0000 Subject: [PATCH] Add furnace sounds --- mods/default/furnace.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/default/furnace.lua b/mods/default/furnace.lua index 3c4ac9c8..936913d8 100644 --- a/mods/default/furnace.lua +++ b/mods/default/furnace.lua @@ -154,6 +154,8 @@ local function furnace_node_timer(pos, elapsed) else dst_full = true end + -- Play cooling sound + minetest.sound_play("default_cool_lava", {pos = pos, max_hear_distance = 16, gain = 0.05}) else -- Item could not be cooked: probably missing fuel update = true @@ -251,6 +253,8 @@ local function furnace_node_timer(pos, elapsed) local infotext if active then infotext = S("Furnace active") + -- Play sound while the furnace is active + minetest.sound_play("fire_fire", {pos = pos, max_hear_distance = 16, gain = 0.1}) else infotext = S("Furnace inactive") end