SetNthIngredientQuantity - ConstructibleObject
SKSE Member of: ConstructibleObject Script
Changes the quantity needed of the Nth Ingredient for a ConstructibleObject. (This function requires SKSE)
SyntaxEdit
Function GetNthIngredientQuantity(Int Value, Int n) native
ParametersEdit
- Value : the new quantity needed
- n : the Nth Ingredient of the ConstructibleObject
Return ValueEdit
None
ExamplesEdit
RecipeArmorIronCuirass.SetNthIngredientQuantity(10, 0) ; Player now needs 10 LeatherStrips to craft
RecipeArmorIronCuirass.SetNthIngredientQuantity((RecipeArmorIronCuirass.GetNthIngredientQuantity(0)*2 + 4), 1) ; Player now needs 10 IngotIron to craft
NotesEdit
None