added new config option to enable coloring item levels relative to ch… #178
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is to address issue 168.
This PR adds a new option to both bag and bank configuration to enable "Dynamic color" for item levels based on the item's ilvl relative to the character's average item level.
When enabled, the following logic is used to determine the item's color.
The ranges and colors are somewhat arbitrary, but are intended to provide "at a glace" usefulness of gear in bags and bank. For example, I generally would not equip gear that is not purple or orange, except in specialized situations (e.g. timewalking).
This functionality could be extended to allow user's to configure item level ranges and colors in the future.
Note that this PR only addresses retail. This implementation was tested in retail 10.2.5 (today, on February 20, 2024). Classic configurations were not created or tested, but it should be trivial to add them by simply modifying the corresponding bags.lua in the same way this bags.lua was modified.