Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config filter for special items #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ private.config = {
offset_x = 4, -- offset between toasts, if first is displayed then second will be higher/lower from previous
point_x = 0, -- position of toast by X
point_y = 0, -- position of toast by Y

-- activity
looting = true, -- fire when you yourself are looting something
creating = true, -- fire when you craft items
rolling = true, -- fire when you roll items in an instance

-- toasts
money = true, -- display money toast
recipes = true, -- display recipe toast
honor = true, -- display battleground toast

-- filtering
ignore_level = true, -- filter for item quality, if true it will show all items quality
low_level = 2, -- what item quality will be prioritized at low level (e.g. not less than 2 [uncommon])
Expand All @@ -31,7 +31,7 @@ private.config = {
req. ignore_level = false
[0] = poor, [1] = common, [2] = uncommon, [3] = rare, [4] = epic, [5] = legendary, [6] = artifact, [7] = heirloom
]]

filter = false, -- filtering for certain items by type
-- which type of item we don't want to see (req. filter = true), localized auction slot names
filter_type = {
Expand All @@ -40,10 +40,16 @@ private.config = {
-- Armor,
-- etc..
},

--[[
Possible itemType returns:
Armor, Consumable, Container, Gem, Misc, MONEY, Recipe, Projectile, Quest, Quiver, TradeGoods, Weapon.
Generally they are the same strings you see in the auction search tab.
]] -- see more details: https://wowwiki-archive.fandom.com/wiki/ItemType
};

-- always show these items
special_items = {
45902, -- Phantom Ghostfish
50289, -- Blacktip Shark
}
};
Loading