Mercurial > wow > reagentmaker
comparison data.lua @ 118:c32d6bf6cfc1
Removed debug prints and obsolete todos
| author | contrebasse |
|---|---|
| date | Sun, 19 Jun 2011 13:05:52 +0200 |
| parents | e6bb47c6d8d6 |
| children |
comparison
equal
deleted
inserted
replaced
| 117:e6bb47c6d8d6 | 118:c32d6bf6cfc1 |
|---|---|
| 2 | 2 |
| 3 A.data = A.CommonData | 3 A.data = A.CommonData |
| 4 | 4 |
| 5 do | 5 do |
| 6 -- lua functions | 6 -- lua functions |
| 7 local print = print | |
| 8 local ipairs = ipairs | 7 local ipairs = ipairs |
| 9 local pairs = pairs | 8 local pairs = pairs |
| 10 local tinsert = tinsert | 9 local tinsert = tinsert |
| 11 local select = select | 10 local select = select |
| 12 | 11 |
| 108 -- recipe link (for tooltips) | 107 -- recipe link (for tooltips) |
| 109 local recipeLink = GetTradeSkillRecipeLink(i) | 108 local recipeLink = GetTradeSkillRecipeLink(i) |
| 110 if not recipeLink then isRecipeCorrect = false; end | 109 if not recipeLink then isRecipeCorrect = false; end |
| 111 | 110 |
| 112 if not isRecipeCorrect then | 111 if not isRecipeCorrect then |
| 113 print("Recette incorrecte") | |
| 114 isScanCorrect = false | 112 isScanCorrect = false |
| 115 end | 113 end |
| 116 -- error checking | 114 -- error checking |
| 117 if isRecipeCorrect then | 115 if isRecipeCorrect then |
| 118 -- remove unneeded minMade/maxMade | 116 -- remove unneeded minMade/maxMade |
| 147 end | 145 end |
| 148 end -- if | 146 end -- if |
| 149 end -- if | 147 end -- if |
| 150 end -- for | 148 end -- for |
| 151 -- the scanning is complete | 149 -- the scanning is complete |
| 152 if not isScanCorrect then | |
| 153 print("Erreur dans le scan") | |
| 154 end | |
| 155 return isScanCorrect | 150 return isScanCorrect |
| 156 end -- function | 151 end -- function |
| 157 end -- do | 152 end -- do |
