lighthalzen.txt 2.6 KB

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