import { HawkmoonUtility } from "./hawkmoon-utility.js";

export const defaultItemImg = {
    competence: "systems/fvtt-hawkmoon-cyd/assets/icons/competence.webp",  
    arme: "systems/fvtt-hawkmoon-cyd/assets/icons/melee.webp",  
    equipement: "systems/fvtt-hawkmoon-cyd/assets/icons/equipement.webp",  
    monnaie: "systems/fvtt-hawkmoon-cyd/assets/icons/monnaie.webp",  
    predilection: "systems/fvtt-hawkmoon-cyd/assets/icons/predilection.webp",  
    protection: "systems/fvtt-hawkmoon-cyd/assets/icons/protection.webp",  
    talent: "systems/fvtt-hawkmoon-cyd/assets/icons/talent.webp",  
    historique: "systems/fvtt-hawkmoon-cyd/assets/icons/historique.webp",  
    profil: "systems/fvtt-hawkmoon-cyd/assets/icons/profil.webp",  
    artefact: "systems/fvtt-hawkmoon-cyd/assets/icons/artefact.webp",  
    contact: "systems/fvtt-hawkmoon-cyd/assets/icons/contacts.webp",  
    ressource: "systems/fvtt-hawkmoon-cyd/assets/icons/ressources.webp",  
    mutation: "systems/fvtt-hawkmoon-cyd/assets/icons/mutation.webp",  
}

/**
 * Extend the basic ItemSheet with some very simple modifications
 * @extends {ItemSheet}
 */
export class HawkmoonItem extends Item {

  constructor(data, context) {
    if (!data.img) {
      data.img = defaultItemImg[data.type];
    }
    super(data, context);
  }

}
