From c88e4f8e0b2be6f653cd978dcdadad54814379d7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 12 Mar 2017 02:03:45 +0100 Subject: [PATCH] Play sound after using hoe --- mods/ITEMS/mcl_farming/hoes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/mcl_farming/hoes.lua b/mods/ITEMS/mcl_farming/hoes.lua index 58abb9ea1..4f3ab3e87 100644 --- a/mods/ITEMS/mcl_farming/hoes.lua +++ b/mods/ITEMS/mcl_farming/hoes.lua @@ -9,12 +9,14 @@ local function create_soil(pos, inv) if above.name == "air" then node.name = "mcl_farming:soil" minetest.set_node(pos, node) + minetest.sound_play("default_dig_crumbly", { pos = pos, gain = 0.5 }) return true end elseif minetest.get_item_group(name, "cultivatable") == 1 then if above.name == "air" then node.name = "mcl_core:dirt" minetest.set_node(pos, node) + minetest.sound_play("default_dig_crumbly", { pos = pos, gain = 0.6 }) return true end end