export const defaultItemImg = {
  weapon: "systems/fvtt-hellborn/assets/icons/weapon.webp",
  equipment: "systems/fvtt-hellborn/assets/icons/equipment.webp",
  ritual: "systems/fvtt-hellborn/assets/icons/ritual.webp",
  malefica: "systems/fvtt-hellborn/assets/icons/malefica.webp",
  perk: "systems/fvtt-hellborn/assets/icons/perk.webp",
  "species-trait": "systems/fvtt-hellborn/assets/icons/species-trait.webp",
  armor: "systems/fvtt-hellborn/assets/icons/armor.webp",
}

export default class HellbornItem extends Item {
  constructor(data, context) {
    if (!data.img) {
      data.img = defaultItemImg[data.type];
    }
    super(data, context);
  }
}
