Mercurial > wow > inventory
view Plugins/CraftingAddons/Skillet.lua @ 86:feb9bc9704ad
Added tag v0.2.1-BETA for changeset e01e6642df57
author | Zerotorescue |
---|---|
date | Thu, 06 Jan 2011 20:10:07 +0100 |
parents | 3bec0ea44607 |
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