mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Play sound when washing off banner
This commit is contained in:
parent
776ed127d4
commit
fd6aba7b25
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ for colorid, colortab in pairs(mcl_banners.colors) do
|
|||
-- (It is possible to waste water if the banner had 0 layers.)
|
||||
minetest.set_node(pointed_thing.under, {name=new_node})
|
||||
|
||||
-- Play sound (from mcl_potions mod)
|
||||
minetest.sound_play("mcl_potions_bottle_pour", {pos=pointed_thing.under, gain=0.5, max_hear_range=16})
|
||||
|
||||
return itemstack
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue