PSA: silvereyes is no longer playing ESO, so this addon is looking for a new maintainer. Please reach out to Dolby via PM if you want to take ownership of this addon.
Version 3.1.3
- Update 32 Deadlands compatibility
- This version is compatible with both PTS (Deadlands) and live (Waking Flame)
Version 3.1.2
- Update 31 Waking Flame compatibility
Version 3.1.1
- Update 30 Blackwood compatibility
- This version is compatible with both live (Flames of Ambition) and PTS (Blackwood)
Version 3.1.0
NEW FEATURES
-----------------
- New option: showCounter. Causes a count of how many increments were called while building the loot summary.
- New function: SetCounterText("text"). Accepts a singular noun describing the increment displayed when showCounter is true.
- New function: IncrementCounter(). Marks that all items added to the list since the last time Print() or IncrementCounter() call all belong to the same loot event.
BUGFIXES
-----------
- Fix for currency randomly not appearing in the summary
- Fixes some items randomly appearing on their own lines in chat, separate from the main summary.
Version 3.0.1
- Fix for occasional "Bad Argument #1 to ipairs" error
Version 3.0.0
NEW FEATURES
-----------------
- Update 29 Flames of Ambition compatibility
- This version is compatible with both live (Markarth) and PTS (Flames of Ambition)
- Improved German translations. Thanks Scootworks!
- Improved Russian translation. Thanks Friday_The13_rus!
- New option: Show Uncollected Item Set Icons
+ LibLootSummary.List:SetShowNotCollected(true/false)
+ Displays icons to the right of item names if their set pieces are not collected.
+ Many thanks to Scootworks for this contribution!
- LAM2 controls added for existing options
+ Combine Repeated Items / LibLootSummary.List:SetCombineDuplicates(true/false)
+ Sort Order / LibLootSummary.List:SetSorted(true/false), LibLootSummary.List:SetSortedByQuality(true/false)
+ List Delimiter / LibLootSummary.List:SetDelimiter(string),
+ Link Style / LibLootSummary.List:SetLinkStyle(default/with brackets)
- New getter and setter functions:
+ LibLootSummary.List:GetOption(optionName)
+ LibLootSummary.List:SetOption(optionName, value)
- Calling SetOptions(options) is no longer required if you are using GenerateLam2LootOptions()
+ Pass chat, prefix and suffix parameters in to the constructor to set them all at once,
or call them via their respective setter functions (e.g. UseLibChatMessage(), SetPrefix(), SetSuffix())
- LibSavedVars compatibility
+ Note, there is a slight change to the parameters needed when using LibSavedVars
+ Use :GenerateLam2LootOptions(addon.name, addon.settings, addon.defaults, 'lootSummary')
instead of :GenerateLam2LootOptions(addon.name, addon.settings.lootSummary, addon.defaults.lootSummary)
- Performance and memory usage improvements (Thanks again to Scootworks!)
BREAKING CHANGES
----------------------
- Referencing options directly (e.g. myList.iconStyle) is no longer supported. You must use the getter and setter functions: GetOption('optionName'), SetOption('optionName', optionValue) or Set<OptionName>(value) (e.g. SetIconStyle(value))
- Passing chat, prefix and suffix parameters to :SetOptions() is no longer supported. Pass them in the constructor instead.
BUGFIXES
----------
- Fix bug with options not reflecting their saved vars values if no defaults for them are set
Version 2.2.3
- Update 28 Markarth compatibility
Version 2.2.2
- Update 27 Stonethorn compatibility
- This version is compatible with both live (Greymoor) and PTS (Stonethorn)
Version 2.2.1
- Fix inconsistency where SetOptions() expected the fields "showIcon" and "showTrait", but GenerateLam2ItemOptions() and GenerateLam2LootOptions() expected the fields "icons" and "traits"
- You can now use either "showIcon" or "icons", "showTrait" or "traits" in any of these functions, for both values and defaults
Version 2.2.0
- New method SetIconSize() to adjust icon sizes output to chat
- No longer require passing all settings defaults to GenerateLam2ItemOptions() and GenerateLam2LootOptions()
- Slightly more efficient chat Print() function when not using LibChatMessage
Version 2.1.0
- Update 26 Greymoor compatibility
- This version is compatible with both live (Harrowstorm) and PTS (Greymoor)
Version 2.0.0
- Deprecated old global wrapper functions. You should now only interact with the LibLootSummary.List class returned by LibLootSummary:New()
- Created the shortcut function LibLootSummary() to create a new list instance.
- Constructor now takes an options table that allows initializing all fields right in the constructor.
+ e.g. local summary = LibLootSummary({ enabled = true, showIcon = true, showTrait = true, sortedByQuality = true })
- Changed currency display to include currency names by default, and only add icons if configured.
- New function SetEnabled(enabled) disables/enables the list
- New function SetOptions(options, defaults) can set a whole table of options at a time and fallback to default values.
- New function SetSortedByQuality(true) to sort loot lists by quality first and then alphabetically
- New function SetHideSingularQuantities(true) hides x1 quantities from printing to chat
- New function GenerateLam2ItemOptions(addonName, savedVarChildTable, defaults) that generates LibAddonMenu2-compatible control configurations automatically bound to the list configuration.
+ Includes translations for EN, DE, FR, JP and RU
+ Thanks to Scootworks for the DE translations!
- New function GenerateLam2LootOptions(addonName, savedVarChildTable, defaults) that generates LibAddonMenu2-compatible control configurations automatically bound to the list configuration.
+ The only difference with this function is that the options and tooltips use the term "Loot" instead of "Items"
- New function UseLibChatMessage(chat) to use an LCM chat proxy for printing instead of the normal d() statement.
+ Using LibChatMessage is highly recommended if enabling icon displays, because it allows many more items to be added to a single line
Version 1.2.1
- Multibyte character support
- Fixed readme typos
Version 1.2.0
- New function SetMinQuality(itemQuality) filters summary to include only items of a minimum quality.
- New function SetShowIcon(true) displays item icons to the left of item names in summary
- New function SetShowTrait(true) displays item trait names to the right of item names in summary
Version 1.1.1
- New method: LibLootSummary:SetSorted(true) to auto sort summaries alphabetically
- Add scope overrides to allow multiple summaries to be built simultaneously
- Add new class LibLootSummary.List that acts as a private instance of LibLootSummary for your addon.
- Update 24 Dragonhold API bump
Version 1.0.1
- API bump for Update 23 Scalebreaker
- This version is compatible with both Update 22 Elsweyr and Update 23 Scalebreaker
Version 1.0.0
- Initial release