Mercurial > wow > inventory
view CraftingAddons/Skillet.lua @ 36:58fb38f0b447
The list of possible commands when you write /im without any arguement will now include commands inserted by modules with their own descriptions.
Clicking a command in this list will now execute it.
The slash command handler function is now a global so you can invoke these through other methods.
Added an optional event function to registering auction pricing addons, when defined this will be executed when the pricing addon gets selected.
Removed the unused ?Override local item data? option.
Added ?AuctionProfitMaster? and ?ZeroAuctions? pricing support. The pricing info displayed in the summary window will be used for this.
Trying to queue without any items in the summary should no longer give an error.
author | Zerotorescue |
---|---|
date | Sat, 20 Nov 2010 17:24:16 +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