abyss_warper.txt 2.0 KB

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