using UnityEngine;

namespace IStalk.Data
{
    public enum Rarity { Common, Uncommon, Rare, Legendary }

    [CreateAssetMenu(fileName = "Item_", menuName = "IStalk/Item Database/Loot Item")]
    public class ItemData_SO : ScriptableObject
    {
        [Header("Identity")]
        public string itemId;
        public string displayName;
        public Sprite icon;
        public GameObject worldPrefab;

        [Header("Economy")]
        [Range(1, 100)]
        public int lootValue;
        [Range(0.1f, 30f)]
        public float weight;

        [Header("Visuals")]
        public Rarity rarity;
        public Color glowColour = Color.white;

        [Header("Audio")]
        public AudioClip pickupSound;
        public AudioClip dropSound;
        [Range(0f, 30f)]
        public float noiseRadius = 5f;
    }
}
