implemented multi query search functionality
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Aux.util = {}
|
||||
local private, public = {}, {}
|
||||
Aux.util = public
|
||||
|
||||
Aux.util.LT = {}
|
||||
Aux.util.EQ = {}
|
||||
@@ -9,6 +10,14 @@ local merge, copy_array
|
||||
function Aux.util.pass()
|
||||
end
|
||||
|
||||
function public.copy_table(table)
|
||||
local copy = {}
|
||||
for k, v in pairs(table) do
|
||||
copy[k] = v
|
||||
end
|
||||
return copy
|
||||
end
|
||||
|
||||
function Aux.util.inventory_iterator()
|
||||
local inventory = {}
|
||||
for bag = 0, 4 do
|
||||
|
||||
Reference in New Issue
Block a user