From 157857ab043b7e9f4f2b71ab2e9f198825d0edea Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 5 Jun 2009 20:28:14 +0000 Subject: [PATCH] Fix compilation errors, is the luac -p script still being run on commits? --- .pkgmeta | 2 +- ARLDatamine.lua | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.pkgmeta b/.pkgmeta index 678ba08..bd0d06d 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -1,4 +1,4 @@ -package-as: AckisRecipeList +package-as: AckisRecipeList license-output: LICENSE.txt diff --git a/ARLDatamine.lua b/ARLDatamine.lua index d423c85..dc411b1 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -2111,7 +2111,7 @@ local tooltipflags = { Trinket = false, Ring = false, Necklace = false, - Shield] = false, + Shield = false, OneHanded = false, TwoHanded = false, Axe = false, @@ -2123,7 +2123,7 @@ local tooltipflags = { Wand = false, Thrown = false, Bow = false, - Crosstooltipflags[Bow = false, + CrossBow = false, Ammo = false, Fist = false, Gun = false, @@ -2161,7 +2161,7 @@ local function resettooltipscanflags() Trinket = false, Ring = false, Necklace = false, - Shield] = false, + Shield = false, OneHanded = false, TwoHanded = false, Axe = false, @@ -2230,7 +2230,7 @@ function addon:ScanToolTip(name, recipelist, isvendor) local rep,replevel = strmatch(text, "Requires (.+) %- (.+)") if (factiontext[rep]) then tooltipflags[repid] = factiontext[rep] - tooltipflags[repidlevel} = factionlevels[replevel] + tooltipflags[repidlevel] = factionlevels[replevel] end end @@ -2447,6 +2447,10 @@ function addon:ScanToolTip(name, recipelist, isvendor) end end +end + +function addon:PrintScanResults() + if (recipefound) then -- Parse the recipe database until we get a match on the name local spellid -- 1.7.9.5