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
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