Carpentry trainer to 100 (Tyramiel's Noob Trainer) by martkedisi
Related: Carpentry
Description from the author:
# UO Outlands Tyramiel Noob's
#Carpentry to 100
#Please set restock agent 3 for Wood Board and Saw
# IMPORTANT: DO NOT PUT COLORED BOARDS IN THE BOARD BOX,
# I couldn't find a way to separate them on the restock agent
# If you find a better way of doing this, Please help me out
if not varexist board_box
overhead "Select your box for board" 88
setvar board_box
endif
gumpclose 949095101
wft 500
wait 2000
while queued
wait 100
endwhile
gumpclose
if not findtype 4148 backpack
overhead 'No saw'
restock 3
target 'board_box'
replay
endif
if counttype 7127 backpack < 20
overhead 'No boards'
restock 3
target 'board_box'
replay
endif
dclicktype 4148 backpack
waitforgump 949095101
if skill 'Carpentry' >= 50 and skill 'Carpentry' < 65
overhead 'Clubs'
gumpresponse 101
waitforgump 949095101
gumpresponse 200
elseif skill 'Carpentry' >= 65 and skill 'Carpentry' < 75
overhead 'Tambourines'
gumpresponse 103
waitforgump 949095101
gumpresponse 203
elseif skill 'Carpentry' >= 75 and skill 'Carpentry' < 100
overhead 'Bamboo Flutes'
gumpresponse 103
waitforgump 949095101
gumpresponse 204
else
overhead 'All Done!'
break
endif
wait 4000
gumpclose
if findtype 4148 backpack
dclicktype 4148 backpack
waitforgump 949095101
gumpresponse 3 949095101
wft 5000
hotkey 'Target Self'
endif
loopHi, it is my first script with the help of a lot of scripts in here,
1-DO NOT PUT COLORED WOOD BOARDS in the same container that you want to use.
2- Set restock agent 3 to get more than 20 wood boards, and at least 1 saw
3- !!!Recycle is set to Entire backpack!!! (or it should be to make this work on a recycle loop, otherwise it will probably drop excessive crafted items on the ground)
If you have anyway of making this script better, please feel free to help me out ^^