If you roll a weapon without an associated skill, a new skill is created but the name is shown as 'New item' in the roll dialog.
Armor also has the same issue with names being lost when copied, and I've accounted for the possibility that skills might already have a data.data instead of just creating a new object
Again, thank you! I may need to review the whole "fromOwnedItem" thingy since it seems to make things error-prone - and version 0.8 may force me to, anyhow. But, right now, this should do the trick.
If you roll a weapon without an associated skill, a new skill is created but the name is shown as 'New item' in the roll dialog.
Armor also has the same issue with names being lost when copied, and I've accounted for the possibility that skills might already have a data.data instead of just creating a new object