rachel.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //===== rAthena Script =======================================
  2. //= Rachel Airport NPCs
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Rachel Airport NPCs
  11. //===== Additional Comments: =================================
  12. //= 1.0 First version.
  13. //============================================================
  14. ra_fild12,295,208,0 script toairplane#rachel 45,1,1,{
  15. end;
  16. OnTouch:
  17. mes "To use the airship, you are required to pay 1,200 zeny or a Free Airship Ticket.";
  18. mes "Would you like to use the service?";
  19. next;
  20. if (select("Yes:No") == 1) {
  21. if (countitem(7311) > 0) {
  22. delitem 7311,1; //Free_Flying_Ship_Ticket
  23. warp "airplane_01",245,60;
  24. end;
  25. }
  26. if (Zeny >= 1200) {
  27. set Zeny, Zeny - 1200;
  28. warp "airplane_01",245,60;
  29. end;
  30. }
  31. mes "I am sorry, but you do not have enough money.";
  32. mes "Please remember, you are required to pay 1,200 zeny to use the service.";
  33. close;
  34. }
  35. mes "Thank you, please come again.";
  36. close;
  37. }