20 lines
464 B
C#
20 lines
464 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "Recipe", menuName = "ScriptableObjects/Recipe", order = 1)]
|
|
public class resipies_so : ScriptableObject
|
|
{
|
|
public string name;
|
|
public string description;
|
|
public item output;
|
|
public List<RecipeIngredientEntry> ingredients;
|
|
}
|
|
|
|
|
|
[Serializable]
|
|
public class RecipeIngredientEntry{
|
|
public item item;
|
|
public int count = 1;
|
|
} |