abyss_warper.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //===== Athena Script ========================================
  2. //= Abyss Cave Warper
  3. //===== By: ==================================================
  4. //= erKURITA
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= Any Athena Version
  9. //===== Description: =========================================
  10. //= Warper to Abyss Cave. and warper out
  11. //===== Additional Comments: =================================
  12. //= 1.0 Added by Nexon [Nexon]
  13. //============================================================
  14. hu_fild05.gat,168,303,0 script Pillar 111,{
  15. mes "[Ancient Voice]";
  16. mes "So, you wish access to the Abyss Cave?";
  17. mes "You have to bring me then 1 Dragon Canine, 1 Dragon Tail and 1 Dragon Scale";
  18. mes "in order to grant you access to the island";
  19. next;
  20. mes "[Ancient Voice]";
  21. mes "Do you wish to go?";
  22. next;
  23. menu "Yes",L_Check,"No",-;
  24. mes "Return when you are ready.";
  25. close;
  26. L_Check:
  27. mes "[Ancient Voice]";
  28. mes "Good, let me check your items first";
  29. next;
  30. mes "[Ancient Voice]";
  31. if ((countitem(1035) == 0) || (countitem(1036) == 0) || (countitem(1037) == 0)) goto L_No_Items;
  32. mes "Good, I hereby grant you access then";
  33. mes "Please hurry. The entrance will not stay open for long";
  34. close2;
  35. delitem 1035,1;
  36. delitem 1036,1;
  37. delitem 1037,1;
  38. enablenpc "warpabyss";
  39. initnpctimer;
  40. warp "hu_fild05",181,197;
  41. end;
  42. L_No_Items:
  43. mes "You dont have enough items";
  44. close;
  45. OnTimer10000:
  46. disablenpc "warpabyss";
  47. stopnpctimer;
  48. setnpctimer 0;
  49. end;
  50. OnInit:
  51. disablenpc "warpabyss";
  52. end;
  53. }
  54. hu_fild05.gat,171,212,0 script Pillar 111,{
  55. mes "[Ancient Voice]";
  56. mes "Leave the island?";
  57. next;
  58. menu "Yes",-,"No",L_close;
  59. warp "hu_fild05.gat",168,301;
  60. end;
  61. L_close:
  62. mes "[Ancient Voice]";
  63. mes "Return when you are ready.";
  64. close;
  65. }
  66. hu_fild05.gat,197,210,0 warp warpabyss 2,3,abyss_01.gat,264,271