Merge pull request #3 from MarcelineVQ/stack-size-filter
[ add ] stack size filter
This commit is contained in:
@@ -166,6 +166,9 @@ This will scan for usable recipes and exclude those with "libram" in the tooltip
|
||||
**armor/cloth/50/intellect/stamina**<br/>
|
||||
This will scan the auction house for cloth armor which has a requirement of at least lvl 50 as well both intellect and stamina stats.
|
||||
|
||||
**felcloth/exact/stack/5**<br/>
|
||||
This will search for auctions of felcloth with exactly 5 items in the stack.
|
||||
|
||||
## Historical Value
|
||||
|
||||
aux condenses the prices you've scanned during a day (midnight to midnight) into a single value, similarly to retail Auctioneer's "stat-simple" module.
|
||||
|
||||
@@ -323,7 +323,7 @@ function set_filter_display_offset(x_offset, y_offset)
|
||||
end
|
||||
|
||||
function initialize_filter_dropdown()
|
||||
for _, filter in ipairs(T.temp-T.list('and', 'or', 'not', 'price', 'profit', 'vendor-profit', 'disenchant-profit', 'percent', 'disenchant-percent', 'bid-price', 'bid-profit', 'bid-vendor-profit', 'bid-disenchant-profit', 'bid-percent', 'bid-disenchant-percent', 'item', 'tooltip', 'min-level', 'max-level', 'rarity', 'left', 'utilizable', 'seller', 'isgear')) do
|
||||
for _, filter in ipairs(T.temp-T.list('and', 'or', 'not', 'price', 'profit', 'vendor-profit', 'disenchant-profit', 'percent', 'disenchant-percent', 'bid-price', 'bid-profit', 'bid-vendor-profit', 'bid-disenchant-profit', 'bid-percent', 'bid-disenchant-percent', 'item', 'tooltip', 'min-level', 'max-level', 'rarity', 'left', 'utilizable', 'seller', 'isgear', 'stack')) do
|
||||
UIDropDownMenu_AddButton(T.map(
|
||||
'text', filter,
|
||||
'value', filter,
|
||||
|
||||
+10
-1
@@ -238,7 +238,16 @@ M.filters = {
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
['stack'] = {
|
||||
input_type = 'number',
|
||||
validator = function(size)
|
||||
return function(auction_record)
|
||||
return auction_record.aux_quantity == size
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
function operator(str)
|
||||
|
||||
Reference in New Issue
Block a user