Back to "snippet" tags

House Dump by Brozan (Syal)

Related: Snippet

Description: Dump stuff specific to my house, but good for a template

1clearignore
2
3//open tome chest
4dclick 0x5B7C7BBD
5wait 600
6
7//repair
8dclick 0x61F237E9
9wait 600
10
11overhead "Starting Organizers"
12organizer 1
13while queued
14    wait 1000
15endwhile
16organizer 2
17while queued
18    wait 1000
19endwhile
20organizer 3
21while queued
22    wait 1000
23endwhile
24organizer 4
25while queued
26    wait 1000
27endwhile
28organizer 5
29while queued
30    wait 1000
31endwhile
32organizer 6
33while queued
34    wait 1000
35endwhile
36organizer 7
37while queued
38    wait 1000
39endwhile
40organizer 8
41while queued
42    wait 1000
43endwhile
44organizer 9
45while queued
46    wait 1000
47endwhile
48wait 1000
49
50while findtype "cooked fish"  as found
51    dclicktype "dagger"
52    wft 2500
53    target found
54    #wait 400
55    ignore found
56endwhile
57while findtype "fish"  as found
58    dclicktype "dagger"
59    wft 2500
60    target found
61    #wait 400
62    ignore found
63endwhile
64
65//dump all supply shelf
66if findtype 44997 ground any any 2 as found
67    menu found 0 
68    wft 2500
69    target self
70    menu found 1                
71    gumpclose 3232825965 
72    if skill "Magery" > 50
73        while counttype 29012 backpack < 35
74            cast "create food"
75            wait 1000
76            if mana < 70 and insysmsg "use another magic"
77                dclicktype 29012
78            endif
79            menu found 1
80            if insysmsg "cheese"
81                break
82            endif
83        endwhile
84    endif
85endif        
86overhead "Done with shelf"     
87gumpclose 3232825965   
88
89//dump all resources
90dclick 0x4004288C
91waitforgump 1859005118
92gumpresponse 2
93waitfortarget
94waitforgump 1859005118
95target 'self'
96wait 500
97gumpclose 1859005118
98wait 500
99
100clearignore 
101//dump pack llama
102while findtype 292 ground any any 2 as found
103    overhead 'Packhorse dump routine' 55
104    
105    dclick found
106    wait 500
107    //dump all supply shelf
108    menu 0x4083AF65 0
109    waitfortarget
110    target found
111    wait 500
112    gumpclose
113    wait 500
114
115    //dump all resources
116    dclick 0x407F8ACB
117    waitforgump 1859005118
118    gumpresponse 2
119    waitfortarget
120    waitforgump 1859005118
121    target found
122    wait 500
123    gumpclose
124    wait 500
125    
126    #dump gold
127    
128
129    while findtype 3821 'found' as 'myGold'
130        lift myGold 60000
131        drop '0x40820133' -1 -1 0 
132        wait 600
133    endwhile
134
135    ignore found
136endwhile   
137
138//dump pack horse
139while findtype 291 ground any any 2 as found
140    overhead 'Packhorse dump routine' 55
141    
142    dclick found
143    wait 500
144    //dump all supply shelf
145    menu 0x4083AF65 0
146    waitfortarget
147    target found
148    wait 500
149    gumpclose
150    wait 500
151
152    //dump all resources
153    dclick 0x407F8ACB
154    waitforgump 1859005118
155    gumpresponse 2
156    waitfortarget
157    waitforgump 1859005118
158    target found
159    wait 500
160    gumpclose
161    wait 500
162    
163    #dump gold
164    
165
166    while findtype 3821 'found' as 'myGold'
167        lift myGold 60000
168        drop '0x40820133' -1 -1 0 
169        wait 600
170    endwhile
171
172    ignore found
173endwhile    
174
175gumpclose 3232825965   
176
177script 'Bag Dumper'