Add files via upload

added a isgear new filter option. 
this is usefull when you dont want to use blizzard filters, like when you want to scan all items at 80% market value but you dont want to see all these useless greens and white items with incosistent market values
This commit is contained in:
geojak
2022-06-02 19:54:02 +02:00
committed by GitHub
parent ede00f203b
commit 1a73f301e2
3 changed files with 15 additions and 4 deletions
+11 -1
View File
@@ -38,7 +38,7 @@ M.filters = {
return default_filter(str).validator()
end,
},
['item'] = {
input_type = 'string',
validator = function(name)
@@ -229,6 +229,16 @@ M.filters = {
end
end
},
['isgear'] = {
input_type = '',
validator = function()
return function(auction_record)
return not(info.item(auction_record.item_id).slot == '')
end
end,
},
}
function operator(str)