Create Crafting Queue for Training Tailoring by Jaseowns
# Create Crafting Queue Playlist
# https://www.youtube.com/watch?v=3XhOt54V7GM
# for Training Tailoring by Jaseowns
# UO Outlands
######
# Updated 2/16/2023 for Tailoring Repair Kit moving to another page
########
#
# Requirements: a sewing kit and an empty crafting queue slot
# Fill in the following skill values: 65 70 75 85 90 95 100 105 120
# Additional Info:
# This script sets up a crafting queue for 50 to 120 skill
# Crafting requires 145k leather for 100 skill, 260 tailoring kits (store bought)
if not findtype "sewing kit" backpack
overhead "Need sewing kit in backpack to set this up!" 34
wait 5000
replay
endif
clearsysmsg
# Close any open gumps related to crafting
gumpclose 648702616
gumpclose 3239880667
gumpclose 453554062
gumpclose 949095101
# Open Queue
say '[CraftingQueue'
wait 500
sysmsg "Jaseowns: Create queue..." 88
gumpresponse 5
waitforgump 453554062
wait 1500
if insysmsg "You are already at the maximum number"
overhead "Please delete a queue before running this script" 34
sysmsg "Jaseowns: Please delete a queue before running this script" 34
stop
endif
sysmsg "Jaseowns: Adding items to queue..." 88
wait 500
######################################
# 50-65: Leather Gorget / Page 1
#############
overhead "50-65: Leather Gorget" 88
sysmsg "Jaseowns: 50-65: Leather Gorget" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 101 949095101
waitforgump 949095101 5000
gumpresponse 400 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 500 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 65" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 600 453554062
waitforgump 453554062 5000
gumpresponse 600 453554062
waitforgump 453554062 5000
######################################
# 65-70: Leather Gloves / Page 1
#############
overhead "65-70: Leather Gloves" 88
sysmsg "Jaseowns: Leather Gloves" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 101 949095101
waitforgump 949095101 5000
gumpresponse 401 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 501 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 70" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 601 453554062
waitforgump 453554062 5000
gumpresponse 601 453554062
waitforgump 453554062 5000
######################################
# 70-75: Leather Cap / Page 1
#############
overhead "70-75: Leather Cap" 88
sysmsg "Jaseowns: Leather Cap" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 101 949095101
waitforgump 949095101 5000
gumpresponse 402 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 502 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 75" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 602 453554062
waitforgump 453554062 5000
gumpresponse 602 453554062
waitforgump 453554062 5000
######################################
# 75-85: Studded Gorget / Page 1
#############
overhead "75-85: Studded Gorget" 88
sysmsg "Jaseowns: Studded Gorget" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 102 949095101
waitforgump 949095101 5000
gumpresponse 400 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 503 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 85" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 603 453554062
waitforgump 453554062 5000
gumpresponse 603 453554062
waitforgump 453554062 5000
######################################
# 85-90: Studded Gloves / Page 1
#############
overhead "85-90: Studded Gloves" 88
sysmsg "Jaseowns: Studded Gloves" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 102 949095101
waitforgump 949095101 5000
gumpresponse 401 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 504 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 90" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 604 453554062
waitforgump 453554062 5000
gumpresponse 604 453554062
waitforgump 453554062 5000
wait 500
######################################
# 90-95: Studded Cap / Page 2
#############
overhead "90-95: Studded Cap" 88
sysmsg "Jaseowns: Studded Cap" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 102 949095101
waitforgump 949095101 5000
gumpresponse 402 949095101
waitforgump 949095101 5000
gumpclose 949095101
overhead "Moving to next page" 137
gumpresponse 9 453554062
waitforgump 453554062 5000
gumpresponse 500 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 95" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 600 453554062
waitforgump 453554062 5000
gumpresponse 600 453554062
waitforgump 453554062 5000
######################################
# 95-100: Studded Arms / Page 2
#############
overhead "95-100: Studded Arms" 88
sysmsg "Jaseowns: Studded Arms" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 102 949095101
waitforgump 949095101 5000
gumpresponse 403 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 501 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 100" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 601 453554062
waitforgump 453554062 5000
gumpresponse 601 453554062
waitforgump 453554062 5000
######################################
# 100-105: Studded Legs / Page 2
#############
overhead "100-105: Studded Legs" 88
sysmsg "Jaseowns: Studded Legs" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 102 949095101
waitforgump 949095101 5000
gumpresponse 404 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 502 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 105" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 602 453554062
waitforgump 453554062 5000
gumpresponse 602 453554062
waitforgump 453554062 5000
######################################
# 105-120: Tailoring Repair Kit / Page 2
#############
overhead "105-120: Tailoring Repair Kit" 88
sysmsg "Jaseowns: Tailoring Repair Kit" 88
dclicktype "sewing kit" backpack
waitforgump 949095101 5000
gumpresponse 9 949095101
waitforgump 949095101 5000
gumpresponse 100 949095101
waitforgump 949095101 5000
gumpresponse 405 949095101
waitforgump 949095101 5000
gumpclose 949095101
gumpresponse 503 453554062
waitforgump 453554062 5000
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
gumpresponse 3 3239880667
waitforgump 3239880667 5000
while gumpexists 3239880667
overhead "Enter a skill value of 120" 120
wait 1000
endwhile
sysmsg "Jaseowns: Setting as Recycle All" 88
gumpresponse 603 453554062
waitforgump 453554062 5000
gumpresponse 603 453554062
waitforgump 453554062 5000
wait 500
######################################
# END ITEMS
#############
# back to page 1
gumpresponse 8 453554062
waitforgump 453554062 5000
# Rename the queue
sysmsg "Jaseowns: Enter a name for the queue..." 88
gumpresponse 4
waitforgump 453554062 5000
waitforgump 648702616 5000
clearsysmsg
wait 500
while gumpexists 648702616
overhead "Enter a name for the queue" 120
wait 1000
endwhile
clearsysmsg
waitforgump 453554062 5000
gumpresponse 10 453554062
overhead 'Target yourself as source container or choose a container to pull resources from'
waitfortarget 10000
for 10
if not insysmsg "Source container set for all items in queue."
wait 1000
endif
endfor
if not insysmsg "Source container set for all items in queue."
overhead 'Defaulting to self...'
gumpresponse 10
wft 1500
target 'self'
endif
overhead "Queue setup is complete!" 88
overhead "Youtube.com/jaseowns!" 34
overhead "Like and Subscribe on Youtube!" 88
sysmsg "Jaseowns: Queue setup is complete! Thank you!" 88
sysmsg "Jaseowns: Like and Subscribe on Youtube/jaseowns!" 88
sysmsg "Jaseowns: Click 'Begin Crafting' once you're ready to roll!" 88