Difference between revisions of "ConstructibleObject Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>PurpleLunchbox
imported>PurpleLunchbox
Line 3: Line 3:
[[Category:Script Objects]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]


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

Revision as of 22:52, 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