Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetCraftReagentItemLink

Last wiki revision 2022-08-01

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

reagentLink = GetCraftReagentItemLink(index, n)

  • index: - index of the requested craft recipe, where 1 is the top-most listed recipe.
  • n: - index of the Nth reagent for the recipe, where 1 is the first reagent.
  • reagentLink: - itemLink for the requested reagent.
  • If you specify an invalid index, nil is returned.
  • If there is no visible tradeskill window, nil is returned.

Source

https://warcraft.wiki.gg/wiki/API_GetCraftReagentItemLink · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.