Skip to content
Outlands Hub

Razor script

Recall, Recycle & Restock (Tmapping)

by zerotokraken · 233 lines
Download
Organizing
Recall Recycle Restock Tmapping.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a8b12528-da05-40f3-ab37-75596b0a848d for latest2# Automation by Jaseowns3## Script: Recall, Recycle & Restock (Tmapping)4## Created by: zerotokraken#05#############################################6 7@setvar! tomechest 8@setvar! tmaptome 9@setvar! aspecttome 10@setvar! sstome 11@setvar! lumbertome12@setvar! skinningtome 13@setvar! oretome 14@setvar! fishingtome 15@setvar! arcanetome 16@setvar! clothtome 17@setvar! dyestome 18@setvar! cardtome19@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 32target clear33if weight < 46434    if weight < 39435        hotkey 'Recall'36        overhead 'Recalling!'37        waitfortarget38        targettype 'runetome'39    endif40    if weight >= 39441        hotkey 'Drink Strength'42        wait 100043        hotkey 'Recall'44        overhead 'Recalling!'45        waitfortarget46        targettype 'runetome'47    endif48endif49if weight >= 46450    overhead 'Too heavy to recall!'51    hotkey 'Gate Travel'52    overhead 'Gating'53    waitfortarget54    targettype 'runetome'55    wait 10056    if findtype 3948 'ground' 0 1 2 as 'bluegate'57        dclick 'bluegate'58        waitforgump 389901987159        gumpresponse 260        cast 'Dispel Field'61        waitfortarget62        target self63    endif64endif65 66 67if not findbuff 'Food Satisfaction'68    wait globalTimeout69    dclicktype 'tray'70endif71if not findbuff 'Reactive Armor'72    wait globalTimeout73    cast 'Reactive Armor'74    wait 50075endif76if not findbuff 'Magic Reflection'77    wait globalTimeout78    cast 'Magic Reflection'79    wait 150080endif81 82overhead 'LootDump.Exe starting...'83menu tmaptome 084menu aspecttome 085menu sstome 086menu lumbertome 087menu skinningtome 088menu oretome 089menu fishingtome 090menu arcanetome 091menu clothtome 092menu dyestome 093menu cardtome 094overhead 'Tomes Finished'95 96dclick tmaptome97waitforgump 186394583998gumpresponse 2699waitforgump 1863945839100if insysmsg 'No map of that type is currently being stored.'101    clearsysmsg102    gumpresponse 25103    waitforgump 1863945839 104    if insysmsg 'No map of that type is currently being stored.'105        clearsysmsg106        gumpresponse 24107        waitforgump 1863945839108        if insysmsg 'No map of that type is currently being stored.'109            clearsysmsg110            gumpresponse 23111            waitforgump 1863945839112            if insysmsg 'No map of that type is currently being stored.'113                clearsysmsg114                gumpresponse 22115                waitforgump 1863945839116                if insysmsg 'No map of that type is currently being stored.'117                    clearsysmsg118                    gumpresponse 21119                    waitforgump 1863945839120                    if insysmsg 'No map of that type is currently being stored.'121                        clearsysmsg122                        gumpresponse 20123                        waitforgump 1863945839124                        if insysmsg 'No map of that type is currently being stored.'125                                overhead 'No maps left!'126                        endif127                    endif128                endif129            endif130        endif131    endif132endif133gumpclose134wait globalTimeout135dclicktype 'map'136 137while 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 Loot138    overhead 'Dumping Loot'139    lift Loot 100140    drop lootchest -1 -1 0141    wait globalTimeout142endwhile143 144if findtype "storage shelf" ground -1 -1 2 as shelf145    overhead 'Shelf Restocking'146    menu shelf 0147    wft globalTimeout148    target self149    wait 200150    gumpclose 3232825965151endif152wait 250153if findtype "bank deposit safe" ground -1 -1 2 as safe154    while findtype "gold coin" backpack as gold155        overhead 'Dumping gold'156        lift gold 60000157        drop safe -1 -1 -2158    endwhile159endif160wait 250161if findtype "resource container" ground -1 -1 2 as resource162    overhead 'Dumping Stockpile'163    menu resource 0164    wft globalTimeout165    target self166    wait 200167endif168if findtype "garden shelf" ground -1 -1 2 as gshelf169    overhead 'Dumping Seeds'170    menu gshelf 0171    wft globalTimeout172    target self173    wait 200174endif175wait 250176target clear177if findtype "ornate elven chest" ground -1 -1 2 as recycler178    overhead 'Dumping Recycler'179    menu recycler 1180    getlabel recycler desc181    if "125 items" in desc182        overhead 'Recycler Full!'183        dclick tomechest184        wait globalTimeout185        if findtype 'wand' tomechest as wand186            target clear187            lift wand188            drop backpack189            dclick wand190            wft191            target recycler192            lift wand193            drop tomechest194        endif195        wait globalTimeout196        dclick recycler197        waitforgump 4045111101198        gumpresponse 6199        waitforgump 4045111101200        gumpresponse 6201        wait 1000202        gumpclose203        wait 1000204        if findtype 12686 recycler as essence205            overhead 'Dumping Essence'206            lift essence 60000207            drop tomechest -1 -1 -2208        endif209        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 item210            getlabel item checkForBlessed211            if "blessed" in checkForBlessed212                overhead "Ignoring {{checkForBlessed}}" 34213                @ignore item214            else    215            lift item 60000216            drop magicitemchest -1 -1 -2217            wait globalTimeout218            endif219        endwhile220        if findtype "resource container" ground -1 -1 2 as resource221            menu resource 0222            waitfortarget223            target recycler224            wait globalTimeout225            menu recycler 1226        endif227    endif228endif229 230if findtype "storage shelf" ground -1 -1 2 as shelf231    menu shelf 1232    overhead 'READY TO GO'233endif