implements the ToolBroken and ArmorBroken hooks, closes #54