mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
4a0a6723af
If a tool wears out and is destroyed, it's itemstack count goes to 0, and we can optionally play a breaking sound. This patch implements playing a breaking sound when this occurs. Sounds need to be added to the tool itemdef registration as the sound name string in the .sound.breaks member. |
||
---|---|---|
.. | ||
auth.lua | ||
chatcommands.lua | ||
constants.lua | ||
deprecated.lua | ||
detached_inventory.lua | ||
falling.lua | ||
features.lua | ||
forceloading.lua | ||
init.lua | ||
item_entity.lua | ||
item.lua | ||
misc.lua | ||
privileges.lua | ||
register.lua | ||
statbars.lua | ||
static_spawn.lua | ||
voxelarea.lua |