Skip to content
Outlands Hub

Razor script

Drop off all Ship loot to own hatch

by Brozan (Syal) · 239 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.

Start Dump

CombatSailingOrganizing
Drop off all Ship loot to own hatch.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/542023bc-31fe-4921-a75a-c240f8a0eb98 for latest2# Automation by Jaseowns3## Script: Drop off all Ship loot to own hatch 4## Created by: Brozan (Syal)#45235#############################################6 7#Start Dump8setvar myShipHold lasttarget 9#Check for a ship hold10if findtype '16019' ground any any 3 true as found11    @setvar myShipHold found12elseif findtype '16046' ground any any 3 true as found13    @setvar myShipHold found14elseif findtype '15973' ground any any 3 true as found15    @setvar myShipHold found16elseif findtype '16057' ground any any 3 true as found17     setvar myShipHold found18else 19    overhead "Cannot find hold, target"20    @setvar! myShipHold21endif    22 23overhead "Gold Dump"24#Gold in subpacks routine25clearignore  26createlist coinTypes27clearlist coinTypes28@pushlist 'coinTypes' 253929@pushlist 'coinTypes' 382130foreach x in coinTypes31  while findtype x backpack any any 1 as found32    lift found 999933    drop myShipHold -1 -1 0 34    @ignore myVariable35    wait 60036  endwhile37endfor38 39if not varexist noidBag40    overhead 'Target Item Dump Bag'41    setvar! noidBag42endif    43 44overhead "Hull Dump"45clearignore  46createlist regTypes47clearlist regTypes48 49@pushlist 'regTypes' 396350@pushlist 'regTypes' 396251@pushlist 'regTypes' 397352@pushlist 'regTypes' 397253@pushlist 'regTypes' 398054@pushlist 'regTypes' 398155@pushlist 'regTypes' 397656@pushlist 'regTypes' 397457@pushlist 'regTypes' 422558@pushlist 'regTypes' 370559@pushlist 'regTypes' 385460@pushlist 'regTypes' 361761@pushlist 'regTypes' 390362@pushlist 'regTypes' 716363@pushlist 'regTypes' 254564foreach x in regTypes65  while findtype x backpack any any 1 as found66    lift found 999967    drop myShipHold -1 -1 0 68    @ignore myVariable69    wait 60070  endwhile71endfor72 73overhead "Unid Dump"74clearignore 75 76createlist ItemTypes77clearlist ItemTypes78//martial manual79@pushlist 'ItemTypes' 2218780//Shields81@pushlist 'ItemTypes' 0x1b72 //BronzeShields82@pushlist 'ItemTypes' 0x1b73 //Buckler83@pushlist 'ItemTypes' 0x1b7b //MetalShield84@pushlist 'ItemTypes' 0x1b74 //MetalKiteShield85@pushlist 'ItemTypes' 0x1b79 //TearKiteShield86@pushlist 'ItemTypes' 0x1b7a //WoodenShield87@pushlist 'ItemTypes' 0x1b76 //HeaterShield88@pushlist 'ItemTypes' 0x1b77 //HeaterShield89//Platemail90@pushlist 'ItemTypes' 0x1408 //CloseHelmet91@pushlist 'ItemTypes' 0x1410 //PlatemailArms92@pushlist 'ItemTypes' 0x1417 //PlatemailArms93@pushlist 'ItemTypes' 0x1411 //PlatemailLegs94@pushlist 'ItemTypes' 0x1412 //PlateHelm95@pushlist 'ItemTypes' 0x1413 //PlateGorget96@pushlist 'ItemTypes' 0x1418 //PlatemailGloves97@pushlist 'ItemTypes' 0x1415 //PlateChest98@pushlist 'ItemTypes' 0x140a //Helmet99@pushlist 'ItemTypes' 0x140c //Bascinet100@pushlist 'ItemTypes' 0x140e //NorseHelm101//Chainmail102@pushlist 'ItemTypes' 0x13bb //ChainmailCoif103@pushlist 'ItemTypes' 0x13c3 //ChainmailLeggins104@pushlist 'ItemTypes' 0x13c4 //ChainmailChest105@pushlist 'ItemTypes' 0x13c0 //ChainmailHelm106//Ringmail107@pushlist 'ItemTypes' 0x13ef //RingmailArms108@pushlist 'ItemTypes' 0x13f2 //RingmailGloves109@pushlist 'ItemTypes' 0x13ed //RingmailChest110@pushlist 'ItemTypes' 0x13f1 //RingmailLeggins111@pushlist 'ItemTypes' 0x140b //RingmailHelm112//Studded113@pushlist 'ItemTypes' 0x1dba //Studdedcap114@pushlist 'ItemTypes' 0x13e1 //StuddedLeggings115@pushlist 'ItemTypes' 0x13db //StuddedTunic116@pushlist 'ItemTypes' 0x13d5 //StuddedGloves117@pushlist 'ItemTypes' 0x13d6 //StuddedGorget118@pushlist 'ItemTypes' 0x13dc //StuddedSleeves119//Leather120@pushlist 'ItemTypes' 0x13ce //LeatherGloves121@pushlist 'ItemTypes' 0x13cd //LeatherSleeves122@pushlist 'ItemTypes' 0x13d3 //LeatherChest123@pushlist 'ItemTypes' 0x13cb //LeatherPants124@pushlist 'ItemTypes' 0x13c7 //LeatherGorget125@pushlist 'ItemTypes' 0x1db9 //LeatherCap126@pushlist 'ItemTypes' 0x13c5 //LeatherArms127//FemaleArmor128@pushlist 'ItemTypes' 0x1c04 //FemalePlate129@pushlist 'ItemTypes' 0x1c09 //FemalePlateSkirt130@pushlist 'ItemTypes' 0x1c0c //FemaleStuddedBustier131@pushlist 'ItemTypes' 0x1c02 //FemaleStuddedArmor132@pushlist 'ItemTypes' 0x1c09 //FemaleRingmailSkirt133@pushlist 'ItemTypes' 0x1c00 //FemaleLeatherShorts134@pushlist 'ItemTypes' 0x1c09 //FemaleLeatherSkirt135@pushlist 'ItemTypes' 0x1c06 //FemaleLeatherArmor136@pushlist 'ItemTypes' 0x1c0b //FemaleLeatherBustier137@pushlist 'ItemTypes' 0x1c09 //FemaleBoneSkirt138//Fencing139@pushlist 'ItemTypes' 0xf62  //Spear140@pushlist 'ItemTypes' 0x1403 //ShortSpear141@pushlist 'ItemTypes' 0xe87  //Pitchfork142@pushlist 'ItemTypes' 0x1405 //Warfork143@pushlist 'ItemTypes' 0x1401 //Kryss144@pushlist 'ItemTypes' 0xf52  //Dagger145//Macing146@pushlist 'ItemTypes' 0x13b0 //Waraxe147@pushlist 'ItemTypes' 0xdf0  //BlackStaff148@pushlist 'ItemTypes' 0x1439 //WarHammer149@pushlist 'ItemTypes' 0x1407 //WarMace150@pushlist 'ItemTypes' 0xe89  //QuarterStaff151@pushlist 'ItemTypes' 0x143d //HammerPick152@pushlist 'ItemTypes' 0x13b4 //Club153@pushlist 'ItemTypes' 0xe81  //ShepherdsCrook154@pushlist 'ItemTypes' 0x13f8 //GnarledStaff155@pushlist 'ItemTypes' 0xf5c  //Mace156@pushlist 'ItemTypes' 0x143b //Maul157//Swords158@pushlist 'ItemTypes' 0x13b9 //VikingSword159@pushlist 'ItemTypes' 0xf61  //Longsword160@pushlist 'ItemTypes' 0x1441 //Cutlass161@pushlist 'ItemTypes' 0x13b6 //Scimitar162@pushlist 'ItemTypes' 0xec4  //SkinningKnife163@pushlist 'ItemTypes' 0x13f6 //ButcherKnife164@pushlist 'ItemTypes' 0xf5e  //Broadsword165@pushlist 'ItemTypes' 0x13ff //Katana166@pushlist 'ItemTypes' 0xec3  //Cleaver167//Axes168@pushlist 'ItemTypes' 0xf43 //Hatchet169@pushlist 'ItemTypes' 0xf45 //ExecutionersAxe170@pushlist 'ItemTypes' 0xf4d //Bardiche171@pushlist 'ItemTypes' 0xf4b  //DoubleAxe172@pushlist 'ItemTypes' 0x143e //Halberd173@pushlist 'ItemTypes' 0x13fb //LargeBattleAxe174@pushlist 'ItemTypes' 0x1443 //TwoHandedAxe175@pushlist 'ItemTypes' 0xf47  //BattleAxe176@pushlist 'ItemTypes' 0xf49  //Axe177//Bows178@pushlist 'ItemTypes' 0x13fd //HeavyXbow179@pushlist 'ItemTypes' 0xf50  //Xbow180@pushlist 'ItemTypes' 0x13b2 //bow181//Instruments182@pushlist 'ItemTypes' 0xeb2 //Harp183@pushlist 'ItemTypes' 0xe9c //Drums184@pushlist 'ItemTypes' 0xeb3 //Lute185@pushlist 'ItemTypes' 0xe9e //Tambourine186@pushlist 'ItemTypes' 0x2805 //BambooFlute187//Other Helmets188@pushlist 'ItemTypes' 0x140f //NorseHelm189//BoneArmor190@pushlist 'ItemTypes' 0x1451 //BoneHelm191@pushlist 'ItemTypes' 0x1457 //BoneLegs192@pushlist 'ItemTypes' 0x1453 //BoneArms193@pushlist 'ItemTypes' 0x1455 //BoneGloves194//SlayerWands195@pushlist 'ItemTypes' 0xdf2 //SlayerWands196@pushlist 'ItemTypes' 0xdf3 //SlayerWands197@pushlist 'ItemTypes' 0xdf4 //SlayerWands198@pushlist 'ItemTypes' 0xdf5 //SlayerWands199//OtherSTuff, that wasnt in list...200@pushlist 'ItemTypes' 0xdf5 //SlayerWands201@pushlist 'ItemTypes' 0xefa //SpellBook202@pushlist 'ItemTypes' 0x141a //platemailleggings203@pushlist 'ItemTypes' 0x1b7a //woodenshield204@pushlist 'ItemTypes' 0x13e2 //studdedchets205@pushlist 'ItemTypes' 0x1b79 //woodenkiteshield206@pushlist 'ItemTypes' 0x26bd //harpoon207@pushlist 'ItemTypes' 0x1c05 //Femaleplatechest208@pushlist 'ItemTypes' 0x1c0d //studdedbrasier209@pushlist 'ItemTypes' 0x1c01 //leathershorts210@pushlist 'ItemTypes' 0x1b75 //metalkiteshield211@pushlist 'ItemTypes' 0x1c07 //Femaleleather212@pushlist 'ItemTypes' 0x1416 //platemailchest213@pushlist 'ItemTypes' 0x13dd //studdedgloves214@pushlist 'ItemTypes' 0x1454 //Bonechest215@pushlist 'ItemTypes' 0x13d2 //leatherleggings216@pushlist 'ItemTypes' 0x1409 //closehelm217@pushlist 'ItemTypes' 0x13d4 //studdedarms218 219foreach x in ItemTypes220  while findtype x backpack as found221    @hotkey 'set last target'222    @target found223    @setvar myVariable lasttarget224    wait 100225    @getlabel 'myVariable' myLabel226    if 'unidentified' in myLabel227        #sysmsg 'Dumping: ' 33228        #sysmsg  myLabel 65229        lift myVariable 1230        drop noidBag -1 -1 0 231    else 232        #sysmsg 'Skipping' 33233    #sysmsg  myLabel 65234    endif235    @ignore myVariable236    wait 400237  endwhile238endfor239overhead "Done Dumping" 17