Mercurial > wow > recipeprofit
changeset 29:34e70bd042b1 v1.06
More compatible with GatherMate_Sharing
| author | Aaron@Aaron-PC |
|---|---|
| date | Mon, 23 Aug 2010 18:12:53 -0500 |
| parents | da9bbf7b08c7 |
| children | 944b11ae26a2 |
| files | core.lua |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core.lua Sun Aug 22 19:31:13 2010 -0500 +++ b/core.lua Mon Aug 23 18:12:53 2010 -0500 @@ -294,7 +294,11 @@ end function add_note(x, y, note) - GatherMate:AddNode(note.map, x / 100, y / 100, "RecipeProfit", get_note_title(note)); + local coords = GatherMate:getID(x / 100, y / 100) + local zoneID = GatherMate.zoneData[note.map][3] + local nodeID = GatherMate.nodeIDs["RecipeProfit"][get_note_title(note, factionTag)] + print(coords, zoneID, nodeID) + GatherMate:InjectNode(zoneID, coords, "RecipeProfit", nodeID); end function get_faction_db()
