hugel.txt 1.1 KB

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