From f0241bbf6ad3d8ebd5900827a7ecd1395a04d983 Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Tue, 5 Jul 2022 16:01:41 -0600 Subject: [PATCH] Added extinghuishing sound when extenguished with a shovel. --- mods/ITEMS/mcl_campfires/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_campfires/init.lua b/mods/ITEMS/mcl_campfires/init.lua index fbe871e60..b4ff7d559 100644 --- a/mods/ITEMS/mcl_campfires/init.lua +++ b/mods/ITEMS/mcl_campfires/init.lua @@ -80,6 +80,7 @@ for _, campfire in pairs(campfires) do if player:get_wielded_item():get_name():find("shovel") then node.name = "mcl_campfires:" .. campfire.techname minetest.set_node(pos, node) + minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16}, true) end end, drop = campfire.drops,