17 lines
373 B
C#
17 lines
373 B
C#
using UnityEngine;
|
|
using Ashwild.Inventory;
|
|
|
|
namespace Ashwild.Harvesting
|
|
{
|
|
[System.Serializable]
|
|
public struct ResourceDrop
|
|
{
|
|
public ItemData item;
|
|
public int minQuantity;
|
|
public int maxQuantity;
|
|
|
|
[Tooltip("Probability this item drops on a hit. 1 = always, 0 = never.")]
|
|
[Range(0f, 1f)] public float dropChance;
|
|
}
|
|
}
|