yuno.txt 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. //===== rAthena Script =======================================
  2. //= Yuno Airport Staff
  3. //===== By: ==================================================
  4. //= L0ne_W0lf, Muad_Dib
  5. //===== Compatible With: =====================================
  6. //= rAthena SVN
  7. //===== Description: =========================================
  8. //= Yuno Airport Staff
  9. //===== Additional Comments: =================================
  10. //= Official NPCs.
  11. //============================================================
  12. y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 90,{
  13. mes "[Airport Staff]";
  14. mes "Welcome to Juno Airport where we offer domestic flights to Einbroch, Lighthalzen and Hugel,";
  15. mes "and international flights to Izlude and Rachel.";
  16. mes "How may I be of service?";
  17. next;
  18. if (select("Board the Airship.:Cancel.") == 1) {
  19. mes "[Airport Staff]";
  20. mes "The boarding fee for all";
  21. mes "flights is 1,200 zeny. If you";
  22. mes "use a Free Ticket for Airship,";
  23. mes "the boarding fee will be waived.So would you like to depart?";
  24. next;
  25. if (select("Yes:No") == 1) {
  26. if (countitem(7311) > 0) {
  27. delitem 7311,1; //Free_Flying_Ship_Ticket
  28. warp "y_airport",148,51;
  29. end;
  30. }
  31. if (Zeny >= 1200) {
  32. set Zeny, Zeny - 1200;
  33. warp "y_airport",148,51;
  34. end;
  35. }
  36. mes "[Airport Staff]";
  37. mes "I'm sorry, but you don't";
  38. mes "have 1,200 zeny to pay";
  39. mes "for the boarding fee.";
  40. close;
  41. }
  42. }
  43. mes "[Airport Staff]";
  44. mes "Thank you and";
  45. mes "have a nice day.";
  46. close;
  47. }
  48. y_airport,158,43,5 duplicate(y_airport1) Airport Staff#y_air1b 90
  49. y_airport,126,43,5 duplicate(y_airport1) Airport Staff#y_air1c 90
  50. y_airport,143,49,3 script Arrival Staff#y_air2a::y_airport2 90,{
  51. mes "[Airport Staff]";
  52. mes "Welcome to Juno Airport. If you've just arrived from your";
  53. mes "flight, let me guide you to the main terminal. Otherwise, please";
  54. mes "board the departing Airship to reach your intended destination.";
  55. next;
  56. if (select("Exit to main terminal:Cancel") == 1) {
  57. mes "[Airport Staff]";
  58. mes "Once you're in the main terminal, you must pay the fee once again";
  59. mes "to board a departing Airship. You should only exit if your intended";
  60. mes "destination is Juno. Proceed to";
  61. mes "exit to the main terminal?";
  62. next;
  63. if (select("Yes:No") == 1) {
  64. warp "y_airport",142,40;
  65. end;
  66. }
  67. }
  68. mes "[Airport Staff]";
  69. mes "Alright, thank you";
  70. mes "for your patronage";
  71. mes "and I hope you have";
  72. mes "a pleasant flight~";
  73. close;
  74. }
  75. y_airport,126,51,3 duplicate(y_airport2) Arrival Staff#y_air2b 90
  76. y_airport,158,50,3 duplicate(y_airport2) Arrival Staff#y_air2c 90
  77. y_airport,145,63,5 script Domestic Boarding 91,{
  78. mes "[Boarding Staff]";
  79. mes "Would you like to board the";
  80. mes "Airship that flies to Einbroch,";
  81. mes "Lighthalzen and Hugel? If so,";
  82. mes "please let me guide you to that";
  83. mes "Airship's boarding area.";
  84. next;
  85. if (select("Yes:No") == 1) {
  86. warp "yuno",59,244;
  87. end;
  88. }
  89. mes "[Boarding Staff]";
  90. mes "Very well, then.";
  91. mes "Thank you for your";
  92. mes "patronage, and I hope";
  93. mes "you enjoy your travels~";
  94. close;
  95. }
  96. y_airport,140,63,5 script International Boarding 91,{
  97. mes "[Boarding Staff]";
  98. mes "Would you like to board";
  99. mes "the Airship which flies to";
  100. mes "Juno, Izlude and Rachel?";
  101. mes "If so, let me guide";
  102. mes "you to the boarding area.";
  103. next;
  104. if (select("Yes:No") == 1) {
  105. warp "yuno",47,244;
  106. end;
  107. }
  108. mes "[Boarding Staff]";
  109. mes "Alright, then.";
  110. mes "Thank you for flying";
  111. mes "with us, and I hope you";
  112. mes "enjoy your travels on our";
  113. mes "state of the art Airships.";
  114. close;
  115. }
  116. yuno,14,262,5 script Airship Staff#yuno01 91,{
  117. mes "[Airship Staff]";
  118. mes "Welcome to Juno Airport.";
  119. mes "Please use this door to";
  120. mes "board the Airship that will";
  121. mes "be flying all the way to Izlude";
  122. mes "in the Rune-Midgarts Kingdom,";
  123. mes "and to Rachel in the Arunafeltz";
  124. mes "Republic.";
  125. next;
  126. mes "[Airship Staff]";
  127. mes "Otherwise, if Juno is";
  128. mes "your intended destination,";
  129. mes "please head down the stairs";
  130. mes "and ask the Arrival Staff to lead";
  131. mes "you to the main terminal. Thank";
  132. mes "you, and enjoy your travels.";
  133. close;
  134. }
  135. yuno,88,263,3 script Airship Staff#yuno02 91,{
  136. mes "[Airship Staff]";
  137. mes "Welcome to Juno Airport.";
  138. mes "Please use this door to";
  139. mes "board the Airship which stops";
  140. mes "over Einbroch, Lighthalzen and";
  141. mes "Hugel in the Schwaltzvalt Republic.";
  142. next;
  143. mes "[Airship Staff]";
  144. mes "Otherwise, if Juno is";
  145. mes "your intended destination,";
  146. mes "please head down the stairs";
  147. mes "and ask the Arrival Staff to lead";
  148. mes "you to the main terminal. Thank";
  149. mes "you, and enjoy your travels.";
  150. close;
  151. }