export const defaultItemImg = {
  weapon: "systems/fvtt-ftl-nomad/assets/icons/icon_weapon.svg",
  armor: "systems/fvtt-ftl-nomad/assets/icons/icon_armor.svg",
  equipment: "systems/fvtt-ftl-nomad/assets/icons/icon_equipment.svg",
  psionic: "systems/fvtt-ftl-nomad/assets/icons/icon_psionic.svg",
  talent: "systems/fvtt-ftl-nomad/assets/icons/icon_talent.svg",
  language: "systems/fvtt-ftl-nomad/assets/icons/icon_language.svg",
  implant: "systems/fvtt-ftl-nomad/assets/icons/icon_implant.svg",
  "creature-ability": "systems/fvtt-ftl-nomad/assets/icons/icon_creature_ability.svg",
  "creature-trait": "systems/fvtt-ftl-nomad/assets/icons/icon_creature_trait.svg"
}

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