lighthalzen.txt 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. //===== rAthena Script =======================================
  2. //= Lighthalzen Airport Staff
  3. //===== By: ==================================================
  4. //= L0ne_W0lf, Muad_Dib
  5. //===== Compatible With: =====================================
  6. //= rAthena SVN
  7. //===== Description: =========================================
  8. //= Lighthalzen Airport Staff
  9. //===== Additional Comments: =================================
  10. //= Official NPCs.
  11. //============================================================
  12. lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 90,{
  13. mes "[Airport Staff]";
  14. mes "Welcome to the";
  15. mes "Lighthalzen Airport,";
  16. mes "where we offer nonstop";
  17. mes "flights to Einbroch, Juno and Hugel.";
  18. next;
  19. if (select("Board the Airship.:Cancel.") == 1) {
  20. mes "[Airport Staff]";
  21. mes "The boarding fee is";
  22. mes "1,200 zeny, but you can";
  23. mes "waive the fee if you redeem";
  24. mes "a Free Ticket for Airship.";
  25. next;
  26. if (select("Yes:No") == 1) {
  27. if (countitem(7311) > 0) {
  28. delitem 7311,1; //Free_Flying_Ship_Ticket
  29. warp "lhz_airport",148,51;
  30. end;
  31. }
  32. if (Zeny >= 1200) {
  33. set Zeny, Zeny - 1200;
  34. warp "lhz_airport",148,51;
  35. end;
  36. }
  37. mes "[Airship Staff]";
  38. mes "I'm sorry, but you don't";
  39. mes "have 1,200 zeny to pay";
  40. mes "for the boarding fee.";
  41. close;
  42. }
  43. }
  44. mes "[Airport Staff]";
  45. mes "Thank you and";
  46. mes "please come again.";
  47. mes "Have a good day~";
  48. close;
  49. }
  50. lhz_airport,158,43,5 duplicate(lhz_airport1) Airship Staff#lhz_air1b 90
  51. lhz_airport,126,43,5 duplicate(lhz_airport1) Airship Staff#lhz_air1c 90
  52. lhz_airport,143,49,3 script Arrival Staff#lhz_air2a::lhz_airport2 90,{
  53. mes "[Arrival Staff]";
  54. mes "Welcome to Lighthalzen Airport.";
  55. mes "Please let me guide you to the";
  56. mes "main terminal if you are arriving from your flight. Otherwise, please";
  57. mes "board the departing Airship to reach your intended destination.";
  58. next;
  59. if (select("Exit to main terminal.:Cancel.") == 1) {
  60. mes "[Arrival Staff]";
  61. mes "Once you're in the main terminal, you will need to pay the fee again";
  62. mes "to board an Airship. You should";
  63. mes "only exit if Lighthalzen is your intended destination. Shall we";
  64. mes "proceed to the main terminal?";
  65. next;
  66. if (select("Yes:No") == 1) {
  67. warp "lhz_airport",142,40;
  68. end;
  69. }
  70. }
  71. mes "[Arrival Staff]";
  72. mes "Alright, thank you";
  73. mes "for your patronage";
  74. mes "and I hope you have";
  75. mes "a pleasant flight~";
  76. close;
  77. }
  78. lhz_airport,126,51,3 duplicate(lhz_airport2) Arrival Staff#lhz_air2b 90
  79. lhz_airport,158,50,3 duplicate(lhz_airport2) Arrival Staff#lhz_air2c 90