export const PROFILE_KEYS = [
  "artiste",
  "athlete",
  "chasseur",
  "faiseur",
  "forceNature",
  "guerrier",
  "mystique",
  "ombre",
  "savant",
]

export const PROFILE_LABELS = {
  artiste: "Artiste",
  athlete: "Athlète",
  chasseur: "Chasseur",
  faiseur: "Faiseur",
  forceNature: "Force de la nature",
  guerrier: "Guerrier",
  mystique: "Mystique",
  ombre: "Ombre",
  savant: "Savant",
}

export const SKILLS = {
  arts: { label: "Arts", profileKey: "artiste", closed: false, domainSkill: true },
  empathie: { label: "Empathie", profileKey: "artiste", closed: false, domainSkill: false },
  seduction: { label: "Séduction", profileKey: "artiste", closed: false, domainSkill: false },
  athletisme: { label: "Athlétisme", profileKey: "athlete", closed: false, domainSkill: false },
  rapidite: { label: "Rapidité", profileKey: "athlete", closed: false, domainSkill: false },
  volonte: { label: "Volonté", profileKey: "athlete", closed: false, domainSkill: false },
  sens: { label: "Sens", profileKey: "chasseur", closed: false, domainSkill: false },
  survie: { label: "Survie", profileKey: "chasseur", closed: false, domainSkill: false },
  tir: { label: "Tir", profileKey: "chasseur", closed: false, domainSkill: false },
  artisanat: { label: "Artisanat", profileKey: "faiseur", closed: false, domainSkill: true },
  intellect: { label: "Intellect", profileKey: "faiseur", closed: false, domainSkill: false },
  soins: { label: "Soins", profileKey: "faiseur", closed: false, domainSkill: false },
  commandement: { label: "Commandement", profileKey: "forceNature", closed: false, domainSkill: false },
  endurance: { label: "Endurance", profileKey: "forceNature", closed: false, domainSkill: false },
  force: { label: "Force", profileKey: "forceNature", closed: false, domainSkill: false },
  corpsacorps: { label: "Corps à corps", profileKey: "guerrier", closed: false, domainSkill: false },
  melee: { label: "Mêlée", profileKey: "guerrier", closed: false, domainSkill: false },
  montures: { label: "Montures", profileKey: "guerrier", closed: false, domainSkill: false },
  chimerisme: { label: "Chimérisme", profileKey: "mystique", closed: true, domainSkill: false },
  magie: { label: "Magie", profileKey: "mystique", closed: true, domainSkill: false },
  onirologie: { label: "Onirologie", profileKey: "mystique", closed: true, domainSkill: false },
  discretion: { label: "Discrétion", profileKey: "ombre", closed: false, domainSkill: false },
  esquive: { label: "Esquive", profileKey: "ombre", closed: false, domainSkill: false },
  subterfuge: { label: "Subterfuge", profileKey: "ombre", closed: false, domainSkill: false },
  erudition: { label: "Érudition", profileKey: "savant", closed: true, domainSkill: true },
  langues: { label: "Langues", profileKey: "savant", closed: true, domainSkill: true },
  strategie: { label: "Stratégie", profileKey: "savant", closed: false, domainSkill: false },
}

export const SIZE_LABELS = {
  1: "Minuscule",
  2: "Petite",
  3: "Moyenne",
  4: "Grande",
}

export const WEAPON_CATEGORY_LABELS = {
  corpsacorps: "Corps à corps",
  melee: "Mêlée",
  tir: "Tir",
  jet: "Jet",
}

export const WEAPON_ORIGIN_LABELS = {
  animaux: "Animaux",
  geant: "Géant",
  petitPeuple: "Petit Peuple",
}

export const WEAPON_SIZE_MODE_LABELS = {
  fixe: "Fixe",
  plage: "Plage",
  variable: "Variable",
}

export const ARMOR_STATE_LABELS = {
  protege: "Protégé",
  harnache: "Harnaché",
  barde: "Bardé",
}

export const EQUIPMENT_CATEGORY_LABELS = {
  butin: "Butin",
  ecriture: "Écriture",
  monture: "Monture",
  soin: "Soin",
  survie: "Survie",
  voyage: "Voyage",
}

export const SPELL_TRADITION_LABELS = {
  chimerisme: "Chimérisme",
  farfadet: "Farfadet",
  magie: "Magie",
  onirologie: "Onirologie",
}

export const POLARITY_LABELS = {
  cauchemar: "Cauchemar",
  songes: "Songes",
}

export const STACKING_LABELS = {
  "-": "—",
  non: "Non",
  oui: "Oui",
}

export const COMPANY_POWER_SCOPE_LABELS = {
  compagnie: "Compagnie",
}

export const COMPANY_POWER_MODE_LABELS = {
  passif: "Passif",
  "préparation": "Préparation",
  "réaction": "Réaction",
  ressource: "Ressource",
}

export const ACTOR_IMAGES = {
  personnage: "icons/svg/mystery-man.svg",
  compagnie: "icons/svg/book.svg",
  creature: "icons/svg/eye.svg",
}

export const ITEM_IMAGES = {
  race: "systems/fvtt-les-oublies/assets/icons/items/race.svg",
  tribu: "systems/fvtt-les-oublies/assets/icons/items/tribu.svg",
  metier: "systems/fvtt-les-oublies/assets/icons/items/metier.svg",
  competence: "systems/fvtt-les-oublies/assets/icons/items/competence.svg",
  sortilege: "systems/fvtt-les-oublies/assets/icons/items/sortilege.svg",
  arme: "systems/fvtt-les-oublies/assets/icons/items/arme.svg",
  armure: "systems/fvtt-les-oublies/assets/icons/items/armure.svg",
  equipement: "systems/fvtt-les-oublies/assets/icons/items/equipement.svg",
  pouvoircompagnie: "systems/fvtt-les-oublies/assets/icons/items/pouvoircompagnie.svg",
}

export const LESOUBLIES_CONFIG = {
  id: "fvtt-les-oublies",
  title: "Les Oubliés",
  profiles: PROFILE_KEYS.map((key) => ({ id: key, label: PROFILE_LABELS[key] })),
  profileLabels: PROFILE_LABELS,
  skills: SKILLS,
  sizes: SIZE_LABELS,
  weaponCategoryLabels: WEAPON_CATEGORY_LABELS,
  weaponOriginLabels: WEAPON_ORIGIN_LABELS,
  weaponSizeModeLabels: WEAPON_SIZE_MODE_LABELS,
  armorStateLabels: ARMOR_STATE_LABELS,
  equipmentCategoryLabels: EQUIPMENT_CATEGORY_LABELS,
  spellTraditionLabels: SPELL_TRADITION_LABELS,
  polarityLabels: POLARITY_LABELS,
  stackingLabels: STACKING_LABELS,
  companyPowerScopeLabels: COMPANY_POWER_SCOPE_LABELS,
  companyPowerModeLabels: COMPANY_POWER_MODE_LABELS,
  actorImages: ACTOR_IMAGES,
  itemImages: ITEM_IMAGES,
}
