Automatic Setup of Crafting Queue for Alchemy Societies by Jaseowns UO Outlands DISCLAIMER: This is only for Alchemy ... more to come for other societies This only sets up the queue, it does not run it. You can test this even if societies…
CraftingAlchemy
ALCHEMY Automatic Setup of Crafting Queue for Societies.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5fb0282b-036a-41e2-b99c-3365f071e1d8 for latest2# Automation by Jaseowns3## Script: ALCHEMY: Automatic Setup of Crafting Queue for Societies4## Created by: Jaseowns#66945#############################################6 7# Automatic Setup of Crafting Queue for Alchemy Societies by Jaseowns8# UO Outlands9########10#######################11###### DISCLAIMER:12###13### This is only for Alchemy ... more to come for other societies14### This only sets up the queue, it does not run it. 15### You can test this even if societies are complete16###17###################18 19sysmsg ">>> Automated Alchemy Societies Crafting Queue <<<" 8820sysmsg "> v1.1.0 | Generated @ 4/13/2023 9:43:52 AM CST <" 6821sysmsg ">>> by youtube.com/Jaseowns <<<" 8822 23#######################24###### Setting this value to 0 just creates the queue.25###### Setting this value to 1 pauses for you to enter qty as items get added.26###################27@setvar! waitForMeToEnterQuanityValues 128 29##### 30# Change Log31###32# v1.1.0 | Generated @ 4/13/2023 9:41:14 AM CST33# - Fixed references from Tailoring to Alchemy34# v1.0.0 | Generated @ 4/12/2023 8:58:45 PM CST35# - Launched for public test36 37#######################38###### You should not need to edit below this line39###################40@setvar! globalTimeout 65041 42@setvar! craftingQueueQtyGump 323988066743@setvar! resourceStockPileGump 185900511844@setvar! craftingQueueGump 45355406245@setvar! craftingSelectionGump 94909510146@setvar! jobsGump 155429479647 48############49### Bring us to Artificers Enclave50#########51gumpclose 155429479652while not gumpexists 155429479653 say '[jobs' 54 wait 20055endwhile56gumpresponse 12 155429479657waitforgump 1554294796 500058 59############60### Open crafting queue61#########62gumpclose 45355406263while not gumpexists 45355406264 say '[cq' 65 wait 20066endwhile67 68# Create a new queue69gumpresponse 5 45355406270wait 20071 72if insysmsg "You are already at the maximum number of crafting queues allowed."73 overhead "We need you to delete a queue" 3474 sysmsg "We need you to delete a queue" 3475 gumpclose 155429479676 wait 500077 replay78endif79 80 81removelist jaseowns_hue_page_flips82createlist jaseowns_hue_page_flips83 84removelist jaseowns_exceptional85createlist jaseowns_exceptional86 87removelist jaseowns_crafting_page88createlist jaseowns_crafting_page89 90removelist jaseowns_category91createlist jaseowns_category92 93removelist jaseowns_item94createlist jaseowns_item95 96removelist jaseowns97createlist jaseowns98 99removelist socpageone100createlist socpageone101 102removelist socpagetwo103createlist socpagetwo104 105removelist socpagethree106createlist socpagethree107 108removelist socpagefour109createlist socpagefour110 111for 4112 113 114if ingump "Heal" 1554294796115 116 if ingump "Greater Heal Potion" 1554294796117 if inlist jaseowns "Greater Heal Potion""118 else119 120 if index = 0121 pushlist socpageone "Greater Heal Potion"122 elseif index = 1123 pushlist socpagetwo "Greater Heal Potion"124 elseif index = 2125 pushlist socpagethree "Greater Heal Potion"126 else127 pushlist socpagefour "Greater Heal Potion"128 endif129 pushlist jaseowns_hue_page_flips 0130 pushlist jaseowns_exceptional 0131 pushlist jaseowns_crafting_page 8132 pushlist jaseowns_category 100133 pushlist jaseowns_item 403134 pushlist jaseowns "Greater Heal Potion"135 136 endif137 138 139 elseif ingump "Lesser Heal Potion" 1554294796140 if inlist jaseowns "Lesser Heal Potion""141 else142 143 if index = 0144 pushlist socpageone "Lesser Heal Potion"145 elseif index = 1146 pushlist socpagetwo "Lesser Heal Potion"147 elseif index = 2148 pushlist socpagethree "Lesser Heal Potion"149 else150 pushlist socpagefour "Lesser Heal Potion"151 endif152 pushlist jaseowns_hue_page_flips 0153 pushlist jaseowns_exceptional 0154 pushlist jaseowns_crafting_page 8155 pushlist jaseowns_category 100156 pushlist jaseowns_item 400157 pushlist jaseowns "Lesser Heal Potion"158 159 endif160 161 162 elseif ingump "Heal Potion" 1554294796163 if inlist jaseowns "Heal Potion""164 else165 166 if index = 0167 pushlist socpageone "Heal Potion"168 elseif index = 1169 pushlist socpagetwo "Heal Potion"170 elseif index = 2171 pushlist socpagethree "Heal Potion"172 else173 pushlist socpagefour "Heal Potion"174 endif175 pushlist jaseowns_hue_page_flips 0176 pushlist jaseowns_exceptional 0177 pushlist jaseowns_crafting_page 8178 pushlist jaseowns_category 100179 pushlist jaseowns_item 401180 pushlist jaseowns "Heal Potion"181 182 endif183 184 185 endif186endif187if ingump "Cure" 1554294796188 189 if ingump "Greater Cure Potion" 1554294796190 if inlist jaseowns "Greater Cure Potion""191 else192 193 if index = 0194 pushlist socpageone "Greater Cure Potion"195 elseif index = 1196 pushlist socpagetwo "Greater Cure Potion"197 elseif index = 2198 pushlist socpagethree "Greater Cure Potion"199 else200 pushlist socpagefour "Greater Cure Potion"201 endif202 pushlist jaseowns_hue_page_flips 0203 pushlist jaseowns_exceptional 0204 pushlist jaseowns_crafting_page 8205 pushlist jaseowns_category 101206 pushlist jaseowns_item 403207 pushlist jaseowns "Greater Cure Potion"208 209 endif210 211 212 elseif ingump "Lesser Cure Potion" 1554294796213 if inlist jaseowns "Lesser Cure Potion""214 else215 216 if index = 0217 pushlist socpageone "Lesser Cure Potion"218 elseif index = 1219 pushlist socpagetwo "Lesser Cure Potion"220 elseif index = 2221 pushlist socpagethree "Lesser Cure Potion"222 else223 pushlist socpagefour "Lesser Cure Potion"224 endif225 pushlist jaseowns_hue_page_flips 0226 pushlist jaseowns_exceptional 0227 pushlist jaseowns_crafting_page 8228 pushlist jaseowns_category 101229 pushlist jaseowns_item 400230 pushlist jaseowns "Lesser Cure Potion"231 232 endif233 234 235 elseif ingump "Cure Potion" 1554294796236 if inlist jaseowns "Cure Potion""237 else238 239 if index = 0240 pushlist socpageone "Cure Potion"241 elseif index = 1242 pushlist socpagetwo "Cure Potion"243 elseif index = 2244 pushlist socpagethree "Cure Potion"245 else246 pushlist socpagefour "Cure Potion"247 endif248 pushlist jaseowns_hue_page_flips 0249 pushlist jaseowns_exceptional 0250 pushlist jaseowns_crafting_page 8251 pushlist jaseowns_category 101252 pushlist jaseowns_item 401253 pushlist jaseowns "Cure Potion"254 255 endif256 257 258 endif259endif260if ingump "Refresh" 1554294796261 262 if ingump "Total Refresh Potion" 1554294796263 if inlist jaseowns "Total Refresh Potion""264 else265 266 if index = 0267 pushlist socpageone "Total Refresh Potion"268 elseif index = 1269 pushlist socpagetwo "Total Refresh Potion"270 elseif index = 2271 pushlist socpagethree "Total Refresh Potion"272 else273 pushlist socpagefour "Total Refresh Potion"274 endif275 pushlist jaseowns_hue_page_flips 0276 pushlist jaseowns_exceptional 0277 pushlist jaseowns_crafting_page 8278 pushlist jaseowns_category 102279 pushlist jaseowns_item 402280 pushlist jaseowns "Total Refresh Potion"281 282 endif283 284 285 elseif ingump "Refresh Potion" 1554294796286 if inlist jaseowns "Refresh Potion""287 else288 289 if index = 0290 pushlist socpageone "Refresh Potion"291 elseif index = 1292 pushlist socpagetwo "Refresh Potion"293 elseif index = 2294 pushlist socpagethree "Refresh Potion"295 else296 pushlist socpagefour "Refresh Potion"297 endif298 pushlist jaseowns_hue_page_flips 0299 pushlist jaseowns_exceptional 0300 pushlist jaseowns_crafting_page 8301 pushlist jaseowns_category 102302 pushlist jaseowns_item 400303 pushlist jaseowns "Refresh Potion"304 305 endif306 307 308 endif309endif310if ingump "Strength" 1554294796311 312 if ingump "Greater Strength Potion" 1554294796313 if inlist jaseowns "Greater Strength Potion""314 else315 316 if index = 0317 pushlist socpageone "Greater Strength Potion"318 elseif index = 1319 pushlist socpagetwo "Greater Strength Potion"320 elseif index = 2321 pushlist socpagethree "Greater Strength Potion"322 else323 pushlist socpagefour "Greater Strength Potion"324 endif325 pushlist jaseowns_hue_page_flips 0326 pushlist jaseowns_exceptional 0327 pushlist jaseowns_crafting_page 8328 pushlist jaseowns_category 103329 pushlist jaseowns_item 402330 pushlist jaseowns "Greater Strength Potion"331 332 endif333 334 335 elseif ingump "Strength Potion" 1554294796336 if inlist jaseowns "Strength Potion""337 else338 339 if index = 0340 pushlist socpageone "Strength Potion"341 elseif index = 1342 pushlist socpagetwo "Strength Potion"343 elseif index = 2344 pushlist socpagethree "Strength Potion"345 else346 pushlist socpagefour "Strength Potion"347 endif348 pushlist jaseowns_hue_page_flips 0349 pushlist jaseowns_exceptional 0350 pushlist jaseowns_crafting_page 8351 pushlist jaseowns_category 103352 pushlist jaseowns_item 400353 pushlist jaseowns "Strength Potion"354 355 endif356 357 358 endif359endif360if ingump "Agility" 1554294796361 362 if ingump "Greater Agility Potion" 1554294796363 if inlist jaseowns "Greater Agility Potion""364 else365 366 if index = 0367 pushlist socpageone "Greater Agility Potion"368 elseif index = 1369 pushlist socpagetwo "Greater Agility Potion"370 elseif index = 2371 pushlist socpagethree "Greater Agility Potion"372 else373 pushlist socpagefour "Greater Agility Potion"374 endif375 pushlist jaseowns_hue_page_flips 0376 pushlist jaseowns_exceptional 0377 pushlist jaseowns_crafting_page 8378 pushlist jaseowns_category 104379 pushlist jaseowns_item 402380 pushlist jaseowns "Greater Agility Potion"381 382 endif383 384 385 elseif ingump "Agility Potion" 1554294796386 if inlist jaseowns "Agility Potion""387 else388 389 if index = 0390 pushlist socpageone "Agility Potion"391 elseif index = 1392 pushlist socpagetwo "Agility Potion"393 elseif index = 2394 pushlist socpagethree "Agility Potion"395 else396 pushlist socpagefour "Agility Potion"397 endif398 pushlist jaseowns_hue_page_flips 0399 pushlist jaseowns_exceptional 0400 pushlist jaseowns_crafting_page 8401 pushlist jaseowns_category 104402 pushlist jaseowns_item 400403 pushlist jaseowns "Agility Potion"404 405 endif406 407 408 endif409endif410if ingump "Magic" 1554294796411 412 if ingump "Greater Magic Resist Potion" 1554294796413 if inlist jaseowns "Greater Magic Resist Potion""414 else415 416 if index = 0417 pushlist socpageone "Greater Magic Resist Potion"418 elseif index = 1419 pushlist socpagetwo "Greater Magic Resist Potion"420 elseif index = 2421 pushlist socpagethree "Greater Magic Resist Potion"422 else423 pushlist socpagefour "Greater Magic Resist Potion"424 endif425 pushlist jaseowns_hue_page_flips 0426 pushlist jaseowns_exceptional 0427 pushlist jaseowns_crafting_page 8428 pushlist jaseowns_category 105429 pushlist jaseowns_item 403430 pushlist jaseowns "Greater Magic Resist Potion"431 432 endif433 434 435 elseif ingump "Lesser Magic Resist Potion" 1554294796436 if inlist jaseowns "Lesser Magic Resist Potion""437 else438 439 if index = 0440 pushlist socpageone "Lesser Magic Resist Potion"441 elseif index = 1442 pushlist socpagetwo "Lesser Magic Resist Potion"443 elseif index = 2444 pushlist socpagethree "Lesser Magic Resist Potion"445 else446 pushlist socpagefour "Lesser Magic Resist Potion"447 endif448 pushlist jaseowns_hue_page_flips 0449 pushlist jaseowns_exceptional 0450 pushlist jaseowns_crafting_page 8451 pushlist jaseowns_category 105452 pushlist jaseowns_item 400453 pushlist jaseowns "Lesser Magic Resist Potion"454 455 endif456 457 458 elseif ingump "Magic Resist Potion" 1554294796459 if inlist jaseowns "Magic Resist Potion""460 else461 462 if index = 0463 pushlist socpageone "Magic Resist Potion"464 elseif index = 1465 pushlist socpagetwo "Magic Resist Potion"466 elseif index = 2467 pushlist socpagethree "Magic Resist Potion"468 else469 pushlist socpagefour "Magic Resist Potion"470 endif471 pushlist jaseowns_hue_page_flips 0472 pushlist jaseowns_exceptional 0473 pushlist jaseowns_crafting_page 8474 pushlist jaseowns_category 105475 pushlist jaseowns_item 401476 pushlist jaseowns "Magic Resist Potion"477 478 endif479 480 481 endif482endif483if ingump "Poison" 1554294796484 485 if ingump "Lethal Poison Potion" 1554294796486 if inlist jaseowns "Lethal Poison Potion""487 else488 489 if index = 0490 pushlist socpageone "Lethal Poison Potion"491 elseif index = 1492 pushlist socpagetwo "Lethal Poison Potion"493 elseif index = 2494 pushlist socpagethree "Lethal Poison Potion"495 else496 pushlist socpagefour "Lethal Poison Potion"497 endif498 pushlist jaseowns_hue_page_flips 0499 pushlist jaseowns_exceptional 0500 pushlist jaseowns_crafting_page 8501 pushlist jaseowns_category 106502 pushlist jaseowns_item 407503 pushlist jaseowns "Lethal Poison Potion"504 505 endif506 507 508 elseif ingump "Deadly Poison Potion" 1554294796509 if inlist jaseowns "Deadly Poison Potion""510 else511 512 if index = 0513 pushlist socpageone "Deadly Poison Potion"514 elseif index = 1515 pushlist socpagetwo "Deadly Poison Potion"516 elseif index = 2517 pushlist socpagethree "Deadly Poison Potion"518 else519 pushlist socpagefour "Deadly Poison Potion"520 endif521 pushlist jaseowns_hue_page_flips 0522 pushlist jaseowns_exceptional 0523 pushlist jaseowns_crafting_page 8524 pushlist jaseowns_category 106525 pushlist jaseowns_item 405526 pushlist jaseowns "Deadly Poison Potion"527 528 endif529 530 531 elseif ingump "Greater Poison Potion" 1554294796532 if inlist jaseowns "Greater Poison Potion""533 else534 535 if index = 0536 pushlist socpageone "Greater Poison Potion"537 elseif index = 1538 pushlist socpagetwo "Greater Poison Potion"539 elseif index = 2540 pushlist socpagethree "Greater Poison Potion"541 else542 pushlist socpagefour "Greater Poison Potion"543 endif544 pushlist jaseowns_hue_page_flips 0545 pushlist jaseowns_exceptional 0546 pushlist jaseowns_crafting_page 8547 pushlist jaseowns_category 106548 pushlist jaseowns_item 403549 pushlist jaseowns "Greater Poison Potion"550 551 endif552 553 554 elseif ingump "Lesser Poison Potion" 1554294796555 if inlist jaseowns "Lesser Poison Potion""556 else557 558 if index = 0559 pushlist socpageone "Lesser Poison Potion"560 elseif index = 1561 pushlist socpagetwo "Lesser Poison Potion"562 elseif index = 2563 pushlist socpagethree "Lesser Poison Potion"564 else565 pushlist socpagefour "Lesser Poison Potion"566 endif567 pushlist jaseowns_hue_page_flips 0568 pushlist jaseowns_exceptional 0569 pushlist jaseowns_crafting_page 8570 pushlist jaseowns_category 106571 pushlist jaseowns_item 400572 pushlist jaseowns "Lesser Poison Potion"573 574 endif575 576 577 elseif ingump "Poison Potion" 1554294796578 if inlist jaseowns "Poison Potion""579 else580 581 if index = 0582 pushlist socpageone "Poison Potion"583 elseif index = 1584 pushlist socpagetwo "Poison Potion"585 elseif index = 2586 pushlist socpagethree "Poison Potion"587 else588 pushlist socpagefour "Poison Potion"589 endif590 pushlist jaseowns_hue_page_flips 0591 pushlist jaseowns_exceptional 0592 pushlist jaseowns_crafting_page 8593 pushlist jaseowns_category 106594 pushlist jaseowns_item 401595 pushlist jaseowns "Poison Potion"596 597 endif598 599 600 endif601endif602if ingump "Explosion" 1554294796603 604 if ingump "Greater Explosion Potion" 1554294796605 if inlist jaseowns "Greater Explosion Potion""606 else607 608 if index = 0609 pushlist socpageone "Greater Explosion Potion"610 elseif index = 1611 pushlist socpagetwo "Greater Explosion Potion"612 elseif index = 2613 pushlist socpagethree "Greater Explosion Potion"614 else615 pushlist socpagefour "Greater Explosion Potion"616 endif617 pushlist jaseowns_hue_page_flips 0618 pushlist jaseowns_exceptional 0619 pushlist jaseowns_crafting_page 8620 pushlist jaseowns_category 107621 pushlist jaseowns_item 403622 pushlist jaseowns "Greater Explosion Potion"623 624 endif625 626 627 elseif ingump "Lesser Explosion Potion" 1554294796628 if inlist jaseowns "Lesser Explosion Potion""629 else630 631 if index = 0632 pushlist socpageone "Lesser Explosion Potion"633 elseif index = 1634 pushlist socpagetwo "Lesser Explosion Potion"635 elseif index = 2636 pushlist socpagethree "Lesser Explosion Potion"637 else638 pushlist socpagefour "Lesser Explosion Potion"639 endif640 pushlist jaseowns_hue_page_flips 0641 pushlist jaseowns_exceptional 0642 pushlist jaseowns_crafting_page 8643 pushlist jaseowns_category 107644 pushlist jaseowns_item 400645 pushlist jaseowns "Lesser Explosion Potion"646 647 endif648 649 650 elseif ingump "Explosion Potion" 1554294796651 if inlist jaseowns "Explosion Potion""652 else653 654 if index = 0655 pushlist socpageone "Explosion Potion"656 elseif index = 1657 pushlist socpagetwo "Explosion Potion"658 elseif index = 2659 pushlist socpagethree "Explosion Potion"660 else661 pushlist socpagefour "Explosion Potion"662 endif663 pushlist jaseowns_hue_page_flips 0664 pushlist jaseowns_exceptional 0665 pushlist jaseowns_crafting_page 8666 pushlist jaseowns_category 107667 pushlist jaseowns_item 401668 pushlist jaseowns "Explosion Potion"669 670 endif671 672 673 endif674endif675if ingump "Society" 1554294796676 677 if ingump "Fungicide" 1554294796678 if inlist jaseowns "Fungicide""679 else680 681 if index = 0682 pushlist socpageone "Fungicide"683 elseif index = 1684 pushlist socpagetwo "Fungicide"685 elseif index = 2686 pushlist socpagethree "Fungicide"687 else688 pushlist socpagefour "Fungicide"689 endif690 pushlist jaseowns_hue_page_flips 0691 pushlist jaseowns_exceptional 0692 pushlist jaseowns_crafting_page 8693 pushlist jaseowns_category 109694 pushlist jaseowns_item 400695 pushlist jaseowns "Fungicide"696 697 endif698 699 700 elseif ingump "Superior Growth Serum" 1554294796701 if inlist jaseowns "Superior Growth Serum""702 else703 704 if index = 0705 pushlist socpageone "Superior Growth Serum"706 elseif index = 1707 pushlist socpagetwo "Superior Growth Serum"708 elseif index = 2709 pushlist socpagethree "Superior Growth Serum"710 else711 pushlist socpagefour "Superior Growth Serum"712 endif713 pushlist jaseowns_hue_page_flips 0714 pushlist jaseowns_exceptional 0715 pushlist jaseowns_crafting_page 8716 pushlist jaseowns_category 109717 pushlist jaseowns_item 401718 pushlist jaseowns "Superior Growth Serum"719 720 endif721 722 723 endif724endif725if ingump "Society" 1554294796726 727 if ingump "Superior Fertility Serum" 1554294796728 if inlist jaseowns "Superior Fertility Serum""729 else730 731 if index = 0732 pushlist socpageone "Superior Fertility Serum"733 elseif index = 1734 pushlist socpagetwo "Superior Fertility Serum"735 elseif index = 2736 pushlist socpagethree "Superior Fertility Serum"737 else738 pushlist socpagefour "Superior Fertility Serum"739 endif740 pushlist jaseowns_hue_page_flips 0741 pushlist jaseowns_exceptional 0742 pushlist jaseowns_crafting_page 9743 pushlist jaseowns_category 100744 pushlist jaseowns_item 400745 pushlist jaseowns "Superior Fertility Serum"746 747 endif748 749 750 endif751endif752 gumpresponse 4 1554294796753 waitforgump 1554294796 5000754endfor755 756#######################757###### Time to craft758###########759 760gumpclose craftingSelectionGump761 762if findtype "resource container" ground -1 -1 2 as resources763 while not gumpexists resourceStockPileGump764 dclick resources765 waitforgump resourceStockPileGump 5000766 endwhile767 gumpresponse 7 resourceStockPileGump768 waitforgump resourceStockPileGump 5000769 while not gumpexists craftingSelectionGump770 gumpresponse 100 resourceStockPileGump771 waitforgump craftingSelectionGump 5000772 endwhile773elseif findtype 3997 backpack 0 as kit774 dclick kit775 waitforgump craftingSelectionGump 5000776endif777 778if gumpexists craftingSelectionGump779 // ready to craft780else781 overhead "Unable to create queue.. need resource stockpile or tailoring kit" 34782 sysmsg "Unable to create queue.. need resource stockpile or tailoring kit" 34783 stop784endif785 786foreach name in jaseowns787 overhead "{{index}}: {{name}}" index788 789 @setvar! craftingGumpNeedsExceptional 0790 @setvar! tailorCategoryPageGumpResponse 0791 @setvar! tailorCategoryGumpResponse 0792 @setvar! tailorItemGumpResponse 0793 @setvar! tailorHuePageFlips 0794 795 if atlist jaseowns_hue_page_flips index as huePageFlips796 @setvar! tailorHuePageFlips huePageFlips797 endif798 if atlist jaseowns_exceptional index as exceptional799 @setvar! craftingGumpNeedsExceptional exceptional800 endif801 if atlist jaseowns_crafting_page index as page802 @setvar! tailorCategoryPageGumpResponse page803 endif804 if atlist jaseowns_category index as category805 @setvar! tailorCategoryGumpResponse category806 endif807 if atlist jaseowns_item index as item808 @setvar! tailorItemGumpResponse item809 endif810 811 if tailorItemGumpResponse = 0812 overhead "We could not find the tailor item gump response" 34813 stop814 endif815 816 if tailorCategoryGumpResponse = 0817 overhead "We could not find the tailor category gump response" 34818 stop819 endif820 821 gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump822 waitforgump craftingSelectionGump 5000823 gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump824 waitforgump craftingSelectionGump 5000825 # reset the gump without needing to close it826 gumpresponse 110 craftingSelectionGump827 waitforgump craftingSelectionGump 5000828 829 # flip to correct leather hue830 if tailorHuePageFlips = 10831 for 10832 gumpresponse 13 craftingSelectionGump833 waitforgump craftingSelectionGump 5000834 endfor835 elseif tailorHuePageFlips = 9836 for 9837 gumpresponse 13 craftingSelectionGump838 waitforgump craftingSelectionGump 5000839 endfor840 elseif tailorHuePageFlips = 8841 for 8842 gumpresponse 13 craftingSelectionGump843 waitforgump craftingSelectionGump 5000844 endfor845 elseif tailorHuePageFlips = 7846 for 7847 gumpresponse 13 craftingSelectionGump848 waitforgump craftingSelectionGump 5000849 endfor850 elseif tailorHuePageFlips = 6851 for 6852 gumpresponse 13 craftingSelectionGump853 waitforgump craftingSelectionGump 5000854 endfor855 elseif tailorHuePageFlips = 5856 for 5857 gumpresponse 13 craftingSelectionGump858 waitforgump craftingSelectionGump 5000859 endfor860 elseif tailorHuePageFlips = 4861 for 4862 gumpresponse 13 craftingSelectionGump863 waitforgump craftingSelectionGump 5000864 endfor865 elseif tailorHuePageFlips = 3866 for 3867 gumpresponse 13 craftingSelectionGump868 waitforgump craftingSelectionGump 5000869 endfor870 elseif tailorHuePageFlips = 2871 for 2872 gumpresponse 13 craftingSelectionGump873 waitforgump craftingSelectionGump 5000874 endfor875 elseif tailorHuePageFlips = 1876 for 1877 gumpresponse 13 craftingSelectionGump878 waitforgump craftingSelectionGump 5000879 endfor880 endif881 882 gumpresponse tailorCategoryGumpResponse craftingSelectionGump883 waitforgump craftingSelectionGump 5000884 gumpresponse tailorItemGumpResponse craftingSelectionGump885 waitforgump craftingSelectionGump 5000886 887 # flip back to the regular leather hue888 if tailorHuePageFlips = 10889 for 10890 gumpresponse 12 craftingSelectionGump891 waitforgump craftingSelectionGump 5000892 endfor893 elseif tailorHuePageFlips = 9894 for 9895 gumpresponse 12 craftingSelectionGump896 waitforgump craftingSelectionGump 5000897 endfor898 elseif tailorHuePageFlips = 8899 for 8900 gumpresponse 12 craftingSelectionGump901 waitforgump craftingSelectionGump 5000902 endfor903 elseif tailorHuePageFlips = 7904 for 7905 gumpresponse 12 craftingSelectionGump906 waitforgump craftingSelectionGump 5000907 endfor908 elseif tailorHuePageFlips = 6909 for 6910 gumpresponse 12 craftingSelectionGump911 waitforgump craftingSelectionGump 5000912 endfor913 elseif tailorHuePageFlips = 5914 for 5915 gumpresponse 12 craftingSelectionGump916 waitforgump craftingSelectionGump 5000917 endfor918 elseif tailorHuePageFlips = 4919 for 4920 gumpresponse 12 craftingSelectionGump921 waitforgump craftingSelectionGump 5000922 endfor923 elseif tailorHuePageFlips = 3924 for 3925 gumpresponse 12 craftingSelectionGump926 waitforgump craftingSelectionGump 5000927 endfor928 elseif tailorHuePageFlips = 2929 for 2930 gumpresponse 12 craftingSelectionGump931 waitforgump craftingSelectionGump 5000932 endfor933 elseif tailorHuePageFlips = 1934 for 1935 gumpresponse 12 craftingSelectionGump936 waitforgump craftingSelectionGump 5000937 endfor938 endif939 940 if index = 0 or index = 1 or index = 2 or index = 3 or index = 4941 if ingump "page" 453554062 942 while not ingump "1/" 453554062943 gumpresponse 8 453554062944 waitforgump 453554062 5000945 endwhile946 endif947 elseif index = 5 or index = 6 or index = 7 or index = 8 or index = 9948 if ingump "page" 453554062 949 while not ingump "2/" 453554062950 gumpresponse 9 453554062951 waitforgump 453554062 5000952 endwhile953 endif954 else955 overhead "I do not know how to handle this yet, you have too many soceities" 34956 overhead "hit Jaseowns on discord with details" 34957 sysmsg "unable to continue.. contact Jaseowns on discord with details" 34958 stop959 endif960 961 if craftingGumpNeedsExceptional = 1962 if index = 0 or index = 5963 gumpresponse 500 453554062964 elseif index = 1 or index = 6965 gumpresponse 501 453554062966 elseif index = 2 or index = 7967 gumpresponse 502 453554062968 elseif index = 3 or index = 8969 gumpresponse 503 453554062970 elseif index = 4 or index = 9971 gumpresponse 504 453554062972 endif973 waitforgump 453554062 5000974 sysmsg "Setting as exceptional.." 88975 gumpresponse 3 craftingQueueQtyGump976 waitforgump craftingQueueQtyGump 5000977 gumpresponse 5 craftingQueueQtyGump978 waitforgump 453554062 5000979 endif980 981 if waitForMeToEnterQuanityValues = 1982 wait 1000983 if index = 0 or index = 5984 gumpresponse 500 453554062985 elseif index = 1 or index = 6986 gumpresponse 501 453554062987 elseif index = 2 or index = 7988 gumpresponse 502 453554062989 elseif index = 3 or index = 8990 gumpresponse 503 453554062991 elseif index = 4 or index = 9992 gumpresponse 504 453554062993 endif994 waitforgump craftingQueueQtyGump 5000995 996 ############997 ### Bring us to Artificers Enclave998 #########999 gumpclose 15542947961000 while not gumpexists 15542947961001 say '[jobs' 1002 wait 2001003 endwhile1004 gumpresponse 12 15542947961005 waitforgump 1554294796 50001006 1007 @setvar! pageHelperDisplay 01008 if inlist socpageone name 1009 @setvar! pageHelperDisplay 11010 elseif inlist socpagetwo name 1011 gumpresponse 4 15542947961012 waitforgump 1554294796 50001013 @setvar! pageHelperDisplay 21014 elseif inlist socpagethree name 1015 gumpresponse 4 15542947961016 waitforgump 1554294796 50001017 gumpresponse 4 15542947961018 waitforgump 1554294796 50001019 @setvar! pageHelperDisplay 31020 elseif inlist socpagefour name 1021 gumpresponse 4 15542947961022 waitforgump 1554294796 50001023 gumpresponse 4 15542947961024 waitforgump 1554294796 50001025 gumpresponse 4 15542947961026 waitforgump 1554294796 50001027 @setvar! pageHelperDisplay 41028 endif1029 1030 while gumpexists craftingQueueQtyGump1031 overhead "Awaiting user input..." 881032 sysmsg "Awaiting user input..." 771033 sysmsg "Enter QTY of from Artificers Enclave!" 661034 sysmsg "Page: {{pageHelperDisplay}} >> {{name}}" 881035 wait 10001036 endwhile1037 waitforgump 453554062 50001038 else1039 wait 10001040 endif1041 1042 // recycle1043 if index = 0 or index = 51044 gumpresponse 600 4535540621045 waitforgump 453554062 50001046 elseif index = 1 or index = 61047 gumpresponse 601 4535540621048 waitforgump 453554062 50001049 elseif index = 2 or index = 71050 gumpresponse 602 4535540621051 waitforgump 453554062 50001052 elseif index = 3 or index = 81053 gumpresponse 603 4535540621054 waitforgump 453554062 50001055 elseif index = 4 or index = 91056 gumpresponse 604 4535540621057 waitforgump 453554062 50001058 endif1059endfor1060 1061if findtype "resource container" ground -1 -1 2 as resources1062 wait 10001063 while not targetexists 1064 gumpresponse 10 craftingQueueGump1065 wft 5001066 endwhile1067 target resources1068 wait globalTimeout1069endif1070 1071if findtype "storage shelf" ground -1 -1 2 as jhelf1072 wait 10001073 while not targetexists 1074 gumpresponse 11 craftingQueueGump1075 wft 5001076 endwhile1077 target jhelf1078 wait globalTimeout1079endif1080 1081sysmsg ">> QUEUE COMPLETE <<" 01082sysmsg "Like, follow, subscribe: YouTube.com/JASEOWNS" 881083say "Check out that Jaseowns Script!" 881084 