-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlaminate.cmd
167 lines (146 loc) · 3.74 KB
/
laminate.cmd
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
debug 5
var item %1
var container $primary.container
var belt carpenter's belt
var has_craft_belt $has_shaping_craft_belt
var need_string NO
var need_strips NO
action var need_string YES when You need another finished bow string to continue
action var need_strips YES when ready to be strengthened with some leather strips
if_2 then goto %2
GetBook:
put get my shaping book;study my book
waitfor Roundtime
pause 1
put stow my book
waitfor You put
goto Get.Clamps
fletch:
matchre Get.Rasp A bulbous knot
matchre Get.Backer ready to be reinforced with some backer material
matchre Get.Strips when ready to be strengthened with some leather strips|ready to be assembled with leather strips
matchre Get.Knife more fine detail carved
matchre Get.Shaper Shaping with a wood shaper is needed
matchre Get.Clamps The bow now must be pushed with clamps or a vice to hold it in place
matchre Get.Stain Some wood stain should be applied to the wood to finish it|You need another finished bow string to continue
matchre Get.Glue Glue should now be applied so assembly can begin
matchre done Applying the final touches, you complete working|cable-backing process|successful lamination process|successful lightening process|The bow has already had its draw strength adjusted
matchwait
Get.Drawknife:
pause 1
gosub swap.tool drawknife
var tool drawknife
pause 0.5
DrawScrape:
save DrawScrape
put scrape my lumber with my drawknife
goto fletch
Get.Knife:
pause 1
gosub swap.tool carving knife
var tool rasp
pause 0.5
Carve:
save Carve
put carve my %item with my knife
goto fletch
Get.Rasp:
pause 1
gosub swap.tool rasp
var tool rasp
pause 0.5
Scrape:
save Scrape
put scrape my %item with my rasp
goto fletch
Get.Shaper:
pause 1
gosub swap.tool shaper
var tool shaper
pause 0.5
Shape:
save Shape
put shape my %item with my shaper
goto fletch
Get.Clamps:
pause 1
gosub swap.tool clamps
var tool clamps
pause 0.5
Clamp:
save Clamp
put push my %item with my clamps
goto fletch
Get.Glue:
pause 1
gosub swap.tool glue
var tool glue
pause 0.5
Glue:
save Glue
put apply my glue to my %item
goto fletch
Get.Backer:
pause 1
gosub swap.tool backer
pause 0.5
Backer:
save Backer
put assemble my backer with my %item
goto Get.Clamps
Get.Strips:
pause 1
gosub swap.tool strips
pause 0.5
Strips:
save Strips
put assemble my strips with my %item
goto Get.Knife
Get.Stain:
pause 1
if "%need_string" = "YES" then gosub Bowstring
gosub swap.tool wood stain
var tool clamps
pause 0.5
Stain:
save Stain
put apply my stain to my %item
goto fletch
Bowstring:
pause 0.5
gosub swap.tool bow string
put assemble my bow string with my %item
pause 0.5
return
swap.tool:
var tool $0
if !contains("$lefthand", "%tool") then
{
if ("$lefthand" != "Empty") then { gosub stow.tool }
pause 0.5
matchre %last \.\.\.wait|Sorry
matchre RETURN You get|You remove
if "%has_craft_belt" = "YES" then { put untie my %tool from %belt }
else { put untie my %tool }
put get my %tool in my %container
matchwait 5
goto done
}
pause 0.5
return
stow.tool:
pause 0.5
matchre RETURN You attach|You put|Tie what
matchre stow.tool.2 doesn't seem to fit
if "%has_craft_belt" = "YES" then put tie my $lefthandnoun to my %belt
else put put my $lefthandnoun in my %container
matchwait
stow.tool.2:
put put my $lefthandnoun in my %container
return
RETURN:
pause 0.5
return
done:
if "$lefthand" != "Empty" then put put my $lefthandnoun in my %container
put #parse FLETCHING DONE