Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.5K
Use Item Around #17
328b | 10 lines.
local useitemlist = { 3035 }
macro(500, "use item around", function()
    local tiles = getNearTiles(pos())
    for _, tile in pairs(tiles) do
        local topThing = tile:getTopUseThing()
        if topThing and table.find(useitemlist, topThing:getId()) then
             g_game.use(topThing)
        end
    end
end)
- remove | + add

01 Jan 2020
Ads