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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
|
//================= Hercules Script =======================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015 Hercules Dev Team
//= Copyright (C) Silent
//= Copyright (C) erKURITA
//= Copyright (C) Lupus
//= Copyright (C) L0ne_W0lf
//= Copyright (C) Muad_dib
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Einbroch Guides (Pre-Renewal)
//================= Description ===========================================
//= Guides for the City of Einbroch
//================= Current Version =======================================
//= 1.5
//=========================================================================
einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{
cutin "ein_soldier",2;
mes "[Einbroch Guide]";
mes "Welcome";
mes "to Einbroch,";
mes "the City of Steel.";
mes "Please ask me if you";
mes "have any questions.";
.@loop1 = 1;
while (.@loop1) {
next;
switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) {
case 1:
mes "[Einbroch Guide]";
mes "Please select";
mes "a location from";
mes "the following menu.";
if (.@compass_check == 0) {
mes "Would you like me";
mes "to mark locations";
mes "on your Mini-Map?";
next;
if (select("Yes.:No.") == 1) .@compass_check = 1;
}
.@loop2 = 1;
while(.@loop2) {
if (.@wait_button_chk == 0) .@wait_button_chk = 1;
else next;
switch(select("^FF0000Airport^000000:Train Station:Factory:Plaza:Hotel:Weapon Shop:Laboratory:Blacksmith Guild:Einbroch Tower:Cancel")) {
case 1:
mes "[Einbroch Guide]";
mes "The ^FF0000Airport^000000 is located";
mes "in the northwestern part";
mes "of the city. There you can";
mes "see our city's pride and joy, the Airship. Remember that you must pay admission to board the Airship.";
if (.@compass_check)
viewpoint 1,63,228,2,0xFF0000;
break;
case 2:
mes "[Einbroch Guide]";
mes "The Train Station is";
mes "located in the northeast";
mes "part of Einbroch. Trains";
mes "running between here";
mes "and Einbech run all day";
mes "long, everyday.";
if (.@compass_check)
viewpoint 1,236,279,3,0xFF00FF;
break;
case 3:
mes "[Einbroch Guide]";
mes "The Factory, perhaps the";
mes "most important facility in";
mes "Einbroch, is located in the";
mes "southern part of the city.";
if (.@compass_check)
viewpoint 1,158,78,4,0xFF00FF;
break;
case 4:
mes "[Einbroch Guide]";
mes "The Plaza, our biggest";
mes "shopping district, can be";
mes "found just east from the";
mes "center of Einbroch.";
if (.@compass_check)
viewpoint 1,232,190,5,0xFF00FF;
break;
case 5:
mes "[Einbroch Guide]";
mes "The Hotel is east of";
mes "the Plaza and offers top";
mes "caliber accomodations.";
mes "There, you can enjoy your";
mes "stay in Einbroch in comfort~";
if (.@compass_check)
viewpoint 1,260,201,6,0x00FF00;
break;
case 6:
mes "[Einbroch Guide]";
mes "The Weapon Shop is";
mes "located north from the";
mes "Plaza. There you can";
mes "purchase weapons for";
mes "your personal use.";
if (.@compass_check)
viewpoint 1,215,221,7,0x00FF00;
break;
case 7:
mes "[Einbroch Guide]";
mes "The Laboratory is an";
mes "annex of the Factory and";
mes "is located in the southwest";
mes "sector of Einbroch.";
if (.@compass_check)
viewpoint 1,36,49,8,0x00FF;
break;
case 8:
mes "[Einbroch Guide]";
mes "The Blacksmith Guild is";
mes "located in the southeast";
mes "part of Einbroch. You can";
mes "upgrade your equipment";
mes "by using their services.";
if (.@compass_check)
viewpoint 1,244,90,9,0x00FF00;
break;
case 9:
mes "[Einbroch Guide]";
mes "The Einbroch Tower is";
mes "located in the center of";
mes "the city. From the top of";
mes "the tower, you can view";
mes "all of Einbroch.";
if (.@compass_check)
viewpoint 1,174,195,10,0xFFFF00;
break;
case 10:
mes "[Einbroch Guide]";
mes "Please ask me to ''Remove";
mes "Marks from Mini-Map'' if you";
mes "no longer wish to have the";
mes "location marks displayed";
mes "on your Mini-Map.";
.@loop2 = 0;
}
}
break;
case 2:
viewpoint 2,63,228,2,0xFF0000;
viewpoint 2,236,279,3,0xFF00FF;
viewpoint 2,158,78,4,0xFF00FF;
viewpoint 2,232,190,5,0xFF00FF;
viewpoint 2,260,201,6,0x00FF00;
viewpoint 2,215,221,7,0x00FF00;
viewpoint 2,36,49,8,0x00FF00;
viewpoint 2,244,90,9,0x00FF00;
viewpoint 2,174,195,10,0xFFFF00;
.@compass_check = 0;
mes "[Einbroch Guide]";
mes "Okay, the marks from";
mes "your Mini-Map have been";
mes "removed. If you need any";
mes "guidance around Einbroch,";
mes "please let me or one of the";
mes "other Einbroch Guides know.";
break;
case 3:
mes "[Einbroch Guide]";
mes "Through the technology of";
mes "the Schwaltzvalt Republic,";
mes "we've upgraded to a digital";
mes "information system that allows";
mes "us to mark locations on your";
mes "Mini-Map for easier navigation.";
next;
mes "[Einbroch Guide]";
mes "Your Mini-Map is located";
mes "in the upper right corner";
mes "of the screen. If you can't";
mes "see it, press the Ctrl + Tab";
mes "keys or click the ''Map'' button in your Basic Info Window.";
next;
mes "[Einbroch Guide]";
mes "On your Mini-Map,";
mes "click on the ''+'' and ''-''";
mes "symbols to zoom in and";
mes "our of your Mini-Map. We";
mes "hope you enjoy your travels";
mes "here in Einbroch, adventurer.";
break;
case 4:
mes "[Einbroch Guide]";
mes "We hope that you";
mes "enjoy your travels";
mes "here in Einbroch.";
mes "Oh, and please be";
mes "aware of the Smog Alerts.";
close2;
.@loop1 = 0;
}
}
cutin "ein_soldier",255;
end;
}
einbroch,155,43,4 duplicate(EinGuide) Guide#2ein 4_M_EIN_SOLDIER
einbroch,162,317,4 duplicate(EinGuide) Guide#3ein 4_M_EIN_SOLDIER
einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{
cutin "ein_soldier",2;
mes "[Einbech Guide]";
mes "Welcome to Einbech,";
mes "the Mining Town. We're";
mes "here to assist tourists,";
mes "so if you have any questions,";
mes "please feel free to ask us.";
.@loop1 = 1;
while (.@loop1) {
next;
switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) {
case 1:
mes "[Einbech Guide]";
mes "Please select";
mes "a location from";
mes "the following menu.";
if (.@compass_check == 0) {
mes "Would you like me";
mes "to mark locations";
mes "on your Mini-Map?";
next;
if (select("Yes.:No.") == 1) .@compass_check = 1;
}
.@loop2 = 1;
while (.@loop2) {
if (.@wait_button_chk == 0) .@wait_button_chk = 1;
else next;
switch(select("Train Station:Tavern:Tool Shop:Swordman Guild:Mine:Cancel")) {
case 1:
mes "[Einbech Guide]";
mes "The Train Stations are";
mes "located in the northwest";
mes "and northeast parts of";
mes "Einbech. There, you can";
mes "take a train to Einbroch.";
if (.@compass_check)
viewpoint 1,43,213,2,0xFF0000;
break;
case 2:
mes "[Einbech Guide]";
mes "The Tavern is located";
mes "in the southern part of";
mes "Einbech. It's a nice place";
mes "to relax after a long day.";
if (.@compass_check)
viewpoint 1,142,112,3,0xFF00FF;
break;
case 3:
mes "[Einbech Guide]";
mes "You can find the Tool";
mes "Shop in the center of";
mes "Einbech. There, you can";
mes "purchase any tools you";
mes "might need for your travels.";
if (.@compass_check)
viewpoint 1,176,136,4,0xFF00FF;
break;
case 4:
mes "[Einbech Guide]";
mes "The Swordman Guild";
mes "is located in the eastern";
mes "outskirts of Einbech. It's";
mes "under construction and they";
mes "haven't started accepting";
mes "applications.";
if (.@compass_check)
viewpoint 1,250,110,5,0xFF00FF;
break;
case 5:
mes "[Einbech Guide]";
mes "The Mine, which is";
mes "Einbech's major industry,";
mes "is located in the northern";
mes "part of this town. It's where";
mes "we get all our ores, although monsters get in the miners' way.";
if (.@compass_check)
viewpoint 1,138,251,6,0x00FF00;
break;
case 6:
mes "[Einbech Guide]";
mes "Please ask me to ''Remove";
mes "Marks from Mini-Map'' if you";
mes "no longer wish to have the";
mes "location marks displayed";
mes "on your Mini-Map.";
.@loop2 = 0;
}
}
break;
case 2:
viewpoint 2,43,213,2,0xFF0000;
viewpoint 2,142,112,3,0xFF00FF;
viewpoint 2,176,136,4,0xFF00FF;
viewpoint 2,250,110,5,0xFF00FF;
viewpoint 2,138,251,6,0x00FF00;
.@compass_check = 0;
mes "[Einbech Guide]";
mes "Okay, the marks from";
mes "your Mini-Map have been";
mes "removed. If you need any";
mes "guidance around Einbech,";
mes "please let me or one of the";
mes "other Einbech Guides know.";
break;
case 3:
mes "[Einbech Guide]";
mes "Through the technology of";
mes "the Schwaltzvalt Republic,";
mes "we've upgraded to a digital";
mes "information system that allows";
mes "us to mark locations on your";
mes "Mini-Map for easier navigation.";
next;
mes "[Einbech Guide]";
mes "Your Mini-Map is located";
mes "in the upper right corner";
mes "of the screen. If you can't";
mes "see it, press the Ctrl + Tab";
mes "keys or click the ''Map'' button in your Basic Info Window.";
next;
mes "[Einbech Guide]";
mes "On your Mini-Map,";
mes "click on the ''+'' and ''-''";
mes "symbols to zoom in and";
mes "our of your Mini-Map. We";
mes "hope you enjoy your travels";
mes "here in Einbech, adventurer.";
break;
case 4:
mes "[Einbech Guide]";
mes "We hope that you";
mes "enjoy your travels";
mes "here in Einbech.";
close2;
.@loop1 = 0;
}
}
cutin "ein_soldier",255;
end;
}
einbech,48,214,4 duplicate(EinGuide2) Guide#5ein 4_M_EIN_SOLDIER
|