Compatibility unverified
This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.
CombatThievingHiding
Dungeon Lockpicker Priority Loot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f2cd0882-692b-4fa1-9618-a24aabcd3622 for latest2# Automation by Jaseowns3## Script: Dungeon Lockpicker & Priority Loot4## Created by: neverstopswing#05#############################################6 7@setvar PauseTime 6508@clearsysmsg9@clearignore 10for 1611 if index > 0 and findtype 3651|3649|3648|3650|3708|2475 ground -1 -1 index as chest12 getlabel chest desc13 if "lock" in desc14 overhead "{{desc}}" 88 chest15 break16 else 17 overhead "{{desc}}" 34 chest18 @ignore chest19 endif20 endif21endfor22if skill 'Hiding' >= 10023 useskill 'Hiding'24endif25if not find 'lootbag' 'self' 26 overhead 'Select where to loot to'27 setvar 'lootbag'28endif29if findtype "metal chest|wooden chest" ground -1 -1 2 as LockedBox30 @setvar 'LockCheck' 031 dclick LockedBox32 pause PauseTime33 if insysmsg 'It appears to be locked'34 @setvar 'LockCheck' 135 endif 36 if 'LockCheck' = 137 gumpresponse 738 overhead 'Removing Traps..' 2039 while not insysmsg 'You have successfully cleared it of traps' and not insysmsg 'That appears to be devoid of traps' 40 if insysmsg 'You make some progress towards clearing it of traps'41 overhead 'Progress!' 8842 pause 20043 @clearsysmsg 44 endif45 if insysmsg 'You fail to make any progress towards removing traps'46 overhead 'Failed!' 3247 pause 20048 @clearsysmsg 49 endif50 endwhile51 gumpresponse 452 overhead 'Picking Lock..' 2053 pause 20054 while not insysmsg 'You successfully pick the lock.'55 if insysmsg 'You make some progress on the lock.'56 overhead 'Progress!' 8857 pause 20058 @clearsysmsg 59 endif60 if insysmsg 'You fail to make any progress on the lock'61 overhead 'Failed!' 3262 pause 20063 @clearsysmsg 64 endif65 endwhile66 overhead 'Picking Success!' 6367 endif68 if 'LockCheck' = 069 overhead 'Chest not Locked!' 3270 endif71 while findtype 42576|41509|29361|45127|18654|18655|47105|47107 LockedBox as Loot72 getlabel loot lootlabel73 overhead lootlabel 115074 lift Loot 10075 drop lootbag -1 -1 076 wait PauseTime77 endwhile78 while findtype 3985|24434|22336|3843|3839|29025|3842|3838|8826|5359|5981 LockedBox as Loot79 getlabel loot lootlabel80 overhead lootlabel 115081 lift Loot 10082 drop lootbag -1 -1 083 wait PauseTime84 endwhile85 while findtype 3827|3836|48407|43166|4248|3843|29036|2594|5356|17087|29030 LockedBox as Loot86 getlabel loot lootlabel87 overhead lootlabel 115088 lift Loot 10089 drop lootbag -1 -1 090 wait PauseTime91 endwhile92 while findtype 3878|3873|3856|3865|3859|3862|3877|3885|3861 LockedBox as Loot93 getlabel loot lootlabel94 overhead lootlabel 115095 lift Loot 10096 drop lootbag -1 -1 097 wait PauseTime98 endwhile99 if diffweight > 50100 while findtype 3821 LockedBox as Loot101 getlabel loot lootlabel102 overhead lootlabel 1150103 lift Loot 10000104 drop lootbag -1 -1 0105 wait PauseTime106 endwhile107 endif108endif109 