# HG changeset patch # User John@Yosemite-PC # Date 1334283485 14400 # Node ID 0a3f590f69e69f4a26444f068c5b2fdeceb61cd8 # Parent 39be9328acd08577cab56f50bf29666a31976cdd Update todo list Helper function to print list status diff -r 39be9328acd0 -r 0a3f590f69e6 Core.lua --- a/Core.lua Tue Apr 10 23:50:07 2012 -0400 +++ b/Core.lua Thu Apr 12 22:18:05 2012 -0400 @@ -7,12 +7,12 @@ -- (?) player entries should persist as long as any list or change references -- (*) lists store number slots rather than flat indexing -- ( ) database and comm versioning --- ( ) limited communication - everyone trusts the loot master +-- (_) limited communication - everyone trusts the loot master -- (_) single user + admin gui (manual suicides) --- ( ) single user + admin gui (master loot) +-- (_) single user + admin gui (master loot) -- ( ) communication and list merging/trimming -- ( ) admins --- (_) players gui +-- (*) players gui -- ( ) undo -- ( ) crypto / protection against tampering -- ( ) alt tracking @@ -187,6 +187,12 @@ PersonList:AddMissing() CreateList(arg1) PopulateListRandom(arg1) + elseif action == "liststatus" then + local lids = LootLists:GetAllIds() + for _,v in _G.pairs(lids) do + local lref = LootLists:Select(v) + printf("List %s, modified %s (%s)", lref:GetName(), _G.date("%m/%d/%y %H:%M:%S",lref:GetTime()), lref:GetTime()) + end elseif action == "push" then Comm:Push() elseif action == "state" then