Description
-What?-
Displays number of free and/or total slots per bag or globally with minimal memory and resource usage.
-Why?-
Because I almost ripped my eyes out when I realized how much memory the original Free Bag Slots actually used.
The original by sarf (KiB usage and seconds to load):
["mem"] = 1371,
["time"] = 0.1009999999951106,
["name"] = "FreeBagSlots",
sfbs (1.2) by me:
["mem"] = 27,
["time"] = 0.004000000073574483,
["name"] = "sfbs",
Source of load data: Warmup (addon by Tekkub)
(note: values are of course not static, and changes on every load, also depending on both system and other addons, etc.)
In summary, if you liked FreeBagSlots but don't have unlimited memory, this addon is probably for you.
-Usage-
/sleekfreebagslots or /sfbs toggle|free|total|ammo|colour|global
toggle - toggles sfbs on/off
free - toggles display of free slots
total - toggles display of total slots
ammo - toggles display on ammo/quiver/soul bag slots.
colour - toggles colour indication
global - toggles display per bag or globally
-Other-
Almost forgot, thanks to Eternalight (of EU-Sunstrider) who tested random crap I sent while I didn't have an active wow-account, almost everything has been rewritten since though.
Another thank you to Darkrunner (also of EU-Sunstrider) who tested the soul bag support for me.
This addon should be compitable with any wow-client (including KR), but it's slashcommands are currently only available in English.
DO NOTE however, that the ammo/quiver option probably does NOT work until proper localization strings has been entered into sfbs\localization.lua
-Known issues-
Sometimes when swapping bags the BAG_UPDATE event fires before the actual
bag has been unequipped, resulting in weird behaviour, usually simply text staying after the bag has been removed. SleekFreeBagSlots should not throw any errors due to such a situation, but if it does this is why. If you would experience this any action in your bag should fix it (moving/swapping items, etc etc).
If you have inactivated display of free slots the colour function won't work, since it requires the amount of free slots, which are not processed if they are hidden.


