13b18b0a8b
Standardize all class, interface, file, method, event, field, and variable names from the inconsistent "Die" form to "Dice", matching the existing DiceManager/DiceCatalog/DiceCollection convention. Renamed files (7 + meta): IDie→IDice, DieInstance→DiceInstance, DieDefinitionSO→DiceDefinitionSO, StandardDieSO→StandardDiceSO, DieValueCondition→DiceValueCondition, AddPerDieEffect→AddPerDiceEffect, MultiplyPerDieEffect→MultiplyPerDiceEffect. Updated all 31 consumer and test files with matching reference changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
673 B
C#
24 lines
673 B
C#
using UnityEngine;
|
|
|
|
namespace YachtDice.Shop
|
|
{
|
|
/// <summary>
|
|
/// Any item that can appear in the shop.
|
|
/// Implemented by ScriptableObject definitions (ModifierDefinition, DiceDefinitionSO).
|
|
/// </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; }
|
|
}
|
|
}
|