Files
2026-06-22 16:18:34 +02:00

20 lines
569 B
C#

using UnityEngine;
using Ashwild.Inventory;
namespace Ashwild.Harvesting
{
/// <summary>
/// The items a Harvestable yields when hit with a specific tool.
/// Leave <see cref="tool"/> null to use this table as the fallback for any
/// tool not listed explicitly on the Harvestable.
/// </summary>
[System.Serializable]
public class ToolDropTable
{
[Tooltip("Tool ItemData that produces these drops. Leave empty for the fallback (any unlisted tool).")]
public ItemData tool;
public ResourceDrop[] drops;
}
}