Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play tool breaking sounds. #3605

Closed
wants to merge 1 commit into from
Closed

Play tool breaking sounds. #3605

wants to merge 1 commit into from

Commits on Mar 9, 2016

  1. Play tool breaking sounds.

    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.
    sofar committed Mar 9, 2016
    Copy the full SHA
    f489605 View commit details
    Browse the repository at this point in the history