lighthalzen.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //===== rAthena Script =======================================
  2. //= Lighthalzen Airport Staff
  3. //===== By: ==================================================
  4. //= L0ne_W0lf, Muad_Dib
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= rAthena Revision 3000+
  9. //===== Description: =========================================
  10. //= Lighthalzen Airport Staff
  11. //===== Additional Comments: =================================
  12. //= 1.0 Cloned from einbroch.txt [Justin84]
  13. //= 1.1 Removed Duplicates [Silent]
  14. //= 1.2 Fixed syntax errors for duplicate [KarLaeda]
  15. //= 1.3 Removed use of goto. [L0ne_W0lf]
  16. //============================================================
  17. lhz_airport,126,43,4 script Airport Staff#1::AirportL 90,{
  18. mes "[Airport Staff]";
  19. mes "Welcome to the Airport.";
  20. mes "How may I help you?";
  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;
  33. warp "lhz_airport",148,51;
  34. close;
  35. }
  36. if(zeny >= 1200) {
  37. set Zeny,zeny-1200;
  38. warp "lhz_airport",148,51;
  39. close;
  40. }
  41. mes "[Airport Staff]";
  42. mes "You don't have enough zeny.";
  43. close;
  44. }
  45. }
  46. mes "[Airport Staff]";
  47. mes "Thank you and";
  48. mes "have a nice day.";
  49. close;
  50. }
  51. lhz_airport,143,43,4 duplicate(AirportL) Airport Staff#2 90
  52. lhz_airport,156,43,4 duplicate(AirportL) Airport Staff#3 90
  53. lhz_airport,126,51,4 script Airport Staff#4::AirportL2 90,{
  54. mes "[Airport Staff]";
  55. mes "Welcome~";
  56. mes "Please head this";
  57. mes "way to board the Airship.";
  58. next;
  59. if (select("Exit to Main Terminal:Cancel") == 1) {
  60. mes "[Airport Staff]";
  61. mes "If you leave the";
  62. mes "main terminal, you'll";
  63. mes "have to pay the admission";
  64. mes "fee again in order to board";
  65. mes "the Airship. Are you sure";
  66. mes "that you want to exit?";
  67. next;
  68. if (select("Yes:No") == 1) {
  69. warp "lhz_airport",142,40;
  70. close;
  71. }
  72. }
  73. mes "[Airport 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,143,51,4 duplicate(AirportL2) Airport Staff#5 90
  81. lhz_airport,156,51,4 duplicate(AirportL2) Airport Staff#6 90