Recall, Recycle & Restock by neverstopswing
Description: This is my restock script but I removed the tmapping elements. This will run your recycler and dump in all the right places. Added in repair bench click too
1@setvar! tomechest
2@setvar! tmaptome
3@setvar! aspecttome
4@setvar! sstome
5@setvar! lumbertome
6@setvar! skinningtome
7@setvar! oretome
8@setvar! fishingtome
9@setvar! arcanetome
10@setvar! clothtome
11@setvar! dyestome
12@setvar! cardtome
13@setvar! lootchest
14@setvar! magicitemchest
15@setvar! globalTimeout 650
16
17if findtype "wooden chest" ground -1 -1 2 as chest
18 menu chest 1
19 overhead 'Chest Destroyed!'
20endif
21if findtype "metal chest" ground -1 -1 2 as chest
22 menu chest 1
23 overhead 'Chest Destroyed!'
24endif
25
26clearsysmsg
27target clear
28if weight < 464
29 if weight < 394
30 hotkey 'Recall'
31 overhead 'Recalling!'
32 waitfortarget
33 targettype 'runetome'
34 endif
35 if weight >= 394
36 wait 250
37 hotkey 'Drink Strength'
38 pause 650
39 hotkey 'Recall'
40 overhead 'Recalling!'
41 waitfortarget
42 targettype 'runetome'
43 endif
44endif
45if weight >= 464
46 overhead 'Too heavy to recall!'
47 hotkey 'Gate Travel'
48 overhead 'Gating'
49 waitfortarget
50 targettype 'runetome'
51 wait 100
52 if findtype 3948 'ground' 0 1 2 as 'bluegate'
53 dclick 'bluegate'
54 waitforgump 3899019871
55 gumpresponse 2
56 cast 'Dispel Field'
57 waitfortarget
58 target self
59 endif
60endif
61
62if insysmsg 'Magical travel is not allowed in this location'
63 stop
64endif
65
66if not findbuff 'Food Satisfaction'
67 wait globalTimeout
68 dclicktype 'tray'
69endif
70if not findbuff 'Reactive Armor'
71 wait globalTimeout
72 cast 'Reactive Armor'
73 wait 500
74endif
75if not findbuff 'Magic Reflection'
76 wait globalTimeout
77 cast 'Magic Reflection'
78 wait 1500
79endif
80
81overhead 'LootDump.Exe starting...'
82menu tmaptome 0
83menu aspecttome 0
84menu sstome 0
85menu lumbertome 0
86menu skinningtome 0
87menu oretome 0
88menu fishingtome 0
89menu arcanetome 0
90menu clothtome 0
91menu dyestome 0
92menu cardtome 0
93overhead 'Tomes Finished'
94
95if findtype "repair bench" ground -1 -1 2 as repair
96 overhead 'Repairing'
97 dclick repair
98 wait globalTimeout
99endif
100
101while findtype 'card|bag of seeds|raw turkey|feather|void orb|research materials|carpet|wooden chest|metal chest|soul jar|deed|sandals|thigh boots|boots|shoes' backpack as Loot
102 overhead 'Dumping Loot'
103 lift Loot 100
104 drop lootchest -1 -1 0
105 wait globalTimeout
106endwhile
107
108if findtype "storage shelf" ground -1 -1 2 as shelf
109 overhead 'Shelf Restocking'
110 menu shelf 0
111 wft globalTimeout
112 target self
113 wait 200
114 gumpclose 3232825965
115endif
116wait 250
117if findtype "bank deposit safe" ground -1 -1 2 as safe
118 while findtype "gold coin" backpack as gold
119 overhead 'Dumping gold'
120 lift gold 60000
121 drop safe -1 -1 -1
122 endwhile
123endif
124wait 250
125if findtype "resource container" ground -1 -1 2 as resource
126 overhead 'Dumping Stockpile'
127 menu resource 0
128 wft globalTimeout
129 target self
130 wait 200
131endif
132if findtype "garden shelf" ground -1 -1 2 as gshelf
133 overhead 'Dumping Seeds'
134 menu gshelf 0
135 wft globalTimeout
136 target self
137 wait 200
138endif
139wait 250
140target clear
141if findtype "ornate elven chest" ground -1 -1 2 as recycler
142 overhead 'Dumping Recycler'
143 menu recycler 1
144 getlabel recycler desc
145 if "125 items" in desc
146 overhead 'Recycler Full!'
147 dclick tomechest
148 wait globalTimeout
149 if findtype 'wand' tomechest as wand
150 target clear
151 lift wand
152 drop backpack
153 dclick wand
154 wft
155 target recycler
156 lift wand
157 drop tomechest
158 endif
159 wait globalTimeout
160 dclick recycler
161 waitforgump 4045111101
162 gumpresponse 6
163 waitforgump 4045111101
164 gumpresponse 6
165 wait 1000
166 gumpclose
167 wait 1000
168 if findtype 12686 recycler as essence
169 overhead 'Dumping Essence'
170 lift essence 60000
171 drop tomechest -1 -1 0
172 wait globalTimeout
173 endif
174 while findtype 24434|43206|29363|43166|22336|29348|17087|3985|8826|29030|3836|5981|4248|5359|3839|3838|3843|2597|29036|48407|3834|3865|3859|3885|3856|3878|3877|3873|3861|3862|576|5123|7177|7027|3920|5131|5179|5075|3980|5060|5076|5042|10245|3938|3913|7169|3909|5063|5089|3981|7170|7033|3976|3762|5040|5103|5117|7181|7029|3568|6264|3742|5139|6263|7026|5125|3740|5121|3973|3974|5204|5105|5185|5078|5115|7175|5059|7034|3713|3915|5112|5070|5049|5119|5205|5046|3962|3934|7035|3911|7179|5106|5143|3573|3719|5177|7610|5181|3917|5132|3963|7031|5207|5056|5085|3763|5129|5187|3721|3972|5138|3570|5101|5061|5074|5142|5182|5146|6265|5090|5203|5044|5144|3932|5201|5127|3572|7173|5135|3937|3571|22326|27611|9917|3821|5356|8455|5362|45315|8454|22187|5901|7163|3617|3903|12686 recycler as item
175 getlabel item checkForBlessed
176 if "blessed" in checkForBlessed
177 overhead "Ignoring {{checkForBlessed}}" 34
178 @ignore item
179 else
180 lift item 60000
181 drop magicitemchest -1 -1 -1
182 wait globalTimeout
183 endif
184 endwhile
185 if findtype "resource container" ground -1 -1 2 as resource
186 menu resource 0
187 waitfortarget
188 target recycler
189 wait globalTimeout
190 menu recycler 1
191 endif
192 endif
193endif
194
195#Restock from Shelf and make sure correct Aspect is applied + DPS chain is equipped
196
197if findtype "storage shelf" ground -1 -1 2 as shelf
198 menu shelf 1
199 wait globalTimeout
200 overhead 'READY TO GO'
201endif