Back to "map" tags

Tmap Chest Pick & Loot by Ace Mason

Description: Will Remove Trap, Lockpick, and loot your treasure map chest.

1# 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. 
2
3//
4// Create Lootlist
5//
6@removelist 'treasureitems'
7@createlist 'treasureitems'
8pushlist 'treasureitems' 0xa8c6 // Chain link
9pushlist 'treasureitems' 0x42bf // MCD
10pushlist 'treasureitems' 0x227a // Mastery Scroll
11pushlist 'treasureitems' 0xefc  // Aspect Extract
12pushlist 'treasureitems' 0xf91  // Aspect Core
13pushlist 'treasureitems' 0x5740 // Skillball
14pushlist 'treasureitems' 0xef3  // Scroll
15pushlist 'treasureitems' 0xeed  // Gold
16pushlist 'treasureitems' 0xf7a  // Black Pearl
17pushlist 'treasureitems' 0xf7b  // Blood Moss
18pushlist 'treasureitems' 0xf86  // Mandrake Root
19pushlist 'treasureitems' 0xf84  // Garlic
20pushlist 'treasureitems' 0xf85  // Ginseng
21pushlist 'treasureitems' 0xf88  // Nightshade
22pushlist 'treasureitems' 0xf8d  // Spiders Silk
23pushlist 'treasureitems' 0xf8c  // Sulphurous Ash
24pushlist 'treasureitems' 0xf16  // Amethyst
25pushlist 'treasureitems' 0xf15  // Citrine
26pushlist 'treasureitems' 0xf19  // Sapphire
27pushlist 'treasureitems' 0xf25  // Amber
28pushlist 'treasureitems' 0xf21  // Star Sapphire
29pushlist 'treasureitems' 0xf10  // Emerald
30pushlist 'treasureitems' 0xf26  // Diamond
31pushlist 'treasureitems' 0xf2d  // Tourmaline
32pushlist 'treasureitems' 0xf13  // Ruby
33pushlist 'treasureitems' 0xf3f  // Arrows
34pushlist 'treasureitems' 0x1bfb // Bolts
35pushlist 'treasureitems' 0xe21  // Bandages
36pushlist 'treasureitems' 0xefa  // Purple Book
37pushlist 'treasureitems' 0x72a4 // Research Mats
38pushlist 'treasureitems' 0x14ec // Tmap
39//
40// Set TMap Chest
41//
42overhead 'Select Chest' 32
43setvar 'TMapChest'
44useobject 'TMapChest'
45waitforgump 0x2bdf0cb6 15000
46useskill 'Hiding'
47clearsysmsg
48//
49// Remove Trap
50//
51while not insysmsg 'successfully cleared it of traps'
52  sysmsg 'Attempting to remove the Trap...' 54
53  replygump 0x2bdf0cb6 7
54  pause 4000
55endwhile
56sysmsg 'Cleared the Trap!' 62
57//
58// Unlock
59//
60while not insysmsg 'successfully pick the lock'
61  sysmsg 'Attempting to pick the Lock...' 54
62  replygump 0x2bdf0cb6 4
63  pause 4000
64endwhile
65sysmsg 'Picked the Lock!' 62
66//
67// Loot
68//
69sysmsg 'Starting to loot the Chest...' 54
70clearsysmsg
71while list 'treasureitems' > 0
72  if @findtype treasureitems[0] 'any' 'TMapChest'
73    moveitem 'found' 'backpack'
74    pause 600
75    //useskill 'Hiding'
76    //while not @injournal 'You feel comfortable' 'system'
77    //endwhile
78    //clearsysmsg
79  else
80    poplist 'treasureitems' 'front'
81  endif
82endwhile
83useskill 'Hiding'
84headmsg '**' 62
85headmsg '* Done *' 62
86headmsg '**' 62