WoW API < GetCraftReagentItemLink

This command returns a required reagent (as an itemLink) for a specific craftable item from the currently visible tradeskill window.

reagentLink = GetCraftReagentItemLink(index, n)

Arguments[edit | edit source]

index 
Numeric - index of the requested craft recipe, where 1 is the top-most listed recipe.
Numeric - index of the Nth reagent for the recipe, where 1 is the first reagent.

Returns[edit | edit source]

reagentLink 
String - itemLink for the requested reagent.

Details[edit | edit source]

  • If you specify an invalid index, nil is returned.
  • If there is no visible tradeskill window, nil is returned.
Community content is available under CC-BY-SA unless otherwise noted.