import type { Item } from "../types";

export const ITEMS: Record<string, Item> = {
  "health_potion": {
    id: "health_potion",
    name: "Health Potion",
    type: "Consumable",
    textureKey: "items",
    spriteIndex: 57,
    stats: {
        hp: 5
    }
  },
  "iron_sword": {
    id: "iron_sword",
    name: "Iron Sword",
    type: "Weapon",
    textureKey: "items",
    spriteIndex: 2,
    stats: {
      attack: 2
    }
  },
  "leather_armor": {
    id: "leather_armor",
    name: "Leather Armor",
    type: "BodyArmour",
    textureKey: "items",
    spriteIndex: 25,
    stats: {
      defense: 2
    }
  },
  "throwing_dagger": {
    id: "throwing_dagger",
    name: "Throwing Dagger",
    type: "Consumable",
    textureKey: "items",
    spriteIndex: 15,
    stats: {
        attack: 4
    },
    throwable: true
  }
};
