mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 18:32:25 +01:00
Play sound when washing off banner
This commit is contained in:
parent
776ed127d4
commit
fd6aba7b25
@ -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 New Issue
Block a user