mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Added extinghuishing sound when extenguished with a shovel.
This commit is contained in:
parent
67494f8905
commit
f0241bbf6a
@ -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 New Issue
Block a user