Skip to content
Outlands Hub

Razor script

Grab items off shelf for boating

by Jaseowns · 115 lines
Download

by Jaseowns UO Outlands Easy way to get items off shelf with no loadout (boat edition)

Sailing
Grab items off shelf for boating.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f294fffe-0e04-4bfb-951b-2167df0e0d21 for latest2# Automation by Jaseowns3## Script: Grab items off shelf for boating4## Created by: Jaseowns#66945#############################################6 7# Grab items off shelf for boating by Jaseowns8# UO Outlands9# Easy way to get items off shelf with no loadout (boat edition)10 11gumpclose 323282596512 13@setvar! jaseowns_MaxCannonBallCountWeWantToGrab 15014@setvar! jaseowns_MaxShipRepairKitCountWeWantToGrab 2015@setvar! jaseowns_MaxBoardingRopesCountWeWantToGrab 2016@setvar! jaseowns_MaxBigBombCountWeWantToGrab 517 18@setvar! jaseowns_HelperTextTimerCD 200019settimer jaseowns_HelperTextTimer jaseowns_HelperTextTimerCD20 21if findtype "storage shelf" ground -1 -1 2 as jhelf22 23    clearsysmsg 24 25    dclick jhelf26    waitforgump 3232825965 500027 28    # is going to next page29    gumpresponse 21 323282596530    waitforgump 3232825965 500031 32    # is going to ships33    gumpresponse 54 323282596534    waitforgump 3232825965 500035 36    # Check for Retrieve One37    if ingump "Retrieve One" 323282596538       // do nothing39    else40        gumpresponse 23 323282596541    endif42 43    settimer jaseowns_HelperTextTimer jaseowns_HelperTextTimerCD44    45    # cannon balls46    while counttype 3699 backpack 2492 < jaseowns_MaxCannonBallCountWeWantToGrab47        gumpresponse 130 323282596548        waitforgump 3232825965 500049        if timer jaseowns_HelperTextTimer >= jaseowns_HelperTextTimerCD50            overhead "Grabbing Cannon balls" 8851            sysmsg "Grabbing Cannon balls" 8852            settimer jaseowns_HelperTextTimer 053        endif54        if insysmsg "That item is unavailable."55            overhead "Out of Cannon balls" 3456            sysmsg "Out of Cannon balls" 3457            break58        endif59    endwhile60    61    # ship repair kit62    while counttype 25758 backpack 0 < jaseowns_MaxShipRepairKitCountWeWantToGrab63        gumpresponse 131 323282596564        waitforgump 3232825965 500065        if timer jaseowns_HelperTextTimer >= jaseowns_HelperTextTimerCD66            overhead "Grabbing repair kits" 8867            sysmsg "Grabbing repair kits" 8868            settimer jaseowns_HelperTextTimer 069        endif70        if insysmsg "That item is unavailable."71            overhead "Out of repair kits" 3472            sysmsg "Out of repair kits" 3473            break74        endif75    endwhile76    77    settimer jaseowns_HelperTextTimer jaseowns_HelperTextTimerCD78    79    # boarding rope80    while counttype 5370 backpack 0 < jaseowns_MaxBoardingRopesCountWeWantToGrab81        gumpresponse 132 323282596582        waitforgump 3232825965 500083        if timer jaseowns_HelperTextTimer >= jaseowns_HelperTextTimerCD84            overhead "Grabbing boarding ropes" 8885            sysmsg "Grabbing boarding ropes" 8886            settimer jaseowns_HelperTextTimer 087        endif88        if insysmsg "That item is unavailable."89            overhead "Out of boarding ropes" 3490            sysmsg "Out of boarding ropes" 3491            break92        endif93    endwhile94    95    settimer jaseowns_HelperTextTimer jaseowns_HelperTextTimerCD96    97    # big bombs98    while counttype 5188 backpack 2825 < jaseowns_MaxBigBombCountWeWantToGrab99        gumpresponse 132 3232825965100        waitforgump 3232825965 5000101        if timer jaseowns_HelperTextTimer >= jaseowns_HelperTextTimerCD102            overhead "Grabbing big bombs" 88103            sysmsg "Grabbing big bombs" 88104            settimer jaseowns_HelperTextTimer 0105        endif106        if insysmsg "That item is unavailable."107            overhead "Out of big bombs" 34108            sysmsg "Out of big bombs" 34109            break110        endif111    endwhile112 113endif114 115