izlude.txt 1.5 KB

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