Files
2026-03-04 10:03:45 +08:00

22 lines
549 B
C#

using System.Collections.Generic;
using UnityEngine;
namespace HeathenEngineering.SteamApi.PlayerServices
{
[CreateAssetMenu(menuName = "Steamworks/Player Services/Crafting Recipe")]
public class CraftingRecipe : ScriptableObject
{
public List<InventoryItemDefinitionCount> Items;
public override string ToString()
{
string text = "";
foreach (InventoryItemDefinitionCount item in Items)
{
text = text + item.Item.DefinitionID.m_SteamItemDef + "x" + item.Count + ",";
}
return text.Remove(text.Length - 1, 1);
}
}
}