gonryun.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. //===== rAthena Script =======================================
  2. //= Kunlun Town
  3. //===== By: ==================================================
  4. //= x[tsk], KarLaeda
  5. //===== Current Version: =====================================
  6. //= 1.6
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official 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. //= 1.6 Moved Alberta NPC to pre-re/re paths. [Euphy]
  16. //============================================================
  17. // Kunlun Transportation
  18. //============================================================
  19. - script ::Kunlun_Envoy_gonryun -1,{
  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. gon_fild01,255,79,7 script Kunlun Envoy#gon2 776,{
  132. mes "[Wa Bai Hu]";
  133. mes "So, did you enjoy your trip?";
  134. mes "I guess it's the time for you to";
  135. mes "go home. The ship to Rune-Midgard is ready to depart at any time.";
  136. next;
  137. if (select("Go back to Alberta:Cancel") == 1) {
  138. mes "[Wa Bai Hu]";
  139. mes "Please come again.";
  140. mes "I hope you will let your friends";
  141. mes "know about Kunlun when you get";
  142. mes "back. Now, let me guide you";
  143. mes "back to Alberta.";
  144. close2;
  145. if (checkre(0))
  146. warp "alberta",244,60;
  147. else
  148. warp "alberta",243,67;
  149. end;
  150. }
  151. mes "[Wa Bai Hu]";
  152. mes "Take your time, my guest.";
  153. mes "There should be many places";
  154. mes "you may have missed.";
  155. close;
  156. }
  157. gon_fild01,187,239,7 script Kunlun Envoy#gon3 776,{
  158. mes "[Zhang Quing Long]";
  159. mes "Please head north to enter Kunlun.";
  160. mes "I hope you will have a great time";
  161. mes "while staying in Kunlun.";
  162. close;
  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. // Generic Kunlun NPCs
  187. //============================================================
  188. gonryun,200,82,3 script Jian Chung Xun#gon 774,{
  189. mes "[Jian Chung Xun]";
  190. mes "I simply adore festivals.";
  191. mes "That's why I love this town.";
  192. mes "This town makes me feel like I am";
  193. mes "in the middle of a festival all year round.";
  194. close;
  195. }
  196. gonryun,268,88,3 script Liang Zhun Bu#gon 776,{
  197. mes "[Liang Zhun Bu]";
  198. mes "We are proud to be an independent";
  199. mes "nation, and have been fighting";
  200. mes "against the evil invaders who've";
  201. mes "wanted to conquer this blessed land for many years...";
  202. next;
  203. mes "[Liang Zhun Bu]";
  204. mes "But we have victoriously fended";
  205. mes "off every invasion! As long";
  206. mes "as we believe in ourselves,";
  207. mes "we shall never forget the";
  208. mes "Trumphal Song that has helped us in our struggles.";
  209. close;
  210. }
  211. gonryun,118,111,5 script Qian Yuen Shuang#gon 89,{
  212. mes "[Qian Yuen Shuang]";
  213. mes "The chief of this town is a man";
  214. mes "who opens his heart to others.";
  215. mes "However, I have heard that there";
  216. mes "are some people who don't like his personality...";
  217. next;
  218. mes "[Qian Yuen Shuang]";
  219. mes "Well, I like my town. The Chief's";
  220. mes "efforts have made our town safer.";
  221. mes "I just hope other people feel the";
  222. mes "same way about what he has done.";
  223. close;
  224. }
  225. gonryun,181,161,3 script Jing Wen Zhen#gon 773,{
  226. mes "[Jing Wen Zhen]";
  227. mes "The men in our town, Kunlun, are";
  228. mes "all brave and courageous.";
  229. mes "But, they are unable to get";
  230. mes "married. It's quite a shame really...";
  231. next;
  232. mes "[Jing Wen Zhen]";
  233. mes "It's all because there are";
  234. mes "more men than women.";
  235. mes "I am not even sure whether";
  236. mes "or not my son will be able to";
  237. mes "find me a daughter in law.";
  238. close;
  239. }
  240. gonryun,113,135,6 script Gatekeeper#gon 780,{
  241. mes "[Kunlun Guard]";
  242. mes "Welcome.";
  243. mes "This is the residence of Shi Yan Wen, the chief of Kunlun.";
  244. next;
  245. mes "[Kunlun Guard]";
  246. mes "You better behave yourself while";
  247. mes "you are here. If we see anything";
  248. mes "suspicious, we'll arrest you in a heartbeat.";
  249. next;
  250. mes "[Kunlun Guard]";
  251. mes "However, rest assured, you seem";
  252. mes "like a trustworthy person.";
  253. mes "I'm sure nothing will happen. Enjoy your visit.";
  254. close;
  255. }
  256. gonryun,113,127,6 script Gatekeeper#gon2 780,{
  257. mes "[Kunlun Guard]";
  258. mes "Welcome.";
  259. mes "This is the residence of Shi Yan Wen, the chief of Kunlun.";
  260. next;
  261. mes "[Kunlun Guard]";
  262. mes "You better behave yourself while";
  263. mes "you are here. If we see anything";
  264. mes "suspicious, we'll arrest you in a heartbeat.";
  265. next;
  266. mes "[Kunlun Guard]";
  267. mes "However, rest assured, you seem";
  268. mes "like a trustworthy person.";
  269. mes "I'm sure nothing will happen. Enjoy your visit.";
  270. close;
  271. }
  272. gon_in,73,82,5 script Ji Chung Zhe#gon 778,{
  273. if (nakha >= 0 && nakha <= 2) {
  274. mes "[Ji Chung Zhe]";
  275. mes "............";
  276. next;
  277. mes "[Ji Chung Zhe]";
  278. mes "puuuuu....This sure is";
  279. mes "something to worry about.";
  280. close;
  281. }
  282. if (nakha == 3) {
  283. set cha,1;
  284. mes "[Ji Chung Zhe]";
  285. mes "I am Ji Chung Zhe, a renown brewer";
  286. mes "of teas. Everyday, I put all my";
  287. mes "efforts in making scrumptious, delicious tea.";
  288. next;
  289. mes "[Ji Chung Zhe]";
  290. mes "*Sigh* But lately, the tea I've";
  291. mes "been making hasn't been that";
  292. mes "great... If I only had some special ingredients...";
  293. next;
  294. mes "[Ji Chung Zhe]";
  295. mes "I've been told that if you use";
  296. mes "a snake, you can concoct a truly";
  297. mes "extraordinary beverage~";
  298. mes "But...where can I find one";
  299. mes "and how can I catch one?";
  300. mes "Hmm...";
  301. close;
  302. }
  303. }
  304. gon_in,173,27,3 script Yu Jiu Xia#gon 774,{
  305. mes "[Yu Jiu Xia]";
  306. mes "Geez, just as I thought.";
  307. mes "They won't sell alcohol to me.";
  308. mes "Maybe its cuz I'm too young...";
  309. mes "Hmmm...I wonder how it tastes...";
  310. next;
  311. mes "[Yu Jiu Xia]";
  312. mes "However, I know they're making";
  313. mes "some tasty tea that even kids";
  314. mes "like me can enjoy.";
  315. mes "It makes my mouth water just";
  316. mes "thinking about this new tea.";
  317. close;
  318. }
  319. gonryun,166,196,3 script Soldier#gon 780,{
  320. if (b_sword < 7) {
  321. mes "[Wa Qiu Wu]";
  322. mes "Let me tell you something";
  323. mes "interesting about this place~";
  324. mes "Long ago, this entire area used to be a shrine.";
  325. next;
  326. mes "[Wa Qiu Wu]";
  327. mes "In those days, Taoist hermits";
  328. mes "used to gather here in order to";
  329. mes "reach the Sky Kingdom. However,";
  330. mes "they failed miserably...slowly the monsters began to come...";
  331. close;
  332. }
  333. else if ((b_sword > 6) && (b_sword < 10)) {
  334. mes "[Wa Qiu Wu]";
  335. mes "Don't you think it was quite noisy";
  336. mes "last night? It was all because";
  337. mes "of that thief. He made quite";
  338. mes "a scene...It was so loud that";
  339. mes "I couldn't sleep at all...";
  340. next;
  341. mes "[Wa Qiu Wu]";
  342. mes "Ahh~~~~!";
  343. mes "In the middle of all that";
  344. mes "commotion, I saw";
  345. mes "something running straight";
  346. mes "into the shrine.";
  347. next;
  348. mes "[Wa Qiu Wu]";
  349. mes "It was moving so fast that";
  350. mes "I couldn't even tell what it was.";
  351. mes "From what I could recognize, it";
  352. mes "looked human. I wonder";
  353. mes "what it was...";
  354. next;
  355. mes "[Wa Qiu Wu]";
  356. mes "It might have been the";
  357. mes "thief, but it moved";
  358. mes "so fast, it seemed like";
  359. mes "just a blur.";
  360. close;
  361. }
  362. mes "[Wa Qiu Wu]";
  363. mes "Let me tell you something";
  364. mes "interesting~ This entire area";
  365. mes "used to be a shrine.";
  366. next;
  367. mes "[Wa Qiu Wu]";
  368. mes "A long time ago, Taoist hermits";
  369. mes "used to gather here in order to";
  370. mes "reach the Sky Kingdom. However,";
  371. mes "they failed miserably...slowly the monsters began to come.";
  372. next;
  373. mes "[Wa Qiu Wu]";
  374. mes "The town is getting ready for the";
  375. mes "Festival, but something is delaying";
  376. mes "it. This has never happened before...";
  377. close;
  378. }
  379. gonryun,169,71,3 script Guidev#gon 770,{
  380. mes "[Li Xi Jiao]";
  381. mes "Welcome to Kunlun!";
  382. mes "Did you enjoy all the incredible";
  383. mes "scenery on your way here?";
  384. mes "The buildings may be small, but we";
  385. mes "all worked hard to build this city.";
  386. next;
  387. mes "[Li Xi Jiao]";
  388. mes "I have some miniatures of";
  389. mes "the Rune-Midgarts Kingdom.";
  390. mes "You can view all of Prontera in a";
  391. mes "single glance. The craftsmanship";
  392. mes "on these masterpieces is quite stunning!";
  393. next;
  394. mes "[Li Xi Jiao]";
  395. mes "If you look around carefully,";
  396. mes "You'll find all sorts of beautiful";
  397. mes "sights throughout the town.";
  398. close;
  399. }
  400. //============================================================
  401. // Old changelog
  402. //============================================================
  403. // May be missing npc's and dialogue.
  404. //= 1.1 Fixed Typos [Nexon]
  405. //= 1.2 Removed Duplicates [Silent]
  406. //= 1.3 Max NPC Name is 23 [Toms]
  407. //= 1.3a Removed temp NPC plugs due Broken Sword quest [Lupus]
  408. //= 1.4 Added missing NPC [KarLaeda]
  409. //============================================================