abyss_warper.txt 2.0 KB

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