Added mining drill sound

This commit is contained in:
Maciej Kasatkin
2012-10-10 21:13:20 +02:00
parent a0229013ce
commit 845b0607eb
3 changed files with 2 additions and 1 deletions

View File

@ -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