Lore archive · Warcraft Wiki, 2023 dump
API GetCraftReagentInfo
Last wiki revision 2022-08-01
This command tells the caller which the name of the reagent, path to the used texture, number of required reagents, and number of said reagents that the caller currently has in their bags. name, texturePath, numRequired, numHave = GetCraftReagentInfo(index, n)
- index: - starting at 1 going down to X number of possible crafts, where 1 is the top-most listed craft.
- n: - starting at 1 to X, where X is the total number of reagents said craft requires.
- name:Name of the reagent required. ie, "Large Brilliant Shard"
- texturePath:Path to the required item texture. ie, "Interface\Icons\INV_Enchant_ShardBrilliantLarge"
- numRequired:Numeric. Number of total required reagents.
- numHave:Numeric. Number of total required reagents that the user has on them currently.
Source
https://warcraft.wiki.gg/wiki/API_GetCraftReagentInfo · 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.