yuno.txt 4.6 KB

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