einbroch.txt 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //===== rAthena Script =======================================
  2. //= Einbroch Airport Staff
  3. //===== By: ==================================================
  4. //= L0ne_W0lf, Muad_Dib
  5. //===== Compatible With: =====================================
  6. //= rAthena SVN
  7. //===== Description: =========================================
  8. //= Einbroch Airport Staff
  9. //===== Additional Comments: =================================
  10. //= Official NPCs.
  11. //============================================================
  12. airport,143,43,5 script Airport Staff#airport1a::airport1 90,{
  13. mes "[Airport Staff]";
  14. mes "Welcome to the";
  15. mes "Einbroch Airport,";
  16. mes "where we offer nonstop";
  17. mes "flights to the cities of";
  18. mes "Juno, Lighthalzen and Hugel.";
  19. next;
  20. if (select("Board the Airship:Cancel") == 1) {
  21. mes "[Airport Staff]";
  22. mes "The Airship boarding fee";
  23. mes "is 1,200 zeny, but if you've";
  24. mes "got a Free Ticket for Airship,";
  25. mes "the fee will be waived. Will";
  26. mes "you board the Airship?";
  27. next;
  28. if (select("Yes:No") == 1) {
  29. if (countitem(7311) > 0) {
  30. delitem 7311,1; //Free_Flying_Ship_Ticket
  31. warp "airport",148,51;
  32. end;
  33. }
  34. if (Zeny >= 1200) {
  35. set Zeny, Zeny - 1200;
  36. warp "airport",148,51;
  37. end;
  38. }
  39. mes "[Airport Staff]";
  40. mes "I'm sorry, but you don't";
  41. mes "have a Free Ticket for";
  42. mes "Airship and you don't have";
  43. mes "enough zeny for boarding";
  44. mes "the Airship. Remember, the";
  45. mes "boarding fee is 1,200 zeny.";
  46. close;
  47. }
  48. }
  49. mes "[Airport Staff]";
  50. mes "Thank you and";
  51. mes "have a nice day.";
  52. close;
  53. }
  54. airport,158,43,5 duplicate(airport1) Airport Staff#airport1b 90
  55. airport,126,43,5 duplicate(airport1) Airport Staff#airport1c 90
  56. airport,143,49,3 script Arrival Staff#airport2a::airport2 90,{
  57. mes "[Arrival Staff]";
  58. mes "Welcome to Einbroch Airport.";
  59. mes "If you are arriving from your";
  60. mes "flight, let me guide you to the";
  61. mes "main terminal. Otherwise, please board the Airship to depart to";
  62. mes "Juno, Lighthalzen and Hugel.";
  63. next;
  64. if (select("Exit to main terminal.:Cancel.") == 1) {
  65. mes "[Arrival Staff]";
  66. mes "Once you're in the main terminal, you will need to pay the fee again";
  67. mes "to board an Airship. You should";
  68. mes "only exit if the city of Einbroch";
  69. mes "is your intended destination.";
  70. mes "Proceed to the main terminal?";
  71. next;
  72. if (select("Yes:No") == 1) {
  73. warp "airport",142,40;
  74. end;
  75. }
  76. }
  77. mes "[Arrival Staff]";
  78. mes "Alright, thank you";
  79. mes "for your patronage";
  80. mes "and I hope you have";
  81. mes "a pleasant flight~";
  82. close;
  83. }
  84. airport,126,51,3 duplicate(airport2) Arrival Staff#airport2b 90
  85. airport,158,50,3 duplicate(airport2) Arrival Staff#airport2c 90
  86. einbroch,94,267,3 script Airship Staff#ein01 91,{
  87. mes "[Airship Staff]";
  88. mes "Welcome to the";
  89. mes "Einbroch Airport.";
  90. mes "Please use this door to";
  91. mes "board the Airship which stops";
  92. mes "over Juno, Lighthalzen and";
  93. mes "Hugel in the Schwaltzvalt Republic.";
  94. next;
  95. mes "[Airship Staff]";
  96. mes "Otherwise, if Einbroch is";
  97. mes "your intended destination,";
  98. mes "please head down the stairs";
  99. mes "and ask the Arrival Staff to lead";
  100. mes "you to the main terminal. Thank";
  101. mes "you, and enjoy your travels.";
  102. close;
  103. }