export const main_menu = {
  fused_tools: [
    {
      name: "Wooden Weapons & Tools     ",
      iconSuffix: "wood_axehoe",
      id: "wood",
      func: "showFusedMaterialInfo",
      color: "6",
    },
    {
      name: "Stone Weapons & Tools    ",
      iconSuffix: "stone_axehoe",
      id: "stone",
      func: "showFusedMaterialInfo",
      color: "8",
    },
    {
      name: "Copper Weapons & Tools   ",
      iconSuffix: "copper_axehoe",
      id: "copper",
      func: "showFusedMaterialInfo",
      color: "n",
    },
    {
      name: "Iron Weapons & Tools   ",
      iconSuffix: "iron_axehoe",
      id: "iron",
      func: "showFusedMaterialInfo",
      color: "f",
    },
    {
      name: "Golden Weapons & Tools   ",
      iconSuffix: "gold_axehoe",
      id: "gold",
      func: "showFusedMaterialInfo",
      color: "e",
    },
    {
      name: "Diamond Weapons & Tools     ",
      iconSuffix: "diamond_axehoe",
      id: "diamond",
      func: "showFusedMaterialInfo",
      color: "b",
    },
    {
      name: "Netherite Weapons & Tools     ",
      iconSuffix: "netherite_axehoe",
      id: "netherite",
      func: "showFusedMaterialInfo",
      color: "j",
    },
    {
      name: "Back",
      iconSuffix: "ui/back",
      id: "back",
      func: "showFusionCategories",
      color: "q",
    },
  ],
  materialNames: {
    wood: "Wooden",
    stone: "Stone",
    copper: "Copper",
    iron: "Iron",
    gold: "Golden",
    diamond: "Diamond",
    netherite: "Netherite",
  },
  fusedCombinations: [
    {
      id: "swordaxe",
      name: "Sword + Axe",
      result: "Swordaxe",
      iconSuffix: "swordaxe",
    },
    {
      id: "swordpick",
      name: "Sword + Pickaxe",
      result: "Swordpick",
      iconSuffix: "swordpick",
    },
    {
      id: "swordshovel",
      name: "Sword + Shovel",
      result: "Swordshovel",
      iconSuffix: "swordshovel",
    },
    {
      id: "swordhoe",
      name: "Sword + Hoe",
      result: "Swordhoe",
      iconSuffix: "swordhoe",
    },
    {
      id: "axepick",
      name: "Axe + Pickaxe",
      result: "Axepick",
      iconSuffix: "axepick",
    },
    {
      id: "axeshovel",
      name: "Axe + Shovel",
      result: "Axeshovel",
      iconSuffix: "axeshovel",
    },
    { 
      id: "axehoe",
      name: "Axe + Hoe",
      result: "Axehoe",
      iconSuffix: "axehoe",
    },
    {
      id: "pickshovel",
      name: "Pickaxe + Shovel",
      result: "Pickshovel",
      iconSuffix: "pickshovel",
    },
    {
      id: "pickhoe",
      name: "Pickaxe + Hoe",
      result: "Pickhoe",
      iconSuffix: "pickhoe",
    },
    {
      id: "shovelhoe",
      name: "Shovel + Hoe",
      result: "Shovelhoe",
      iconSuffix: "shovelhoe",
    },
  ],
};

export const colorMap = {
  wood: "§p",
  wooden: "§p",
  stone: "§8",
  copper: "§n",
  iron: "§f",
  gold: "§e",
  diamond: "§b",
  netherite: "§j",
};

export const upgradedMaterials = [
  "wood",
  "stone",
  "copper",
  "iron",
  "gold",
  "diamond",
  "netherite",
];

export const upgradedTools = ["sword", "axe", "pickaxe", "shovel", "hoe"];

export const materialResource = {
  wood: "Planks (any)",
  stone: "Cobblestone",
  copper: "Copper Ingot",
  iron: "Iron Ingot",
  gold: "Gold Ingot",
  diamond: "Diamond",
  netherite: "Netherite Ingot",
};

