mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Some fixes and design tweaks:
* Fixed the game_viplist module to work with the latest vip protocols. * Fixed a referencing error in the game_cooldown module * Started editing the design of the popupmenu (needs more work).
This commit is contained in:
@@ -35,13 +35,11 @@ function debugContainersItems()
|
||||
if hovered then
|
||||
local item = self:getItem()
|
||||
if item then
|
||||
local text = [[
|
||||
id:]] ..item:getId() .. [[,
|
||||
stackable:]] ..tostring(item:isStackable()) .. [[,
|
||||
marketable:]] ..tostring(item:isMarketable()) .. [[,
|
||||
vocation:]]..(item:getMarketData() and item:getMarketData().restrictVocation or 'none') ..[[,
|
||||
cloth slot:]] ..item:getClothSlot() .. [[
|
||||
]]
|
||||
local text = "id: " ..item:getId() ..
|
||||
"\n stackable: " ..tostring(item:isStackable()) ..
|
||||
"\n marketable: " ..tostring(item:isMarketable()) ..
|
||||
"\n vocation: "..(item:getMarketData() and item:getMarketData().restrictVocation or 'none') ..
|
||||
"\n cloth slot: " ..item:getClothSlot()
|
||||
g_tooltip.display(text)
|
||||
end
|
||||
else
|
||||
|
Reference in New Issue
Block a user