mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
More work on Market functionality and UI
* Now loads all market items. * Can filter market items. * Will load market offers on items. * Edited some UI images.
This commit is contained in:
@@ -41,6 +41,10 @@ function table.find(t, value)
|
||||
end
|
||||
end
|
||||
|
||||
function table.contains(t, value)
|
||||
return table.find(t, value) ~= nil
|
||||
end
|
||||
|
||||
function table.findKey(t, key)
|
||||
if t and type(t) == 'table' then
|
||||
for k,v in pairs(t) do
|
||||
|
Reference in New Issue
Block a user