export const armorTypes = [
  {
    id: "spider",
    name: "Spider",
    power: "Wield the spider's power through",
    icon: "textures/tcs/cwp/ui/armor_set_icons/spider_chestplate_armor_set",
    recipe: "Spider Eye",
    color: "4",
    material: "Leather",
    fullSetBonus: "When wearing the full set, your attacks trap enemies in cobwebs!"
  },
  {
    id: "snow",
    name: "Snow",
    power: "Channel the power of the frost through",
    icon: "textures/tcs/cwp/ui/armor_set_icons/snow_chestplate_armor_set",
    recipe: "Snowball",
    color: "b",
    material: "Iron",
    fullSetBonus: "While wearing the full set, sneak to slow down nearby mobs and deal damage to them!"
  },
  {
    id: "phantom",
    name: "Phantom",
    power: "Channel the power of wind through",
    icon: "textures/tcs/cwp/ui/armor_set_icons/phantom_chestplate_armor_set",
    recipe: "Phantom Membrane",
    color: "9",
    material: "Golden",
    fullSetBonus: "When wearing the full set, hold jump to fly like a phantom!"
  },
  {
    id: "fire",
    name: "Fire",
    power: "Channel flames through",
    icon: "textures/tcs/cwp/ui/armor_set_icons/fire_chestplate_armor_set",
    recipe: "Lava Bucket",
    color: "c",
    material: "Diamond",
    fullSetBonus: "When wearing the full set, sneak to set nearby mobs on fire!"
  },
  {
    id: "armadillo",
    name: "Armadillo",
    power: "Harness the armadillo's strength with",
    icon: "textures/tcs/cwp/ui/armor_set_icons/armadillo_chestplate_armor_set",
    recipe: "Armadillo Scute",
    color: "n",
    material: "Netherite",
    fullSetBonus: "While wearing the full set, sneak to gain a strong Resistance effect!"
  }
];

// export const armorMaterials = [
//   //{ id: "leather", name: "Leather", color: "6", icon: "textures/items/leather_chestplate" },
//   //{ id: "gold", name: "Gold", color: "e", icon: "textures/items/gold_chestplate" },
//   //{ id: "iron", name: "Iron", color: "f", icon: "textures/items/iron_chestplate" },
//   {
//     id: "diamond",
//     name: "Diamond",
//     color: "b",
//     icon: "textures/items/diamond_chestplate",
//   },
//   //{ id: "netherite", name: "Netherite", color: "8", icon: "textures/items/netherite_chestplate" },
//   //{ id: "chainmail", name: "Chainmail", color: "8", icon: "textures/items/chainmail_chestplate" }
// ];

export const armorParts = [
  { id: "helmet", name: "Helmet", partDesc: "this legendary helmet!" },
  { id: "chestplate", name: "Chestplate", partDesc: "this powerful chestplate!" },
  { id: "leggings", name: "Leggings", partDesc: "these mystical leggings!" },
  { id: "boots", name: "Boots", partDesc: "these agile boots!" },
];

export const armorDescriptions = {
  spider: {
    helmet: "Wield the spider's power through this legendary helmet!",
    chestplate: "Wield the spider's power through this powerful chestplate!",
    leggings: "Wield the spider's power through these mystical leggings!",
    boots: "Wield the spider's power through these agile boots!",
  },
  snow: {
    helmet: "Channel the power of the frost through this legendary helmet!",
    chestplate: "Channel the power of the frost through this powerful chestplate!",
    leggings: "Channel the power of the frost through these mystical leggings!",
    boots: "Channel the power of the frost through these agile boots!",
  },
  phantom: {
    helmet: "Channel the power of wind through this legendary helmet!",
    chestplate: "Channel the power of wind through this powerful chestplate!",
    leggings: "Channel the power of wind through these mystical leggings!",
    boots: "Channel the power of wind through these agile boots!",
  },
  fire: {
    helmet: "Channel flames through this legendary helmet!",
    chestplate: "Channel flames through this powerful chestplate!",
    leggings: "Channel flames through these mystical leggings!",
    boots: "Channel flames through these agile boots!",
  },
  armadillo: {
    helmet: "Harness the armadillo's strength with this legendary helmet!",
    chestplate: "Harness the armadillo's strength with this powerful chestplate!",
    leggings: "Harness the armadillo's strength with these sturdy leggings!",
    boots: "Harness the armadillo's strength with these durable boots!",
  },
};

// Sword Sets (materials and sword variants)
export const swordSetMaterials = [
  "wooden",
  "stone",
  "copper",
  "iron",
  "gold",
  "diamond",
  "netherite",
];

