SetWorkbenchKeyword - ConstructibleObject

SKSE Member of: ConstructibleObject Script

Changes the Keyword of the workbench needed for a ConstructibleObject. (This function requires SKSE)

SyntaxEdit

Function SetWorkbenchKeyword(Keyword aKeyword) native

ParametersEdit

  • aKeyword : the new Keyword of the workbench needed

Return ValueEdit

None

ExamplesEdit

; Makes the Iron Cuirass craftable at the Smelter
Keyword WBKeyword = CraftingSmelter
RecipeArmorIronCuirass.SetWorkbenchKeyword(WBKeyword)
RecipeArmorIronCuirass.SetWorkbenchKeyword(Keyword.GetKeyword("CraftingSmelter"))
RecipeArmorIronCuirass.SetWorkbenchKeyword(RecipeIngotIron.GetWorkbenchKeyword())

NotesEdit

None

See AlsoEdit