1
0
Fork 0

Play sound when washing off banner

This commit is contained in:
Wuzzy 2017-07-29 02:00:07 +02:00
parent 776ed127d4
commit fd6aba7b25
1 changed files with 3 additions and 0 deletions

View File

@ -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.) -- (It is possible to waste water if the banner had 0 layers.)
minetest.set_node(pointed_thing.under, {name=new_node}) 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 return itemstack
end end
end end