Carpentry trainer to 100 (Tyramiel's Noob Trainer) by martkedisi
Related: Carpentry
Description: Hi, 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 ^^
1# UO Outlands Tyramiel Noob's
2#Carpentry to 100
3#Please set restock agent 3 for Wood Board and Saw
4# IMPORTANT: DO NOT PUT COLORED BOARDS IN THE BOARD BOX,
5# I couldn't find a way to separate them on the restock agent
6# If you find a better way of doing this, Please help me out
7
8
9if not varexist board_box
10 overhead "Select your box for board" 88
11 setvar board_box
12endif
13gumpclose 949095101
14wft 500
15
16wait 2000
17while queued
18 wait 100
19endwhile
20gumpclose
21if not findtype 4148 backpack
22 overhead 'No saw'
23 restock 3
24 target 'board_box'
25 replay
26endif
27
28if counttype 7127 backpack < 20
29 overhead 'No boards'
30 restock 3
31 target 'board_box'
32 replay
33endif
34
35dclicktype 4148 backpack
36waitforgump 949095101
37
38if skill 'Carpentry' >= 50 and skill 'Carpentry' < 65
39 overhead 'Clubs'
40 gumpresponse 101
41 waitforgump 949095101
42 gumpresponse 200
43 elseif skill 'Carpentry' >= 65 and skill 'Carpentry' < 75
44 overhead 'Tambourines'
45 gumpresponse 103
46 waitforgump 949095101
47 gumpresponse 203
48 elseif skill 'Carpentry' >= 75 and skill 'Carpentry' < 100
49 overhead 'Bamboo Flutes'
50 gumpresponse 103
51 waitforgump 949095101
52 gumpresponse 204
53else
54 overhead 'All Done!'
55 break
56endif
57wait 4000
58gumpclose
59if findtype 4148 backpack
60 dclicktype 4148 backpack
61 waitforgump 949095101
62 gumpresponse 3 949095101
63 wft 5000
64 hotkey 'Target Self'
65endif
66loop