Added extinghuishing sound when extenguished with a shovel.

This commit is contained in:
PrairieAstronomer 2022-07-05 16:01:41 -06:00 committed by cora
parent 67494f8905
commit f0241bbf6a

View file

@ -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,