Mercurial > wow > recipeprofit
view db_fix.lua @ 52:993b57631e81 v2.05
fixed some saved variable issues as well
| author | "Aaron Bregger <killermonkey99@gmail.com>" |
|---|---|
| date | Thu, 06 Jan 2011 17:39:22 -0600 |
| parents | bc43986f7fb0 |
| children |
line wrap: on
line source
--[[--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--)) RecipeProfit by -[@project-author@]- Rev: @project-revision@ Updated: @file-date-iso@ --))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--)) URL: http://www.wrathguides.com/ License: This file is a part of "RecipeProfit for GatherMate." This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Foobar. If not, see <http://www.gnu.org/licenses/>. Note: This program's source code is specifically designed to work with World of Warcraft's interpreted AddOn system. You have an implicit license to use this program with these facilities since that is it's designated purpose as per: http://www.fsf.org/licensing/licenses/gpl-faq.html#InterpreterIncompat --]]--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--))--)) RECIPEPROFIT_location_cache = { ["Jutak"] = { ["y"] = 0.7408881187438965, ["x"] = 0.4155560731887817, ["map"] = 673, }, ["Blixrez Goodstitch"] = { ["y"] = 0.7414151430130005, ["x"] = 0.4281085133552551, ["map"] = 673, }, ["Mazk Snipeshot"] = { ["y"] = 0.7023801207542419, ["x"] = 0.4324219226837158, ["map"] = 673, }, ["Glyx Brewright"] = { ["y"] = 0.7498214840888977, ["x"] = 0.4265729784965515, ["map"] = 673, }, ["Xizk Goodstitch"] = { ["y"] = 0.730360746383667, ["x"] = 0.4357856512069702, ["map"] = 673, }, ["Nina Lightbrew"] = { ["y"] = 0.1597689986228943, ["x"] = 0.6244959235191345, ["map"] = 19, }, } RECIPEPROFIT_blacklist = { "13435", -- [1] "23064", -- [2] "23010", -- [3] "13433", -- [4] "15165", -- [5] "8137", -- [6] "8139", -- [7] "11278", -- [8] "2381", -- [9] "9179", } do for k, v in pairs(RECIPEPROFIT_database) do if(RECIPEPROFIT_location_cache[v.vendor]) then v.x = RECIPEPROFIT_location_cache[v.vendor].x * 100 v.y = RECIPEPROFIT_location_cache[v.vendor].y * 100 v.realmap = RECIPEPROFIT_location_cache[v.vendor].map end end end
