Version 0.999 BETA - a lot of bug fixes, improvments and more advanced bot

This commit is contained in:
OTCv8
2019-10-31 05:46:22 +01:00
parent 017fa290b4
commit 06b08af1df
36 changed files with 1513 additions and 415 deletions

View File

@@ -531,9 +531,13 @@ function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
end
end
if g_game.getFeature(GameBot) and useThing then
if g_game.getFeature(GameBot) and useThing and useThing:isItem() then
menu:addSeparator()
menu:addOption("ID: " .. useThing:getId())
if useThing:getSubType() > 1 then
menu:addOption("ID: " .. useThing:getId() .. " SubType: " .. useThing:getSubType())
else
menu:addOption("ID: " .. useThing:getId())
end
end
menu:display(menuPosition)