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:
@@ -1,3 +1,60 @@
|
||||
MarketCategory = {
|
||||
All = 0,
|
||||
Armors = 1,
|
||||
Amulets = 2,
|
||||
Boots = 3,
|
||||
Containers = 4,
|
||||
Decoration = 5,
|
||||
Food = 6,
|
||||
HelmetsHats = 7,
|
||||
Legs = 8,
|
||||
Others = 9,
|
||||
Potions = 10,
|
||||
Rings = 11,
|
||||
Runes = 12,
|
||||
Shields = 13,
|
||||
Tools = 14,
|
||||
Valuables = 15,
|
||||
Ammunition = 16,
|
||||
Axes = 17,
|
||||
Clubs = 18,
|
||||
DistanceWeapons = 19,
|
||||
Swords = 20,
|
||||
WandsRods = 21,
|
||||
PremiumScrolls = 22,
|
||||
MetaWeapons = 255
|
||||
}
|
||||
|
||||
MarketCategory.First = MarketCategory.Armors
|
||||
MarketCategory.Last = MarketCategory.PremiumScrolls
|
||||
|
||||
MarketCategoryStrings = {
|
||||
[0] = 'All',
|
||||
[1] = 'Armors',
|
||||
[2] = 'Amulets',
|
||||
[3] = 'Boots',
|
||||
[4] = 'Containers',
|
||||
[5] = 'Decoration',
|
||||
[6] = 'Food',
|
||||
[7] = 'Helmets and Hats',
|
||||
[8] = 'Legs',
|
||||
[9] = 'Others',
|
||||
[10] = 'Potions',
|
||||
[11] = 'Rings',
|
||||
[12] = 'Runes',
|
||||
[13] = 'Shields',
|
||||
[14] = 'Tools',
|
||||
[15] = 'Valuables',
|
||||
[16] = 'Ammunition',
|
||||
[17] = 'Axes',
|
||||
[18] = 'Clubs',
|
||||
[19] = 'Distance Weapons',
|
||||
[20] = 'Swords',
|
||||
[21] = 'Wands and Rods',
|
||||
[22] = 'Premium Scrolls',
|
||||
[255] = 'Meta Weapons'
|
||||
}
|
||||
|
||||
MarketAction = {
|
||||
Buy = 0,
|
||||
Sell = 1
|
||||
|
Reference in New Issue
Block a user