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
|
//================= 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) Euphy
//= Copyright (C) L0ne_W0lf
//=
//= 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/>.
//=========================================================================
//= Prontera Guides (Renewal)
//================= Description ===========================================
//= Guides for the city of Prontera.
//================= Current Version =======================================
//= 1.1
//=========================================================================
prontera,154,187,4 script Guide#01prontera::GuideProntera 8W_SOLDIER,{
cutin "prt_soldier",2;
mes "[Prontera Guide]";
mes "Welcome to ^8B4513Prontera^000000,";
mes "the beautiful capital of the";
mes "Rune-Midgarts Kingdom.";
mes "Do you need help navigating the city?";
F_Navi("[Prontera Guide]");
next;
.@str$ = "Would you like to check any other locations?";
while (1) {
switch(select("[ Main Facilities ]", "[ Merchants & Helpers ]", "Remove Marks from Mini-Map", "Cancel")) {
case 1:
.@loop = 1;
while (.@loop) {
switch(select("[ Tool Shop ]", "[ Weapon & Armor Shop ]", "[ Forge ]", "[ Sanctuary ]", "[ Chivalry Office ]", "[ Inn ]", "[ Tavern ]", "[ Library ]", "[ Prontera Castle ]", "[ Job Agency ]", "[ City Hall ]", "Previous Menu")) {
case 1:
callsub L_Mark, F_Navi("Tool Shop","prontera,134,221","^B9062F");
mes .@str$;
viewpoint 1,134,221,0,0xFF0000;
next;
break;
case 2:
callsub L_Mark, F_Navi("Weapon & Armor Shop","prontera,175,220","^0000FF");
mes .@str$;
viewpoint 1,175,220,1,0x0A82FF;
next;
break;
case 3:
callsub L_Mark, F_Navi("Forge","prontera,179,184","^FF5400");
mes .@str$;
viewpoint 1,179,184,2,0xFFB400;
next;
break;
case 4:
mes "[Prontera Guide]";
mes "The "+F_Navi("Prontera Sanctuary","prontera,236,316","^006400")+" is";
mes "where you can change your job to Acolyte,";
mes "its located in the far northeast of Prontera.";
mes "Let me mark the location on your mini-map.";
mes .@str$;
viewpoint 1,236,316,3,0xAAFF00;
next;
break;
case 5:
mes "[Prontera Guide]";
mes "The "+F_Navi("Chivalry Office","prontera,46,345")+" is";
mes "where you can change your job to ^7F3300Knight^000000";
mes "or apply for the ^7F3300Culvert^000000 Subjugation Party.";
mes .@str$;
viewpoint 1,46,345,4,0xD2691E;
next;
break;
case 6:
callsub L_Mark, F_Navi("Inn","prontera,203,191","^800080");
mes .@str$;
viewpoint 1,204,191,5,0xDA70D6;
next;
break;
case 7:
callsub L_Mark, "^B9062FTaverns^000000";
mes "Only the "+F_Navi("northern","prontera,208,154","^B9062F")+" tavern";
mes "is open for now.";
mes .@str$;
viewpoint 1,208,154,6,0xFF0000;
viewpoint 1,46,67,7,0xFF0000;
next;
break;
case 8:
mes "[Prontera Guide]";
mes "The ^0000FFLibrary^000000 is";
mes "where you can find useful information, like the Monster Encyclopedia.";
mes "There are currently two libaries available,";
mes "One to the "+F_Navi("northeast","prontera,120,264")+" and the other to the "+F_Navi("northwest","prontera,192,264")+".";
mes .@str$;
viewpoint 1,120,264,8,0x0A82FF;
viewpoint 1,192,264,9,0x0A82FF;
next;
break;
case 9:
mes "[Prontera Guide]";
mes "The "+F_Navi("Prontera Castle","prontera,156,360","^FF5400")+" is north from here,";
mes "and its rear gate is connected to";
mes "the northern Prontera Fields.";
mes "Let me mark the castle on your mini-map.";
mes .@str$;
viewpoint 1,156,360,10,0xFFB400;
next;
break;
case 10:
callsub L_Mark, F_Navi("Job Agency","prontera,133,183","^006400");
mes .@str$;
viewpoint 1,133,183,11,0xAAFF00;
next;
break;
case 11:
mes "[Prontera Guide]";
mes "Let me mark the location of "+F_Navi("City Hall","prontera,75,91","^7F3300");
mes "on your mini-map.";
mes "There's a hairstylist";
mes "there that can change your hair color.";
mes .@str$;
viewpoint 1,75,91,12,0xD2691E;
next;
break;
case 12:
.@loop = 0;
break;
}
}
break;
case 2:
.@loop = 1;
while (.@loop) {
switch(select("[ Eden Teleport Officer ]", "[ Peco Peco Breeder ]", "[ Riding Creature Master ]", "[ Magic Gear Master ]", "[ Peco Peco Remover ]", "[ Trading Merchants ]", "[ Mercenary Guildsman ]", "[ Hypnotist ]", "[ Kafra Employee ]", "[ Leablem ]", "[ Apprentice Craftsman ]", "[ Pet Groomer ]", "Previous Menu")) {
case 1:
callsub L_Mark, F_Navi("Eden Teleport Officer","prontera,124,76","^800080"),1;
mes .@str$;
viewpoint 1,124,76,13,0xDA70D6;
next;
break;
case 2:
mes "[Prontera Guide]";
mes "Two ^0000FFPeco Peco Breeders^000000 are available,";
mes "one for ^0000FFKnights^000000 to the "+F_Navi("northwest","prontera,55,350","^0000FF");
mes "and the other for ^0000FFCrusaders^000000 to the "+F_Navi("northeast","prontera,232,310","^0000FF")+".";
viewpoint 1,55,350,14,0x0A82FF;
viewpoint 1,232,310,15,0x0A82FF;
next;
break;
case 3:
mes "[Prontera Guide]";
mes "The "+F_Navi("Riding Creature Master","prontera,131,213","^FF5400")+" provides services for";
mes "^FF5400Rune Knights^000000 and ^FF5400Royal Guards^000000.";
mes "Let me mark his location";
mes "on your mini-map.";
mes .@str$;
viewpoint 1,131,213,16,0xFFB400;
next;
break;
case 4:
mes "[Prontera Guide]";
mes "The "+F_Navi("Magic Gear Master","prontera,163,178","^006400");
mes "provides services for";
mes "^006400Mechanics^000000.";
mes "Let me mark his location";
mes "on your mini-map.";
mes .@str$;
viewpoint 1,163,178,17,0xAAFF00;
next;
break;
case 5:
mes "[Prontera Guide]";
mes "If your beloved Peco Peco refuses";
mes "to leave you,";
mes "please talk to the "+F_Navi("Peco Peco Remover","prontera,125,208","^7F3300");
mes "near the central fountain.";
mes .@str$;
viewpoint 1,125,208,18,0xD2691E;
next;
break;
case 6:
mes "[Prontera Guide]";
mes "The Rune Merchant, Amatsu Trader, and other";
mes F_Navi("Trading Merchants","prontera,178,244","^800080")+" have been marked";
mes "on your mini-map.";
mes .@str$;
viewpoint 1,178,244,19,0xDA70D6;
next;
break;
case 7:
callsub L_Mark, F_Navi("Mercenary Guildsman","prontera,35,337","^0000FF"),1;
mes .@str$;
viewpoint 1,35,337,20,0x0A82FF;
next;
break;
case 8:
mes "[Prontera Guide]";
mes "The ^FF5400Hypnotist^000000";
mes "helps beginner adventurers";
mes "to reset their skills.";
mes "He has moved to Izlude, Prontera's satellite town to the southeast.";
mes "Would you like to check any other locations?";
mes .@str$;
//viewpoint 1,146,232,21,0xFFB400;
next;
break;
case 9:
callsub L_Mark, "^006400Kafra Employees^000000",1;
mes .@str$;
viewpoint 1,152,326,22,0xAAFF00;
viewpoint 1,30,207,23,0xAAFF00;
viewpoint 1,282,200,24,0xAAFF00;
viewpoint 1,151,29,25,0xAAFF00;
viewpoint 1,146,89,26,0xAAFF00;
next;
break;
case 10:
mes "[Prontera Guide]";
mes F_Navi("Leablem","prontera,244,169","^0000FF");
mes "is a technician";
mes "who can create ^0000FFslots^000000 on weapons and armors,";
mes "As amazing as it sounds,";
mes "not all equipment can be slotted.";
mes .@str$;
viewpoint 1,244,169,27,0x0A82FF;
next;
break;
case 11:
callsub L_Mark, F_Navi("Apprentice Craftsman","prontera,165,60","^800080"),1;
mes .@str$;
viewpoint 1,165,60,28,0xDA70D6;
next;
break;
case 12:
callsub L_Mark, F_Navi("Pet Groomer","prontera,218,211"),1;
mes .@str$;
viewpoint 1,218,211,29,0xFF0000;
next;
break;
case 13:
.@loop = 0;
break;
}
}
break;
case 3:
mes "[Prontera Guide]";
mes "Sure, I'll remove all marks from your mini-map.";
mes "Is there anything else I can do for you?";
viewpoint 2,1,1,0,0xFFFF00;
viewpoint 2,1,1,1,0x000000;
viewpoint 2,1,1,2,0xFF0000;
viewpoint 2,1,1,3,0xFFFF00;
viewpoint 2,1,1,4,0xFFFF00;
viewpoint 2,1,1,5,0xFFFF00;
viewpoint 2,1,1,6,0xFFFF00;
viewpoint 2,1,1,7,0xFFFF00;
viewpoint 2,1,1,8,0xFFFF00;
viewpoint 2,1,1,9,0xFFFF00;
viewpoint 2,1,1,10,0xFFFF00;
viewpoint 2,1,1,11,0xFFFF00;
viewpoint 2,1,1,12,0xFFFF00;
viewpoint 2,1,1,13,0xFFFF00;
viewpoint 2,1,1,14,0xFFFF00;
viewpoint 2,1,1,15,0xFFFF00;
viewpoint 2,1,1,16,0xFFFF00;
viewpoint 2,1,1,17,0xFFFF00;
viewpoint 2,1,1,18,0xFFFF00;
viewpoint 2,1,1,19,0xFFFF00;
viewpoint 2,1,1,20,0xFFFF00;
//viewpoint 2,1,1,21,0xFFFF00;
viewpoint 2,1,1,22,0xFFFF00;
viewpoint 2,1,1,23,0xFFFF00;
viewpoint 2,1,1,24,0xFFFF00;
viewpoint 2,1,1,25,0xFFFF00;
viewpoint 2,1,1,26,0xFFFF00;
viewpoint 2,1,1,27,0xFFFF00;
viewpoint 2,1,1,28,0xFFFF00;
viewpoint 2,1,1,29,0xFFFF00;
next;
break;
case 4:
mes "[Prontera Guide]";
mes "Enjoy your stay.";
close2;
cutin "prt_soldier",255;
end;
}
}
end;
L_Mark:
mes "[Prontera Guide]";
if (getarg(1,0)) {
mes "Let me mark the location of the";
mes getarg(0);
} else
mes "Let me mark the location of the "+getarg(0);
mes "on your mini-map.";
return;
}
prontera,282,208,2 duplicate(GuideProntera) Guide#02prontera 8W_SOLDIER
prontera,29,200,6 duplicate(GuideProntera) Guide#03prontera 8W_SOLDIER
prontera,160,29,0 duplicate(GuideProntera) Guide#04prontera 8W_SOLDIER
prontera,151,330,4 duplicate(GuideProntera) Guide#05prontera 8W_SOLDIER
|