WoWEquip is a great addon, and contains some of the functions that my addon needs, but it's intended for a different use. Also it's far more complex that I want my addon to be.
What my addon does is:
- User configure their BiS equipment (choosed by using WoWEquipment, Rawr...)
- Shows a frame where user can see "Current equipment-BiS Equipment" (no stats comparison or whatever.
- Shows a status text like "You got yourself 12/17 BiS items"
- Allow you to auto-whisper yourself, master looter, raid lider when looting in raid with "Loot item xxxx is BiS for yyyy" (in my guild we give items to those who will take better proffit instead of those with better roles, and we encourage people to give to the raid lider a list of their BiS so they can get it asap).
As you can see is a pretty simple addon, and I got everything covered but the "choose BiS items" thing. How does WoWEquip does it? My guess is it stores the whole table of items, but it just seems not right for suche a light addon as mine. But I would do it if is the only way, of course.
I'm trying to write an addon to allow user's to select some items (their Best in slot items) and track how far they are from that equipment.
The problem I'm facing is how can the user configure that list. I mean, the addon needs to allow them to select an item the user don't have, so they can't drag it into the addon, they won't know the item's link...
It would be great for the user to only write the items name, but I would need the addon to get that item's link from it's name. Is this possbile?
Would I need to have a table with ALL the items, with their name and their link to find a match?