Back to "lanterns" tags

Swapping Lanterns by Jaseowns

1# Swapping Lanterns by Jaseowns
2# UO Outlands
3# Legenis request
4
5@clearignore 
6
7if not listexists jase_lanterns_options
8    createlist jase_lanterns_options
9    while findtype 31163|31164|31143|31144 self as item
10        pushlist jase_lanterns_options item
11        @ignore item
12    endwhile 
13    @clearignore 
14endif
15
16if not listexists jase_lanterns_worn
17    createlist jase_lanterns_worn
18endif
19
20if list jase_lanterns_worn = list jase_lanterns_options
21    //overhead "clearing the list"
22    clearlist jase_lanterns_worn
23endif
24
25while findtype 31163|31164|31143|31144 backpack as jaseBackpackItems
26    getlabel jaseBackpackItems jaseTimer
27    //overhead "we are stuck here {{jaseTimer}}" 34
28    @ignore jaseBackpackItems
29endwhile 
30
31//overhead "we are gonna replay"
32
33
34// 31163 -- restyle off
35// 31164 -- restyle on
36// 31143 -- regular off
37// 31144 -- regular on
38
39
40
41if findtype 31163|31164|31143|31144 self as jaseWornItem
42    //overhead "we are holding a lantern"
43    pushlist jase_lanterns_worn jaseWornItem
44
45    while not find jaseWornItem backpack
46        hotkey "Grab item"
47        wft 500
48        target jaseWornItem
49        wait 200
50    endwhile
51endif
52
53@clearignore
54
55while findtype 31163|31164|31143|31144 backpack as newLantern
56    //overhead "we are in this loop"
57    if inlist jase_lanterns_worn newLantern
58        //overhead "This is in the list"
59        @ignore newLantern
60    else
61        dclick newLantern    
62        break
63    endif
64endwhile 
65
66wait 650
67loop
68
69
70
71