comparison data.lua @ 31:22fa64c9b2de

Store spellLink instead of spellID
author contrebasse
date Thu, 28 Apr 2011 21:43:06 +0200
parents fd76c8951b7d
children ef5fe66a3f0b
comparison
equal deleted inserted replaced
30:fd76c8951b7d 31:22fa64c9b2de
1 local addonName, A = ... 1 local addonName, A = ...
2 2
3 local MillID = 51005 3 local MillID = 51005
4 local macroMill = "/cast "..GetSpellInfo(MillID).."\n/use " 4 local macroMill = "/cast "..GetSpellInfo(MillID).."\n/use "
5 local MillLink = GetSpellLink(MillID)
6 MillID = nil
5 local ProspectID = 31252 7 local ProspectID = 31252
6 local macroProspect = "/cast "..GetSpellInfo(ProspectID).."\n/use " 8 local macroProspect = "/cast "..GetSpellInfo(ProspectID).."\n/use "
9 local ProspectLink = GetSpellLink(ProspectID)
10 ProspectID = nil
7 A.data = { 11 A.data = {
8 -- Mill 12 -- Mill
9 -- Normal pigments 13 -- Normal pigments
10 [39151] = { -- Alabaster Pigment 14 [39151] = { -- Alabaster Pigment
11 spell = macroMill, 15 spell = macroMill,
12 spellID = MillID, 16 spellLink = MillLink,
13 {2447,5,2,3}, -- Peacebloom 17 {2447,5,2,3}, -- Peacebloom
14 { 765,5,2,3}, -- Silverleaf 18 { 765,5,2,3}, -- Silverleaf
15 {2449,5,2,4}}, -- Earthroot 19 {2449,5,2,4}}, -- Earthroot
16 [39334] = { -- Dusky Pigment 20 [39334] = { -- Dusky Pigment
17 spell = macroMill, 21 spell = macroMill,
18 spellID = MillID, 22 spellLink = MillLink,
19 { 785,5,2,3}, -- Mageroyal 23 { 785,5,2,3}, -- Mageroyal
20 {2450,5,2,3}, -- Briarthorn 24 {2450,5,2,3}, -- Briarthorn
21 {2452,5,2,3}, -- Swiftthistle 25 {2452,5,2,3}, -- Swiftthistle
22 {2453,5,2,4}, -- Bruiseweed 26 {2453,5,2,4}, -- Bruiseweed
23 {3820,5,2,4}}, -- Stranglekelp 27 {3820,5,2,4}}, -- Stranglekelp
24 [39338] = { -- Golden Pigment 28 [39338] = { -- Golden Pigment
25 spell = macroMill, 29 spell = macroMill,
26 spellID = MillID, 30 spellLink = MillLink,
27 {3369,5,2,3}, -- Grave Moss 31 {3369,5,2,3}, -- Grave Moss
28 {3355,5,2,3}, -- Wild Steelbloom 32 {3355,5,2,3}, -- Wild Steelbloom
29 {3356,5,2,4}, -- Kingsblood 33 {3356,5,2,4}, -- Kingsblood
30 {3357,5,2,4}}, -- Liferoot 34 {3357,5,2,4}}, -- Liferoot
31 [39339] = { -- Emerald Pigment 35 [39339] = { -- Emerald Pigment
32 spell = macroMill, 36 spell = macroMill,
33 spellID = MillID, 37 spellLink = MillLink,
34 {3818,5,2,3}, -- Fadeleaf 38 {3818,5,2,3}, -- Fadeleaf
35 {3821,5,2,3}, -- Goldthorn 39 {3821,5,2,3}, -- Goldthorn
36 {3358,5,3,4}, -- Khadgar's Whisker 40 {3358,5,3,4}, -- Khadgar's Whisker
37 {3819,5,3,4}}, -- Dragon's Teeth 41 {3819,5,3,4}}, -- Dragon's Teeth
38 [39340] = { -- Violet Pigment 42 [39340] = { -- Violet Pigment
39 spell = macroMill, 43 spell = macroMill,
40 spellID = MillID, 44 spellLink = MillLink,
41 {4625,5,2,3}, -- Firebloom 45 {4625,5,2,3}, -- Firebloom
42 {8831,5,2,3}, -- Purple Lotus 46 {8831,5,2,3}, -- Purple Lotus
43 {8836,5,2,3}, -- Arthas' Tears 47 {8836,5,2,3}, -- Arthas' Tears
44 {8838,5,2,3}, -- Sungrass 48 {8838,5,2,3}, -- Sungrass
45 {8839,5,2,4}, -- Blindweed 49 {8839,5,2,4}, -- Blindweed
46 {8845,5,2,4}, -- Ghost Mushroom 50 {8845,5,2,4}, -- Ghost Mushroom
47 {8846,5,2,4}}, -- Gromsblood 51 {8846,5,2,4}}, -- Gromsblood
48 [39341] = { -- Silvery Pigment 52 [39341] = { -- Silvery Pigment
49 spell = macroMill, 53 spell = macroMill,
50 spellID = MillID, 54 spellLink = MillLink,
51 {13464,5,2,3}, -- Golden Sansam 55 {13464,5,2,3}, -- Golden Sansam
52 {13463,5,2,3}, -- Dreamfoil 56 {13463,5,2,3}, -- Dreamfoil
53 {13465,5,2,4}, -- Mountain Silversage 57 {13465,5,2,4}, -- Mountain Silversage
54 {13466,5,2,4}, -- Sorrowmoss 58 {13466,5,2,4}, -- Sorrowmoss
55 {13467,5,2,4}}, -- Icecap 59 {13467,5,2,4}}, -- Icecap
56 [39342] = { -- Nether Pigment 60 [39342] = { -- Nether Pigment
57 spell = macroMill, 61 spell = macroMill,
58 spellID = MillID, 62 spellLink = MillLink,
59 {22786,5,2,3}, -- Dreaming Glory 63 {22786,5,2,3}, -- Dreaming Glory
60 {22785,5,2,3}, -- Felweed 64 {22785,5,2,3}, -- Felweed
61 {22789,5,2,3}, -- Terocone 65 {22789,5,2,3}, -- Terocone
62 {22787,5,2,3}, -- Ragveil 66 {22787,5,2,3}, -- Ragveil
63 {22790,5,2,4}, -- Ancient Lichen 67 {22790,5,2,4}, -- Ancient Lichen
64 {22793,5,2,4}, -- Mana Thistle 68 {22793,5,2,4}, -- Mana Thistle
65 {22791,5,2,4}, -- Netherbloom 69 {22791,5,2,4}, -- Netherbloom
66 {22792,5,2,4}}, -- Nightmare Vine 70 {22792,5,2,4}}, -- Nightmare Vine
67 [39343] = { -- Azure Pigment 71 [39343] = { -- Azure Pigment
68 spellID = MillID, 72 spellLink = MillLink,
69 spell = macroMill, 73 spell = macroMill,
70 {37921,5,2,3}, -- Deadnettle 74 {37921,5,2,3}, -- Deadnettle
71 {36901,5,2,3}, -- Goldclover 75 {36901,5,2,3}, -- Goldclover
72 {36907,5,2,3}, -- Talandra's Rose 76 {36907,5,2,3}, -- Talandra's Rose
73 {36904,5,2,3}, -- Tiger Lily 77 {36904,5,2,3}, -- Tiger Lily
76 {36903,5,2,4}, -- Adder's Tongue 80 {36903,5,2,4}, -- Adder's Tongue
77 {36906,5,2,4}, -- Icethorn 81 {36906,5,2,4}, -- Icethorn
78 {36905,5,2,4}}, -- Lichbloom 82 {36905,5,2,4}}, -- Lichbloom
79 [61979] = { -- Ashen Pigment 83 [61979] = { -- Ashen Pigment
80 spell = macroMill, 84 spell = macroMill,
81 spellID = MillID, 85 spellLink = MillLink,
82 {52983,5,2,3}, -- Cinderbloom 86 {52983,5,2,3}, -- Cinderbloom
83 {52985,5,2,3}, -- Azshara's Veil 87 {52985,5,2,3}, -- Azshara's Veil
84 {52984,5,2,3}, -- Stormvine 88 {52984,5,2,3}, -- Stormvine
85 {52986,5,2,3}, -- Heartblossom 89 {52986,5,2,3}, -- Heartblossom
86 {52988,5,2,4}, -- Whiptail 90 {52988,5,2,4}, -- Whiptail
87 {52987,5,2,4}}, -- Twilight Jasmine 91 {52987,5,2,4}}, -- Twilight Jasmine
88 -- Rare pigments 92 -- Rare pigments
89 [43103] = { -- Verdant Pigment 93 [43103] = { -- Verdant Pigment
90 spell = macroMill, 94 spell = macroMill,
91 spellID = MillID, 95 spellLink = MillLink,
92 {785,5,0.25}, -- Mageroyal 96 {785,5,0.25}, -- Mageroyal
93 {2450,5,0.25}, -- Briarthorn 97 {2450,5,0.25}, -- Briarthorn
94 {2452,5,0.25}, -- Swiftthistle 98 {2452,5,0.25}, -- Swiftthistle
95 {2453,5,0.5}, -- Bruiseweed 99 {2453,5,0.5}, -- Bruiseweed
96 {3820,5,0.5}}, -- Stranglekelp 100 {3820,5,0.5}}, -- Stranglekelp
97 [43104] = { -- Burnt Pigment 101 [43104] = { -- Burnt Pigment
98 spell = macroMill, 102 spell = macroMill,
99 spellID = MillID, 103 spellLink = MillLink,
100 {3369,5,0.25}, -- Grave Moss 104 {3369,5,0.25}, -- Grave Moss
101 {3355,5,0.25}, -- Wild Steelbloom 105 {3355,5,0.25}, -- Wild Steelbloom
102 {3356,5,0.5}, -- Kingsblood 106 {3356,5,0.5}, -- Kingsblood
103 {3357,5,0.5}}, -- Liferoot 107 {3357,5,0.5}}, -- Liferoot
104 [43105] = { -- Indigo Pigment 108 [43105] = { -- Indigo Pigment
105 spell = macroMill, 109 spell = macroMill,
106 spellID = MillID, 110 spellLink = MillLink,
107 {3818,5,0.25}, -- Fadeleaf 111 {3818,5,0.25}, -- Fadeleaf
108 {3821,5,0.25}, -- Goldthorn 112 {3821,5,0.25}, -- Goldthorn
109 {3358,5,0.5}, -- Khadgar's Whisker 113 {3358,5,0.5}, -- Khadgar's Whisker
110 {3819,5,0.5}}, -- Dragon's Teeth 114 {3819,5,0.5}}, -- Dragon's Teeth
111 [43106] = { -- Ruby Pigment 115 [43106] = { -- Ruby Pigment
112 spell = macroMill, 116 spell = macroMill,
113 spellID = MillID, 117 spellLink = MillLink,
114 {4625,5,0.25}, -- Firebloom 118 {4625,5,0.25}, -- Firebloom
115 {8831,5,0.25}, -- Purple Lotus 119 {8831,5,0.25}, -- Purple Lotus
116 {8836,5,0.25}, -- Arthas' Tears 120 {8836,5,0.25}, -- Arthas' Tears
117 {8838,5,0.25}, -- Sungrass 121 {8838,5,0.25}, -- Sungrass
118 {8839,5,0.5}, -- Blindweed 122 {8839,5,0.5}, -- Blindweed
119 {8845,5,0.5}, -- Ghost Mushroom 123 {8845,5,0.5}, -- Ghost Mushroom
120 {8846,5,0.5}}, -- Gromsblood 124 {8846,5,0.5}}, -- Gromsblood
121 [43107] = { -- Sapphire Pigment 125 [43107] = { -- Sapphire Pigment
122 spell = macroMill, 126 spell = macroMill,
123 spellID = MillID, 127 spellLink = MillLink,
124 {13464,5,0.25}, -- Golden Sansam 128 {13464,5,0.25}, -- Golden Sansam
125 {13463,5,0.25}, -- Dreamfoil 129 {13463,5,0.25}, -- Dreamfoil
126 {13465,5,0.5}, -- Mountain Silversage 130 {13465,5,0.5}, -- Mountain Silversage
127 {13466,5,0.5}, -- Sorrowmoss 131 {13466,5,0.5}, -- Sorrowmoss
128 {13467,5,0.5}}, -- Icecap 132 {13467,5,0.5}}, -- Icecap
129 [43108] = { -- Ebon Pigment 133 [43108] = { -- Ebon Pigment
130 spell = macroMill, 134 spell = macroMill,
131 spellID = MillID, 135 spellLink = MillLink,
132 {22786,5,0.25}, -- Dreaming Glory 136 {22786,5,0.25}, -- Dreaming Glory
133 {22785,5,0.25}, -- Felweed 137 {22785,5,0.25}, -- Felweed
134 {22789,5,0.25}, -- Terocone 138 {22789,5,0.25}, -- Terocone
135 {22787,5,0.25}, -- Ragveil 139 {22787,5,0.25}, -- Ragveil
136 {22790,5,0.5}, -- Ancient Lichen 140 {22790,5,0.5}, -- Ancient Lichen
137 {22793,5,0.5}, -- Mana Thistle 141 {22793,5,0.5}, -- Mana Thistle
138 {22791,5,0.5}, -- Netherbloom 142 {22791,5,0.5}, -- Netherbloom
139 {22792,5,0.5}}, -- Nightmare Vine 143 {22792,5,0.5}}, -- Nightmare Vine
140 [43109] = { -- Icy Pigment 144 [43109] = { -- Icy Pigment
141 spellID = MillID, 145 spellLink = MillLink,
142 spell = macroMill, 146 spell = macroMill,
143 {37921,5,0.25}, -- Deadnettle 147 {37921,5,0.25}, -- Deadnettle
144 {36901,5,0.25}, -- Goldclover 148 {36901,5,0.25}, -- Goldclover
145 {36907,5,0.25}, -- Talandra's Rose 149 {36907,5,0.25}, -- Talandra's Rose
146 {36904,5,0.25}, -- Tiger Lily 150 {36904,5,0.25}, -- Tiger Lily
149 {36903,5,0.5}, -- Adder's Tongue 153 {36903,5,0.5}, -- Adder's Tongue
150 {36906,5,0.5}, -- Icethorn 154 {36906,5,0.5}, -- Icethorn
151 {36905,5,0.5}}, -- Lichbloom 155 {36905,5,0.5}}, -- Lichbloom
152 [61980] = { -- Burning Embers 156 [61980] = { -- Burning Embers
153 spell = macroMill, 157 spell = macroMill,
154 spellID = MillID, 158 spellLink = MillLink,
155 {52983,5,0.25}, -- Cinderbloom 159 {52983,5,0.25}, -- Cinderbloom
156 {52985,5,0.25}, -- Azshara's Veil 160 {52985,5,0.25}, -- Azshara's Veil
157 {52984,5,0.25}, -- Stormvine 161 {52984,5,0.25}, -- Stormvine
158 {52986,5,0.25}, -- Heartblossom 162 {52986,5,0.25}, -- Heartblossom
159 {52988,5,0.5}, -- Whiptail 163 {52988,5,0.5}, -- Whiptail
160 {52987,5,0.5}}, -- Twilight Jasmine 164 {52987,5,0.5}}, -- Twilight Jasmine
161 165
162 -- Prospect 166 -- Prospect
163 [774] = { -- Malachite 167 [774] = { -- Malachite
164 spell = macroProspect, 168 spell = macroProspect,
165 spellID = ProspectID, 169 spellLink = ProspectLink,
166 {2770,5,0.5}}, -- Copper Ore 170 {2770,5,0.5}}, -- Copper Ore
167 [818] = { -- Tigerseye 171 [818] = { -- Tigerseye
168 spell = macroProspect, 172 spell = macroProspect,
169 spellID = ProspectID, 173 spellLink = ProspectLink,
170 {2770,5,0.5}}, -- Copper Ore 174 {2770,5,0.5}}, -- Copper Ore
171 [1210] = { -- Shadowgem 175 [1210] = { -- Shadowgem
172 spell = macroProspect, 176 spell = macroProspect,
173 spellID = ProspectID, 177 spellLink = ProspectLink,
174 {2771,50,0.38}, -- Tin Ore 178 {2771,50,0.38}, -- Tin Ore
175 {2770,5,0.1}}, -- Copper Ore 179 {2770,5,0.1}}, -- Copper Ore
176 [1705] = { -- Lesser Moonstone 180 [1705] = { -- Lesser Moonstone
177 spell = macroProspect, 181 spell = macroProspect,
178 spellID = ProspectID, 182 spellLink = ProspectLink,
179 {2771,5,0.38}, -- Tin Ore 183 {2771,5,0.38}, -- Tin Ore
180 {2772,5,0.35}}, -- Iron Ore 184 {2772,5,0.35}}, -- Iron Ore
181 [1206] = { -- Moss Agate 185 [1206] = { -- Moss Agate
182 spell = macroProspect, 186 spell = macroProspect,
183 spellID = ProspectID, 187 spellLink = ProspectLink,
184 {2771,5,0.37}}, -- Tin Ore 188 {2771,5,0.37}}, -- Tin Ore
185 [1529] = { -- Jade 189 [1529] = { -- Jade
186 spell = macroProspect, 190 spell = macroProspect,
187 spellID = ProspectID, 191 spellLink = ProspectLink,
188 {2772,5,0.35}, -- Iron Ore 192 {2772,5,0.35}, -- Iron Ore
189 {2771,5,0.03}}, -- Tin Ore 193 {2771,5,0.03}}, -- Tin Ore
190 [7909] = { -- Aquamarine 194 [7909] = { -- Aquamarine
191 spell = macroProspect, 195 spell = macroProspect,
192 spellID = ProspectID, 196 spellLink = ProspectLink,
193 {3858,5,0.35}, -- Mithril Ore 197 {3858,5,0.35}, -- Mithril Ore
194 {2772,5,0.05}, -- Iron Ore 198 {2772,5,0.05}, -- Iron Ore
195 {2771,5,0.03}}, -- Tin Ore 199 {2771,5,0.03}}, -- Tin Ore
196 [3864] = { -- Citrine 200 [3864] = { -- Citrine
197 spell = macroProspect, 201 spell = macroProspect,
198 spellID = ProspectID, 202 spellLink = ProspectLink,
199 {2772,5,0.36}, -- Iron Ore 203 {2772,5,0.36}, -- Iron Ore
200 {3858,5,0.35}, -- Mithril Ore 204 {3858,5,0.35}, -- Mithril Ore
201 {2771,5,0.03}}, -- Tin Ore 205 {2771,5,0.03}}, -- Tin Ore
202 [7910] = { -- Star Ruby 206 [7910] = { -- Star Ruby
203 spell = macroProspect, 207 spell = macroProspect,
204 spellID = ProspectID, 208 spellLink = ProspectLink,
205 {3858,5,0.36}, -- Mithril Ore 209 {3858,5,0.36}, -- Mithril Ore
206 {10620,5,0.15}, -- Thorium Ore 210 {10620,5,0.15}, -- Thorium Ore
207 {2772,5,0.05}}, -- Iron Ore 211 {2772,5,0.05}}, -- Iron Ore
208 [12799] = { -- Large Opal 212 [12799] = { -- Large Opal
209 spell = macroProspect, 213 spell = macroProspect,
210 spellID = ProspectID, 214 spellLink = ProspectLink,
211 {10620,5,0.31}, -- Thorium Ore 215 {10620,5,0.31}, -- Thorium Ore
212 {3858,5,0.03}}, -- Mithril Ore 216 {3858,5,0.03}}, -- Mithril Ore
213 [12361] = { -- Blue Sapphire 217 [12361] = { -- Blue Sapphire
214 spell = macroProspect, 218 spell = macroProspect,
215 spellID = ProspectID, 219 spellLink = ProspectLink,
216 {10620,5,0.31}, -- Thorium Ore 220 {10620,5,0.31}, -- Thorium Ore
217 {3858,5,0.02}}, -- Mithril Ore 221 {3858,5,0.02}}, -- Mithril Ore
218 [12800] = { -- Azerothian Diamond 222 [12800] = { -- Azerothian Diamond
219 spell = macroProspect, 223 spell = macroProspect,
220 spellID = ProspectID, 224 spellLink = ProspectLink,
221 {10620,5,0.31}, -- Thorium Ore 225 {10620,5,0.31}, -- Thorium Ore
222 {3858,5,0.02}}, -- Mithril Ore 226 {3858,5,0.02}}, -- Mithril Ore
223 [12364] = { -- Huge Emerald 227 [12364] = { -- Huge Emerald
224 spell = macroProspect, 228 spell = macroProspect,
225 spellID = ProspectID, 229 spellLink = ProspectLink,
226 {10620,5,0.31}, -- Thorium Ore 230 {10620,5,0.31}, -- Thorium Ore
227 {3858,5,0.02}}, -- Mithril Ore 231 {3858,5,0.02}}, -- Mithril Ore
228 [23112] = { -- Golden Draenite 232 [23112] = { -- Golden Draenite
229 spell = macroProspect, 233 spell = macroProspect,
230 spellID = ProspectID, 234 spellLink = ProspectLink,
231 {23424,5,0.19}, -- Fel Iron Ore 235 {23424,5,0.19}, -- Fel Iron Ore
232 {23425,5,0.18}}, -- Adamantite Ore 236 {23425,5,0.18}}, -- Adamantite Ore
233 -- To be continued... 237 -- To be continued...
234 238
235 239