Back to "tailoring" tags

Sheer sheep, wheel wool, loom yarn by Jaseowns

Description: This script will sheer sheep if you have scissors, use the wool on a spinning wheel and then use the yarn on a loom to make cloth.

1# Sheer sheep, wheel wool, loom yarn nearby in a loop by Jaseowns
2# UO Outlands
3
4if not varexist woolCntVar 
5    @setvar! woolCntVar 0
6endif
7
8if counttype "pile%s% of wool" backpack as woolCnt
9    @setvar! woolCntVar woolCnt
10endif
11
12while findtype 207 ground -1 -1 2 as jheep
13    overhead "Found a sheep" 88 jheep
14    if findtype "scissors" backpack as item
15        dclick item
16        wft 500
17        target jheep
18        wait 650
19        if counttype "pile%s% of wool" backpack as nextWoolCnt
20            if nextWoolCnt = woolCntVar
21                overhead "Captcha break!" 34
22                stop
23            endif
24         else
25            overhead "Captcha break!" 34
26            stop
27        endif
28    endif
29endwhile
30
31
32
33if findtype "spinning wheel" ground -1 -1 2 as jheel
34    if findtype "pile%s% of wool" backpack as item
35        dclick item
36        wft 500
37        target jheel
38        wait 650
39    endif
40endif
41
42if findtype "upright loom" ground -1 -1 2 as joom
43    if findtype 3613 backpack as item
44        dclick item
45        wft 500
46        target joom
47        wait 650
48    endif
49endif
50
51
52
53loop