Created: 11/17/2022, 02:43:28 AM Updated: 12/09/2022, 11:21:31 AM View Change History
1
2
3
4
5@setvar! globalTimeout 650
6
7if not varexist jootbag or not find jootbag backpack
8 if counttype "bag" backpack = 1 and findtype "bag" backpack as lootbag
9 overhead "Automatically setting to bag"
10 @setvar! jootbag lootbag
11 else
12 overhead "Select your loot bag"
13 @setvar! jootbag
14 endif
15endif
16
17clearsysmsg
18
19if findtype "reagent satchel" self as jatchel
20 overhead "Organize Satchel" 88
21 menu jatchel 0
22endif
23
24lift jootbag
25drop backpack 0 0 0
26wait globalTimeout
27if jootbag = self
28
29else
30 dclick jootbag
31 wait 200
32endif
33
34@clearignore
35while findtype "pouch" backpack 0 as item
36 overhead "Organize Open Pouches" 77
37 lift item
38 drop jootbag 0 0 0
39 wait globalTimeout
40 if insysmsg "you may pick up an item from here"
41
42 else
43 @ignore item
44 endif
45endwhile
46
47while findtype "pouch" backpack 38 as item
48 overhead "Organize Trapped Pouches" 38
49 lift item
50 drop jootbag 0 0 0
51 wait globalTimeout
52 if insysmsg "you may pick up an item from here"
53
54 else
55 @ignore item
56 endif
57endwhile
58
59while findtype "Purple Potion" backpack as item
60 overhead "Organize Purple Potions" 118
61 lift item 60000
62 drop jootbag 53 68 0
63 wait globalTimeout
64 if insysmsg "you may pick up an item from here"
65
66 else
67 @ignore item
68 endif
69endwhile
70
71
72while findtype "Orange Potion" backpack as item
73 overhead "Organize Orange Potions" 48
74 lift item 60000
75 drop jootbag 58 68 0
76 wait globalTimeout
77 if insysmsg "you may pick up an item from here"
78
79 else
80 @ignore item
81 endif
82endwhile
83
84while findtype "Red Potion" backpack as item
85 overhead "Organize Red Potions" 33
86 lift item 60000
87 drop jootbag 63 68 0
88 wait globalTimeout
89 if insysmsg "you may pick up an item from here"
90
91 else
92 @ignore item
93 endif
94endwhile
95
96while findtype "Yellow Potion" backpack as item
97 overhead "Organize Yellow Potions" 53
98 lift item 60000
99 drop jootbag 68 68 0
100 wait globalTimeout
101 if insysmsg "you may pick up an item from here"
102
103 else
104 @ignore item
105 endif
106endwhile
107
108while findtype "White Potion" backpack as item
109 overhead "Organize White Potions" 0
110 lift item 60000
111 drop jootbag 73 68 0
112 wait globalTimeout
113 if insysmsg "you may pick up an item from here"
114
115 else
116 @ignore item
117 endif
118endwhile
119
120while findtype "Black Potion" backpack as item
121 overhead "Organize Black Potions" 1
122 lift item 60000
123 drop jootbag 78 68 0
124 wait globalTimeout
125 if insysmsg "you may pick up an item from here"
126
127 else
128 @ignore item
129 endif
130endwhile
131
132while findtype "tray" backpack as item
133 overhead "Organize Food Tray" 66
134 lift item 60000
135 drop jootbag 93 68 0
136 wait globalTimeout
137 if insysmsg "you may pick up an item from here"
138
139 else
140 @ignore item
141 endif
142endwhile
143
144
145while findtype 3713 backpack as item
146 overhead "Organize Crook" 77
147 lift item 60000
148 drop jootbag 37 66 0
149 wait globalTimeout
150 if insysmsg "you may pick up an item from here"
151
152 else
153 @ignore item
154 endif
155endwhile
156
157
158while findtype "clean bandage%s%" backpack as item
159 overhead "Organize Aids" 88
160 lift item 60000
161 drop jootbag 45 70 0
162 wait globalTimeout
163 if insysmsg "you may pick up an item from here"
164
165 else
166 @ignore item
167 endif
168endwhile
169
170@clearignore