Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 03-08-10 11:28 PM
Addon for:
sStats.
Pictures
File Info
Updated:03-08-10 11:28 PM
Created:03-08-10 11:28 PM
Downloads:1,925
Favorites:2
MD5:
sStats Bags
Version: 1.0.20100308
by: Screid123 [More]
This is a module for sStats, a data display framework.


Written for my own personal use, but saw others were requesting something similar, so I figured I'd put this out there for them. Basically adapted "Broker_Bags" to work with sStats.


It simply displays "Bags: Free/Total" for a quick glance at how many free slots you have left.

If you want it to display "Bags: Used/Total" then simply change the following line 46 in "bags.lua":
Code:
freeSlots = freeSlots + GetContainerNumFreeSlots(i)
to
Code:
freeSlots = freeSlots + (GetContainerNumSlots(i) - GetContainerNumFreeSlots(i))
It excludes ammo/shard bags since they tend to be either obsolete or covered elsewhere. If I get around to it, maybe I'll add options to include these or not.


Hope this helps some of you out, maybe providing at least a starting point.

Credits:
Seerah (sStats)
Quaiche (Broker_Bags)
Post A Reply Comment Options
Unread 03-09-10, 04:31 PM  
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 9639
File comments: 595
Uploads: 25
Oh, nice! Glad someone decided to write a module for it. Now I'll have to finish up sStats.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

[SIGPIC][/SIGPIC]
Seerah is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: