# HG changeset patch # User Aaron@Aaron-PC # Date 1282605173 18000 # Node ID 34e70bd042b13715bd04d141b7417123bff95e45 # Parent da9bbf7b08c7ff9fece5a4197cc24547f9bcf905 More compatible with GatherMate_Sharing diff -r da9bbf7b08c7 -r 34e70bd042b1 core.lua --- 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()