using System; using Godot; namespace ColdMint.scripts.inventory; /// /// Common goods /// 普通的物品 /// public class CommonItem : IItem { public string? Id { get; set; } public int Quantity { get; set; } public int MaxStackQuantity { get; set; } public Texture2D? Icon { get; set; } public string? Name { get; set; } public string? Description { get; set; } public Action? OnUse { get; set; } public Func? OnInstantiation { get; set; } }