Permalink
Browse files

looter: added listItems()

  • Loading branch information...
1 parent b642671 commit 7067c8a99d891b796aea1ce44b1a0468f991eafc @Pondidum committed Oct 2, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 sbs.master/looter.lua
View
@@ -70,6 +70,18 @@ local Looter = {
end
+ this.listItems = function()
+
+ local items = {}
+
+ for k,v in pairs(uniqueItems) do
+ table.insert(items, v)
+ end
+
+ return items
+
+ end
+
this.report = function()
for k,v in pairs(uniqueItems) do

0 comments on commit 7067c8a

Please sign in to comment.