forked from brycole/gemstone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboost.lic
45 lines (37 loc) · 917 Bytes
/
boost.lic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
=begin
For use with bounty boosts.
v.01 by Kalros
=end
start_script 'go2', [ 'advguild' ]
wait_while { running?('go2') }
$gemtask = false
$uncut = false
start_exec_script( <<-eos
while(line = get);
break unless running?('boost');
$gemtask = true if line =~ /The local gem dealer, .*, has an order/;
$uncut = true if line =~ /in purchasing an uncut (diamond|ruby|emerald)/;
end;
eos
)
while line = get
fput "ask rhe about bounty"
sleep 0.2
if $gemtask == false
fput "ask rhe about removal"
fput "ask rhe about removal"
sleep 5
else
start_script 'go2', [ 'gemshop' ]
wait_while { running?('go2') }
fput "ask dealer for bounty"
sleep 0.2
if $uncut == true
break
else
$gemtask == false
start_script 'go2', [ 'advguild' ]
wait_while { running?('go2') }
end
end
end