Download
(2 Kb)
Download
Updated: 12/17/21 03:34 PM
Compatibility:
Deadlands (7.2.5)
Updated:12/17/21 03:34 PM
Created:12/17/21 03:34 PM
Monthly downloads:1,761
Total downloads:47,640
Favorites:4
MD5:
LibTraitResearch  Popular! (More than 5000 hits)
Version: 1.00
by: olegbl [More]
LibTraitResearch

https://github.com/olegbl/eso-mods/t...bTraitResearch

Description

Given an item link, exposes information about the researchability of a trait on that item, including information about other items with the same trait available in various bags that the character has access to. Does not consider other characters in account.

API
Code:
local canBeResearched, colorOverall, duplicateRemoteItems, colorRemote, duplicateLocalItems, colorLocal = LibTraitResearch:GetItemLinkTraitResearchState(itemLink)

-- canBeResearched = if the item has a trait that can be researched
-- colorOverall = the color that should be used for the research icon
-- duplicateRemoteItems = how many other items with the same trait are available in a remote bag (e.g. the bank)
-- colorRemote = color that should be used for the remote count
-- duplicateLocalItems = how many other items with the same trait are available in a local bag (i.e. the inventory)
-- colorLocal = color that should be used for the local count

LibTraitResearch:Update() -- refreshes current data, does not generally need to be called manually
Support

This addon is provided as is, without warranty or support of any kind, express or implied.
Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: