using UnityEngine;
/// <summary>
/// GAME 1303 Tier 1 — A ScriptableObject that describes one kind of collectible.
///
/// SETUP
/// Right-click in the Project window -> Create -> GAME1303 -> Item Type.
/// Make one asset per thing you collect: "Coin", "Nightshade", "Green Electricity",
/// "Treat", "Plant". Collectible prefabs and CollectionTracker both reference these,
/// so counting is by asset, not by string (no typos).
/// </summary>
[CreateAssetMenu(menuName = "GAME1303/Item Type", fileName = "NewItemType")]
public class ItemType : ScriptableObject
{
public string displayName = "Item";
public Sprite icon;
[Tooltip("Points added to score when collected (0 if your game has no score).")]
public int scoreValue = 0;
[Tooltip("Sound played on pickup. Can be left empty.")]
public AudioClip pickupSound;
}