Mercurial > wow > reagentmaker
comparison data.lua @ 110:d60d6b4cab0c
Tradeskill in external window should now be functional
| author | contrebasse |
|---|---|
| date | Thu, 02 Jun 2011 18:23:42 +0200 |
| parents | 618163a6d970 |
| children | e6bb47c6d8d6 |
comparison
equal
deleted
inserted
replaced
| 109:b5fd4a61ee64 | 110:d60d6b4cab0c |
|---|---|
| 119 end -- if | 119 end -- if |
| 120 | 120 |
| 121 -- Cache the data | 121 -- Cache the data |
| 122 if addSpell then | 122 if addSpell then |
| 123 local spell = {reagentID,reagentCount,minMade,maxMade} | 123 local spell = {reagentID,reagentCount,minMade,maxMade} |
| 124 spell.spellName = tradeskillName | 124 spell.skillName = skillName |
| 125 spell.tradeskillName = tradeskillName | |
| 125 spell.spellLink = recipeLink | 126 spell.spellLink = recipeLink |
| 126 spell.header = lastHeader | 127 spell.header = lastHeader |
| 127 tinsert(A.data[itemID],spell) | 128 tinsert(A.data[itemID],spell) |
| 128 end | 129 end |
| 129 | |
| 130 --else -- Zap incomplete recipes, they will be scanned later | |
| 131 --@debug@ | |
| 132 --print("Erreur de scan :",itemID,reagentID,reagentCount,minMade,maxMade,recipeLink) | |
| 133 --@end-debug@ | |
| 134 end -- if | 130 end -- if |
| 135 end -- if | 131 end -- if |
| 136 end -- for | 132 end -- for |
| 137 -- the scanning is complete | 133 -- the scanning is complete |
| 138 return true | 134 return true |
