Back to "b" tags

recallHome by flutschi

Related: Lumberjacking

1#change this if you want a specific runebook to a serial
2@setvar! rBook 8901
3@setvar! ressPile 0x500BC9CE
4@setvar! shelf 0x4B2F7044
5
6
7#use runebook
8dclicktype 8901 backpack
9waitforgump 1551740969
10gumpresponse 5
11pause 3500
12
13#go into ur inn
14say 'room'
15pause 500
16waitforgump 2393832411
17pause 500
18
19if counttype 7127 backpack as logs
20    overhead 'saved Logs: {{logs}}'
21else
22    overhead 'no logs found..'
23endif
24
25#change this for the owner of the inn (co-owner have a different gump)
26if name == "Flutschi"
27    gumpresponse 4
28    pause 200
29else
30    gumpresponse 5
31    waitforgump 2393832411
32endif
33pause 500
34gumpresponse 100
35pause 500
36
37#smelt if ur a miner
38while findtype 6585 backpack
39    dclicktype 6585 backpack
40    pause 500
41endwhile
42
43#put everything into ress stockpile
44menu ressPile 0
45waitfortarget
46target 'self'
47pause 500
48
49#reload
50menu shelf 1
51pause 200
52
53overhead 'finished'