Skip to content
Outlands Hub

Razor script

Loot Dump and Resupply by Goapirat

by Goapirat · 138 lines
Download

Script by Goapirat 09/22 v4.1 This is loot dump restock script that uses ideal following items when they are 2 tiles near you: bank deposit safe, recource stockpile, recycler, repair bench, storage shelf >> Set your organizer 1 to your…

CombatOrganizing
Loot Dump and Resupply by Goapirat.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/2569a6c4-59f0-459e-a5ac-2f4c787ad7d3 for latest2# Automation by Jaseowns3## Script: Loot Dump and Resupply by Goapirat4## Created by: Goapirat#33525#############################################6 7// Script by Goapirat 09/22 v4.18// This is loot dump restock script that uses ideal following items when they are 2 tiles near you:9// bank deposit safe, recource stockpile, recycler, repair bench, storage shelf10//11//   >> Set your organizer 1 to your Bank Safe and add Gold and Doubs to it <<12//13// The script asks for your TomeChest. 14// If You have your Tomes in a chest => Target TomeChest15// If you have your Tomes locked 2 Tiles near you in your house => Target yourself16// Then the Script runs automatically.17//18// It dumps your gold into your bank deposit safe. 19// Restocks your recource container. 20// Moves unidetified items to your recycler.21// It repairs your inventory and warn equippment.22// Uses Shelf to clear your inventory and takes your current loadout.23//24// V4.1 Added Doubloons25@clearsysmsg26@setvar 'lootbag' self27 28// Tomes Section29// Tomes in Chest30unsetvar 'TomeChest'31if not find 'TomeChest' ground -1 1 232    overhead "Choose Tome Chest or yourself" 3333    setvar! 'TomeChest'34endif35@clearignore 36@setvar 'Me' self37if 'TomeChest' = 'Me' 38    overhead "Using Tomes on ground" 8839else40    dclick 'TomeChest'41    overhead "Using Tomes in TomeChest" 8842endif43while @findtype 29104 "TomeChest" -1 -1 2 as 'Tome'44    sysmsg "Loot goes to Tomes"45    menu 'Tome' 046    @ignore 'Tome'47endwhile48@clearignore49// Tomes on Ground50@clearignore 51while @findtype 29104 ground -1 -1 2 as 'Tome'52    menu 'Tome' 053    @ignore 'Tome'54endwhile55@clearignore56 57 58// move gold to bank deposit safe59# gold60if @findtype '3821' backpack61    sysmsg "Gold n Doubs goes to BankSafe" 62    organizer 163    waitforsysmsg "finished" 200064    overhead "Bank Deposit done"65endif66// move doubloons to bank deposit safe67# doubs68if @findtype '2539' backpack '2125' 69    sysmsg "Gold n Doubs go to BankSafe" 70    organizer 171    waitforsysmsg "finished" 200072    overhead "Bank Deposit done"73endif74 75 76#// move gold to bank deposit safe77#while @findtype '3821' backpack as 'Gold'78#    while @findtype 'bank deposit safe' ground -1 1 2 as 'Safe'79#        sysmsg "Gold goes to BankSafe" 80#        wait 65081#        lifttype '3821' 60000 backpack82#        wait 65083#        drop 'Safe'84#        wait 65085#    endwhile86#endwhile87#88#// move doubloons to bank deposit safe89#// doubloons, "muffins", '2539', Hue: 212590#while @findtype '2539' backpack '2125' as 'Doubs'91#    wait 65092#    while @findtype 'bank deposit safe' ground -1 1 2 as 'Safe'93#        sysmsg "Doubs goe to BankSafe" 94#        wait 65095#        //lifttype name or graphic amt src hue96#        lifttype '2539' 5000 backpack 212597#        wait 65098#        drop 'Safe'99#        wait 650100#    endwhile101#endwhile102 103// restock resource container104if @findtype "resource container" ground any 1 2 as 'ResourceContainer'105    sysmsg "Resources go to RecourceContainer"106    menu 'ResourceContainer' 0107    wft 2000108    target self109endif110 111// dump loot from lootbag into recycler112if @findtype "ornate elven chest" ground any 1 2 as 'Recycler'113    sysmsg "Unidentified goes to Recycler" 114    menu 'Recycler' 1115endif116 117// repair your stuff at repair bench118if @findtype "repair bench" ground any 1 2 as 'RepairBench'119    sysmsg "Repairing..."120    dclick 'RepairBench'121    //pause 5000122    waitforsysmsg "repair"123    overhead "repaired" 82124endif125 126// Restock storage shelf and resupply127if @findtype "storage shelf" ground any 1 2 as 'Shelf'128    sysmsg "Restocking on Shelf"129    menu 'Shelf' 0130    wft 2000131    target self132    pause 500133    gumpclose 134    menu 'Shelf' 1135endif136 137overhead "Script finished" 33138stop