Skip to content

Commit

Permalink
Also show tooltip details on mail attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
kierdavis committed Mar 9, 2021
1 parent b256e5a commit ecbdffb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CanICraftThis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ local function installTooltipExtensionHooks(craftingStationCache, styleCollectib
ZO_PostHook(ItemTooltip, "SetTradingHouseListing", function(_, listingIndex)
extendTooltip(GetTradingHouseListingItemLink(listingIndex), craftingStationCache, styleCollectibleCache)
end)
ZO_PostHook(ItemTooltip, "SetAttachedMailItem", function(_, mailId, attachmentIndex)
extendTooltip(GetAttachedItemLink(mailId, attachmentIndex), craftingStationCache, styleCollectibleCache)
end)
end

local function initialise()
Expand Down
2 changes: 1 addition & 1 deletion CanICraftThis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Description: Easily see whether you have all knowledge and materials required for a writ before opening it.
## Author: always.ada
## APIVersion: 100033 100034
## AddOnVersion: 3
## AddOnVersion: 4
## SavedVariables: CanICraftThisVars

Core.lua
Expand Down

0 comments on commit ecbdffb

Please sign in to comment.