26 lines
No EOL
659 B
C#
26 lines
No EOL
659 B
C#
using KitsuneCafe.System;
|
|
using UnityEngine;
|
|
|
|
namespace KitsuneCafe.ItemSystem
|
|
{
|
|
[CreateAssetMenu(fileName = "NewRecipe", menuName = KitsuneCafeMenu.Item + "Recipe")]
|
|
public class Recipe : ScriptableObject
|
|
{
|
|
[SerializeField]
|
|
private Item ingredient1;
|
|
|
|
[SerializeField]
|
|
private Item ingredient2;
|
|
|
|
[SerializeField]
|
|
private Item result;
|
|
|
|
[SerializeField]
|
|
private int resultQuantity = 1;
|
|
|
|
public Item Ingredient1 => ingredient1;
|
|
public Item Ingredient2 => ingredient2;
|
|
public Item ResultItem => result;
|
|
public int ResultQuantity => resultQuantity;
|
|
}
|
|
} |