Mercurial > wow > inventory
view CraftingAddons/Skillet.lua @ 73:6216b754350d
Default size for the summary window increase to 700 pixels (from 650).
Cached item name and rarity no longer have a default and will be nil if the value is unknown.
Cached item name, rarity and link can now be updated when the itemlink element is build.
Item element now gets the item table passed rather than just the item id. If the item link is already known, this prevent an additional GetItemInfo call.
author | Zerotorescue |
---|---|
date | Fri, 24 Dec 2010 16:10:20 +0100 |
parents | 5006cb0e97c6 |
children |
line wrap: on
line source
do local function Queue(tradeSkillIndex, amount) local link = GetTradeSkillRecipeLink(tradeSkillIndex); local recipeId = tonumber(link:match("|Henchant:([-0-9]+)|h")); local newCommand = Skillet:QueueCommandIterate(recipeId, amount); return Skillet:AddToQueue(newCommand); end local function IsEnabled() return (Skillet and Skillet.QueueCommandIterate and Skillet.AddToQueue); end IMRegisterCraftingAddon("Skillet", Queue, IsEnabled); end