comparison CraftingAddons/Cauldron.lua @ 65:ac1189599769

Added warning to AuctionLite pricing addon selection stating the addon wasn?t tested properly yet. Premade groups check now occurs when the config is opened rather than upon login. All multiselects are now dropdowns as they are meant to be. Please ensure the pullouts are closed before switching groups or closing the window or you may get some LUA errors (thanks Wowace for not fixing what seems to be a year old issue). Hopefully added support for the crafting addon ?Cauldron?, but this still has to be tested.
author Zerotorescue
date Thu, 23 Dec 2010 03:19:27 +0100
parents
children 2127ab01ed4a
comparison
equal deleted inserted replaced
64:0bd50500561c 65:ac1189599769
1 do
2
3 local function Queue(tradeSkillIndex, amount)
4 CauldronQueue:AddItem(Cauldron.db.realm.userdata[Cauldron.vars.playername].queue, skillInfo, amount);
5
6 Cauldron:UpdateQueue();
7
8 -- update the shopping list
9 Cauldron:UpdateShoppingListFromQueue();
10
11 return;
12 end
13
14 local function IsEnabled()
15 return (Cauldron and CauldronQueue and CauldronQueue.AddItem);
16 end
17
18 local function OnSelect()
19 local addonName = "|r|cfffed000Cauldron|r|cffff6600";
20
21 print("|cffff6600" .. addonName .. " has not yet been tested. Please report any of your experiences.|r");
22 end
23
24 IMRegisterCraftingAddon("Cauldron", Queue, IsEnabled, OnSelect);
25
26 end