SetWorkbenchKeyword - ConstructibleObject: Difference between revisions
Jump to navigation
Jump to search
m
SetWorkbenchKeyword - ConstructibleObject (edit)
Revision as of 05:02, 7 August 2012
, 7 August 2012no edit summary
imported>Seigneur Voland mNo edit summary |
imported>Seigneur Voland mNo edit summary |
||
| Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function SetWorkbenchKeyword( | Function SetWorkbenchKeyword(Keyword WBKeyword) native | ||
</source> | </source> | ||
| Line 19: | Line 19: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; Makes the Iron Cuirass craftable at the Smelter | |||
RecipeArmorIronCuirass.SetWorkbenchKeyword( | Keyword WBKeyword = CraftingSmelter | ||
RecipeArmorIronCuirass.SetWorkbenchKeyword(WBKeyword) | |||
RecipeArmorIronCuirass.SetWorkbenchKeyword(Keyword.GetKeyword("CraftingSmelter")) | |||
RecipeArmorIronCuirass.SetWorkbenchKeyword(RecipeIngotIron.GetWorkbenchKeyword()) | |||
</source> | </source> | ||