summaryrefslogtreecommitdiff
path: root/mining_drill.lua
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-10 21:13:20 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-10 21:13:20 +0200
commit845b0607eb09602a0da871a22ff044069506c53a (patch)
tree8e1254794a5f0409c2f2ce5875c98905ac748113 /mining_drill.lua
parenta0229013ce2462b1475d8c03a077eedec0ac7daa (diff)
Added mining drill sound
Diffstat (limited to 'mining_drill.lua')
-rw-r--r--mining_drill.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/mining_drill.lua b/mining_drill.lua
index 99a7878..3f2a7c8 100644
--- a/mining_drill.lua
+++ b/mining_drill.lua
@@ -53,6 +53,7 @@ function drill_dig_it (pos, player)
player:get_inventory():add_item("main", dropped_item)
end
end
+ minetest.sound_play("mining_drill", {pos = pos, gain = 1.0, max_hear_distance = 10,})
minetest.env:remove_node(pos)
end