abyss_warper.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. //===== rAthena Script =======================================
  2. //= Abyss Cave Warper
  3. //===== By: ==================================================
  4. //= erKURITA
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  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. //= 1.3 Updated Abyss Lake entrance based on official [SinSloth]
  16. //= 1.3a Removed .GATs [Lupus]
  17. //= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
  18. //============================================================
  19. hu_fild05,168,304,0 script Column#abyss1 111,{
  20. mes "^3355FFThere are 3 oddly";
  21. mes "shaped grooves on";
  22. mes "the surface of this";
  23. mes "column. It seems that";
  24. mes "certain dragon body parts";
  25. mes "would fit perfectly into";
  26. mes "the column grooves.^000000";
  27. if((countitem(1035)) && (countitem(1036)) && (countitem(1037)))
  28. {
  29. next;
  30. switch( select( "Insert Dragon Body Parts","Eat Dragon Body Parts" ) )
  31. {
  32. case 1:
  33. mes "^3355FFYou carefully place a";
  34. mes "Dragon Canine into one of";
  35. mes "the grooves, and then you";
  36. mes "hear a powerful rumbling";
  37. mes "from within the column.^000000";
  38. specialeffect EF_WINDHIT;
  39. next;
  40. mes "^3355FFYou slowly insert a";
  41. mes "Dragon Scale into another";
  42. mes "of the column's grooves,";
  43. mes "trigerring another small";
  44. mes "tremor from the column.^000000";
  45. specialeffect EF_WINDHIT;
  46. next;
  47. mes "^3355FFYou cautiously insert";
  48. mes "a Dragon Tail into the";
  49. mes "final groove. Lights shine";
  50. mes "forth from cracks in the";
  51. mes "column's surface...^000000";
  52. specialeffect EF_WINDHIT;
  53. next;
  54. mes "^3355FFThe ground beneath";
  55. mes "your feet begins to";
  56. mes "violently shake.^000000";
  57. specialeffect EF_BOWLINGBASH;
  58. donpcevent "AbyssWarp::OnWarp";
  59. specialeffect2 EF_PORTAL;
  60. delitem 1035,1;
  61. delitem 1036,1;
  62. delitem 1037,1;
  63. close2;
  64. warp "hu_fild05",184,204;
  65. end;
  66. case 2:
  67. mes "^3355FFYou gingerly place a";
  68. mes "Dragon's Canine, a Dragon";
  69. mes "Scale, and a Dragon Tail into";
  70. mes "your mouth and slowly begin";
  71. mes "to chew. Nothing happens";
  72. mes "and the taste of these items";
  73. mes "is surprisingly putrid.^000000";
  74. next;
  75. emotion ET_HUNGRY, playerattached();
  76. delitem 1035,1;
  77. delitem 1036,1;
  78. delitem 1037,1;
  79. percentheal -10,0;
  80. close;
  81. }
  82. }
  83. close;
  84. }
  85. hu_fild05,171,211,0 script Column#abyss2 111,1,1,{
  86. mes "^3355FFThis column looks";
  87. mes "very similar to the";
  88. mes "one you've seen in";
  89. mes "the lake. There is";
  90. mes "a conspicious blue";
  91. mes "groove on its surface.^000000";
  92. next;
  93. switch( select( "Touch the Groove","Remove Item from Groove" ) )
  94. {
  95. case 1:
  96. mes "^3355FF*Clatter Clatter*^000000";
  97. next;
  98. mes "^3355FFThe light emanating from";
  99. mes "the groove distorts and";
  100. mes "the column starts to shake.";
  101. mes "You hear a faint rumbling";
  102. mes "from inside the column.^000000";
  103. specialeffect EF_WINDHIT;
  104. next;
  105. mes "*Ggghhhhhzzzz!*";
  106. mes "*BAM!*";
  107. next;
  108. mes "^3355FFThe light shining from";
  109. mes "the column's groove grows";
  110. mes "brighter as you feel the";
  111. mes "ground beneath your feet";
  112. mes "begin to slowly sink away...^000000";
  113. next;
  114. specialeffect EF_BOWLINGBASH;
  115. specialeffect2 EF_PORTAL;
  116. close2;
  117. warp "hu_fild05",169,305;
  118. end;
  119. case 2:
  120. mes "^3355FF*Ppppsssh!*";
  121. mes "You accidentally";
  122. mes "broke the item.^000000";
  123. specialeffect EF_WINDHIT;
  124. next;
  125. mes "^3355FF*Gggggggghhhhhhhhzzzzzzjjjjhh!*^000000";
  126. next;
  127. mes "^3355FFThe light emanating from";
  128. mes "the groove distorts and";
  129. mes "the column starts to shake.";
  130. mes "The tremors in the ground";
  131. mes "make it difficult to stand";
  132. mes "steadily, but suddently you";
  133. mes "are warped somewhere else...^000000";
  134. next;
  135. specialeffect EF_BOWLINGBASH;
  136. specialeffect2 EF_PORTAL;
  137. close2;
  138. warp "hu_fild05",157,284;
  139. end;
  140. }
  141. }
  142. hu_fild05,196,210,1 script AbyssWarp 45,2,2,{
  143. OnInit:
  144. disablenpc "AbyssWarp";
  145. end;
  146. OnTouch_:
  147. warp "abyss_01",260,268;
  148. end;
  149. OnWarp:
  150. initnpctimer;
  151. enablenpc "AbyssWarp";
  152. end;
  153. OnTimer30000:
  154. stopnpctimer;
  155. disablenpc "AbyssWarp";
  156. end;
  157. }