annotate Modules/ProspectMe_Tables.lua @ 63:17897a788554 v2.7.1.2

Updated Auction API support to explicitly (instead of implicitly via Auctioneer API) work with TSM Fixed a bug that was left over from the transition to v2.
author Vynn <mischivin@gmail.com>
date Thu, 08 Dec 2016 23:04:44 -0500
parents f9b6c0305908
children
rev   line source
mischivin@58 1 local function Initialize ()
mischivin@58 2
mischivin@58 3 --clear out tables before setting them fresh on load
mischivin@58 4 ProspectMe.Tables = {}
mischivin@58 5
mischivin@58 6 ProspectMe.Tables.Herbs = {
mischivin@58 7 [765] = 1, -- Silverleaf
mischivin@58 8 [785] = 0, -- Mageroyal
mischivin@58 9 [2447] = 1, -- Peacebloom
mischivin@58 10 [2449] = 1, -- Earthroot
mischivin@58 11 [2450] = 25, -- Briarthorn
mischivin@58 12 [2452] = 25, -- Swiftthistle
mischivin@58 13 [2453] = 25, -- Bruiseweed
mischivin@58 14 [3355] = 75, -- Wild Steelbloom
mischivin@58 15 [3356] = 75, -- Kingsblood
mischivin@58 16 [3357] = 75, -- Liferoot
mischivin@58 17 [3358] = 125, -- Khadgar's Whisker
mischivin@58 18 [3369] = 75, -- Grave Moss
mischivin@58 19 [3818] = 125, -- Fadeleaf
mischivin@58 20 [3819] = 125, -- Dragon's Teeth
mischivin@58 21 [3820] = 25, -- Stranglekelp
mischivin@58 22 [3821] = 125, -- Goldthorn
mischivin@58 23 [4625] = 175, -- Firebloom
mischivin@58 24 [8831] = 175, -- Purple Lotus
mischivin@58 25 [8836] = 175, -- Arthas' Tears
mischivin@58 26 [8838] = 175, -- Sungrass
mischivin@58 27 [8839] = 175, -- Blindweed
mischivin@58 28 [8845] = 175, -- Ghost Mushroom
mischivin@58 29 [8846] = 175, -- Gromsblood
mischivin@58 30 [13463] = 225, -- Dreamfoil
mischivin@58 31 [13464] = 225, -- Golden Sansam
mischivin@58 32 [13465] = 225, -- Mountain Silversage
mischivin@58 33 [13466] = 225, -- Sorrowmoss
mischivin@58 34 [13467] = 200, -- Icecap
mischivin@58 35 [22785] = 275, -- Felweed
mischivin@58 36 [22786] = 275, -- Dreaming Glory
mischivin@58 37 [22787] = 275, -- Ragveil
mischivin@58 38 [22789] = 275, -- Terocone
mischivin@58 39 [22790] = 275, -- Ancient Lichen
mischivin@58 40 [22791] = 275, -- Netherbloom
mischivin@58 41 [22792] = 275, -- Nightmare Vine
mischivin@58 42 [22793] = 275, -- Mana Thistle
mischivin@58 43 [36901] = 325, -- Goldclover
mischivin@58 44 [36903] = 325, -- Adder's Tongue
mischivin@58 45 [36904] = 325, -- Tiger Lily
mischivin@58 46 [36905] = 325, -- Lichbloom
mischivin@58 47 [36906] = 325, -- Icethorn
mischivin@58 48 [36907] = 325, -- Talandra's Rose
mischivin@58 49 [37921] = 325, -- Deadnettle
mischivin@58 50 [39970] = 325, -- Fire Leaf
mischivin@58 51 [52983] = 425, -- Cinderbloom
mischivin@58 52 [52984] = 425, -- Stormvine
mischivin@58 53 [52985] = 450, -- Azshara's Veil
mischivin@58 54 [52986] = 450, -- Heartblossom
mischivin@58 55 [52987] = 475, -- Twilight Jasmine
mischivin@58 56 [52988] = 475, -- Whiptail
mischivin@58 57 [72234] = 500, -- Green Tea Leaf
mischivin@58 58 [72235] = 500, -- Silkweed
mischivin@58 59 [72237] = 500, -- Rain Poppy
mischivin@58 60 [79010] = 500, -- Snow Lily
mischivin@58 61 [79011] = 500, -- Fool's Cap
mischivin@58 62 [89639] = 500, -- Desecrated Herb
mischivin@58 63 [109124] = 0, -- Frostweed
mischivin@58 64 [109125] = 0, -- Fireweed
mischivin@58 65 [109126] = 0, -- Gorgrond Flytrap
mischivin@58 66 [109127] = 0, -- Starflower
mischivin@58 67 [109128] = 0, -- Nagrand Arrowbloom
mischivin@58 68 [109129] = 0, -- Talador Orchid
mischivin@58 69 [109130] = 0, -- Chameleon Lotus
mischivin@58 70 [124101] = 0, -- Aethril
mischivin@58 71 [124102] = 0, -- Dreamleaf
mischivin@58 72 [124103] = 0, -- Foxflower
mischivin@58 73 [124104] = 0, -- Fjarnskaggl
mischivin@58 74 [124105] = 0, -- Starlight Rose
mischivin@58 75 [124106] = 0, -- Felwort
mischivin@58 76 [128304] = 0, -- Yseralline Seed
mischivin@58 77 }
mischivin@58 78
mischivin@58 79 ProspectMe.Tables.Ores = {
mischivin@58 80 [2770] = 1, -- Copper Ore
mischivin@58 81 [2771] = 50, -- Tin Ore
mischivin@58 82 [2772] = 125, -- Iron Ore
mischivin@58 83 [3858] = 175, -- Mithril Ore
mischivin@58 84 [10620] = 250, -- Thorium Ore
mischivin@58 85 [23424] = 275, -- Fel Iron Ore
mischivin@58 86 [23425] = 325, -- Adamantite Ore
mischivin@58 87 [36909] = 350, -- Cobalt Ore
mischivin@58 88 [36910] = 450, -- Titanium Ore
mischivin@58 89 [36912] = 400, -- Saronite Ore
mischivin@58 90 [52183] = 500, -- Pyrite Ore
mischivin@58 91 [52185] = 475, -- Elementium Ore
mischivin@58 92 [53038] = 425, -- Obsidium Ore
mischivin@58 93 [72092] = 500, -- Ghost Iron Ore
mischivin@58 94 [72093] = 550, -- Kyparite
mischivin@58 95 [72094] = 600, -- Black Trillium Ore
mischivin@58 96 [72103] = 600, -- White Trillium Ore
mischivin@58 97 [123918] = 0, -- Leystone Ore
mischivin@58 98 [123919] = 0, -- Felslate
mischivin@58 99 }
mischivin@58 100
mischivin@58 101 end
mischivin@58 102
mischivin@58 103 local frame = CreateFrame("FRAME", "ProspectMe_Tables")
mischivin@58 104 frame:RegisterEvent("VARIABLES_LOADED")
mischivin@58 105 frame:SetScript("OnEvent", Initialize)