Difference between revisions of "ConstructibleObject Script"

94 bytes added ,  04:52, 24 October 2013
m
→‎SKSE Member Functions: Formatting Change
imported>Seigneur Voland
m
imported>CraftySentinel
m (→‎SKSE Member Functions: Formatting Change)
Line 24: Line 24:


== SKSE Member Functions ==
== SKSE Member Functions ==
'''Form Function [[GetResult - ConstructibleObject|GetResult]]()'''
*Returns the form created by this recipe.


'''Function [[SetResult - ConstructibleObject|SetResult]](Form result)'''
{|class="wikitable" width =100%
*Changes the form created by this recipe.
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[GetResult - ConstructibleObject|Form '''GetResult'''()]]
|Returns the form created by this recipe.
|-


'''int Function [[GetResultQuantity - ConstructibleObject|GetResultQuantity]]()'''
|[[SetResult - ConstructibleObject|'''SetResult'''(Form ''result'')]]
*Returns the quantity of the result created by this recipe.
|Changes the form created by this recipe.
|-


'''Function [[SetResultQuantity - ConstructibleObject|SetResultQuantity]](int quantity)'''
|[[GetResultQuantity - ConstructibleObject|Int '''GetResultQuantity'''()]]
*Changes the quantity of the result created by this recipe.
|Returns the quantity of the result created by this recipe.
|-


'''int Function [[GetNumIngredients - ConstructibleObject|GetNumIngredients]]()'''
|[[SetResultQuantity - ConstructibleObject|'''SetResultQuantity'''(Int ''quantity'')]]
*Returns the number of ingredients needed by this recipe.
|Changes the quantity of the result created by this recipe.
|-


'''Form Function [[GetNthIngredient - ConstructibleObject|GetNthIngredient]](int n)'''
|[[GetNumIngredients - ConstructibleObject|Int '''GetNumIngredients'''()]]
*Returns the specified ingredient needed by this recipe.
|Returns the number of ingredients needed by this recipe.
|-


'''Function [[SetNthIngredient - ConstructibleObject|SetNthIngredient]](Form required, int n)'''
|[[GetNthIngredient - ConstructibleObject|Form '''GetNthIngredient'''(Int ''n'')]]
*Changes the specified ingredient needed by this recipe.
|Returns the specified ingredient needed by this recipe.
|-


'''int Function [[GetNthIngredientQuantity - ConstructibleObject|GetNthIngredientQuantity]](int n)'''
|[[SetNthIngredient - ConstructibleObject|'''SetNthIngredient'''(Form ''required'', Int ''n'')]]
*Returns the quantity needed of the specified ingredient for this recipe.
|Changes the specified ingredient needed by this recipe.
|-


'''Function [[SetNthIngredientQuantity - ConstructibleObject|SetNthIngredientQuantity]](int value, int n)'''
|[[GetNthIngredientQuantity - ConstructibleObject|Int '''GetNthIngredientQuantity'''(Int ''n'')]]
*Changes the quantity needed of the specified ingredient for this recipe.
|Returns the quantity needed of the specified ingredient for this recipe.
|-


'''Keyword Function [[GetWorkbenchKeyword - ConstructibleObject|GetWorkbenchKeyword]]()'''
|[[SetNthIngredientQuantity - ConstructibleObject|'''SetNthIngredientQuantity'''(Int ''value'', Int ''n'')]]
*Returns the keyword of the workbench needed for this recipe.
|Changes the quantity needed of the specified ingredient for this recipe.
|-


'''Function [[SetWorkbenchKeyword - ConstructibleObject|SetWorkbenchKeyword]](string keyword)'''
|[[GetWorkbenchKeyword - ConstructibleObject|Keyword '''GetWorkbenchKeyword'''()]]
*Changes the keyword of the workbench needed for this recipe.
|Returns the keyword of the workbench needed for this recipe.
|-
 
|[[SetWorkbenchKeyword - ConstructibleObject|'''SetWorkbenchKeyword'''(String ''keyword'')]]
|Changes the keyword of the workbench needed for this recipe.
|-
 
|}


== Events ==
== Events ==
None
None