einbroch.txt 3.2 KB

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