Extract Distiller by AreYouKidden🐲
Description: Add all extracts in backpack to be distilled, run the script, target your storage shelf for empty pots, and your aspect book to add the distilled extracts back into and run the script.
1@setvar 'PauseTime' 750
2if not find 'StorageShelf' 'ground'
3 setvar 'StorageShelf'
4endif
5if not find 'AspectBook'
6 setvar 'AspectBook'
7endif
8@removelist 'AspectColor'
9@removelist 'PageFlip'
10@removelist 'GumpButton'
11@createlist 'AspectColor'
12@createlist 'PageFlip'
13@createlist 'GumpButton'
14//air
15pushlist 'AspectColor' '2263' 'back'
16pushlist 'PageFlip' '1' 'front'
17pushlist 'GumpButton' '207' 'front'
18//artisan
19pushlist 'AspectColor' '2096' 'back'
20pushlist 'PageFlip' '1' 'front'
21pushlist 'GumpButton' '208' 'front'
22//blood
23pushlist 'AspectColor' '2087' 'back'
24pushlist 'PageFlip' '1' 'front'
25pushlist 'GumpButton' '209' 'front'
26//command
27pushlist 'AspectColor' '1782' 'back'
28pushlist 'PageFlip' '2' 'front'
29pushlist 'GumpButton' '200' 'front'
30//death
31pushlist 'AspectColor' '2155' 'back'
32pushlist 'PageFlip' '2' 'front'
33pushlist 'GumpButton' '201' 'front'
34//discipline
35pushlist 'AspectColor' '2490' 'back'
36pushlist 'PageFlip' '2' 'front'
37pushlist 'GumpButton' '202' 'front'
38//Earth
39pushlist 'AspectColor' '2767' 'back'
40pushlist 'PageFlip' '2' 'front'
41pushlist 'GumpButton' '203' 'front'
42//Eldritch
43pushlist 'AspectColor' '2615' 'back'
44pushlist 'PageFlip' '2' 'front'
45pushlist 'GumpButton' '204' 'front'
46//Fire
47pushlist 'AspectColor' '2635' 'back'
48pushlist 'PageFlip' '2' 'front'
49pushlist 'GumpButton' '205' 'front'
50//Fortune
51pushlist 'AspectColor' '2843' 'back'
52pushlist 'PageFlip' '2' 'front'
53pushlist 'GumpButton' '206' 'front'
54//Holy
55pushlist 'AspectColor' '2153' 'back'
56pushlist 'PageFlip' '2' 'front'
57pushlist 'GumpButton' '207' 'front'
58//Lyric
59pushlist 'AspectColor' '2241' 'back'
60pushlist 'PageFlip' '2' 'front'
61pushlist 'GumpButton' '208' 'front'
62//Poison
63pushlist 'AspectColor' '2897' 'back'
64pushlist 'PageFlip' '2' 'front'
65pushlist 'GumpButton' '209' 'front'
66//Shadow
67pushlist 'AspectColor' '1790' 'back'
68pushlist 'PageFlip' '3' 'front'
69pushlist 'GumpButton' '200' 'front'
70//Void
71pushlist 'AspectColor' '2599' 'back'
72pushlist 'PageFlip' '3' 'front'
73pushlist 'GumpButton' '201' 'front'
74//Water
75pushlist 'AspectColor' '1788' 'back'
76pushlist 'PageFlip' '3' 'front'
77pushlist 'GumpButton' '202' 'front'
78
79foreach 'a' in 'AspectColor'
80 @setvar 'AColor' 'a'
81 overhead 'AColor' 'AColor'
82 while counttype '0xefc' 'backpack' 'a'
83 //check bottles
84 if counttype '0xf0e' 'backpack' '0' = 0
85 menu 'StorageShelf' 1
86 pause 'PauseTime'
87 endif
88 dclicktype '0xe9b'
89 pause 200
90 waitforgump 949095101
91 gumpresponse 108
92 foreach 'b' in 'PageFlip'
93 @setvar 'PageFlips' 'b'
94 endfor
95 if 'PageFlips' = 1
96 waitforgump 949095101
97 gumpresponse 11
98 endif
99 if 'PageFlips' = 2
100 for 2
101 waitforgump 949095101
102 gumpresponse 11
103 endfor
104 endif
105 if 'PageFlips' = 3
106 for 3
107 waitforgump 949095101
108 gumpresponse 11
109 endfor
110 endif
111 foreach 'c' in 'GumpButton'
112 @setvar 'Button' 'c'
113 endfor
114 waitforgump 949095101
115 gumpresponse 'Button'
116 pause 3000
117 endwhile
118 if findtype '0x4516' self any any 1 as Distil
119 lift Distil 9999
120 drop 'AspectBook' -1 -1 0
121 wait 'PauseTime'
122 endif
123 poplist 'PageFlip' back
124 poplist 'GumpButton' back
125endfor