Difference between revisions of "ConstructibleObject Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Behippo
(→‎Member Functions: Added SKSE Member Function list)
imported>PurpleLunchbox
Line 2: Line 2:
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Script Objects]]
[[Category:SKSE]]


'''Extends:''' [[MiscObject Script]]
'''Extends:''' [[MiscObject Script]]

Revision as of 22:02, 13 May 2012


Extends: MiscObject Script

Script for the manipulation of constructible object base objects.

Definition

ScriptName ConstructibleObject extends MiscObject

Properties

None

Global Functions

None

Member Functions

None

SKSE Member Functions

Form Function GetResult()

  • Returns the form created by this recipe.

Function SetResult(Form result)

  • Changes the form created by this recipe.

int Function GetResultQuantity()

  • Returns the quantity of the result created by this recipe.

Function SetResultQuantity(int quantity)

  • Changes the quantity of the result created by this recipe.

int Function GetNumIngredients()

  • Returns the number of ingredients needed by this recipe.

Form Function GetNthIngredient(int n)

  • Returns the specified ingredient needed by this recipe.

Function SetNthIngredient(Form required, int n)

  • Changes the specified ingredient needed by this recipe.

int Function GetNthIngredientQuantity(int n)

  • Returns the quantity needed of the specified ingredient for this recipe.

Function SetNthIngredientQuantity(int value, int n)

  • Changes the quantity needed of the specified ingredient for this recipe.

Keyword Function GetWorkbenchKeyword()

  • Returns the keyword of the workbench needed for this recipe.

Function SetWorkbenchKeyword(string keyword)

  • Changes the keyword of the workbench needed for this recipe.

Events

None