From 089d6aa5c88a2d5f559c7aef01d1724f09f4a227 Mon Sep 17 00:00:00 2001 From: iliekprogrammar Date: Wed, 31 Mar 2021 13:55:07 +0800 Subject: [PATCH] Add dug sounds to kelp when unsubmerged --- mods/ITEMS/mcl_ocean/kelp.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ITEMS/mcl_ocean/kelp.lua b/mods/ITEMS/mcl_ocean/kelp.lua index 7a39bc85..291a6952 100644 --- a/mods/ITEMS/mcl_ocean/kelp.lua +++ b/mods/ITEMS/mcl_ocean/kelp.lua @@ -452,6 +452,7 @@ function kelp.surface_on_timer(pos) local dig_pos = kelp.find_unsubmerged(pos, node) if dig_pos then -- chatlog("detach_dig") + mt_sound_play(mt_registered_nodes[node.name].sounds.dug, { gain = 0.5, pos = dig_pos }, true) kelp.detach_dig(dig_pos, pos, node, true, pos_hash) end