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.
306
Drop to Pos #4
377b | 11 lines.
UI.Button("Drop to Pos", function()
    local dropPos = { x = 300, y = 2056, z = 7 }
    local itemToDrop = 3031
    for _, container in pairs(g_game.getContainers()) do
        for __, item in ipairs(container:getItems()) do
            if item:getId() == itemToDrop then
                return g_game.move(item, dropPos , 1)
            end
        end
    end
end)

01 Jan 2020