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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
|
//================= 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
//= Copyright (C) x[tsk]
//= Copyright (C) Lupus
//= Copyright (C) Toms
//= Copyright (C) Silent
//= Copyright (C) Nexon
//= Copyright (C) KarLaeda
//=
//= 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/>.
//=========================================================================
//= Kunlun Town
//================= Description ===========================================
//= Kunlun Town Script
//================= Current Version =======================================
//= 1.6
//=========================================================================
//== Kunlun Transportation =================================
- script ::Kunlun_Envoy_gonryun -1,{
mes "[Wa Bai Hu]";
mes "Good day~";
mes "Let me invite you all";
mes "to my homeland, Kunlun.";
mes "It is my honor to guide";
mes "such distinguished quests from";
mes "the Rune-Midgard kingdom.";
next;
switch(select("About Kunlun:Visit Kunlun:Cancel")) {
case 1:
mes "[Wa Bai Hu]";
mes "Kunlun is a beautiful place,";
mes "rich with history, and its";
mes "own traditions. I also think";
mes "Kunlun is the best place for";
mes "sightseeing.";
next;
mes "[Wa Bai Hu]";
mes "When you arrive at the harbor of";
mes "Kunlun, you'll be able to see";
mes "miniature replicas of";
mes "buildings found in Alberta";
mes "and Prontera.";
next;
mes "[Wa Bai Hu]";
mes "After enjoying a nice, leisurely";
mes "stroll, step into the beautiful";
mes "column of light that will take";
mes "you up into the clouds to";
mes "Kunlun Village.";
next;
mes "[Wa Bai Hu]";
mes "I've heard that on the";
mes "Rune-Midgarts continent,";
mes "there is another city that is";
mes "is kept aloft in the sky by";
mes "an ancient, mysterious power...";
next;
mes "[Wa Bai Hu]";
mes "Well, my Kunlun also floats";
mes "in the air, but without any";
mes "so called technology or";
mes "power supply. We consider";
mes "our land especially blessed...";
next;
mes "[Wa Bai Hu]";
mes "When you're in Kunlun, don't";
mes "forget to try our specialties";
mes "such as the giant dumpling or the heaven peach.";
next;
mes "[Wa Bai Hu]";
mes "You'd better prepare yourself";
mes "if you are planning to visit";
mes "the Kunlun dungeon. I must";
mes "say, that is not a safe place to go for fun.";
next;
mes "[Wa Bai Hu]";
mes "If you are interested in visiting";
mes "Kunlun, do not hesitate to let";
mes "me know. It's my great pleasure";
mes "to serve you, honorable guest.";
close;
case 2:
mes "[Wa Bai Hu]";
mes "Excellent choice, I am glad";
mes "to have you as our guest~";
mes "However, a small fee is required";
mes "to board the ship to Kunlun.";
next;
mes "[Wa Bai Hu]";
mes "We ask that you pay 10,000 zeny";
mes "prior to departure. That fee also";
mes "covers the cost of returning";
mes "to Alberta. I am ready to guide";
mes "you to Kunlun at any time.";
next;
mes "[Wa Bai Hu]";
mes "Would you like to board?";
next;
if (select("To Kunlun~!:No.") == 1) {
if (Zeny > 9999) {
mes "[Wa Bai Hu]";
mes "Thank you, let me guide you there immediately.";
close2;
Zeny -= 10000;
warp "gon_fild01",258,82;
end;
}
mes "[Wa Bai Hu]";
mes "I am sorry, but you must have";
mes "10,000 zeny to travel to Kunlun.";
mes "Please make sure you have enough";
mes "zeny with you. Thank you, and";
mes "please come again.";
close;
}
mes "[Wa Bai Hu]";
mes "I see. However, whenever you";
mes "change your mind, please let";
mes "me know. It would be a great";
mes "please to serve you, most";
mes "honorable guest.";
close;
case 3:
mes "[Wa Bai Hu]";
mes "I see. However, whenever you";
mes "change your mind, please let me";
mes "know. It would be a great pleasure to serve you, most honorable guest.";
close;
}
}
gon_fild01,255,79,7 script Kunlun Envoy#gon2 4_M_TWMIDMAN,{
mes "[Wa Bai Hu]";
mes "So, did you enjoy your trip?";
mes "I guess it's the time for you to";
mes "go home. The ship to Rune-Midgard is ready to depart at any time.";
next;
if (select("Go back to Alberta:Cancel") == 1) {
mes "[Wa Bai Hu]";
mes "Please come again.";
mes "I hope you will let your friends";
mes "know about Kunlun when you get";
mes "back. Now, let me guide you";
mes "back to Alberta.";
close2;
if (RENEWAL)
warp "alberta",244,60;
else
warp "alberta",243,67;
end;
}
mes "[Wa Bai Hu]";
mes "Take your time, my guest.";
mes "There should be many places";
mes "you may have missed.";
close;
}
gon_fild01,187,239,7 script Kunlun Envoy#gon3 4_M_TWMIDMAN,{
mes "[Zhang Quing Long]";
mes "Please head north to enter Kunlun.";
mes "I hope you will have a great time";
mes "while staying in Kunlun.";
close;
}
gonryun,153,64,7 script Kunlun Envoy#gon4 4_M_TWMIDMAN,{
mes "[Zhang Quing Long]";
mes "Please make yourself comfortable.";
mes "If you want to go back, I will";
mes "be more than happy to guide you";
mes "to the ship to Alberta.";
next;
if (select("Go back to the harbor:Cancel") == 1) {
mes "[Zhang Quing Long]";
mes "I hope you enjoyed your trip.";
mes "Now, let me guide you back";
mes "to the harbor.";
close2;
warp "gon_fild01",258,82;
end;
}
mes "[Zhang Quing Long]";
mes "Take your time, my guest.";
mes "There should be many places";
mes "you may have missed.";
close;
}
//== Generic Kunlun NPCs ===================================
gonryun,200,82,3 script Jian Chung Xun#gon 4_M_TWBOY,{
mes "[Jian Chung Xun]";
mes "I simply adore festivals.";
mes "That's why I love this town.";
mes "This town makes me feel like I am";
mes "in the middle of a festival all year round.";
close;
}
gonryun,268,88,3 script Liang Zhun Bu#gon 4_M_TWMIDMAN,{
mes "[Liang Zhun Bu]";
mes "We are proud to be an independent";
mes "nation, and have been fighting";
mes "against the evil invaders who've";
mes "wanted to conquer this blessed land for many years...";
next;
mes "[Liang Zhun Bu]";
mes "But we have victoriously fended";
mes "off every invasion! As long";
mes "as we believe in ourselves,";
mes "we shall never forget the";
mes "Trumphal Song that has helped us in our struggles.";
close;
}
gonryun,118,111,5 script Qian Yuen Shuang#gon 4_M_ORIENT02,{
mes "[Qian Yuen Shuang]";
mes "The chief of this town is a man";
mes "who opens his heart to others.";
mes "However, I have heard that there";
mes "are some people who don't like his personality...";
next;
mes "[Qian Yuen Shuang]";
mes "Well, I like my town. The Chief's";
mes "efforts have made our town safer.";
mes "I just hope other people feel the";
mes "same way about what he has done.";
close;
}
gonryun,181,161,3 script Jing Wen Zhen#gon 4_F_TWMIDWOMAN,{
mes "[Jing Wen Zhen]";
mes "The men in our town, Kunlun, are";
mes "all brave and courageous.";
mes "But, they are unable to get";
mes "married. It's quite a shame really...";
next;
mes "[Jing Wen Zhen]";
mes "It's all because there are";
mes "more men than women.";
mes "I am not even sure whether";
mes "or not my son will be able to";
mes "find me a daughter in law.";
close;
}
gonryun,113,135,6 script Gatekeeper#gon 8_M_TWSOLDIER,{
mes "[Kunlun Guard]";
mes "Welcome.";
mes "This is the residence of Shi Yan Wen, the chief of Kunlun.";
next;
mes "[Kunlun Guard]";
mes "You better behave yourself while";
mes "you are here. If we see anything";
mes "suspicious, we'll arrest you in a heartbeat.";
next;
mes "[Kunlun Guard]";
mes "However, rest assured, you seem";
mes "like a trustworthy person.";
mes "I'm sure nothing will happen. Enjoy your visit.";
close;
}
gonryun,113,127,6 script Gatekeeper#gon2 8_M_TWSOLDIER,{
mes "[Kunlun Guard]";
mes "Welcome.";
mes "This is the residence of Shi Yan Wen, the chief of Kunlun.";
next;
mes "[Kunlun Guard]";
mes "You better behave yourself while";
mes "you are here. If we see anything";
mes "suspicious, we'll arrest you in a heartbeat.";
next;
mes "[Kunlun Guard]";
mes "However, rest assured, you seem";
mes "like a trustworthy person.";
mes "I'm sure nothing will happen. Enjoy your visit.";
close;
}
gon_in,73,82,5 script Ji Chung Zhe#gon 4_M_TWTEAMAN,{
if (nakha >= 0 && nakha <= 2) {
mes "[Ji Chung Zhe]";
mes "............";
next;
mes "[Ji Chung Zhe]";
mes "puuuuu....This sure is";
mes "something to worry about.";
close;
}
if (nakha == 3) {
cha = 1;
mes "[Ji Chung Zhe]";
mes "I am Ji Chung Zhe, a renown brewer";
mes "of teas. Everyday, I put all my";
mes "efforts in making scrumptious, delicious tea.";
next;
mes "[Ji Chung Zhe]";
mes "*Sigh* But lately, the tea I've";
mes "been making hasn't been that";
mes "great... If I only had some special ingredients...";
next;
mes "[Ji Chung Zhe]";
mes "I've been told that if you use";
mes "a snake, you can concoct a truly";
mes "extraordinary beverage~";
mes "But...where can I find one";
mes "and how can I catch one?";
mes "Hmm...";
close;
}
}
gon_in,173,27,3 script Yu Jiu Xia#gon 4_M_TWBOY,{
mes "[Yu Jiu Xia]";
mes "Geez, just as I thought.";
mes "They won't sell alcohol to me.";
mes "Maybe its cuz I'm too young...";
mes "Hmmm...I wonder how it tastes...";
next;
mes "[Yu Jiu Xia]";
mes "However, I know they're making";
mes "some tasty tea that even kids";
mes "like me can enjoy.";
mes "It makes my mouth water just";
mes "thinking about this new tea.";
close;
}
gonryun,166,196,3 script Soldier#gon 8_M_TWSOLDIER,{
if (b_sword < 7) {
mes "[Wa Qiu Wu]";
mes "Let me tell you something";
mes "interesting about this place~";
mes "Long ago, this entire area used to be a shrine.";
next;
mes "[Wa Qiu Wu]";
mes "In those days, Taoist hermits";
mes "used to gather here in order to";
mes "reach the Sky Kingdom. However,";
mes "they failed miserably...slowly the monsters began to come...";
close;
}
else if ((b_sword > 6) && (b_sword < 10)) {
mes "[Wa Qiu Wu]";
mes "Don't you think it was quite noisy";
mes "last night? It was all because";
mes "of that thief. He made quite";
mes "a scene...It was so loud that";
mes "I couldn't sleep at all...";
next;
mes "[Wa Qiu Wu]";
mes "Ahh~~~~!";
mes "In the middle of all that";
mes "commotion, I saw";
mes "something running straight";
mes "into the shrine.";
next;
mes "[Wa Qiu Wu]";
mes "It was moving so fast that";
mes "I couldn't even tell what it was.";
mes "From what I could recognize, it";
mes "looked human. I wonder";
mes "what it was...";
next;
mes "[Wa Qiu Wu]";
mes "It might have been the";
mes "thief, but it moved";
mes "so fast, it seemed like";
mes "just a blur.";
close;
}
mes "[Wa Qiu Wu]";
mes "Let me tell you something";
mes "interesting~ This entire area";
mes "used to be a shrine.";
next;
mes "[Wa Qiu Wu]";
mes "A long time ago, Taoist hermits";
mes "used to gather here in order to";
mes "reach the Sky Kingdom. However,";
mes "they failed miserably...slowly the monsters began to come.";
next;
mes "[Wa Qiu Wu]";
mes "The town is getting ready for the";
mes "Festival, but something is delaying";
mes "it. This has never happened before...";
close;
}
gonryun,169,71,3 script Guidev#gon 4_F_TWGIRL,{
mes "[Li Xi Jiao]";
mes "Welcome to Kunlun!";
mes "Did you enjoy all the incredible";
mes "scenery on your way here?";
mes "The buildings may be small, but we";
mes "all worked hard to build this city.";
next;
mes "[Li Xi Jiao]";
mes "I have some miniatures of";
mes "the Rune-Midgarts Kingdom.";
mes "You can view all of Prontera in a";
mes "single glance. The craftsmanship";
mes "on these masterpieces is quite stunning!";
next;
mes "[Li Xi Jiao]";
mes "If you look around carefully,";
mes "You'll find all sorts of beautiful";
mes "sights throughout the town.";
close;
}
|