1,482
edits
m (Correct Parameter Name (WBKeyword --> aKeyword)) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Function SetWorkbenchKeyword(Keyword aKeyword) native | Function SetWorkbenchKeyword(Keyword aKeyword) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Makes the Iron Cuirass craftable at the Smelter | ; Makes the Iron Cuirass craftable at the Smelter | ||
Keyword WBKeyword = CraftingSmelter | Keyword WBKeyword = CraftingSmelter | ||
| Line 25: | Line 25: | ||
RecipeArmorIronCuirass.SetWorkbenchKeyword(RecipeIngotIron.GetWorkbenchKeyword()) | RecipeArmorIronCuirass.SetWorkbenchKeyword(RecipeIngotIron.GetWorkbenchKeyword()) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||