Mercurial > wow > reagentmaker
comparison ProspectingData.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.ProspectingData = { | |
| 9 -- Prospect | |
| 10 [774] = { -- Malachite | |
| 11 {2770,5,0.5}}, -- Copper Ore | |
| 12 [818] = { -- Tigerseye | |
| 13 {2770,5,0.5}}, -- Copper Ore | |
| 14 [1210] = { -- Shadowgem | |
| 15 {2771,5,0.38}, -- Tin Ore | |
| 16 {2770,5,0.1}}, -- Copper Ore | |
| 17 [1705] = { -- Lesser Moonstone | |
| 18 {2771,5,0.38}, -- Tin Ore | |
| 19 {2772,5,0.35}}, -- Iron Ore | |
| 20 [1206] = { -- Moss Agate | |
| 21 {2771,5,0.37}}, -- Tin Ore | |
| 22 [1529] = { -- Jade | |
| 23 {2772,5,0.35}, -- Iron Ore | |
| 24 {2771,5,0.03}}, -- Tin Ore | |
| 25 [7909] = { -- Aquamarine | |
| 26 {3858,5,0.35}, -- Mithril Ore | |
| 27 {2772,5,0.05}, -- Iron Ore | |
| 28 {2771,5,0.03}}, -- Tin Ore | |
| 29 [3864] = { -- Citrine | |
| 30 {2772,5,0.36}, -- Iron Ore | |
| 31 {3858,5,0.35}, -- Mithril Ore | |
| 32 {2771,5,0.03}}, -- Tin Ore | |
| 33 [7910] = { -- Star Ruby | |
| 34 {3858,5,0.36}, -- Mithril Ore | |
| 35 {10620,5,0.15}, -- Thorium Ore | |
| 36 {2772,5,0.05}}, -- Iron Ore | |
| 37 [12799] = { -- Large Opal | |
| 38 {10620,5,0.31}, -- Thorium Ore | |
| 39 {3858,5,0.03}}, -- Mithril Ore | |
| 40 [12361] = { -- Blue Sapphire | |
| 41 {10620,5,0.31}, -- Thorium Ore | |
| 42 {3858,5,0.02}}, -- Mithril Ore | |
| 43 [12800] = { -- Azerothian Diamond | |
| 44 {10620,5,0.31}, -- Thorium Ore | |
| 45 {3858,5,0.02}}, -- Mithril Ore | |
| 46 [12364] = { -- Huge Emerald | |
| 47 {10620,5,0.31}, -- Thorium Ore | |
| 48 {3858,5,0.02}}, -- Mithril Ore | |
| 49 [23112] = { -- Golden Draenite | |
| 50 {23424,5,0.19}, -- Fel Iron Ore | |
| 51 {23425,5,0.18}}, -- Adamantite Ore | |
| 52 -- To be continued... | |
| 53 } | |
| 54 | |
| 55 -- "Tradeskill" data | |
| 56 local ProspectID = 31252 | |
| 57 local macroProspect = "/cast "..GetSpellInfo(ProspectID).."\n/use %s" | |
| 58 local ProspectLink = GetSpellLink(ProspectID) | |
| 59 | |
| 60 for k,v in pairs(A.ProspectingData) do | |
| 61 v.spell = macroProspect | |
| 62 v.spellID = ProspectID | |
| 63 v.spellLink = ProspectLink | |
| 64 end |
