ALCHEMY: Automatic Setup of Crafting Queue for Societies by Jaseowns
# 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 are complete
###
###################
sysmsg ">>> Automated Alchemy Societies Crafting Queue <<<" 88
sysmsg "> v1.1.0 | Generated @ 4/13/2023 9:43:52 AM CST <" 68
sysmsg ">>> by youtube.com/Jaseowns <<<" 88
#######################
###### Setting this value to 0 just creates the queue.
###### Setting this value to 1 pauses for you to enter qty as items get added.
###################
@setvar! waitForMeToEnterQuanityValues 1
#####
# Change Log
###
# v1.1.0 | Generated @ 4/13/2023 9:41:14 AM CST
# - Fixed references from Tailoring to Alchemy
# v1.0.0 | Generated @ 4/12/2023 8:58:45 PM CST
# - Launched for public test
#######################
###### You should not need to edit below this line
###################
@setvar! globalTimeout 650
@setvar! craftingQueueQtyGump 3239880667
@setvar! resourceStockPileGump 1859005118
@setvar! craftingQueueGump 453554062
@setvar! craftingSelectionGump 949095101
@setvar! jobsGump 1554294796
############
### Bring us to Artificers Enclave
#########
gumpclose 1554294796
while not gumpexists 1554294796
say '[jobs'
wait 200
endwhile
gumpresponse 12 1554294796
waitforgump 1554294796 5000
############
### Open crafting queue
#########
gumpclose 453554062
while not gumpexists 453554062
say '[cq'
wait 200
endwhile
# Create a new queue
gumpresponse 5 453554062
wait 200
if insysmsg "You are already at the maximum number of crafting queues allowed."
overhead "We need you to delete a queue" 34
sysmsg "We need you to delete a queue" 34
gumpclose 1554294796
wait 5000
replay
endif
removelist jaseowns_hue_page_flips
createlist jaseowns_hue_page_flips
removelist jaseowns_exceptional
createlist jaseowns_exceptional
removelist jaseowns_crafting_page
createlist jaseowns_crafting_page
removelist jaseowns_category
createlist jaseowns_category
removelist jaseowns_item
createlist jaseowns_item
removelist jaseowns
createlist jaseowns
removelist socpageone
createlist socpageone
removelist socpagetwo
createlist socpagetwo
removelist socpagethree
createlist socpagethree
removelist socpagefour
createlist socpagefour
for 4
if ingump "Heal" 1554294796
if ingump "Greater Heal Potion" 1554294796
if inlist jaseowns "Greater Heal Potion""
else
if index = 0
pushlist socpageone "Greater Heal Potion"
elseif index = 1
pushlist socpagetwo "Greater Heal Potion"
elseif index = 2
pushlist socpagethree "Greater Heal Potion"
else
pushlist socpagefour "Greater Heal Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 100
pushlist jaseowns_item 403
pushlist jaseowns "Greater Heal Potion"
endif
elseif ingump "Lesser Heal Potion" 1554294796
if inlist jaseowns "Lesser Heal Potion""
else
if index = 0
pushlist socpageone "Lesser Heal Potion"
elseif index = 1
pushlist socpagetwo "Lesser Heal Potion"
elseif index = 2
pushlist socpagethree "Lesser Heal Potion"
else
pushlist socpagefour "Lesser Heal Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 100
pushlist jaseowns_item 400
pushlist jaseowns "Lesser Heal Potion"
endif
elseif ingump "Heal Potion" 1554294796
if inlist jaseowns "Heal Potion""
else
if index = 0
pushlist socpageone "Heal Potion"
elseif index = 1
pushlist socpagetwo "Heal Potion"
elseif index = 2
pushlist socpagethree "Heal Potion"
else
pushlist socpagefour "Heal Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 100
pushlist jaseowns_item 401
pushlist jaseowns "Heal Potion"
endif
endif
endif
if ingump "Cure" 1554294796
if ingump "Greater Cure Potion" 1554294796
if inlist jaseowns "Greater Cure Potion""
else
if index = 0
pushlist socpageone "Greater Cure Potion"
elseif index = 1
pushlist socpagetwo "Greater Cure Potion"
elseif index = 2
pushlist socpagethree "Greater Cure Potion"
else
pushlist socpagefour "Greater Cure Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 101
pushlist jaseowns_item 403
pushlist jaseowns "Greater Cure Potion"
endif
elseif ingump "Lesser Cure Potion" 1554294796
if inlist jaseowns "Lesser Cure Potion""
else
if index = 0
pushlist socpageone "Lesser Cure Potion"
elseif index = 1
pushlist socpagetwo "Lesser Cure Potion"
elseif index = 2
pushlist socpagethree "Lesser Cure Potion"
else
pushlist socpagefour "Lesser Cure Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 101
pushlist jaseowns_item 400
pushlist jaseowns "Lesser Cure Potion"
endif
elseif ingump "Cure Potion" 1554294796
if inlist jaseowns "Cure Potion""
else
if index = 0
pushlist socpageone "Cure Potion"
elseif index = 1
pushlist socpagetwo "Cure Potion"
elseif index = 2
pushlist socpagethree "Cure Potion"
else
pushlist socpagefour "Cure Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 101
pushlist jaseowns_item 401
pushlist jaseowns "Cure Potion"
endif
endif
endif
if ingump "Refresh" 1554294796
if ingump "Total Refresh Potion" 1554294796
if inlist jaseowns "Total Refresh Potion""
else
if index = 0
pushlist socpageone "Total Refresh Potion"
elseif index = 1
pushlist socpagetwo "Total Refresh Potion"
elseif index = 2
pushlist socpagethree "Total Refresh Potion"
else
pushlist socpagefour "Total Refresh Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 102
pushlist jaseowns_item 402
pushlist jaseowns "Total Refresh Potion"
endif
elseif ingump "Refresh Potion" 1554294796
if inlist jaseowns "Refresh Potion""
else
if index = 0
pushlist socpageone "Refresh Potion"
elseif index = 1
pushlist socpagetwo "Refresh Potion"
elseif index = 2
pushlist socpagethree "Refresh Potion"
else
pushlist socpagefour "Refresh Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 102
pushlist jaseowns_item 400
pushlist jaseowns "Refresh Potion"
endif
endif
endif
if ingump "Strength" 1554294796
if ingump "Greater Strength Potion" 1554294796
if inlist jaseowns "Greater Strength Potion""
else
if index = 0
pushlist socpageone "Greater Strength Potion"
elseif index = 1
pushlist socpagetwo "Greater Strength Potion"
elseif index = 2
pushlist socpagethree "Greater Strength Potion"
else
pushlist socpagefour "Greater Strength Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 103
pushlist jaseowns_item 402
pushlist jaseowns "Greater Strength Potion"
endif
elseif ingump "Strength Potion" 1554294796
if inlist jaseowns "Strength Potion""
else
if index = 0
pushlist socpageone "Strength Potion"
elseif index = 1
pushlist socpagetwo "Strength Potion"
elseif index = 2
pushlist socpagethree "Strength Potion"
else
pushlist socpagefour "Strength Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 103
pushlist jaseowns_item 400
pushlist jaseowns "Strength Potion"
endif
endif
endif
if ingump "Agility" 1554294796
if ingump "Greater Agility Potion" 1554294796
if inlist jaseowns "Greater Agility Potion""
else
if index = 0
pushlist socpageone "Greater Agility Potion"
elseif index = 1
pushlist socpagetwo "Greater Agility Potion"
elseif index = 2
pushlist socpagethree "Greater Agility Potion"
else
pushlist socpagefour "Greater Agility Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 104
pushlist jaseowns_item 402
pushlist jaseowns "Greater Agility Potion"
endif
elseif ingump "Agility Potion" 1554294796
if inlist jaseowns "Agility Potion""
else
if index = 0
pushlist socpageone "Agility Potion"
elseif index = 1
pushlist socpagetwo "Agility Potion"
elseif index = 2
pushlist socpagethree "Agility Potion"
else
pushlist socpagefour "Agility Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 104
pushlist jaseowns_item 400
pushlist jaseowns "Agility Potion"
endif
endif
endif
if ingump "Magic" 1554294796
if ingump "Greater Magic Resist Potion" 1554294796
if inlist jaseowns "Greater Magic Resist Potion""
else
if index = 0
pushlist socpageone "Greater Magic Resist Potion"
elseif index = 1
pushlist socpagetwo "Greater Magic Resist Potion"
elseif index = 2
pushlist socpagethree "Greater Magic Resist Potion"
else
pushlist socpagefour "Greater Magic Resist Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 105
pushlist jaseowns_item 403
pushlist jaseowns "Greater Magic Resist Potion"
endif
elseif ingump "Lesser Magic Resist Potion" 1554294796
if inlist jaseowns "Lesser Magic Resist Potion""
else
if index = 0
pushlist socpageone "Lesser Magic Resist Potion"
elseif index = 1
pushlist socpagetwo "Lesser Magic Resist Potion"
elseif index = 2
pushlist socpagethree "Lesser Magic Resist Potion"
else
pushlist socpagefour "Lesser Magic Resist Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 105
pushlist jaseowns_item 400
pushlist jaseowns "Lesser Magic Resist Potion"
endif
elseif ingump "Magic Resist Potion" 1554294796
if inlist jaseowns "Magic Resist Potion""
else
if index = 0
pushlist socpageone "Magic Resist Potion"
elseif index = 1
pushlist socpagetwo "Magic Resist Potion"
elseif index = 2
pushlist socpagethree "Magic Resist Potion"
else
pushlist socpagefour "Magic Resist Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 105
pushlist jaseowns_item 401
pushlist jaseowns "Magic Resist Potion"
endif
endif
endif
if ingump "Poison" 1554294796
if ingump "Lethal Poison Potion" 1554294796
if inlist jaseowns "Lethal Poison Potion""
else
if index = 0
pushlist socpageone "Lethal Poison Potion"
elseif index = 1
pushlist socpagetwo "Lethal Poison Potion"
elseif index = 2
pushlist socpagethree "Lethal Poison Potion"
else
pushlist socpagefour "Lethal Poison Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 106
pushlist jaseowns_item 407
pushlist jaseowns "Lethal Poison Potion"
endif
elseif ingump "Deadly Poison Potion" 1554294796
if inlist jaseowns "Deadly Poison Potion""
else
if index = 0
pushlist socpageone "Deadly Poison Potion"
elseif index = 1
pushlist socpagetwo "Deadly Poison Potion"
elseif index = 2
pushlist socpagethree "Deadly Poison Potion"
else
pushlist socpagefour "Deadly Poison Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 106
pushlist jaseowns_item 405
pushlist jaseowns "Deadly Poison Potion"
endif
elseif ingump "Greater Poison Potion" 1554294796
if inlist jaseowns "Greater Poison Potion""
else
if index = 0
pushlist socpageone "Greater Poison Potion"
elseif index = 1
pushlist socpagetwo "Greater Poison Potion"
elseif index = 2
pushlist socpagethree "Greater Poison Potion"
else
pushlist socpagefour "Greater Poison Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 106
pushlist jaseowns_item 403
pushlist jaseowns "Greater Poison Potion"
endif
elseif ingump "Lesser Poison Potion" 1554294796
if inlist jaseowns "Lesser Poison Potion""
else
if index = 0
pushlist socpageone "Lesser Poison Potion"
elseif index = 1
pushlist socpagetwo "Lesser Poison Potion"
elseif index = 2
pushlist socpagethree "Lesser Poison Potion"
else
pushlist socpagefour "Lesser Poison Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 106
pushlist jaseowns_item 400
pushlist jaseowns "Lesser Poison Potion"
endif
elseif ingump "Poison Potion" 1554294796
if inlist jaseowns "Poison Potion""
else
if index = 0
pushlist socpageone "Poison Potion"
elseif index = 1
pushlist socpagetwo "Poison Potion"
elseif index = 2
pushlist socpagethree "Poison Potion"
else
pushlist socpagefour "Poison Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 106
pushlist jaseowns_item 401
pushlist jaseowns "Poison Potion"
endif
endif
endif
if ingump "Explosion" 1554294796
if ingump "Greater Explosion Potion" 1554294796
if inlist jaseowns "Greater Explosion Potion""
else
if index = 0
pushlist socpageone "Greater Explosion Potion"
elseif index = 1
pushlist socpagetwo "Greater Explosion Potion"
elseif index = 2
pushlist socpagethree "Greater Explosion Potion"
else
pushlist socpagefour "Greater Explosion Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 107
pushlist jaseowns_item 403
pushlist jaseowns "Greater Explosion Potion"
endif
elseif ingump "Lesser Explosion Potion" 1554294796
if inlist jaseowns "Lesser Explosion Potion""
else
if index = 0
pushlist socpageone "Lesser Explosion Potion"
elseif index = 1
pushlist socpagetwo "Lesser Explosion Potion"
elseif index = 2
pushlist socpagethree "Lesser Explosion Potion"
else
pushlist socpagefour "Lesser Explosion Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 107
pushlist jaseowns_item 400
pushlist jaseowns "Lesser Explosion Potion"
endif
elseif ingump "Explosion Potion" 1554294796
if inlist jaseowns "Explosion Potion""
else
if index = 0
pushlist socpageone "Explosion Potion"
elseif index = 1
pushlist socpagetwo "Explosion Potion"
elseif index = 2
pushlist socpagethree "Explosion Potion"
else
pushlist socpagefour "Explosion Potion"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 107
pushlist jaseowns_item 401
pushlist jaseowns "Explosion Potion"
endif
endif
endif
if ingump "Society" 1554294796
if ingump "Fungicide" 1554294796
if inlist jaseowns "Fungicide""
else
if index = 0
pushlist socpageone "Fungicide"
elseif index = 1
pushlist socpagetwo "Fungicide"
elseif index = 2
pushlist socpagethree "Fungicide"
else
pushlist socpagefour "Fungicide"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 109
pushlist jaseowns_item 400
pushlist jaseowns "Fungicide"
endif
elseif ingump "Superior Growth Serum" 1554294796
if inlist jaseowns "Superior Growth Serum""
else
if index = 0
pushlist socpageone "Superior Growth Serum"
elseif index = 1
pushlist socpagetwo "Superior Growth Serum"
elseif index = 2
pushlist socpagethree "Superior Growth Serum"
else
pushlist socpagefour "Superior Growth Serum"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 8
pushlist jaseowns_category 109
pushlist jaseowns_item 401
pushlist jaseowns "Superior Growth Serum"
endif
endif
endif
if ingump "Society" 1554294796
if ingump "Superior Fertility Serum" 1554294796
if inlist jaseowns "Superior Fertility Serum""
else
if index = 0
pushlist socpageone "Superior Fertility Serum"
elseif index = 1
pushlist socpagetwo "Superior Fertility Serum"
elseif index = 2
pushlist socpagethree "Superior Fertility Serum"
else
pushlist socpagefour "Superior Fertility Serum"
endif
pushlist jaseowns_hue_page_flips 0
pushlist jaseowns_exceptional 0
pushlist jaseowns_crafting_page 9
pushlist jaseowns_category 100
pushlist jaseowns_item 400
pushlist jaseowns "Superior Fertility Serum"
endif
endif
endif
gumpresponse 4 1554294796
waitforgump 1554294796 5000
endfor
#######################
###### Time to craft
###########
gumpclose craftingSelectionGump
if findtype "resource container" ground -1 -1 2 as resources
while not gumpexists resourceStockPileGump
dclick resources
waitforgump resourceStockPileGump 5000
endwhile
gumpresponse 7 resourceStockPileGump
waitforgump resourceStockPileGump 5000
while not gumpexists craftingSelectionGump
gumpresponse 100 resourceStockPileGump
waitforgump craftingSelectionGump 5000
endwhile
elseif findtype 3997 backpack 0 as kit
dclick kit
waitforgump craftingSelectionGump 5000
endif
if gumpexists craftingSelectionGump
// ready to craft
else
overhead "Unable to create queue.. need resource stockpile or tailoring kit" 34
sysmsg "Unable to create queue.. need resource stockpile or tailoring kit" 34
stop
endif
foreach name in jaseowns
overhead "{{index}}: {{name}}" index
@setvar! craftingGumpNeedsExceptional 0
@setvar! tailorCategoryPageGumpResponse 0
@setvar! tailorCategoryGumpResponse 0
@setvar! tailorItemGumpResponse 0
@setvar! tailorHuePageFlips 0
if atlist jaseowns_hue_page_flips index as huePageFlips
@setvar! tailorHuePageFlips huePageFlips
endif
if atlist jaseowns_exceptional index as exceptional
@setvar! craftingGumpNeedsExceptional exceptional
endif
if atlist jaseowns_crafting_page index as page
@setvar! tailorCategoryPageGumpResponse page
endif
if atlist jaseowns_category index as category
@setvar! tailorCategoryGumpResponse category
endif
if atlist jaseowns_item index as item
@setvar! tailorItemGumpResponse item
endif
if tailorItemGumpResponse = 0
overhead "We could not find the tailor item gump response" 34
stop
endif
if tailorCategoryGumpResponse = 0
overhead "We could not find the tailor category gump response" 34
stop
endif
gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump
waitforgump craftingSelectionGump 5000
gumpresponse tailorCategoryPageGumpResponse craftingSelectionGump
waitforgump craftingSelectionGump 5000
# reset the gump without needing to close it
gumpresponse 110 craftingSelectionGump
waitforgump craftingSelectionGump 5000
# flip to correct leather hue
if tailorHuePageFlips = 10
for 10
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 9
for 9
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 8
for 8
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 7
for 7
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 6
for 6
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 5
for 5
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 4
for 4
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 3
for 3
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 2
for 2
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 1
for 1
gumpresponse 13 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
endif
gumpresponse tailorCategoryGumpResponse craftingSelectionGump
waitforgump craftingSelectionGump 5000
gumpresponse tailorItemGumpResponse craftingSelectionGump
waitforgump craftingSelectionGump 5000
# flip back to the regular leather hue
if tailorHuePageFlips = 10
for 10
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 9
for 9
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 8
for 8
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 7
for 7
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 6
for 6
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 5
for 5
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 4
for 4
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 3
for 3
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 2
for 2
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
elseif tailorHuePageFlips = 1
for 1
gumpresponse 12 craftingSelectionGump
waitforgump craftingSelectionGump 5000
endfor
endif
if index = 0 or index = 1 or index = 2 or index = 3 or index = 4
if ingump "page" 453554062
while not ingump "1/" 453554062
gumpresponse 8 453554062
waitforgump 453554062 5000
endwhile
endif
elseif index = 5 or index = 6 or index = 7 or index = 8 or index = 9
if ingump "page" 453554062
while not ingump "2/" 453554062
gumpresponse 9 453554062
waitforgump 453554062 5000
endwhile
endif
else
overhead "I do not know how to handle this yet, you have too many soceities" 34
overhead "hit Jaseowns on discord with details" 34
sysmsg "unable to continue.. contact Jaseowns on discord with details" 34
stop
endif
if craftingGumpNeedsExceptional = 1
if index = 0 or index = 5
gumpresponse 500 453554062
elseif index = 1 or index = 6
gumpresponse 501 453554062
elseif index = 2 or index = 7
gumpresponse 502 453554062
elseif index = 3 or index = 8
gumpresponse 503 453554062
elseif index = 4 or index = 9
gumpresponse 504 453554062
endif
waitforgump 453554062 5000
sysmsg "Setting as exceptional.." 88
gumpresponse 3 craftingQueueQtyGump
waitforgump craftingQueueQtyGump 5000
gumpresponse 5 craftingQueueQtyGump
waitforgump 453554062 5000
endif
if waitForMeToEnterQuanityValues = 1
wait 1000
if index = 0 or index = 5
gumpresponse 500 453554062
elseif index = 1 or index = 6
gumpresponse 501 453554062
elseif index = 2 or index = 7
gumpresponse 502 453554062
elseif index = 3 or index = 8
gumpresponse 503 453554062
elseif index = 4 or index = 9
gumpresponse 504 453554062
endif
waitforgump craftingQueueQtyGump 5000
############
### Bring us to Artificers Enclave
#########
gumpclose 1554294796
while not gumpexists 1554294796
say '[jobs'
wait 200
endwhile
gumpresponse 12 1554294796
waitforgump 1554294796 5000
@setvar! pageHelperDisplay 0
if inlist socpageone name
@setvar! pageHelperDisplay 1
elseif inlist socpagetwo name
gumpresponse 4 1554294796
waitforgump 1554294796 5000
@setvar! pageHelperDisplay 2
elseif inlist socpagethree name
gumpresponse 4 1554294796
waitforgump 1554294796 5000
gumpresponse 4 1554294796
waitforgump 1554294796 5000
@setvar! pageHelperDisplay 3
elseif inlist socpagefour name
gumpresponse 4 1554294796
waitforgump 1554294796 5000
gumpresponse 4 1554294796
waitforgump 1554294796 5000
gumpresponse 4 1554294796
waitforgump 1554294796 5000
@setvar! pageHelperDisplay 4
endif
while gumpexists craftingQueueQtyGump
overhead "Awaiting user input..." 88
sysmsg "Awaiting user input..." 77
sysmsg "Enter QTY of from Artificers Enclave!" 66
sysmsg "Page: {{pageHelperDisplay}} >> {{name}}" 88
wait 1000
endwhile
waitforgump 453554062 5000
else
wait 1000
endif
// recycle
if index = 0 or index = 5
gumpresponse 600 453554062
waitforgump 453554062 5000
elseif index = 1 or index = 6
gumpresponse 601 453554062
waitforgump 453554062 5000
elseif index = 2 or index = 7
gumpresponse 602 453554062
waitforgump 453554062 5000
elseif index = 3 or index = 8
gumpresponse 603 453554062
waitforgump 453554062 5000
elseif index = 4 or index = 9
gumpresponse 604 453554062
waitforgump 453554062 5000
endif
endfor
if findtype "resource container" ground -1 -1 2 as resources
wait 1000
while not targetexists
gumpresponse 10 craftingQueueGump
wft 500
endwhile
target resources
wait globalTimeout
endif
if findtype "storage shelf" ground -1 -1 2 as jhelf
wait 1000
while not targetexists
gumpresponse 11 craftingQueueGump
wft 500
endwhile
target jhelf
wait globalTimeout
endif
sysmsg ">> QUEUE COMPLETE <<" 0
sysmsg "Like, follow, subscribe: YouTube.com/JASEOWNS" 88
say "Check out that Jaseowns Script!" 88