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
| Member | What it is |
|---|
protected StewIngredientBase() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
| Member | What it is |
|---|
Glyph glyph | Glyph shown for this ingredient. |
Properties
| Member | What it is |
|---|
abstract IEnumerable<CookableItem> Cookables { get; } | All cookable items that count as this ingredient. |
Methods
| Member | What 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: