using System;
using Godot;
namespace ColdMint.scripts.item;
public readonly struct ItemType
{
///
/// Item id of this type
///
public string Id { get; init; }
///
/// A function returns a new item instance of this type
///
public Func NewItemFunc { get; init; }
///
/// Default icon of items of this type
///
public Texture2D? Icon { get; init; }
///
/// Max number in item stack of this type
///
public int MaxStackQuantity { get; init; }
///
/// Determines how items of this type will be stacked
///
public StackType StackType { get; init; }
}