Beta Documentation - Subject to change.

Gets the information for the specified optional ingredient.

Syntax

Lua
function Recipe:GetOptionalIngredient(index);

Parameters

index
Type: number
The index of the optional ingredient to get the information of.

Returns

Type: RecipeIngredient
The information for the specified optional ingredient.

Remarks

See Also