Skip to content
Outlands Hub

Razor script

Recall, Recycle & Restock

by zerotokraken · 207 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

Organizing
Recall Recycle Restock.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a047f7f7-c4a5-4f6d-894a-50a976503b38 for latest2# Automation by Jaseowns3## Script: Recall, Recycle & Restock4## Created by: zerotokraken#05#############################################6 7@setvar! tomechest 8@setvar! tmaptome 9@setvar! aspecttome 10@setvar! sstome 11@setvar! lumbertome 12@setvar! skinningtome 13@setvar! oretome 14@setvar! fishingtome 15@setvar! arcanetome 16@setvar! clothtome 17@setvar! dyestome 18@setvar! cardtome 19@setvar! lootchest 20@setvar! magicitemchest21@setvar! globalTimeout 65022 23if findtype "wooden chest" ground -1 -1 2 as chest24    menu chest 125    overhead 'Chest Destroyed!'26endif27if findtype "metal chest" ground -1 -1 2 as chest28    menu chest 129    overhead 'Chest Destroyed!'30endif31 32clearsysmsg 33target clear34if weight < 46435    if weight < 39436        hotkey 'Recall'37        overhead 'Recalling!'38        waitfortarget39        targettype 'runetome'40    endif41    if weight >= 39442        wait 25043        hotkey 'Drink Strength'44        pause 65045        hotkey 'Recall'46        overhead 'Recalling!'47        waitfortarget48        targettype 'runetome'49    endif50endif51if weight >= 46452    overhead 'Too heavy to recall!'53    hotkey 'Gate Travel'54    overhead 'Gating'55    waitfortarget56    targettype 'runetome'57    wait 10058    if findtype 3948 'ground' 0 1 2 as 'bluegate'59        dclick 'bluegate'60        waitforgump 389901987161        gumpresponse 262        cast 'Dispel Field'63        waitfortarget64        target self65    endif66endif67 68if insysmsg 'Magical travel is not allowed in this location'69    stop70endif71 72if not findbuff 'Food Satisfaction'73    wait globalTimeout74    dclicktype 'tray'75endif76if not findbuff 'Reactive Armor'77    wait globalTimeout78    cast 'Reactive Armor'79    wait 50080endif81if not findbuff 'Magic Reflection'82    wait globalTimeout83    cast 'Magic Reflection'84    wait 150085endif86 87overhead 'LootDump.Exe starting...'88menu tmaptome 089menu aspecttome 090menu sstome 091menu lumbertome 092menu skinningtome 093menu oretome 094menu fishingtome 095menu arcanetome 096menu clothtome 097menu dyestome 098menu cardtome 099overhead 'Tomes Finished'100 101if findtype "repair bench" ground -1 -1 2 as repair102    overhead 'Repairing'103    dclick repair104    wait globalTimeout105endif106 107while findtype 'card|bag of seeds|raw turkey|feather|void orb|research materials|carpet|wooden chest|metal chest|soul jar|deed|sandals|thigh boots|boots|shoes' backpack as Loot108    overhead 'Dumping Loot'109    lift Loot 100110    drop lootchest -1 -1 0111    wait globalTimeout112endwhile113 114if findtype "storage shelf" ground -1 -1 2 as shelf115    overhead 'Shelf Restocking'116    menu shelf 0117    wft globalTimeout118    target self119    wait 200120    gumpclose 3232825965121endif122wait 250123if findtype "bank deposit safe" ground -1 -1 2 as safe124    while findtype "gold coin" backpack as gold125        overhead 'Dumping gold'126        lift gold 60000127        drop safe -1 -1 -1128    endwhile129endif130wait 250131if findtype "resource container" ground -1 -1 2 as resource132    overhead 'Dumping Stockpile'133    menu resource 0134    wft globalTimeout135    target self136    wait 200137endif138if findtype "garden shelf" ground -1 -1 2 as gshelf139    overhead 'Dumping Seeds'140    menu gshelf 0141    wft globalTimeout142    target self143    wait 200144endif145wait 250146target clear147if findtype "ornate elven chest" ground -1 -1 2 as recycler148    overhead 'Dumping Recycler'149    menu recycler 1150    getlabel recycler desc151    if "125 items" in desc152        overhead 'Recycler Full!'153        dclick tomechest154        wait globalTimeout155        if findtype 'wand' tomechest as wand156            target clear157            lift wand158            drop backpack159            dclick wand160            wft161            target recycler162            lift wand163            drop tomechest164        endif165        wait globalTimeout166        dclick recycler167        waitforgump 4045111101168        gumpresponse 6169        waitforgump 4045111101170        gumpresponse 6171        wait 1000172        gumpclose173        wait 1000174        if findtype 12686 recycler as essence175            overhead 'Dumping Essence'176            lift essence 60000177            drop tomechest -1 -1 0178            wait globalTimeout179        endif180        while findtype 24434|43206|29363|43166|22336|29348|17087|3985|8826|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3617|3903|12686 recycler as item181            getlabel item checkForBlessed182            if "blessed" in checkForBlessed183                overhead "Ignoring {{checkForBlessed}}" 34184                @ignore item185            else    186            lift item 60000187            drop magicitemchest -1 -1 -1188            wait globalTimeout189            endif190        endwhile191        if findtype "resource container" ground -1 -1 2 as resource192            menu resource 0193            waitfortarget194            target recycler195            wait globalTimeout196            menu recycler 1197        endif198    endif199endif200 201#Restock from Shelf and make sure correct Aspect is applied + DPS chain is equipped202 203if findtype "storage shelf" ground -1 -1 2 as shelf204    menu shelf 1205    wait globalTimeout206    overhead 'READY TO GO'207endif