using UnityEngine; [CreateAssetMenu(fileName = "EquipmentItem", menuName = "Game Data/Equipment")] public class EquipmentItem : GameItem { public enum Slot { Weapon, Helmet, Armor, Boots, Gloves, Accessory, Ring } public Slot slot; public int weight; public int level; public int armor; public int durability; public int maxDurability; public int attack; public int defense; public int speed; public int luck; public int magic; public int sanity; public int health; // ex. if consumable heals for 10 health or if equipment adds 10 health // Add other equipment-specific properties and methods here // set the type on creation public EquipmentItem() { type = ItemType.Equipment; } }