Mercurial > wow > recipeprofit
diff location_cache.lua @ 36:1e73cfb6f363
Updated for 4.0.3 and GatherMate 2
| author | "Aaron Bregger <killermonkey99@gmail.com>" |
|---|---|
| date | Tue, 04 Jan 2011 17:49:34 -0600 |
| parents | 0ea3ff6465de |
| children | 2891ad322db6 |
line wrap: on
line diff
--- a/location_cache.lua Tue Jan 04 12:12:59 2011 -0600 +++ b/location_cache.lua Tue Jan 04 17:49:34 2011 -0600 @@ -42,47 +42,12 @@ Submit data to admin@drinkslurm.com ]] RECIPEPROFIT_location_cache = { - ["Aaron Hollman"] = { - ["y"] = 0.7215260863304138, - ["x"] = 0.6404642462730408, - }, - ["Madame Ruby"] = { - ["y"] = 0.7101468443870544, - ["x"] = 0.6331429481506348, - }, - ["Endora Moorehead"] = { - ["y"] = 0.5554489493370056, - ["x"] = 0.386496365070343, - }, - ["Larana Drome"] = { - ["y"] = 0.3669505119323731, - ["x"] = 0.41370689868927, - }, - ["Wind Trader Lathrai"] = { - ["y"] = 0.3077846765518189, - ["x"] = 0.7226132750511169, - }, - ["Eiin"] = { - ["y"] = 0.6892650127410889, - ["x"] = 0.6627683639526367, - }, - ["Bryan Landers"] = { - ["y"] = 0.245055764913559, - ["x"] = 0.3892331123352051, - }, - ["Fyldan"] = { - ["y"] = 0.215785413980484, - ["x"] = 0.4854764640331268, - }, - ["Ulthir"] = { - ["y"] = 0.2445829063653946, - ["x"] = 0.5585364103317261, - }, + } --[[ Replaces the X and Y coordinates in the coordinate cached database. -]] +]--] local function fix_coords(note, cdb) for name, coord in pairs(cdb) do if(note.vendor == name) then @@ -92,9 +57,9 @@ end end ---[[ +--[--[ Overwrites RECIPEPROFIT_alliance and RECIPEPROFIT_horde dbs. -]] +]--] do for _, note in pairs(RECIPEPROFIT_alliance) do fix_coords(note, RECIPEPROFIT_location_cache) @@ -104,3 +69,4 @@ fix_coords(note, RECIPEPROFIT_location_cache) end end +]]
