comparison core.lua @ 33:3976960cda3d v1.07

Fixed Chat Spew on startup. Thanks randomgrace of curse.com!
author Aaron Bregger
date Tue, 14 Sep 2010 11:12:28 -0500
parents 0ea3ff6465de
children 1e73cfb6f363
comparison
equal deleted inserted replaced
32:ab728b599c6b 33:3976960cda3d
295 295
296 function add_note(x, y, note) 296 function add_note(x, y, note)
297 local coords = GatherMate:getID(x / 100, y / 100) 297 local coords = GatherMate:getID(x / 100, y / 100)
298 local zoneID = GatherMate.zoneData[note.map][3] 298 local zoneID = GatherMate.zoneData[note.map][3]
299 local nodeID = GatherMate.nodeIDs["RecipeProfit"][get_note_title(note, factionTag)] 299 local nodeID = GatherMate.nodeIDs["RecipeProfit"][get_note_title(note, factionTag)]
300 print(coords, zoneID, nodeID) 300
301 GatherMate:InjectNode(zoneID, coords, "RecipeProfit", nodeID); 301 GatherMate:InjectNode(zoneID, coords, "RecipeProfit", nodeID);
302 end 302 end
303 303
304 function get_faction_db() 304 function get_faction_db()
305 local factionAlliance = db.profile.faction == "Alliance" or 305 local factionAlliance = db.profile.faction == "Alliance" or