Lore archive · Warcraft Wiki, 2023 dump
API GetCraftInfo
Last wiki revision 2022-08-01
craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index)
- index: - 1 to GetNumCrafts
- craftName:Name of the item you can craft
- craftSubSpellName
- craftType: - "header" or how hard it is to create the item; trivial, easy, medium or optimal.
- numAvailable:This is the number of items you can create with the reagents you have in your inventory (the number is also shown in the UI).
- isExpanded:Only applies to headers. Indicates whether they are expanded or contracted. Nil if not applicable.
- trainingPointCost:This is the number of training points needed to train this skill if at a trainer. Nil if the craft window is not a trainer.
- requiredLevel:The required level to train this skill if at a trainer. Nil if the craft window is not a trainer.
Source
https://warcraft.wiki.gg/wiki/API_GetCraftInfo · 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.