Mercurial > wow > reagentmaker
comparison MillingData.lua @ 67:cd7e41015586
Separate Mill and Prospect, and load them only if needed
author | contrebasse |
---|---|
date | Sat, 14 May 2011 16:27:34 +0200 |
parents | |
children | 32ec6417874a |
comparison
equal
deleted
inserted
replaced
66:2ca04183f5f9 | 67:cd7e41015586 |
---|---|
1 local addonName, A = ... | |
2 | |
3 -- "Recipe" data | |
4 -- [itemID] = { | |
5 -- {reagentID, numberNeeded} | |
6 -- {reagentID, numberNeeded, minProduced, maxProduced} | |
7 -- {reagentID, numberNeeded, chanceToHaveOne}} | |
8 A.MillingData = { | |
9 -- Normal pigments | |
10 [39151] = { -- Alabaster Pigment | |
11 {2447,5,2,3}, -- Peacebloom | |
12 { 765,5,2,3}, -- Silverleaf | |
13 {2449,5,2,4}}, -- Earthroot | |
14 [39334] = { -- Dusky Pigment | |
15 { 785,5,2,3}, -- Mageroyal | |
16 {2450,5,2,3}, -- Briarthorn | |
17 {2452,5,2,3}, -- Swiftthistle | |
18 {2453,5,2,4}, -- Bruiseweed | |
19 {3820,5,2,4}}, -- Stranglekelp | |
20 [39338] = { -- Golden Pigment | |
21 {3369,5,2,3}, -- Grave Moss | |
22 {3355,5,2,3}, -- Wild Steelbloom | |
23 {3356,5,2,4}, -- Kingsblood | |
24 {3357,5,2,4}}, -- Liferoot | |
25 [39339] = { -- Emerald Pigment | |
26 {3818,5,2,3}, -- Fadeleaf | |
27 {3821,5,2,3}, -- Goldthorn | |
28 {3358,5,3,4}, -- Khadgar's Whisker | |
29 {3819,5,3,4}}, -- Dragon's Teeth | |
30 [39340] = { -- Violet Pigment | |
31 {4625,5,2,3}, -- Firebloom | |
32 {8831,5,2,3}, -- Purple Lotus | |
33 {8836,5,2,3}, -- Arthas' Tears | |
34 {8838,5,2,3}, -- Sungrass | |
35 {8839,5,2,4}, -- Blindweed | |
36 {8845,5,2,4}, -- Ghost Mushroom | |
37 {8846,5,2,4}}, -- Gromsblood | |
38 [39341] = { -- Silvery Pigment | |
39 {13464,5,2,3}, -- Golden Sansam | |
40 {13463,5,2,3}, -- Dreamfoil | |
41 {13465,5,2,4}, -- Mountain Silversage | |
42 {13466,5,2,4}, -- Sorrowmoss | |
43 {13467,5,2,4}}, -- Icecap | |
44 [39342] = { -- Nether Pigment | |
45 {22786,5,2,3}, -- Dreaming Glory | |
46 {22785,5,2,3}, -- Felweed | |
47 {22789,5,2,3}, -- Terocone | |
48 {22787,5,2,3}, -- Ragveil | |
49 {22790,5,2,4}, -- Ancient Lichen | |
50 {22793,5,2,4}, -- Mana Thistle | |
51 {22791,5,2,4}, -- Netherbloom | |
52 {22792,5,2,4}}, -- Nightmare Vine | |
53 [39343] = { -- Azure Pigment | |
54 {37921,5,2,3}, -- Deadnettle | |
55 {36901,5,2,3}, -- Goldclover | |
56 {36907,5,2,3}, -- Talandra's Rose | |
57 {36904,5,2,3}, -- Tiger Lily | |
58 {39970,5,2,3}, -- Fire Leaf | |
59 {39969,5,2.3,3}, -- Fire Seed (2:33%/3:67%) | |
60 {36903,5,2,4}, -- Adder's Tongue | |
61 {36906,5,2,4}, -- Icethorn | |
62 {36905,5,2,4}}, -- Lichbloom | |
63 [61979] = { -- Ashen Pigment | |
64 {52983,5,2,3}, -- Cinderbloom | |
65 {52985,5,2,3}, -- Azshara's Veil | |
66 {52984,5,2,3}, -- Stormvine | |
67 {52986,5,2,3}, -- Heartblossom | |
68 {52988,5,2,4}, -- Whiptail | |
69 {52987,5,2,4}}, -- Twilight Jasmine | |
70 | |
71 -- Rare pigments | |
72 [43103] = { -- Verdant Pigment | |
73 {785,5,0.25}, -- Mageroyal | |
74 {2450,5,0.25}, -- Briarthorn | |
75 {2452,5,0.25}, -- Swiftthistle | |
76 {2453,5,0.5}, -- Bruiseweed | |
77 {3820,5,0.5}}, -- Stranglekelp | |
78 [43104] = { -- Burnt Pigment | |
79 {3369,5,0.25}, -- Grave Moss | |
80 {3355,5,0.25}, -- Wild Steelbloom | |
81 {3356,5,0.5}, -- Kingsblood | |
82 {3357,5,0.5}}, -- Liferoot | |
83 [43105] = { -- Indigo Pigment | |
84 {3818,5,0.25}, -- Fadeleaf | |
85 {3821,5,0.25}, -- Goldthorn | |
86 {3358,5,0.5}, -- Khadgar's Whisker | |
87 {3819,5,0.5}}, -- Dragon's Teeth | |
88 [43106] = { -- Ruby Pigment | |
89 {4625,5,0.25}, -- Firebloom | |
90 {8831,5,0.25}, -- Purple Lotus | |
91 {8836,5,0.25}, -- Arthas' Tears | |
92 {8838,5,0.25}, -- Sungrass | |
93 {8839,5,0.5}, -- Blindweed | |
94 {8845,5,0.5}, -- Ghost Mushroom | |
95 {8846,5,0.5}}, -- Gromsblood | |
96 [43107] = { -- Sapphire Pigment | |
97 {13464,5,0.25}, -- Golden Sansam | |
98 {13463,5,0.25}, -- Dreamfoil | |
99 {13465,5,0.5}, -- Mountain Silversage | |
100 {13466,5,0.5}, -- Sorrowmoss | |
101 {13467,5,0.5}}, -- Icecap | |
102 [43108] = { -- Ebon Pigment | |
103 {22786,5,0.25}, -- Dreaming Glory | |
104 {22785,5,0.25}, -- Felweed | |
105 {22789,5,0.25}, -- Terocone | |
106 {22787,5,0.25}, -- Ragveil | |
107 {22790,5,0.5}, -- Ancient Lichen | |
108 {22793,5,0.5}, -- Mana Thistle | |
109 {22791,5,0.5}, -- Netherbloom | |
110 {22792,5,0.5}}, -- Nightmare Vine | |
111 [43109] = { -- Icy Pigment | |
112 {37921,5,0.25}, -- Deadnettle | |
113 {36901,5,0.25}, -- Goldclover | |
114 {36907,5,0.25}, -- Talandra's Rose | |
115 {36904,5,0.25}, -- Tiger Lily | |
116 {39970,5,0.25}, -- Fire Leaf | |
117 {39969,5,0.25}, -- Fire Seed | |
118 {36903,5,0.5}, -- Adder's Tongue | |
119 {36906,5,0.5}, -- Icethorn | |
120 {36905,5,0.5}}, -- Lichbloom | |
121 [61980] = { -- Burning Embers | |
122 {52983,5,0.25}, -- Cinderbloom | |
123 {52985,5,0.25}, -- Azshara's Veil | |
124 {52984,5,0.25}, -- Stormvine | |
125 {52986,5,0.25}, -- Heartblossom | |
126 {52988,5,0.5}, -- Whiptail | |
127 {52987,5,0.5}}, -- Twilight Jasmine | |
128 } | |
129 | |
130 -- "Tradeskill" data | |
131 local MillID = 51005 | |
132 local macroMill = "/cast "..GetSpellInfo(MillID).."\n/use %s" | |
133 local MillLink = GetSpellLink(MillID) | |
134 | |
135 for k,v in pairs(A.MillingData) do | |
136 v.spell = macroMill | |
137 v.spellID = MillID | |
138 v.spellLink = MillLink | |
139 end |