If anyone else is looking for a way to add tokens/currency to Inventorian Phanx put this together.
Lua Code:
local Inventorian = LibStub("AceAddon-3.0"):GetAddon("Inventorian")
local function TokenUpdate()
if GetNumWatchedTokens() > 0 then
BackpackTokenFrame:SetParent(Inventorian.bag)
BackpackTokenFrame:ClearAllPoints()
BackpackTokenFrame:SetPoint("TOPRIGHT", Inventorian.bag, "BOTTOMRIGHT", 0, 4)
BackpackTokenFrame:Show()
end
end
hooksecurefunc(Inventorian, "OnEnable", function(self)
hooksecurefunc(self.bag, "Show", TokenUpdate)
hooksecurefunc("ManageBackpackTokenFrame", TokenUpdate)
end)