Mercurial > wow > itemauditor
comparison Core.lua @ 19:67f4151d535c
Expanded the queue system to calculate what the new QA threshold would be and to consider buying items from vendors. It also sets a threshold so that items with less than 5g profit will not be crafted. I will turn this into an option later.
| author | Asa Ayers <Asa.Ayers@Gmail.com> |
|---|---|
| date | Sun, 04 Jul 2010 07:24:12 -0700 |
| parents | 56de19d9bd8d |
| children | ff9a698caebc |
comparison
equal
deleted
inserted
replaced
| 18:c7b3585c73df | 19:67f4151d535c |
|---|---|
| 60 self:RefreshQAGroups() | 60 self:RefreshQAGroups() |
| 61 end | 61 end |
| 62 | 62 |
| 63 function addon:Print(message) | 63 function addon:Print(message) |
| 64 local prefix = "|cFFA3CEFF"..tostring( self ).."|r: " | 64 local prefix = "|cFFA3CEFF"..tostring( self ).."|r: " |
| 65 DEFAULT_CHAT_FRAME:AddMessage( prefix .. message) | 65 DEFAULT_CHAT_FRAME:AddMessage( prefix .. tostring(message)) |
| 66 end | 66 end |
| 67 | 67 |
| 68 function addon:GetCurrentInventory() | 68 function addon:GetCurrentInventory() |
| 69 local i = {} | 69 local i = {} |
| 70 local bagID | 70 local bagID |
