Tmap Chest Pick & Loot by Ace Mason
Description from the author:
# NOTE FROM JASE 5/14/2022: This script may not work as the syntax seems more like it's from UO Steam and not Razor.
//
// Create Lootlist
//
@removelist 'treasureitems'
@createlist 'treasureitems'
pushlist 'treasureitems' 0xa8c6 // Chain link
pushlist 'treasureitems' 0x42bf // MCD
pushlist 'treasureitems' 0x227a // Mastery Scroll
pushlist 'treasureitems' 0xefc // Aspect Extract
pushlist 'treasureitems' 0xf91 // Aspect Core
pushlist 'treasureitems' 0x5740 // Skillball
pushlist 'treasureitems' 0xef3 // Scroll
pushlist 'treasureitems' 0xeed // Gold
pushlist 'treasureitems' 0xf7a // Black Pearl
pushlist 'treasureitems' 0xf7b // Blood Moss
pushlist 'treasureitems' 0xf86 // Mandrake Root
pushlist 'treasureitems' 0xf84 // Garlic
pushlist 'treasureitems' 0xf85 // Ginseng
pushlist 'treasureitems' 0xf88 // Nightshade
pushlist 'treasureitems' 0xf8d // Spiders Silk
pushlist 'treasureitems' 0xf8c // Sulphurous Ash
pushlist 'treasureitems' 0xf16 // Amethyst
pushlist 'treasureitems' 0xf15 // Citrine
pushlist 'treasureitems' 0xf19 // Sapphire
pushlist 'treasureitems' 0xf25 // Amber
pushlist 'treasureitems' 0xf21 // Star Sapphire
pushlist 'treasureitems' 0xf10 // Emerald
pushlist 'treasureitems' 0xf26 // Diamond
pushlist 'treasureitems' 0xf2d // Tourmaline
pushlist 'treasureitems' 0xf13 // Ruby
pushlist 'treasureitems' 0xf3f // Arrows
pushlist 'treasureitems' 0x1bfb // Bolts
pushlist 'treasureitems' 0xe21 // Bandages
pushlist 'treasureitems' 0xefa // Purple Book
pushlist 'treasureitems' 0x72a4 // Research Mats
pushlist 'treasureitems' 0x14ec // Tmap
//
// Set TMap Chest
//
overhead 'Select Chest' 32
setvar 'TMapChest'
useobject 'TMapChest'
waitforgump 0x2bdf0cb6 15000
useskill 'Hiding'
clearsysmsg
//
// Remove Trap
//
while not insysmsg 'successfully cleared it of traps'
sysmsg 'Attempting to remove the Trap...' 54
replygump 0x2bdf0cb6 7
pause 4000
endwhile
sysmsg 'Cleared the Trap!' 62
//
// Unlock
//
while not insysmsg 'successfully pick the lock'
sysmsg 'Attempting to pick the Lock...' 54
replygump 0x2bdf0cb6 4
pause 4000
endwhile
sysmsg 'Picked the Lock!' 62
//
// Loot
//
sysmsg 'Starting to loot the Chest...' 54
clearsysmsg
while list 'treasureitems' > 0
if @findtype treasureitems[0] 'any' 'TMapChest'
moveitem 'found' 'backpack'
pause 600
//useskill 'Hiding'
//while not @injournal 'You feel comfortable' 'system'
//endwhile
//clearsysmsg
else
poplist 'treasureitems' 'front'
endif
endwhile
useskill 'Hiding'
headmsg '**' 62
headmsg '* Done *' 62
headmsg '**' 62Will Remove Trap, Lockpick, and loot your treasure map chest.