export const defaultItemImg = {
  arme: "systems/fvtt-hamalron/assets/icons/arme.webp",
  armure: "systems/fvtt-hamalron/assets/icons/armure.webp",
  competence: "systems/fvtt-hamalron/assets/icons/competence.webp",
  equipement: "systems/fvtt-hamalron/assets/icons/equipement.webp",
  faction: "systems/fvtt-hamalron/assets/icons/faction.webp",
  langue: "systems/fvtt-hamalron/assets/icons/langue.webp",
  peuple: "systems/fvtt-hamalron/assets/icons/peuple.webp",
  region: "systems/fvtt-hamalron/assets/icons/region.webp",
  sortilege: "systems/fvtt-hamalron/assets/icons/sortilege.webp",
  tarot: "systems/fvtt-hamalron/assets/icons/tarot.webp",
}

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