Created: 04/13/2023, 02:00:15 AM Updated: 04/13/2023, 02:43:58 PM View Change History
1
2
3
4
5
6
7
8
9
10
11
12
13sysmsg ">>> Automated Alchemy Societies Crafting Queue <<<" 88
14sysmsg "> v1.1.0 | Generated @ 4/13/2023 9:43:52 AM CST <" 68
15sysmsg ">>> by youtube.com/Jaseowns <<<" 88
16
17
18
19
20
21@setvar! waitForMeToEnterQuanityValues 1
22
23
24
25
26
27
28
29
30
31
32
33
34@setvar! globalTimeout 650
35
36@setvar! craftingQueueQtyGump 3239880667
37@setvar! resourceStockPileGump 1859005118
38@setvar! craftingQueueGump 453554062
39@setvar! craftingSelectionGump 949095101
40@setvar! jobsGump 1554294796
41
42
43
44
45gumpclose 1554294796
46while not gumpexists 1554294796
47 say '[jobs'
48 wait 200
49endwhile
50gumpresponse 12 1554294796
51waitforgump 1554294796 5000
52
53
54
55
56gumpclose 453554062
57while not gumpexists 453554062
58 say '[cq'
59 wait 200
60endwhile
61
62
63gumpresponse 5 453554062
64wait 200
65
66if insysmsg "You are already at the maximum number of crafting queues allowed."
67 overhead "We need you to delete a queue" 34
68 sysmsg "We need you to delete a queue" 34
69 gumpclose 1554294796
70 wait 5000
71 replay
72endif
73
74
75removelist jaseowns_hue_page_flips
76createlist jaseowns_hue_page_flips
77
78removelist jaseowns_exceptional
79createlist jaseowns_exceptional
80
81removelist jaseowns_crafting_page
82createlist jaseowns_crafting_page
83
84removelist jaseowns_category
85createlist jaseowns_category
86
87removelist jaseowns_item
88createlist jaseowns_item
89
90removelist jaseowns
91createlist jaseowns
92
93removelist socpageone
94createlist socpageone
95
96removelist socpagetwo
97createlist socpagetwo
98
99removelist socpagethree
100createlist socpagethree
101
102removelist socpagefour
103createlist socpagefour
104
105for 4
106
107
108if ingump "Heal" 1554294796
109
110 if ingump "Greater Heal Potion" 1554294796
111 if inlist jaseowns "Greater Heal Potion""
112 else
113
114 if index = 0
115 pushlist socpageone "Greater Heal Potion"
116 elseif index = 1
117 pushlist socpagetwo "Greater Heal Potion"
118 elseif index = 2
119 pushlist socpagethree "Greater Heal Potion"
120 else
121 pushlist socpagefour "Greater Heal Potion"
122 endif
123 pushlist jaseowns_hue_page_flips 0
124 pushlist jaseowns_exceptional 0
125 pushlist jaseowns_crafting_page 8
126 pushlist jaseowns_category 100
127 pushlist jaseowns_item 403
128 pushlist jaseowns "Greater Heal Potion"
129
130 endif
131
132
133 elseif ingump "Lesser Heal Potion" 1554294796
134 if inlist jaseowns "Lesser Heal Potion""
135 else
136
137 if index = 0
138 pushlist socpageone "Lesser Heal Potion"
139 elseif index = 1
140 pushlist socpagetwo "Lesser Heal Potion"
141 elseif index = 2
142 pushlist socpagethree "Lesser Heal Potion"
143 else
144 pushlist socpagefour "Lesser Heal Potion"
145 endif
146 pushlist jaseowns_hue_page_flips 0
147 pushlist jaseowns_exceptional 0
148 pushlist jaseowns_crafting_page 8
149 pushlist jaseowns_category 100
150 pushlist jaseowns_item 400
151 pushlist jaseowns "Lesser Heal Potion"
152
153 endif
154
155
156 elseif ingump "Heal Potion" 1554294796
157 if inlist jaseowns "Heal Potion""
158 else
159
160 if index = 0
161 pushlist socpageone "Heal Potion"
162 elseif index = 1
163 pushlist socpagetwo "Heal Potion"
164 elseif index = 2
165 pushlist socpagethree "Heal Potion"
166 else
167 pushlist socpagefour "Heal Potion"
168 endif
169 pushlist jaseowns_hue_page_flips 0
170 pushlist jaseowns_exceptional 0
171 pushlist jaseowns_crafting_page 8
172 pushlist jaseowns_category 100
173 pushlist jaseowns_item 401
174 pushlist jaseowns "Heal Potion"
175
176 endif
177
178
179 endif
180endif
181if ingump "Cure" 1554294796
182
183 if ingump "Greater Cure Potion" 1554294796
184 if inlist jaseowns "Greater Cure Potion""
185 else
186
187 if index = 0
188 pushlist socpageone "Greater Cure Potion"
189 elseif index = 1
190 pushlist socpagetwo "Greater Cure Potion"
191 elseif index = 2
192 pushlist socpagethree "Greater Cure Potion"
193 else
194 pushlist socpagefour "Greater Cure Potion"
195 endif
196 pushlist jaseowns_hue_page_flips 0
197 pushlist jaseowns_exceptional 0
198 pushlist jaseowns_crafting_page 8
199 pushlist jaseowns_category 101
200 pushlist jaseowns_item 403
201 pushlist jaseowns "Greater Cure Potion"
202
203 endif
204
205
206 elseif ingump "Lesser Cure Potion" 1554294796
207 if inlist jaseowns "Lesser Cure Potion""
208 else
209
210 if index = 0
211 pushlist socpageone "Lesser Cure Potion"
212 elseif index = 1
213 pushlist socpagetwo "Lesser Cure Potion"
214 elseif index = 2
215 pushlist socpagethree "Lesser Cure Potion"
216 else
217 pushlist socpagefour "Lesser Cure Potion"
218 endif
219 pushlist jaseowns_hue_page_flips 0
220 pushlist jaseowns_exceptional 0
221 pushlist jaseowns_crafting_page 8
222 pushlist jaseowns_category 101
223 pushlist jaseowns_item 400
224 pushlist jaseowns "Lesser Cure Potion"
225
226 endif
227
228
229 elseif ingump "Cure Potion" 1554294796
230 if inlist jaseowns "Cure Potion""
231 else
232
233 if index = 0
234 pushlist socpageone "Cure Potion"
235 elseif index = 1
236 pushlist socpagetwo "Cure Potion"
237 elseif index = 2
238 pushlist socpagethree "Cure Potion"
239 else
240 pushlist socpagefour "Cure Potion"
241 endif
242 pushlist jaseowns_hue_page_flips 0
243 pushlist jaseowns_exceptional 0
244 pushlist jaseowns_crafting_page 8
245 pushlist jaseowns_category 101
246 pushlist jaseowns_item 401
247 pushlist jaseowns "Cure Potion"
248
249 endif
250
251
252 endif
253endif
254if ingump "Refresh" 1554294796
255
256 if ingump "Total Refresh Potion" 1554294796
257 if inlist jaseowns "Total Refresh Potion""
258 else
259
260 if index = 0
261 pushlist socpageone "Total Refresh Potion"
262 elseif index = 1
263 pushlist socpagetwo "Total Refresh Potion"
264 elseif index = 2
265 pushlist socpagethree "Total Refresh Potion"
266 else
267 pushlist socpagefour "Total Refresh Potion"
268 endif
269 pushlist jaseowns_hue_page_flips 0
270 pushlist jaseowns_exceptional 0
271 pushlist jaseowns_crafting_page 8
272 pushlist jaseowns_category 102
273 pushlist jaseowns_item 402
274 pushlist jaseowns "Total Refresh Potion"
275
276 endif
277
278
279 elseif ingump "Refresh Potion" 1554294796
280 if inlist jaseowns "Refresh Potion""
281 else
282
283 if index = 0
284 pushlist socpageone "Refresh Potion"
285 elseif index = 1
286 pushlist socpagetwo "Refresh Potion"
287 elseif index = 2
288 pushlist socpagethree "Refresh Potion"
289 else
290 pushlist socpagefour "Refresh Potion"
291 endif
292 pushlist jaseowns_hue_page_flips 0
293 pushlist jaseowns_exceptional 0
294 pushlist jaseowns_crafting_page 8
295 pushlist jaseowns_category 102
296 pushlist jaseowns_item 400
297 pushlist jaseowns "Refresh Potion"
298
299 endif
300
301
302 endif
303endif
304if ingump "Strength" 1554294796
305
306 if ingump "Greater Strength Potion" 1554294796
307 if inlist jaseowns "Greater Strength Potion""
308 else
309
310 if index = 0
311 pushlist socpageone "Greater Strength Potion"
312 elseif index = 1
313 pushlist socpagetwo "Greater Strength Potion"
314 elseif index = 2
315 pushlist socpagethree "Greater Strength Potion"
316 else
317 pushlist socpagefour "Greater Strength Potion"
318 endif
319 pushlist jaseowns_hue_page_flips 0
320 pushlist jaseowns_exceptional 0
321 pushlist jaseowns_crafting_page 8
322 pushlist jaseowns_category 103
323 pushlist jaseowns_item 402
324 pushlist jaseowns "Greater Strength Potion"
325
326 endif
327
328
329 elseif ingump "Strength Potion" 1554294796
330 if inlist jaseowns "Strength Potion""
331 else
332
333 if index = 0
334 pushlist socpageone "Strength Potion"
335 elseif index = 1
336 pushlist socpagetwo "Strength Potion"
337 elseif index = 2
338 pushlist socpagethree "Strength Potion"
339 else
340 pushlist socpagefour "Strength Potion"
341 endif
342 pushlist jaseowns_hue_page_flips 0
343 pushlist jaseowns_exceptional 0
344 pushlist jaseowns_crafting_page 8
345 pushlist jaseowns_category 103
346 pushlist jaseowns_item 400
347 pushlist jaseowns "Strength Potion"
348
349 endif
350
351
352 endif
353endif
354if ingump "Agility" 1554294796
355
356 if ingump "Greater Agility Potion" 1554294796
357 if inlist jaseowns "Greater Agility Potion""
358 else
359
360 if index = 0
361 pushlist socpageone "Greater Agility Potion"
362 elseif index = 1
363 pushlist socpagetwo "Greater Agility Potion"
364 elseif index = 2
365 pushlist socpagethree "Greater Agility Potion"
366 else
367 pushlist socpagefour "Greater Agility Potion"
368 endif
369 pushlist jaseowns_hue_page_flips 0
370 pushlist jaseowns_exceptional 0
371 pushlist jaseowns_crafting_page 8
372 pushlist jaseowns_category 104
373 pushlist jaseowns_item 402
374 pushlist jaseowns "Greater Agility Potion"
375
376 endif
377
378
379 elseif ingump "Agility Potion" 1554294796
380 if inlist jaseowns "Agility Potion""
381 else
382
383 if index = 0
384 pushlist socpageone "Agility Potion"
385 elseif index = 1
386 pushlist socpagetwo "Agility Potion"
387 elseif index = 2
388 pushlist socpagethree "Agility Potion"
389 else
390 pushlist socpagefour "Agility Potion"
391 endif
392 pushlist jaseowns_hue_page_flips 0
393 pushlist jaseowns_exceptional 0
394 pushlist jaseowns_crafting_page 8
395 pushlist jaseowns_category 104
396 pushlist jaseowns_item 400
397 pushlist jaseowns "Agility Potion"
398
399 endif
400
401
402 endif
403endif
404if ingump "Magic" 1554294796
405
406 if ingump "Greater Magic Resist Potion" 1554294796
407 if inlist jaseowns "Greater Magic Resist Potion""
408 else
409
410 if index = 0
411 pushlist socpageone "Greater Magic Resist Potion"
412 elseif index = 1
413 pushlist socpagetwo "Greater Magic Resist Potion"
414 elseif index = 2
415 pushlist socpagethree "Greater Magic Resist Potion"
416 else
417 pushlist socpagefour "Greater Magic Resist Potion"
418 endif
419 pushlist jaseowns_hue_page_flips 0
420 pushlist jaseowns_exceptional 0
421 pushlist jaseowns_crafting_page 8
422 pushlist jaseowns_category 105
423 pushlist jaseowns_item 403
424 pushlist jaseowns "Greater Magic Resist Potion"
425
426 endif
427
428
429 elseif ingump "Lesser Magic Resist Potion" 1554294796
430 if inlist jaseowns "Lesser Magic Resist Potion""
431 else
432
433 if index = 0
434 pushlist socpageone "Lesser Magic Resist Potion"
435 elseif index = 1
436 pushlist socpagetwo "Lesser Magic Resist Potion"
437 elseif index = 2
438 pushlist socpagethree "Lesser Magic Resist Potion"
439 else
440 pushlist socpagefour "Lesser Magic Resist Potion"
441 endif
442 pushlist jaseowns_hue_page_flips 0
443 pushlist jaseowns_exceptional 0
444 pushlist jaseowns_crafting_page 8
445 pushlist jaseowns_category 105
446 pushlist jaseowns_item 400
447 pushlist jaseowns "Lesser Magic Resist Potion"
448
449 endif
450
451
452 elseif ingump "Magic Resist Potion" 1554294796
453 if inlist jaseowns "Magic Resist Potion""
454 else
455
456 if index = 0
457 pushlist socpageone "Magic Resist Potion"
458 elseif index = 1
459 pushlist socpagetwo "Magic Resist Potion"
460 elseif index = 2
461 pushlist socpagethree "Magic Resist Potion"
462 else
463 pushlist socpagefour "Magic Resist Potion"
464 endif
465 pushlist jaseowns_hue_page_flips 0
466 pushlist jaseowns_exceptional 0
467 pushlist jaseowns_crafting_page 8
468 pushlist jaseowns_category 105
469 pushlist jaseowns_item 401
470 pushlist jaseowns "Magic Resist Potion"
471
472 endif
473
474
475 endif
476endif
477if ingump "Poison" 1554294796
478
479 if ingump "Lethal Poison Potion" 1554294796
480 if inlist jaseowns "Lethal Poison Potion""
481 else
482
483 if index = 0
484 pushlist socpageone "Lethal Poison Potion"
485 elseif index = 1
486 pushlist socpagetwo "Lethal Poison Potion"
487 elseif index = 2
488 pushlist socpagethree "Lethal Poison Potion"
489 else
490 pushlist socpagefour "Lethal Poison Potion"
491 endif
492 pushlist jaseowns_hue_page_flips 0
493 pushlist jaseowns_exceptional 0
494 pushlist jaseowns_crafting_page 8
495 pushlist jaseowns_category 106
496 pushlist jaseowns_item 407
497 pushlist jaseowns "Lethal Poison Potion"
498
499 endif
500
501
502 elseif ingump "Deadly Poison Potion" 1554294796
503 if inlist jaseowns "Deadly Poison Potion""
504 else
505
506 if index = 0
507 pushlist socpageone "Deadly Poison Potion"
508 elseif index = 1
509 pushlist socpagetwo "Deadly Poison Potion"
510 elseif index = 2
511 pushlist socpagethree "Deadly Poison Potion"
512 else
513 pushlist socpagefour "Deadly Poison Potion"
514 endif
515 pushlist jaseowns_hue_page_flips 0
516 pushlist jaseowns_exceptional 0
517 pushlist jaseowns_crafting_page 8
518 pushlist jaseowns_category 106
519 pushlist jaseowns_item 405
520 pushlist jaseowns "Deadly Poison Potion"
521
522 endif
523
524
525 elseif ingump "Greater Poison Potion" 1554294796
526 if inlist jaseowns "Greater Poison Potion""
527 else
528
529 if index = 0
530 pushlist socpageone "Greater Poison Potion"
531 elseif index = 1
532 pushlist socpagetwo "Greater Poison Potion"
533 elseif index = 2
534 pushlist socpagethree "Greater Poison Potion"
535 else
536 pushlist socpagefour "Greater Poison Potion"
537 endif
538 pushlist jaseowns_hue_page_flips 0
539 pushlist jaseowns_exceptional 0
540 pushlist jaseowns_crafting_page 8
541 pushlist jaseowns_category 106
542 pushlist jaseowns_item 403
543 pushlist jaseowns "Greater Poison Potion"
544
545 endif
546
547
548 elseif ingump "Lesser Poison Potion" 1554294796
549 if inlist jaseowns "Lesser Poison Potion""
550 else
551
552 if index = 0
553 pushlist socpageone "Lesser Poison Potion"
554 elseif index = 1
555 pushlist socpagetwo "Lesser Poison Potion"
556 elseif index = 2
557 pushlist socpagethree "Lesser Poison Potion"
558 else
559 pushlist socpagefour "Lesser Poison Potion"
560 endif
561 pushlist jaseowns_hue_page_flips 0
562 pushlist jaseowns_exceptional 0
563 pushlist jaseowns_crafting_page 8
564 pushlist jaseowns_category 106
565 pushlist jaseowns_item 400
566 pushlist jaseowns "Lesser Poison Potion"
567
568 endif
569
570
571 elseif ingump "Poison Potion" 1554294796
572 if inlist jaseowns "Poison Potion""
573 else
574
575 if index = 0
576 pushlist socpageone "Poison Potion"
577 elseif index = 1
578 pushlist socpagetwo "Poison Potion"
579 elseif index = 2
580 pushlist socpagethree "Poison Potion"
581 else
582 pushlist socpagefour "Poison Potion"
583 endif
584 pushlist jaseowns_hue_page_flips 0
585 pushlist jaseowns_exceptional 0
586 pushlist jaseowns_crafting_page 8
587 pushlist jaseowns_category 106
588 pushlist jaseowns_item 401
589 pushlist jaseowns "Poison Potion"
590
591 endif
592
593
594 endif
595endif
596if ingump "Explosion" 1554294796
597
598 if ingump "Greater Explosion Potion" 1554294796
599 if inlist jaseowns "Greater Explosion Potion""
600 else
601
602 if index = 0
603 pushlist socpageone "Greater Explosion Potion"
604 elseif index = 1
605 pushlist socpagetwo "Greater Explosion Potion"
606 elseif index = 2
607 pushlist socpagethree "Greater Explosion Potion"
608 else
609 pushlist socpagefour "Greater Explosion Potion"
610 endif
611 pushlist jaseowns_hue_page_flips 0
612 pushlist jaseowns_exceptional 0
613 pushlist jaseowns_crafting_page 8
614 pushlist jaseowns_category 107
615 pushlist jaseowns_item 403
616 pushlist jaseowns "Greater Explosion Potion"
617
618 endif
619
620
621 elseif ingump "Lesser Explosion Potion" 1554294796
622 if inlist jaseowns "Lesser Explosion Potion""
623 else
624
625 if index = 0
626 pushlist socpageone "Lesser Explosion Potion"
627 elseif index = 1
628 pushlist socpagetwo "Lesser Explosion Potion"
629 elseif index = 2
630 pushlist socpagethree "Lesser Explosion Potion"
631 else
632 pushlist socpagefour "Lesser Explosion Potion"
633 endif
634 pushlist jaseowns_hue_page_flips 0
635 pushlist jaseowns_exceptional 0
636 pushlist jaseowns_crafting_page 8
637 pushlist jaseowns_category 107
638 pushlist jaseowns_item 400
639 pushlist jaseowns "Lesser Explosion Potion"
640
641 endif
642
643
644 elseif ingump "Explosion Potion" 1554294796
645 if inlist jaseowns "Explosion Potion""
646 else
647
648 if index = 0
649 pushlist socpageone "Explosion Potion"
650 elseif index = 1
651 pushlist socpagetwo "Explosion Potion"
652 elseif index = 2
653 pushlist socpagethree "Explosion Potion"
654 else
655 pushlist socpagefour "Explosion Potion"
656 endif
657 pushlist jaseowns_hue_page_flips 0
658 pushlist jaseowns_exceptional 0
659 pushlist jaseowns_crafting_page 8
660 pushlist jaseowns_category 107
661 pushlist jaseowns_item 401
662 pushlist jaseowns "Explosion Potion"
663
664 endif
665
666
667 endif
668endif
669if ingump "Society" 1554294796
670
671 if ingump "Fungicide" 1554294796
672 if inlist jaseowns "Fungicide""
673 else
674
675 if index = 0
676 pushlist socpageone "Fungicide"
677 elseif index = 1
678 pushlist socpagetwo "Fungicide"
679 elseif index = 2
680 pushlist socpagethree "Fungicide"
681 else
682 pushlist socpagefour "Fungicide"
683 endif
684 pushlist jaseowns_hue_page_flips 0
685 pushlist jaseowns_exceptional 0
686 pushlist jaseowns_crafting_page 8
687 pushlist jaseowns_category 109
688 pushlist jaseowns_item 400
689 pushlist jaseowns "Fungicide"
690
691 endif
692
693
694 elseif ingump "Superior Growth Serum" 1554294796
695 if inlist jaseowns "Superior Growth Serum""
696 else
697
698 if index = 0
699 pushlist socpageone "Superior Growth Serum"
700 elseif index = 1
701 pushlist socpagetwo "Superior Growth Serum"
702 elseif index = 2
703 pushlist socpagethree "Superior Growth Serum"
704 else
705 pushlist socpagefour "Superior Growth Serum"
706 endif
707 pushlist jaseowns_hue_page_flips 0
708 pushlist jaseowns_exceptional 0
709 pushlist jaseowns_crafting_page 8
710 pushlist jaseowns_category 109
711 pushlist jaseowns_item 401
712 pushlist jaseowns "Superior Growth Serum"
713
714 endif
715
716
717 endif
718endif
719if ingump "Society" 1554294796
720
721 if ingump "Superior Fertility Serum" 1554294796
722 if inlist jaseowns "Superior Fertility Serum""
723 else
724
725 if index = 0
726 pushlist socpageone "Superior Fertility Serum"
727 elseif index = 1
728 pushlist socpagetwo "Superior Fertility Serum"
729 elseif index = 2
730 pushlist socpagethree "Superior Fertility Serum"
731 else
732 pushlist socpagefour "Superior Fertility Serum"
733 endif
734 pushlist jaseowns_hue_page_flips 0
735 pushlist jaseowns_exceptional 0
736 pushlist jaseowns_crafting_page 9
737 pushlist jaseowns_category 100
738 pushlist jaseowns_item 400
739 pushlist jaseowns "Superior Fertility Serum"
740
741 endif
742
743
744 endif
745endif
746 gumpresponse 4 1554294796
747 waitforgump 1554294796 5000
748endfor
749
750
751
752
753
754gumpclose craftingSelectionGump
755
756if findtype "resource container" ground -1 -1 2 as resources
757 while not gumpexists resourceStockPileGump
758 dclick resources
759 waitforgump resourceStockPileGump 5000
760 endwhile
761 gumpresponse 7 resourceStockPileGump
762 waitforgump resourceStockPileGump 5000
763 while not gumpexists craftingSelectionGump
764 gumpresponse 100 resourceStockPileGump
765 waitforgump craftingSelectionGump 5000
766 endwhile
767elseif findtype 3997 backpack 0 as kit
768 dclick kit
769 waitforgump craftingSelectionGump 5000
770endif
771
772if gumpexists craftingSelectionGump
773
774else
775 overhead "Unable to create queue.. need resource stockpile or tailoring kit" 34
776 sysmsg "Unable to create queue.. need resource stockpile or tailoring kit" 34
777 stop
778endif
779
780foreach name in jaseowns
781 overhead "{{index}}: {{name}}" index
782
783 @setvar! craftingGumpNeedsExceptional 0
784 @setvar! tailorCategoryPageGumpResponse 0
785 @setvar! tailorCategoryGumpResponse 0
786 @setvar! tailorItemGumpResponse 0
787 @setvar! tailorHuePageFlips 0
788
789 if atlist jaseowns_hue_page_flips index as huePageFlips
790 @setvar! tailorHuePageFlips huePageFlips
791 endif
792 if atlist jaseowns_exceptional index as exceptional
793 @setvar! craftingGumpNeedsExceptional exceptional
794 endif
795 if atlist jaseowns_crafting_page index as page
796 @setvar! tailorCategoryPageGumpResponse page
797 endif
798 if atlist jaseowns_category index as category
799 @setvar! tailorCategoryGumpResponse category
800 endif
801 if atlist jaseowns_item index as item
802 @setvar! tailorItemGumpResponse item
803 endif
804
805 if tailorItemGumpResponse = 0
806 overhead "We could not find the tailor item gump response" 34
807 stop
808 endif
809
810 if tailorCategoryGumpResponse = 0
811 overhead "We could not find the tailor category gump response" 34
812 stop
813 endif
814
815 gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump
816 waitforgump craftingSelectionGump 5000
817 gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump
818 waitforgump craftingSelectionGump 5000
819
820 gumpresponse 110 craftingSelectionGump
821 waitforgump craftingSelectionGump 5000
822
823
824 if tailorHuePageFlips = 10
825 for 10
826 gumpresponse 13 craftingSelectionGump
827 waitforgump craftingSelectionGump 5000
828 endfor
829 elseif tailorHuePageFlips = 9
830 for 9
831 gumpresponse 13 craftingSelectionGump
832 waitforgump craftingSelectionGump 5000
833 endfor
834 elseif tailorHuePageFlips = 8
835 for 8
836 gumpresponse 13 craftingSelectionGump
837 waitforgump craftingSelectionGump 5000
838 endfor
839 elseif tailorHuePageFlips = 7
840 for 7
841 gumpresponse 13 craftingSelectionGump
842 waitforgump craftingSelectionGump 5000
843 endfor
844 elseif tailorHuePageFlips = 6
845 for 6
846 gumpresponse 13 craftingSelectionGump
847 waitforgump craftingSelectionGump 5000
848 endfor
849 elseif tailorHuePageFlips = 5
850 for 5
851 gumpresponse 13 craftingSelectionGump
852 waitforgump craftingSelectionGump 5000
853 endfor
854 elseif tailorHuePageFlips = 4
855 for 4
856 gumpresponse 13 craftingSelectionGump
857 waitforgump craftingSelectionGump 5000
858 endfor
859 elseif tailorHuePageFlips = 3
860 for 3
861 gumpresponse 13 craftingSelectionGump
862 waitforgump craftingSelectionGump 5000
863 endfor
864 elseif tailorHuePageFlips = 2
865 for 2
866 gumpresponse 13 craftingSelectionGump
867 waitforgump craftingSelectionGump 5000
868 endfor
869 elseif tailorHuePageFlips = 1
870 for 1
871 gumpresponse 13 craftingSelectionGump
872 waitforgump craftingSelectionGump 5000
873 endfor
874 endif
875
876 gumpresponse tailorCategoryGumpResponse craftingSelectionGump
877 waitforgump craftingSelectionGump 5000
878 gumpresponse tailorItemGumpResponse craftingSelectionGump
879 waitforgump craftingSelectionGump 5000
880
881
882 if tailorHuePageFlips = 10
883 for 10
884 gumpresponse 12 craftingSelectionGump
885 waitforgump craftingSelectionGump 5000
886 endfor
887 elseif tailorHuePageFlips = 9
888 for 9
889 gumpresponse 12 craftingSelectionGump
890 waitforgump craftingSelectionGump 5000
891 endfor
892 elseif tailorHuePageFlips = 8
893 for 8
894 gumpresponse 12 craftingSelectionGump
895 waitforgump craftingSelectionGump 5000
896 endfor
897 elseif tailorHuePageFlips = 7
898 for 7
899 gumpresponse 12 craftingSelectionGump
900 waitforgump craftingSelectionGump 5000
901 endfor
902 elseif tailorHuePageFlips = 6
903 for 6
904 gumpresponse 12 craftingSelectionGump
905 waitforgump craftingSelectionGump 5000
906 endfor
907 elseif tailorHuePageFlips = 5
908 for 5
909 gumpresponse 12 craftingSelectionGump
910 waitforgump craftingSelectionGump 5000
911 endfor
912 elseif tailorHuePageFlips = 4
913 for 4
914 gumpresponse 12 craftingSelectionGump
915 waitforgump craftingSelectionGump 5000
916 endfor
917 elseif tailorHuePageFlips = 3
918 for 3
919 gumpresponse 12 craftingSelectionGump
920 waitforgump craftingSelectionGump 5000
921 endfor
922 elseif tailorHuePageFlips = 2
923 for 2
924 gumpresponse 12 craftingSelectionGump
925 waitforgump craftingSelectionGump 5000
926 endfor
927 elseif tailorHuePageFlips = 1
928 for 1
929 gumpresponse 12 craftingSelectionGump
930 waitforgump craftingSelectionGump 5000
931 endfor
932 endif
933
934 if index = 0 or index = 1 or index = 2 or index = 3 or index = 4
935 if ingump "page" 453554062
936 while not ingump "1/" 453554062
937 gumpresponse 8 453554062
938 waitforgump 453554062 5000
939 endwhile
940 endif
941 elseif index = 5 or index = 6 or index = 7 or index = 8 or index = 9
942 if ingump "page" 453554062
943 while not ingump "2/" 453554062
944 gumpresponse 9 453554062
945 waitforgump 453554062 5000
946 endwhile
947 endif
948 else
949 overhead "I do not know how to handle this yet, you have too many soceities" 34
950 overhead "hit Jaseowns on discord with details" 34
951 sysmsg "unable to continue.. contact Jaseowns on discord with details" 34
952 stop
953 endif
954
955 if craftingGumpNeedsExceptional = 1
956 if index = 0 or index = 5
957 gumpresponse 500 453554062
958 elseif index = 1 or index = 6
959 gumpresponse 501 453554062
960 elseif index = 2 or index = 7
961 gumpresponse 502 453554062
962 elseif index = 3 or index = 8
963 gumpresponse 503 453554062
964 elseif index = 4 or index = 9
965 gumpresponse 504 453554062
966 endif
967 waitforgump 453554062 5000
968 sysmsg "Setting as exceptional.." 88
969 gumpresponse 3 craftingQueueQtyGump
970 waitforgump craftingQueueQtyGump 5000
971 gumpresponse 5 craftingQueueQtyGump
972 waitforgump 453554062 5000
973 endif
974
975 if waitForMeToEnterQuanityValues = 1
976 wait 1000
977 if index = 0 or index = 5
978 gumpresponse 500 453554062
979 elseif index = 1 or index = 6
980 gumpresponse 501 453554062
981 elseif index = 2 or index = 7
982 gumpresponse 502 453554062
983 elseif index = 3 or index = 8
984 gumpresponse 503 453554062
985 elseif index = 4 or index = 9
986 gumpresponse 504 453554062
987 endif
988 waitforgump craftingQueueQtyGump 5000
989
990
991
992
993 gumpclose 1554294796
994 while not gumpexists 1554294796
995 say '[jobs'
996 wait 200
997 endwhile
998 gumpresponse 12 1554294796
999 waitforgump 1554294796 5000
1000
1001 @setvar! pageHelperDisplay 0
1002 if inlist socpageone name
1003 @setvar! pageHelperDisplay 1
1004 elseif inlist socpagetwo name
1005 gumpresponse 4 1554294796
1006 waitforgump 1554294796 5000
1007 @setvar! pageHelperDisplay 2
1008 elseif inlist socpagethree name
1009 gumpresponse 4 1554294796
1010 waitforgump 1554294796 5000
1011 gumpresponse 4 1554294796
1012 waitforgump 1554294796 5000
1013 @setvar! pageHelperDisplay 3
1014 elseif inlist socpagefour name
1015 gumpresponse 4 1554294796
1016 waitforgump 1554294796 5000
1017 gumpresponse 4 1554294796
1018 waitforgump 1554294796 5000
1019 gumpresponse 4 1554294796
1020 waitforgump 1554294796 5000
1021 @setvar! pageHelperDisplay 4
1022 endif
1023
1024 while gumpexists craftingQueueQtyGump
1025 overhead "Awaiting user input..." 88
1026 sysmsg "Awaiting user input..." 77
1027 sysmsg "Enter QTY of from Artificers Enclave!" 66
1028 sysmsg "Page: {{pageHelperDisplay}} >> {{name}}" 88
1029 wait 1000
1030 endwhile
1031 waitforgump 453554062 5000
1032 else
1033 wait 1000
1034 endif
1035
1036
1037 if index = 0 or index = 5
1038 gumpresponse 600 453554062
1039 waitforgump 453554062 5000
1040 elseif index = 1 or index = 6
1041 gumpresponse 601 453554062
1042 waitforgump 453554062 5000
1043 elseif index = 2 or index = 7
1044 gumpresponse 602 453554062
1045 waitforgump 453554062 5000
1046 elseif index = 3 or index = 8
1047 gumpresponse 603 453554062
1048 waitforgump 453554062 5000
1049 elseif index = 4 or index = 9
1050 gumpresponse 604 453554062
1051 waitforgump 453554062 5000
1052 endif
1053endfor
1054
1055if findtype "resource container" ground -1 -1 2 as resources
1056 wait 1000
1057 while not targetexists
1058 gumpresponse 10 craftingQueueGump
1059 wft 500
1060 endwhile
1061 target resources
1062 wait globalTimeout
1063endif
1064
1065if findtype "storage shelf" ground -1 -1 2 as jhelf
1066 wait 1000
1067 while not targetexists
1068 gumpresponse 11 craftingQueueGump
1069 wft 500
1070 endwhile
1071 target jhelf
1072 wait globalTimeout
1073endif
1074
1075sysmsg ">> QUEUE COMPLETE <<" 0
1076sysmsg "Like, follow, subscribe: YouTube.com/JASEOWNS" 88
1077say "Check out that Jaseowns Script!" 88
1078