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.8K
Use Item Around #17
328b | 10 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
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)

01 Jan 2020
Ads