mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Added extinghuishing sound when extenguished with a shovel.
This commit is contained in:
parent
67494f8905
commit
f0241bbf6a
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue