SetWorkbenchKeyword - ConstructibleObject: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
m (Correct Parameter Name (WBKeyword --> aKeyword))
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetWorkbenchKeyword(Keyword aKeyword) native
Function SetWorkbenchKeyword(Keyword aKeyword) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<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())


</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu