annotate db_fix.lua @ 61:7e4ff99de252 v2.08a

Incremented TOC, silly me...
author Aaron@MATT-DAMON
date Sun, 21 Aug 2011 12:39:28 -0500
parents bc43986f7fb0
children
rev   line source
killermonkey99@47 1 --[[--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))
killermonkey99@47 2
killermonkey99@47 3 RecipeProfit by -[@project-author@]-
killermonkey99@47 4
killermonkey99@47 5 Rev: @project-revision@
killermonkey99@47 6 Updated: @file-date-iso@
killermonkey99@47 7
killermonkey99@47 8 --))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))
killermonkey99@47 9
killermonkey99@47 10 URL:
killermonkey99@47 11 http://www.wrathguides.com/
killermonkey99@47 12
killermonkey99@47 13 License:
killermonkey99@47 14 This file is a part of "RecipeProfit for GatherMate."
killermonkey99@47 15
killermonkey99@47 16 This program is free software; you can redistribute it and/or
killermonkey99@47 17 modify it under the terms of the GNU General Public License
killermonkey99@47 18 as published by the Free Software Foundation, either version 3
killermonkey99@47 19 of the License, or (at your option) any later version.
killermonkey99@47 20
killermonkey99@47 21 This program is distributed in the hope that it will be useful,
killermonkey99@47 22 but WITHOUT ANY WARRANTY; without even the implied warranty of
killermonkey99@47 23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
killermonkey99@47 24 GNU General Public License for more details.
killermonkey99@47 25
killermonkey99@47 26 You should have received a copy of the GNU General Public License
killermonkey99@47 27 along with Foobar. If not, see <http://www.gnu.org/licenses/>.
killermonkey99@47 28
killermonkey99@47 29 Note:
killermonkey99@47 30 This program's source code is specifically designed to work with
killermonkey99@47 31 World of Warcraft's interpreted AddOn system.
killermonkey99@47 32
killermonkey99@47 33 You have an implicit license to use this program with these facilities
killermonkey99@47 34 since that is it's designated purpose as per:
killermonkey99@47 35 http://www.fsf.org/licensing/licenses/gpl-faq.html#InterpreterIncompat
killermonkey99@47 36
killermonkey99@47 37 --]]--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))
killermonkey99@47 38
killermonkey99@47 39
killermonkey99@47 40 RECIPEPROFIT_location_cache = {
killermonkey99@51 41 ["Jutak"] = {
killermonkey99@51 42 ["y"] = 0.7408881187438965,
killermonkey99@51 43 ["x"] = 0.4155560731887817,
killermonkey99@51 44 ["map"] = 673,
killermonkey99@51 45 },
killermonkey99@51 46 ["Blixrez Goodstitch"] = {
killermonkey99@51 47 ["y"] = 0.7414151430130005,
killermonkey99@51 48 ["x"] = 0.4281085133552551,
killermonkey99@51 49 ["map"] = 673,
killermonkey99@51 50 },
killermonkey99@51 51 ["Mazk Snipeshot"] = {
killermonkey99@51 52 ["y"] = 0.7023801207542419,
killermonkey99@51 53 ["x"] = 0.4324219226837158,
killermonkey99@51 54 ["map"] = 673,
killermonkey99@51 55 },
killermonkey99@51 56 ["Glyx Brewright"] = {
killermonkey99@51 57 ["y"] = 0.7498214840888977,
killermonkey99@51 58 ["x"] = 0.4265729784965515,
killermonkey99@51 59 ["map"] = 673,
killermonkey99@51 60 },
killermonkey99@51 61 ["Xizk Goodstitch"] = {
killermonkey99@51 62 ["y"] = 0.730360746383667,
killermonkey99@51 63 ["x"] = 0.4357856512069702,
killermonkey99@51 64 ["map"] = 673,
killermonkey99@51 65 },
killermonkey99@51 66 ["Nina Lightbrew"] = {
killermonkey99@51 67 ["y"] = 0.1597689986228943,
killermonkey99@51 68 ["x"] = 0.6244959235191345,
killermonkey99@51 69 ["map"] = 19,
killermonkey99@51 70 },
killermonkey99@47 71 }
killermonkey99@47 72
killermonkey99@51 73 RECIPEPROFIT_blacklist = {
killermonkey99@51 74 "13435", -- [1]
killermonkey99@51 75 "23064", -- [2]
killermonkey99@51 76 "23010", -- [3]
killermonkey99@51 77 "13433", -- [4]
killermonkey99@51 78 "15165", -- [5]
killermonkey99@51 79 "8137", -- [6]
killermonkey99@51 80 "8139", -- [7]
killermonkey99@51 81 "11278", -- [8]
killermonkey99@51 82 "2381", -- [9]
killermonkey99@51 83 "9179",
killermonkey99@51 84 }
killermonkey99@51 85
killermonkey99@51 86 do
killermonkey99@51 87 for k, v in pairs(RECIPEPROFIT_database) do
killermonkey99@51 88 if(RECIPEPROFIT_location_cache[v.vendor]) then
killermonkey99@51 89 v.x = RECIPEPROFIT_location_cache[v.vendor].x * 100
killermonkey99@51 90 v.y = RECIPEPROFIT_location_cache[v.vendor].y * 100
killermonkey99@51 91 v.realmap = RECIPEPROFIT_location_cache[v.vendor].map
killermonkey99@47 92 end
killermonkey99@47 93 end
killermonkey99@47 94 end
killermonkey99@47 95
killermonkey99@47 96