Skip to main content

StewIngredientBase

An abstract class in Root.Township, Alta.Cooking.

Base ScriptableObject for a stew recipe ingredient slot, such as a cookable category or collection, that StewRecipe checks given ingredients against.

Constructors​

MemberWhat it is
protected StewIngredientBase()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

MemberWhat it is
Glyph glyphGlyph shown for this ingredient.

Properties​

MemberWhat it is
abstract IEnumerable<CookableItem> Cookables { get; }All cookable items that count as this ingredient.

Methods​

MemberWhat it is
abstract bool ContainsCookable(CookableItem cookable, out int score)Whether a cookable item counts as this ingredient, with a match score.

Used in​

Members of other types that take, return or hold a StewIngredientBase: