comparison Main.lua @ 263:03f1fbe64104

The Submit button now attaches comments to the appropriate DB entries.
author James D. Callahan III <jcallahan@curse.com>
date Tue, 19 Mar 2013 14:51:50 -0500
parents 3558ba83eacd
children e1566483082c
comparison
equal deleted inserted replaced
262:7f5982e01953 263:03f1fbe64104
297 unit = {} 297 unit = {}
298 global_db[data_type][unit_id] = unit 298 global_db[data_type][unit_id] = unit
299 end 299 end
300 return unit 300 return unit
301 end 301 end
302 private.DBEntry = DBEntry
302 303
303 local NPCEntry 304 local NPCEntry
304 do 305 do
305 local npc_prototype = {} 306 local npc_prototype = {}
306 local npc_meta = { 307 local npc_meta = {
776 return 777 return
777 end 778 end
778 local _, item_link = _G.GetItemInfo(identifier) 779 local _, item_link = _G.GetItemInfo(identifier)
779 HandleItemUse(item_link) 780 HandleItemUse(item_link)
780 end) 781 end)
782
781 self:SetCurrentAreaID("OnEnable") 783 self:SetCurrentAreaID("OnEnable")
782 self:GROUP_ROSTER_CHANGE() 784 self:GROUP_ROSTER_CHANGE()
783 end 785 end
784 786
785 787