using UnityEngine;

namespace YachtDice.Shop
{
    /// <summary>
    /// Any item that can appear in the shop.
    /// Implemented by ScriptableObject definitions (ModifierDefinition, DieDefinitionSO).
    /// </summary>
    public interface IShopItem
    {
        string Id { get; }
        string DisplayName { get; }
        string Description { get; }
        Sprite Icon { get; }
        int ShopPrice { get; }

        /// <summary>
        /// Whether this item can be repurchased after being owned (e.g. consumable modifiers).
        /// If false, the shop marks it as "Owned" once purchased.
        /// </summary>
        bool IsRepurchasable { get; }
    }
}
