Add the ability to assign damage to items, fixes #2