SetWorkbenchKeyword - ConstructibleObject

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ConstructibleObject Script

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

Syntax[edit | edit source]

Function SetWorkbenchKeyword(Keyword WBKeyword) native

Parameters[edit | edit source]

  • WBKeyword : the new Keyword of the workbench needed

Return Value[edit | edit source]

None

Examples[edit | edit source]

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

Notes[edit | edit source]

None

See Also[edit | edit source]