Before anyone says "why doesn't it support X": I made this for my personal use and I use MM and decided to release it. This addon will take the MM value of the items in the active toon's worn equipment, inventory, bank, craftbag and guild listings and try to give you a net wealth. You can also set custom values for AP, Tel Var and writs. Allows estimating the cost of your current motif knowledge.
The main command is /wealth. There is also /wornsum (equipped), /bagsum (inventory), /banksum, /craftsum (Craft Bag). I think they are somewhat self-explanatory. /motifsum will calculate the current character's motif knowledge value. /recipesum will calculate the current character's cooking and furnishing knowledge values.
/stolensum is a special case: it is automatically called when a guard is trying to arrest you and it gives both the MM value of your items and the vendor value, since many stolen items cannot be traded. It only applies to what is worn/carried as they are the only items at risk. The other commands already sum stolen tradable items in the normal sum, while this is more specifically for knowing risk.
These were more so for debugging, but I thought the bank one was cool so I left them. These commands will give you a data dump (list) of the items in their respective commands:
Craftbag doesn't have a dump because of several reasons that I'm too lazy to list.
All, Bound or Unbound
Wealth, Worn, Bag and Bank have three variants of the command. The "all" command is simply the default one. If you want bound only you add "b" if you want unbound only you add "ub" For example, the worn command is "/wornsum" if you want unbound only, use "/wornsumub" Craftbag doesn't have a bound/unbound option because I don't think there's anything bound that goes in there that would have value. If I'm wrong, correct me and I'll add it.
Guild listings must be viewed before the game allows you to be aware of them. All this means is that if you want your guild listings included in the wealth evaluation, simply view each of your listing pages (the items must appear; if the listing is blank because it didn't load, it won't work) before using the wealth command. This uses the value you listed the item at rather than the MM value because what you have listed it for is more relevant to you.
Housing is a pain, so this'll have to be good enough for now.
If you want to include your home (the building itself)'s cost, you will need to have logged into a character that has been inside before for each house. Once this has been done, it will remember which homes have been visited. Note: if you are on a character that has done this already, you do not need to do it again for the addon. Command /housesum
However, to include the furniture value, you will need to enter each home and use /furnsum. This will visually output the value for you, but it will also save it for that house. So if you decide to make changes to a home, call this command again to save those changes. For now, it will not differentiate between bound and unbound house items because I don't currently feel like handling saving that mess. Later on, I will probably change the way it stores housing info so that you can more easily switch between bound and unbound and track the value over time. At this point, I just want to see if this is stable before adding even more features with little testing.
Help & Options
This may seem confusing for some people because it looks more complicated than it is, so feel free to ask. If you just forgot a command, you can always use /wehelp for a refresher. You can use /weoptions to go to the addon settings page.
Thanks to @Jiub's_Zealot for testing the early versions.
Version 1.10.2 - Fixed lib issue
Version 1.10.1 - Fixed /housesum
*Added house cost
*Added furniture value
*Added a settings menu
*Added Tel Var
*Added Writ Vouchers
*Added motif knowledge
*Added haggling bonus to stolen items
Version 1.07 - fixed double spaced text.
Version 1.06 - added vendor values for /wealth
Version 1.05 - uses vendor value for items without MM.
Version 1.04 - API bump.
Version 1.03 - added risked stolen items sum.
Version 1.02 - craft bag fix.
Version 1.01 - added unknown listings on individual checks.