idTip icon indicating copy to clipboard operation
idTip copied to clipboard

Please consider adding the Max Stack value for items

Open Kuhlkatz opened this issue 10 months ago • 0 comments

It's fairly simple (and useful) adding or showing the max stack value for items. Please consider adding this as default.

The below 3 additional lines does just that (in Classic):

local kinds = { ... icon = "IconID", maxstack = "MaxStack", } ... elseif kind == kinds.item then iconId = C_Item.GetItemIconByID(id) if iconId then addLine(tooltip, iconId, kinds.icon) end numStacks = C_Item.GetItemMaxStackSizeByID(id) if numStacks then addLine(tooltip, numStacks, kinds.maxstack) end end

Kuhlkatz avatar Mar 26 '24 23:03 Kuhlkatz