Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetCraftReagentInfo

From Wowpedia
Jump to: navigation, search

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);



Numeric - starting at 1 going down to X number of possible crafts, where 1 is the top-most listed craft.
Numeric - starting at 1 to X, where X is the total number of reagents said craft requires.


Name of the reagent required. ie, "Large Brilliant Shard"
Path to the required item texture. ie, "Interface\Icons\INV_Enchant_ShardBrilliantLarge"
Numeric. Number of total required reagents.
Numeric. Number of total required reagents that the user has on them currently.

Patch changes