From fd6aba7b2547b84804300ac2ca74a8df4d83d135 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 29 Jul 2017 02:00:07 +0200 Subject: [PATCH] Play sound when washing off banner --- mods/ITEMS/mcl_banners/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ITEMS/mcl_banners/init.lua b/mods/ITEMS/mcl_banners/init.lua index 24eefe261c..34bc310ca9 100644 --- a/mods/ITEMS/mcl_banners/init.lua +++ b/mods/ITEMS/mcl_banners/init.lua @@ -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