

# Damage groups:
```lua
tool_capabilities = {
    damage_groups = {
        pierce=1,
        slash=1,
        blunt=1,
        magic=1,
        poison=1,
    }
}

self.object:set_armor_groups({
    pierce=100,
    slash=100,
    blunt=100,
    magic=100,
    poison=100,
})
```


