[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Kunlun Town |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= x[tsk], KarLaeda |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.4 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [Aegis Conversion] |
---|
| 11 | //= Kunlun Town Script |
---|
| 12 | //===== Additional Comments: ================================= |
---|
| 13 | //= 1.5 Rescripted to Aegis 10.3 standards. [L0ne_W0lf] |
---|
| 14 | //= Moved Lost Knife mini-quest to quest file. |
---|
| 15 | //============================================================ |
---|
| 16 | |
---|
| 17 | // Kunlun Transportation |
---|
| 18 | //============================================================ |
---|
| 19 | alberta,245,69,3 script Kunlun Envoy#gon 776,{ |
---|
| 20 | mes "[Wa Bai Hu]"; |
---|
| 21 | mes "Good day~"; |
---|
| 22 | mes "Let me invite you all"; |
---|
| 23 | mes "to my homeland, Kunlun."; |
---|
| 24 | mes "It is my honor to guide"; |
---|
| 25 | mes "such distinguished quests from"; |
---|
| 26 | mes "the Rune-Midgard kingdom."; |
---|
| 27 | next; |
---|
| 28 | switch(select("About Kunlun:Visit Kunlun:Cancel")) { |
---|
| 29 | case 1: |
---|
| 30 | mes "[Wa Bai Hu]"; |
---|
| 31 | mes "Kunlun is a beautiful place,"; |
---|
| 32 | mes "rich with history, and its"; |
---|
| 33 | mes "own traditions. I also think"; |
---|
| 34 | mes "Kunlun is the best place for"; |
---|
| 35 | mes "sightseeing."; |
---|
| 36 | next; |
---|
| 37 | mes "[Wa Bai Hu]"; |
---|
| 38 | mes "When you arrive at the harbor of"; |
---|
| 39 | mes "Kunlun, you'll be able to see"; |
---|
| 40 | mes "miniature replicas of"; |
---|
| 41 | mes "buildings found in Alberta"; |
---|
| 42 | mes "and Prontera."; |
---|
| 43 | next; |
---|
| 44 | mes "[Wa Bai Hu]"; |
---|
| 45 | mes "After enjoying a nice, leisurely"; |
---|
| 46 | mes "stroll, step into the beautiful"; |
---|
| 47 | mes "column of light that will take"; |
---|
| 48 | mes "you up into the clouds to"; |
---|
| 49 | mes "Kunlun Village."; |
---|
| 50 | next; |
---|
| 51 | mes "[Wa Bai Hu]"; |
---|
| 52 | mes "I've heard that on the"; |
---|
| 53 | mes "Rune-Midgarts continent,"; |
---|
| 54 | mes "there is another city that is"; |
---|
| 55 | mes "is kept aloft in the sky by"; |
---|
| 56 | mes "an ancient, mysterious power..."; |
---|
| 57 | next; |
---|
| 58 | mes "[Wa Bai Hu]"; |
---|
| 59 | mes "Well, my Kunlun also floats"; |
---|
| 60 | mes "in the air, but without any"; |
---|
| 61 | mes "so called technology or"; |
---|
| 62 | mes "power supply. We consider"; |
---|
| 63 | mes "our land especially blessed..."; |
---|
| 64 | next; |
---|
| 65 | mes "[Wa Bai Hu]"; |
---|
| 66 | mes "When you're in Kunlun, don't"; |
---|
| 67 | mes "forget to try our specialties"; |
---|
| 68 | mes "such as the giant dumpling or the heaven peach."; |
---|
| 69 | next; |
---|
| 70 | mes "[Wa Bai Hu]"; |
---|
| 71 | mes "You'd better prepare yourself"; |
---|
| 72 | mes "if you are planning to visit"; |
---|
| 73 | mes "the Kunlun dungeon. I must"; |
---|
| 74 | mes "say, that is not a safe place to go for fun."; |
---|
| 75 | next; |
---|
| 76 | mes "[Wa Bai Hu]"; |
---|
| 77 | mes "If you are interested in visiting"; |
---|
| 78 | mes "Kunlun, do not hesitate to let"; |
---|
| 79 | mes "me know. It's my great pleasure"; |
---|
| 80 | mes "to serve you, honorable guest."; |
---|
| 81 | close; |
---|
| 82 | case 2: |
---|
| 83 | mes "[Wa Bai Hu]"; |
---|
| 84 | mes "Excellent choice, I am glad"; |
---|
| 85 | mes "to have you as our guest~"; |
---|
| 86 | mes "However, a small fee is required"; |
---|
| 87 | mes "to board the ship to Kunlun."; |
---|
| 88 | next; |
---|
| 89 | mes "[Wa Bai Hu]"; |
---|
| 90 | mes "We ask that you pay 10,000 zeny"; |
---|
| 91 | mes "prior to departure. That fee also"; |
---|
| 92 | mes "covers the cost of returning"; |
---|
| 93 | mes "to Alberta. I am ready to guide"; |
---|
| 94 | mes "you to Kunlun at any time."; |
---|
| 95 | next; |
---|
| 96 | mes "[Wa Bai Hu]"; |
---|
| 97 | mes "Would you like to board?"; |
---|
| 98 | next; |
---|
| 99 | if (select("To Kunlun~!:No.") == 1) { |
---|
| 100 | if (Zeny > 9999) { |
---|
| 101 | mes "[Wa Bai Hu]"; |
---|
| 102 | mes "Thank you, let me guide you there immediately."; |
---|
| 103 | close2; |
---|
| 104 | set zeny,zeny-10000; |
---|
| 105 | warp "gon_fild01",258,82; |
---|
| 106 | end; |
---|
| 107 | } |
---|
| 108 | mes "[Wa Bai Hu]"; |
---|
| 109 | mes "I am sorry, but you must have"; |
---|
| 110 | mes "10,000 zeny to travel to Kunlun."; |
---|
| 111 | mes "Please make sure you have enough"; |
---|
| 112 | mes "zeny with you. Thank you, and"; |
---|
| 113 | mes "please come again."; |
---|
| 114 | close; |
---|
| 115 | } |
---|
| 116 | mes "[Wa Bai Hu]"; |
---|
| 117 | mes "I see. However, whenever you"; |
---|
| 118 | mes "change your mind, please let"; |
---|
| 119 | mes "me know. It would be a great"; |
---|
| 120 | mes "please to serve you, most"; |
---|
| 121 | mes "honorable guest."; |
---|
| 122 | close; |
---|
| 123 | case 3: |
---|
| 124 | mes "[Wa Bai Hu]"; |
---|
| 125 | mes "I see. However, whenever you"; |
---|
| 126 | mes "change your mind, please let me"; |
---|
| 127 | mes "know. It would be a great pleasure to serve you, most honorable guest."; |
---|
| 128 | close; |
---|
| 129 | } |
---|
| 130 | } |
---|
| 131 | |
---|
| 132 | gon_fild01,255,79,7 script Kunlun Envoy#gon2 776,{ |
---|
| 133 | mes "[Wa Bai Hu]"; |
---|
| 134 | mes "So, did you enjoy your trip?"; |
---|
| 135 | mes "I guess it's the time for you to"; |
---|
| 136 | mes "go home. The ship to Rune-Midgard is ready to depart at any time."; |
---|
| 137 | next; |
---|
| 138 | if (select("Go back to Alberta:Cancel") == 1) { |
---|
| 139 | mes "[Wa Bai Hu]"; |
---|
| 140 | mes "Please come again."; |
---|
| 141 | mes "I hope you will let your friends"; |
---|
| 142 | mes "know about Kunlun when you get"; |
---|
| 143 | mes "back. Now, let me guide you"; |
---|
| 144 | mes "back to Alberta."; |
---|
| 145 | close2; |
---|
| 146 | warp "alberta",243,67; |
---|
| 147 | end; |
---|
| 148 | } |
---|
| 149 | mes "[Wa Bai Hu]"; |
---|
| 150 | mes "Take your time, my guest."; |
---|
| 151 | mes "There should be many places"; |
---|
| 152 | mes "you may have missed."; |
---|
| 153 | close; |
---|
| 154 | } |
---|
| 155 | |
---|
| 156 | gon_fild01,187,239,7 script Kunlun Envoy#gon3 776,{ |
---|
| 157 | mes "[Zhang Quing Long]"; |
---|
| 158 | mes "Please head north to enter Kunlun."; |
---|
| 159 | mes "I hope you will have a great time"; |
---|
| 160 | mes "while staying in Kunlun."; |
---|
| 161 | close; |
---|
| 162 | } |
---|
| 163 | |
---|
| 164 | gonryun,153,64,7 script Kunlun Envoy#gon4 776,{ |
---|
| 165 | mes "[Zhang Quing Long]"; |
---|
| 166 | mes "Please make yourself comfortable."; |
---|
| 167 | mes "If you want to go back, I will"; |
---|
| 168 | mes "be more than happy to guide you"; |
---|
| 169 | mes "to the ship to Alberta."; |
---|
| 170 | next; |
---|
| 171 | if (select("Go back to the harbor:Cancel") == 1) { |
---|
| 172 | mes "[Zhang Quing Long]"; |
---|
| 173 | mes "I hope you enjoyed your trip."; |
---|
| 174 | mes "Now, let me guide you back"; |
---|
| 175 | mes "to the harbor."; |
---|
| 176 | close2; |
---|
| 177 | warp "gon_fild01",258,82; |
---|
| 178 | end; |
---|
| 179 | } |
---|
| 180 | mes "[Zhang Quing Long]"; |
---|
| 181 | mes "Take your time, my guest."; |
---|
| 182 | mes "There should be many places"; |
---|
| 183 | mes "you may have missed."; |
---|
| 184 | close; |
---|
| 185 | } |
---|
| 186 | |
---|
| 187 | // Generic Kunlun NPCs |
---|
| 188 | //============================================================ |
---|
| 189 | gonryun,200,82,3 script Jian Chung Xun#gon 774,{ |
---|
| 190 | mes "[Jian Chung Xun]"; |
---|
| 191 | mes "I simply adore festivals."; |
---|
| 192 | mes "That's why I love this town."; |
---|
| 193 | mes "This town makes me feel like I am"; |
---|
| 194 | mes "in the middle of a festival all year round."; |
---|
| 195 | close; |
---|
| 196 | } |
---|
| 197 | |
---|
| 198 | gonryun,268,88,3 script Liang Zhun Bu#gon 776,{ |
---|
| 199 | mes "[Liang Zhun Bu]"; |
---|
| 200 | mes "We are proud to be an independent"; |
---|
| 201 | mes "nation, and have been fighting"; |
---|
| 202 | mes "against the evil invaders who've"; |
---|
| 203 | mes "wanted to conquer this blessed land for many years..."; |
---|
| 204 | next; |
---|
| 205 | mes "[Liang Zhun Bu]"; |
---|
| 206 | mes "But we have victoriously fended"; |
---|
| 207 | mes "off every invasion! As long"; |
---|
| 208 | mes "as we believe in ourselves,"; |
---|
| 209 | mes "we shall never forget the"; |
---|
| 210 | mes "Trumphal Song that has helped us in our struggles."; |
---|
| 211 | close; |
---|
| 212 | } |
---|
| 213 | |
---|
| 214 | gonryun,118,111,5 script Qian Yuen Shuang#gon 89,{ |
---|
| 215 | mes "[Qian Yuen Shuang]"; |
---|
| 216 | mes "The chief of this town is a man"; |
---|
| 217 | mes "who opens his heart to others."; |
---|
| 218 | mes "However, I have heard that there"; |
---|
| 219 | mes "are some people who don't like his personality..."; |
---|
| 220 | next; |
---|
| 221 | mes "[Qian Yuen Shuang]"; |
---|
| 222 | mes "Well, I like my town. The Chief's"; |
---|
| 223 | mes "efforts have made our town safer."; |
---|
| 224 | mes "I just hope other people feel the"; |
---|
| 225 | mes "same way about what he has done."; |
---|
| 226 | close; |
---|
| 227 | } |
---|
| 228 | |
---|
| 229 | gonryun,181,161,3 script Jing Wen Zhen#gon 773,{ |
---|
| 230 | mes "[Jing Wen Zhen]"; |
---|
| 231 | mes "The men in our town, Kunlun, are"; |
---|
| 232 | mes "all brave and courageous."; |
---|
| 233 | mes "But, they are unable to get"; |
---|
| 234 | mes "married. It's quite a shame really..."; |
---|
| 235 | next; |
---|
| 236 | mes "[Jing Wen Zhen]"; |
---|
| 237 | mes "It's all because there are"; |
---|
| 238 | mes "more men than women."; |
---|
| 239 | mes "I am not even sure whether"; |
---|
| 240 | mes "or not my son will be able to"; |
---|
| 241 | mes "find me a daughter in law."; |
---|
| 242 | close; |
---|
| 243 | } |
---|
| 244 | |
---|
| 245 | gonryun,113,135,6 script Gatekeeper#gon 780,{ |
---|
| 246 | mes "[Kunlun Guard]"; |
---|
| 247 | mes "Welcome."; |
---|
| 248 | mes "This is the residence of Shi Yan Wen, the chief of Kunlun."; |
---|
| 249 | next; |
---|
| 250 | mes "[Kunlun Guard]"; |
---|
| 251 | mes "You better behave yourself while"; |
---|
| 252 | mes "you are here. If we see anything"; |
---|
| 253 | mes "suspicious, we'll arrest you in a heartbeat."; |
---|
| 254 | next; |
---|
| 255 | mes "[Kunlun Guard]"; |
---|
| 256 | mes "However, rest assured, you seem"; |
---|
| 257 | mes "like a trustworthy person."; |
---|
| 258 | mes "I'm sure nothing will happen. Enjoy your visit."; |
---|
| 259 | close; |
---|
| 260 | } |
---|
| 261 | |
---|
| 262 | gonryun,113,127,6 script Gatekeeper#gon2 780,{ |
---|
| 263 | mes "[Kunlun Guard]"; |
---|
| 264 | mes "Welcome."; |
---|
| 265 | mes "This is the residence of Shi Yan Wen, the chief of Kunlun."; |
---|
| 266 | next; |
---|
| 267 | mes "[Kunlun Guard]"; |
---|
| 268 | mes "You better behave yourself while"; |
---|
| 269 | mes "you are here. If we see anything"; |
---|
| 270 | mes "suspicious, we'll arrest you in a heartbeat."; |
---|
| 271 | next; |
---|
| 272 | mes "[Kunlun Guard]"; |
---|
| 273 | mes "However, rest assured, you seem"; |
---|
| 274 | mes "like a trustworthy person."; |
---|
| 275 | mes "I'm sure nothing will happen. Enjoy your visit."; |
---|
| 276 | close; |
---|
| 277 | } |
---|
| 278 | |
---|
| 279 | gon_in,73,82,5 script Ji Chung Zhe#gon 778,{ |
---|
| 280 | if (nakha >= 0 && nakha <= 2) { |
---|
| 281 | mes "[Ji Chung Zhe]"; |
---|
| 282 | mes "............"; |
---|
| 283 | next; |
---|
| 284 | mes "[Ji Chung Zhe]"; |
---|
| 285 | mes "puuuuu....This sure is"; |
---|
| 286 | mes "something to worry about."; |
---|
| 287 | close; |
---|
| 288 | } |
---|
| 289 | if (nakha == 3) { |
---|
| 290 | set cha,1; |
---|
| 291 | mes "[Ji Chung Zhe]"; |
---|
| 292 | mes "I am Ji Chung Zhe, a renown brewer"; |
---|
| 293 | mes "of teas. Everyday, I put all my"; |
---|
| 294 | mes "efforts in making scrumptious, delicious tea."; |
---|
| 295 | next; |
---|
| 296 | mes "[Ji Chung Zhe]"; |
---|
| 297 | mes "*Sigh* But lately, the tea I've"; |
---|
| 298 | mes "been making hasn't been that"; |
---|
| 299 | mes "great... If I only had some special ingredients..."; |
---|
| 300 | next; |
---|
| 301 | mes "[Ji Chung Zhe]"; |
---|
| 302 | mes "I've been told that if you use"; |
---|
| 303 | mes "a snake, you can concoct a truly"; |
---|
| 304 | mes "extraordinary beverage~"; |
---|
| 305 | mes "But...where can I find one"; |
---|
| 306 | mes "and how can I catch one?"; |
---|
| 307 | mes "Hmm..."; |
---|
| 308 | close; |
---|
| 309 | } |
---|
| 310 | } |
---|
| 311 | |
---|
| 312 | gon_in,173,27,3 script Yu Jiu Xia#gon 774,{ |
---|
| 313 | mes "[Yu Jiu Xia]"; |
---|
| 314 | mes "Geez, just as I thought."; |
---|
| 315 | mes "They won't sell alcohol to me."; |
---|
| 316 | mes "Maybe its cuz I'm too young..."; |
---|
| 317 | mes "Hmmm...I wonder how it tastes..."; |
---|
| 318 | next; |
---|
| 319 | mes "[Yu Jiu Xia]"; |
---|
| 320 | mes "However, I know they're making"; |
---|
| 321 | mes "some tasty tea that even kids"; |
---|
| 322 | mes "like me can enjoy."; |
---|
| 323 | mes "It makes my mouth water just"; |
---|
| 324 | mes "thinking about this new tea."; |
---|
| 325 | close; |
---|
| 326 | } |
---|
| 327 | |
---|
| 328 | gonryun,166,196,3 script Soldier#gon 780,{ |
---|
| 329 | if (b_sword < 7) { |
---|
| 330 | mes "[Wa Qiu Wu]"; |
---|
| 331 | mes "Let me tell you something"; |
---|
| 332 | mes "interesting about this place~"; |
---|
| 333 | mes "Long ago, this entire area used to be a shrine."; |
---|
| 334 | next; |
---|
| 335 | mes "[Wa Qiu Wu]"; |
---|
| 336 | mes "In those days, Taoist hermits"; |
---|
| 337 | mes "used to gather here in order to"; |
---|
| 338 | mes "reach the Sky Kingdom. However,"; |
---|
| 339 | mes "they failed miserably...slowly the monsters began to come..."; |
---|
| 340 | close; |
---|
| 341 | } |
---|
| 342 | else if ((b_sword > 6) && (b_sword < 10)) { |
---|
| 343 | mes "[Wa Qiu Wu]"; |
---|
| 344 | mes "Don't you think it was quite noisy"; |
---|
| 345 | mes "last night? It was all because"; |
---|
| 346 | mes "of that thief. He made quite"; |
---|
| 347 | mes "a scene...It was so loud that"; |
---|
| 348 | mes "I couldn't sleep at all..."; |
---|
| 349 | next; |
---|
| 350 | mes "[Wa Qiu Wu]"; |
---|
| 351 | mes "Ahh~~~~!"; |
---|
| 352 | mes "In the middle of all that"; |
---|
| 353 | mes "commotion, I saw"; |
---|
| 354 | mes "something running straight"; |
---|
| 355 | mes "into the shrine."; |
---|
| 356 | next; |
---|
| 357 | mes "[Wa Qiu Wu]"; |
---|
| 358 | mes "It was moving so fast that"; |
---|
| 359 | mes "I couldn't even tell what it was."; |
---|
| 360 | mes "From what I could recognize, it"; |
---|
| 361 | mes "looked human. I wonder"; |
---|
| 362 | mes "what it was..."; |
---|
| 363 | next; |
---|
| 364 | mes "[Wa Qiu Wi]"; |
---|
| 365 | mes "It might have been the"; |
---|
| 366 | mes "thief, but it moved"; |
---|
| 367 | mes "so fast, it seemed like"; |
---|
| 368 | mes "just a blur."; |
---|
| 369 | close; |
---|
| 370 | } |
---|
| 371 | mes "[Wa Qiu Wu]"; |
---|
| 372 | mes "Let me tell you something"; |
---|
| 373 | mes "interesting~ This entire area"; |
---|
| 374 | mes "used to be a shrine."; |
---|
| 375 | next; |
---|
| 376 | mes "[Wa Qiu Wu]"; |
---|
| 377 | mes "A long time ago, Taoist hermits"; |
---|
| 378 | mes "used to gather here in order to"; |
---|
| 379 | mes "reach the Sky Kingdom. However,"; |
---|
| 380 | mes "they failed miserably...slowly the monsters began to come."; |
---|
| 381 | next; |
---|
| 382 | mes "[Wa Qiu Wu]"; |
---|
| 383 | mes "The town is getting ready for the"; |
---|
| 384 | mes "Festival, but something is delaying"; |
---|
| 385 | mes "it. This has never happened before..."; |
---|
| 386 | close; |
---|
| 387 | } |
---|
| 388 | |
---|
| 389 | gonryun,169,71,3 script Guidev#gon 770,{ |
---|
| 390 | mes "[Li Xi Jiao]"; |
---|
| 391 | mes "Welcome to Kunlun!"; |
---|
| 392 | mes "Did you enjoy all the incredible"; |
---|
| 393 | mes "scenery on your way here?"; |
---|
| 394 | mes "The buildings may be small, but we"; |
---|
| 395 | mes "all worked hard to build this city."; |
---|
| 396 | next; |
---|
| 397 | mes "[Li Xi Jiao]"; |
---|
| 398 | mes "I have some miniatures of"; |
---|
| 399 | mes "the Rune-Midgarts Kingdom."; |
---|
| 400 | mes "You can view all of Prontera in a"; |
---|
| 401 | mes "single glance. The craftsmanship"; |
---|
| 402 | mes "on these masterpieces is quite stunning!"; |
---|
| 403 | next; |
---|
| 404 | mes "[Li Xi Jiao]"; |
---|
| 405 | mes "If you look around carefully,"; |
---|
| 406 | mes "You'll find all sorts of beautiful"; |
---|
| 407 | mes "sights throughout the town."; |
---|
| 408 | close; |
---|
| 409 | } |
---|
| 410 | |
---|
| 411 | //============================================================ |
---|
| 412 | // Old changelog |
---|
| 413 | //============================================================ |
---|
| 414 | // May be missing npc's and dialogue. |
---|
| 415 | //= 1.1 Fixed Typos [Nexon] |
---|
| 416 | //= 1.2 Removed Duplicates [Silent] |
---|
| 417 | //= 1.3 Max NPC Name is 23 [Toms] |
---|
| 418 | //= 1.3a Removed temp NPC plugs due Broken Sword quest [Lupus] |
---|
| 419 | //= 1.4 Added missing NPC [KarLaeda] |
---|
| 420 | //============================================================ |
---|