Mercurial > wow > inventory
comparison Summary.lua @ 72:7ca83ad9d67a
Color coding for item quantities in the summary now defaults to white when none of the selected colors in the config fall within range.
| author | Zerotorescue |
|---|---|
| date | Thu, 23 Dec 2010 18:33:05 +0100 |
| parents | fee06221176f |
| children | 6216b754350d |
comparison
equal
deleted
inserted
replaced
| 71:e999870eb1da | 72:7ca83ad9d67a |
|---|---|
| 563 return printf("|cffffff00%d|r", num); | 563 return printf("|cffffff00%d|r", num); |
| 564 elseif percentage >= addon.db.profile.defaults.colors.orange then | 564 elseif percentage >= addon.db.profile.defaults.colors.orange then |
| 565 return printf("|cffff9933%d|r", num); | 565 return printf("|cffff9933%d|r", num); |
| 566 elseif percentage >= addon.db.profile.defaults.colors.red then | 566 elseif percentage >= addon.db.profile.defaults.colors.red then |
| 567 return printf("|cffff0000%d|r", num); | 567 return printf("|cffff0000%d|r", num); |
| 568 else | |
| 569 return num; | |
| 568 end | 570 end |
| 569 end | 571 end |
| 570 | 572 |
| 571 function mod:DisplayMoney(value, priceThreshold) | 573 function mod:DisplayMoney(value, priceThreshold) |
| 572 if value == -1 then | 574 if value == -1 then |
