Finalize AckisRecipeList:GenerateLinks
ackis [04-20-09 - 20:47]
Finalize AckisRecipeList:GenerateLinks
diff --git a/ARLDatamine.lua b/ARLDatamine.lua
index 7a9806b..d6f66fa 100644
--- a/ARLDatamine.lua
+++ b/ARLDatamine.lua
@@ -27,6 +27,7 @@ local IsTradeskillTrainer = IsTradeskillTrainer
local SetTrainerServiceTypeFilter = SetTrainerServiceTypeFilter
local GetTrainerServiceSkillReq = GetTrainerServiceSkillReq
local pairs = pairs
+local tconcat = table.concat
-- Description: Parses a trainer, comparing skill levels internal to those on the trainer.
@@ -166,14 +167,17 @@ function addon:GenerateLinks()
tradelink[3] = ":450:450:"
tradelink[4] = playerGUID
tradelink[5] = ":"
- tradelink[6] = bitmap[tradelist[i]] or "/////"
+ tradelink[6] = bitmap[tradelist[i]]
tradelink[7] = "|h["
tradelink[8] = tradeName
tradelink[9] = "]|h|r"
- --local tradelink = "|cffffd00|Htrade:" .. tradelist[i] .. ":450:450:" .. playerGUID .. ":" .. bitMap .. "|h[" .. tradeName .."]|h|r"
+
+ if (bitmap[tradelist[i]]) then
+ self:Print(tconcat(tradelink,""))
+ else
+ DEFAULT_CHAT_FRAME:AddMessage(gsub(GetTradeSkillListLink(), "\124", "\124\124"))
+ end
end
end
-
---/script DEFAULT_CHAT_FRAME:AddMessage(gsub(GetTradeSkillListLink(), "\124", "\124\124"))
\ No newline at end of file
diff --git a/Docs/Main.txt b/Docs/Main.txt
index 2811df7..e26ccf2 100644
--- a/Docs/Main.txt
+++ b/Docs/Main.txt
@@ -39,9 +39,6 @@ Read the documentation located at these locations:
* [http://www.wowace.com/projects/arl/pages/feedback-and-bug-reporting/ Bug Reporting and Feature Requestiing]
* [http://www.wowace.com/projects/arl/pages/in-game-documentation/ In-game Documentation]
-==Comments==
-I have disabled comments on Curse.com for multiple reasons. The main one being people posting comments such as "this is broken" without providing any other information. Please see the in-game documentation or the Bug Reports section on how to contact me.
-
==Where to get it==
* [http://www.wowace.com/projects/arl/files/ WoW Ace] - Alpha Quality
* [http://wow.curse.com/downloads/wow-addons/details/arl.aspx Curse] - Stable release