comparison Summary.lua @ 31:e732843b16d2 v0.1.6-BETA

Added an info box to the top of the general group. Removed the ?Don't queue when below threshold?, this is now default (can?t make it too complicated). Implemented working functionality for virtual groups. ?Include in local item data? can now be overridden in every group. Added help text at the replenishing stock indicating how auction values are used when queueing. The tabs ?add items? and ?current items? will now be hidden rather than disabled when you have a virtual group selected. The auction value/price threshold for items will now be used when queueing items.
author Zerotorescue
date Sat, 30 Oct 2010 23:04:45 +0200
parents 95c813292a88
children 58fb38f0b447
comparison
equal deleted inserted replaced
30:8177b5bcb883 31:e732843b16d2
420 420
421 421
422 422
423 -- Show itemslist 423 -- Show itemslist
424 for i, item in pairs(itemsCache[groupName]) do 424 for i, item in pairs(itemsCache[groupName]) do
425 if ( item.count / minimumStock ) < showWhenBelow and not (hideWhenBelowPriceThreshold and item.value < priceThreshold and item.value >= 0) then 425 -- Go through all items for this group
426
427 if ( item.count / minimumStock ) < showWhenBelow and (not hideWhenBelowPriceThreshold or priceThreshold == 0 or item.value < 0 or item.value >= priceThreshold) then
428 -- if the option "hide when below threshold" is disabled or no price threshold is set or the value is above the price threshold or the value could not be determined, proceed
426 local btnItemLink = AceGUI:Create("ItemLinkButton"); 429 local btnItemLink = AceGUI:Create("ItemLinkButton");
427 btnItemLink:SetUserData("exec", function(_, itemId, _, buttonName) 430 btnItemLink:SetUserData("exec", function(_, itemId, _, buttonName)
428 local itemName, itemLink = GetItemInfo(itemId); 431 local itemName, itemLink = GetItemInfo(itemId);
429 432
430 if buttonName == "LeftButton" and IsShiftKeyDown() and itemLink then 433 if buttonName == "LeftButton" and IsShiftKeyDown() and itemLink then