- Added options to position gem-icons
Type '/gw pos 1-4' to change position
- Added option to show/hide gem-interface in character window
Type "/gw toggle" to show/hide gem interface
Did you know that meta-gems does not count the color-slots you have? Anyway - they don't. They count slots a gem can be used for. Meaning that if you equip a gem that goes in red and blue slots in a red slot, it counts as one red and one blue gem. That can make keeping track of all the colors somewhat difficult at times, and choosing the right combination of gems with a meta-gem can be troublesome.
For my own part I messed it up a lot, so I got tired of it and made this addon. This addon will show you a count of the colors you have equipped the way a meta-gem will count. It takes into account all the gems that are multicolored and give you a result back.
If your item(s) should contain a gem that is not reckognized, there is an interface for adding unknown gems to the database. Select the unknown gem-slot from the list, select what color slots it will support, and press "Set". That is all.
Unknown slots/gems will be identified by the item they are on, and the slot-number counting from the top of the list on the item. So "Footwear of the beetle, slot 2" means that the second gem from the top on your item "Footwear of the beetle" is not known to the addon. If the gem-information out there is correct, there should only be 13 of about 140 of these.
Just type "/gw" or "/gemwatch" to open the window and see the color-count you have.
The problem with socketing
However, there is a slight problem with this. Blizzard does not socket gems. It may look like it, but they don't. Gems works internally just like enchants, meaning that once it's used it's gone. All WoW items (weapons, armor, gems, food, etc) are represented internally with an item-ID. It's the same with enchants (or used gems, if you like). They are represented by an enchant-ID. So when you socket a gem, it is converted from an item to an enchant in a slot. Because of this it is impossible to directly read what gem is in a socket since the information contained in an item is the resulting enchant rather than the gem itself. You would in fact need a conversion-list containing what gem (item-ID) is converted to what enchant (enchant-ID). The available conversion-lists are sadly incomplete, and somewhat wrong at times. I have however tried my best to implement this in the most correct manner.
As of now there are (I think) around 140 gems. My list with enchant-conversion lacks 13 of these.