export const swordSetSwords = [
  {
    id: "poisonous",
    name: "Poisonous",
    ingredient: "Spider Eye",
    effect: "Punching enemies inflicts the poison effect.",
    iconSuffix: "poisonous",
  },
  {
    id: "numbing",
    name: "Numbing",
    ingredient: "Slimeball",
    effect: "Punching enemies inflicts the slowness effect.",
    iconSuffix: "numbing",
  },
  {
    id: "withering",
    name: "Withering",
    ingredient: "Wither Rose",
    effect: "Punching enemies inflicts the wither effect.",
    iconSuffix: "withering",
  },
  {
    id: "weakening",
    name: "Weakening",
    ingredient: "Fermented Spider Eye",
    effect: "Punching enemies inflicts the weakness effect.",
    iconSuffix: "weakening",
  },
  {
    id: "levitation",
    name: "Levitation",
    ingredient: "Rabbit's Foot",
    effect: "Punching enemies makes them levitate for a few seconds.",
    iconSuffix: "levitation",
  },
  {
    id: "fire_resistant",
    name: "Blazing",
    ingredient: "Blaze Powder",
    effect: "Punching enemies sets them on fire.",
    iconSuffix: "fire_resistant",
  },
];

export const specialItems = [
  {
    id: "inferno_scythe",
    name: "Inferno Scythe",
    baseItem: "Diamond Hoe",
    component: "Blaze Powder",
    description:
      "Spin through enemies and set them on fire! Burns all nearby enemies for 4 seconds.",
    icon: "textures/tcs/cwp/ui/special_items/inferno_scythe",
    color: "4",
  },
  {
    id: "lightning_axe",
    name: "Lightning Copper Axe",
    baseItem: "Iron Axe",
    component: "Lightning Rod",
    description:
      "Strike enemies with a bolt of lightning! It deals massive damage and slows them for 2 seconds.",
    icon: "textures/tcs/cwp/ui/special_items/lightning_axe",
    color: "6",
  },
  {
    id: "ender_dagger",
    name: "Ender Dagger",
    baseItem: "Iron Sword",
    component: "Ender Pearl",
    description:
      "Dash forward quickly and damage enemies in your path! ",
    icon: "textures/tcs/cwp/ui/special_items/ender_dagger",
    color: "u",
  },
  {
    id: "vampire_fang",
    name: "Vampire Fangblade",
    baseItem: "Bone",
    component: "Netherite Sword",
    description:
      "Drain health from every mob you hit! Each hit heals you by half a heart.",
    icon: "textures/tcs/cwp/ui/special_items/vampire_fang",
    color: "4",
  },
  {
    id: "demolition_hammer",
    name: "Demolition Hammer",
    baseItem: "Mace",
    component: "TNT",
    description:
      "Smash the ground to make an explosion and damage your enemies!",
    icon: "textures/tcs/cwp/ui/special_items/demolition_hammer",
    color: "c",
  },
  {
    id: "fire_shield",
    name: "Fire Shield",
    baseItem: "Shield",
    component: "Magma Block",
    description:
      "Gives resistance effect and burns nearby mobs while sneaking.",
    icon: "textures/tcs/cwp/ui/special_items/fire_shield_icon",
    color: "c",
  },
  {
    id: "amethyst_staff",
    name: "Amethyst Staff",
    baseItem: "Stick",
    component: "Amethyst Shard",
    description:
      "Shoot powerful amethyst shards that explode and damage all nearby enemies!",
    icon: "textures/tcs/cwp/ui/special_items/amethyst_staff",
    color: "d",
  },
  {
    id: "tornado_wand",
    name: "Tornado Wand",
    baseItem: "Stick",
    component: "Feather",
    description:
      "Summon a wild tornado that lifts enemies into the air! Watch it spin and toss enemies around.",
    icon: "textures/tcs/cwp/ui/special_items/tornado_wand",
    color: "f",
  },
  {
    id: "dragon_staff",
    name: "Dragon Staff",
    baseItem: "Stick",
    component: "Dragon Head",
    description:
      "Summon a flying dragon head that blasts forward, dealing heavy damage and breaking blocks in its path!",
    icon: "textures/tcs/cwp/ui/special_items/dragon_staff",
    color: "d",
  },
  {
    id: "tnt_stick",
    name: "Throwable TNT",
    baseItem: "Stick",
    component: "TNT",
    description:
      "Throw TNT that explodes on impact! It's weaker than regular TNT, but still packs a strong punch!",
    icon: "textures/tcs/cwp/ui/special_items/tnt_stick",
    color: "c",
  }
];
