-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfixpouches.cmd
More file actions
68 lines (50 loc) · 1023 Bytes
/
fixpouches.cmd
File metadata and controls
68 lines (50 loc) · 1023 Bytes
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#debug 5
var container $primary.container
var gempouch $gem.pouch
if (%argcount == 0 || %1 < 1) then
{
echo enter a number larger than 0
exit
}
var pouches %1
var loop_count 0
var numbers first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth
loop:
gosub app
math loop_count add 1
if (%loop_count >= %pouches) then goto end
goto loop
app:
var number %numbers[%loop_count]
var temp %loop_count
math temp add 1
echo %temp / %pouches
put get my %number %gempouch in my %container
put app my %gempouch quick
waitfor Roundtime
pause 0.5
goto fill
fill:
matchre tie too valuable to leave untied
matchre stow too full to fit any more gems
matchre app Encumbrance
put fill my %pouch with my %gem.container
put enc
matchwait 3
goto fill
tie:
pause
put tie my %pouch
goto fill
stow:
match RETURN You put
pause 0.1
put put my %gempouch in my %container
matchwait 2
goto stow
RETURN:
return
checkExp:
goto loop
end:
put #parse FIX DONE