Mercurial > wow > inventory
view CraftingAddons/Cauldron.lua @ 72:7ca83ad9d67a
Color coding for item quantities in the summary now defaults to white when none of the selected colors in the config fall within range.
author | Zerotorescue |
---|---|
date | Thu, 23 Dec 2010 18:33:05 +0100 |
parents | ac1189599769 |
children | 2127ab01ed4a |
line wrap: on
line source
do local function Queue(tradeSkillIndex, amount) CauldronQueue:AddItem(Cauldron.db.realm.userdata[Cauldron.vars.playername].queue, skillInfo, amount); Cauldron:UpdateQueue(); -- update the shopping list Cauldron:UpdateShoppingListFromQueue(); return; end local function IsEnabled() return (Cauldron and CauldronQueue and CauldronQueue.AddItem); end local function OnSelect() local addonName = "|r|cfffed000Cauldron|r|cffff6600"; print("|cffff6600" .. addonName .. " has not yet been tested. Please report any of your experiences.|r"); end IMRegisterCraftingAddon("Cauldron", Queue, IsEnabled, OnSelect); end