Mercurial > wow > reagentmaker
comparison MillingData.lua @ 70:32ec6417874a
Change the internal data format (not done yet for the external window)
author | contrebasse |
---|---|
date | Sat, 14 May 2011 20:19:22 +0200 |
parents | cd7e41015586 |
children | 996aaa818d04 |
comparison
equal
deleted
inserted
replaced
69:0675410645de | 70:32ec6417874a |
---|---|
130 -- "Tradeskill" data | 130 -- "Tradeskill" data |
131 local MillID = 51005 | 131 local MillID = 51005 |
132 local macroMill = "/cast "..GetSpellInfo(MillID).."\n/use %s" | 132 local macroMill = "/cast "..GetSpellInfo(MillID).."\n/use %s" |
133 local MillLink = GetSpellLink(MillID) | 133 local MillLink = GetSpellLink(MillID) |
134 | 134 |
135 for k,v in pairs(A.MillingData) do | 135 -- Add "Tradeskill" data to each "recipe" |
136 v.spell = macroMill | 136 for itemID,t in pairs(A.MillingData) do |
137 v.spellID = MillID | 137 for i,v in ipairs(t) do |
138 v.spellLink = MillLink | 138 v.macro = macroMill |
139 v.spellID = MillID | |
140 v.spellLink = MillLink | |
141 end | |
139 end | 142 end |