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

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