mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 19:42:10 +00:00
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. |
||
---|---|---|
.. | ||
async | ||
common | ||
fstk | ||
game | ||
mainmenu | ||
profiler | ||
init.lua | ||
settingtypes.txt |