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