izlude.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //===== rAthena Script =======================================
  2. //= Izlude Airport NPCs
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Compatible With: =====================================
  6. //= rAthena SVN
  7. //===== Description: =========================================
  8. //= Izlude Airport NPCs
  9. //===== Additional Comments: =================================
  10. //= Official NPCs.
  11. //============================================================
  12. izlude,206,55,3 script Airship Staff#izlude 90,{
  13. mes "[Airship Staff]";
  14. mes "Welcome! Would you like";
  15. mes "to board the Airship that";
  16. mes "departs on the flight wich stops";
  17. mes "in Juno and Rachel?";
  18. next;
  19. if (select("Board the Airship to Juno/Rachel.:Cancel.") == 1) {
  20. mes "[Airship Staff]";
  21. mes "The boarding fee is";
  22. mes "1,200 zeny. However, this";
  23. mes "charged is waived if you use";
  24. mes "a Free Ticket for Airship. Now,";
  25. mes "would you still like to board?";
  26. next;
  27. if (select("Yes:No") == 1) {
  28. if (countitem(7311) > 0) {
  29. delitem 7311,1; //Free_Flying_Ship_Ticket
  30. warp "airplane_01",244,58;
  31. end;
  32. }
  33. if (Zeny >= 1200) {
  34. set Zeny, Zeny - 1200;
  35. warp "airplane_01",244,58;
  36. end;
  37. }
  38. mes "[Airship Staff]";
  39. mes "I'm sorry, but you don't";
  40. mes "have 1,200 zeny to pay";
  41. mes "for the boarding fee.";
  42. close;
  43. }
  44. }
  45. mes "[Airship Staff]";
  46. mes "Thank you and";
  47. mes "please come again.";
  48. mes "Have a good day~";
  49. close;
  50. }