Class MixIngredientDefinition
- Namespace
- S1API.Items.Ingredient
- Assembly
- S1API.dll
Represents a mixing ingredient item definition. A mixing ingredient is a StorableItemDefinition that carries one or more effects and can be dropped into the Mixing Station to imprint those effects onto a product.
public sealed class MixIngredientDefinition : StorableItemDefinition
- Inheritance
-
MixIngredientDefinition
- Inherited Members
- Extension Methods
Remarks
Builder-only: the effect list is intentionally read-only here to avoid runtime surprises from mutating globally-registered ScriptableObject definitions mid-session. Use MixIngredientItemCreator to create ingredients with configured effects.
Properties
Properties
The effects this ingredient imprints when mixed. The first effect is the one applied to the product; further effects are carried on the item. Returns runtime-agnostic wrappers that work on both Mono and IL2CPP.
public IReadOnlyList<PropertyBase> Properties { get; }