root/npc/custom/quests/tha_statues.txt

Revision 1, 6.1 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Custom Thanatos Tower Quest
3//===== By: ==================================================
4//= Bibilol & Moryagorn
5//===== Current Version: =====================================
6//= 1.1
7//===== Compatible With: =====================================
8//= Any eAthena Version;
9//===== Description: =========================================
10//= Custom Thanatos Tower Quest
11//===== Additional Comments: =================================
12//= 1.1 Fixed wrong NPC names in their dialogues, added
13//=     Justin84's gems check in Sox NPC [Lupus]
14//============================================================
15
16
17//Statue (NPC)(U: UP, D: DOWN, R: RIGHT, L: LEFT) :
18// Explain Npc
19tha_t08,69,106,4        script  Statue  111,{
20
21        mes "You can read on the back of the statue:";
22        mes "'By the spirit of olds, the walls are closed";
23        mes "Upper floors or foreign taboo";
24        mes "By the order of the Statues you will find the way";
25        mes "Which perhaps a day will bring you to me.";
26        mes ".....Thanatos '";
27        close;
28}
29
30//Tha_t09 :
31//(Thalos)(U,L)-->tha_t09,17,158,4
32//(Mediane)(D,R)-->tha_t09,84,99,4
33//Script:
34
35tha_t09,17,158,4        script  Thalos  111,{
36
37        if(TSQ_CHK == 1) goto done;
38        mes "[Thalos]";
39        mes "You must find the 2nd Statue now.";
40        set TSQ_CHK,1;
41        close;
42
43done:
44        mes "[Thalos]";
45        mes "Go search the 2nd Statue!";
46        close;
47           
48}
49
50tha_t09,84,99,4 script  Mediane 111,{
51
52        if(TSQ_CHK != 1) goto nook;
53        mes "[Mediane]";
54        mes "Okay, i am warping you to the next floor now.";
55        next;
56        set TSQ_CHK,0;
57        warp "tha_t10", 165,    138;
58        close;
59nook:
60        mes "[Mediane]";
61        mes "You must talk with the Spirit in the 1st Statue.";
62        close;
63}
64
65//Tha_t10 :
66//(Melkor)(U)-->tha_t10,130,159,4
67//(Zebrus)(D,R)-->tha_t10,160,98,4
68//(Veriaelle)(D,L)-->tha_t10,99,97,4
69//Script:
70
71tha_t10,130,159,4       script  Melkor  111,{
72
73        if(TSQ_CHK == 1) goto done;
74        mes "[Melkor]";
75        mes "You must find the other Spirits now.";
76        mes "We are 3.";
77        set TSQ_CHK,1;
78        close;
79done:
80        mes "[Melkor]";
81        mes "Go Search, They are in this floor.";
82        close;
83}
84
85tha_t10,160,98,4        script  Zebrus  111,{
86
87        if(TSQ_CHK != 1) goto nook;
88        mes "[Zebrus]";
89        mes "Keep on this way, There is one Spirit left";
90        set TSQ_CHK,2;
91        close;
92nook:
93        mes "[Zebrus]";
94        mes "You seems to be lost, Go back and talk to Melkor.";
95        next;
96        set TSQ_CHK,0;
97        close;
98}
99
100tha_t10,99,97,4 script  Veriaelle       111,{
101
102        if(TSQ_CHK != 2) goto nook;
103        mes "[Veriaelle]";
104        mes "Okay, i am warping you to the next floor.";
105        next;
106        set TSQ_CHK,0;
107        warp "tha_t11", 86,     38;
108        close;
109nook:
110        mes "[Veriaelle]";
111        mes "You seems to be lost, Go back and talk to Melkor.";
112        next;
113        set TSQ_CHK,0;
114        close;
115}
116
117//Tha_t11 :
118//(Throtre)(U,L)-->tha_t11,16,85,4
119//(Klermaz)(D,R)-->tha_t11,85,16,4
120//(Mihane)(D,L)-->tha_t11,16,16,4
121//(Seranes)(U,R)-->tha_t11,85,85,4
122//Script:
123
124tha_t11,16,85,4 script  Throtre 111,{
125        if(TSQ_CHK == 1) goto done;
126        mes "[Throtre]";
127        mes "You got my authorization for the next floor";
128        mes "However, you must show how strong you are to the other Spirits";
129        set TSQ_CHK,1;
130        close;
131done:
132        mes "[Throtre]";
133        mes "Go search, They Can't leave this floor.";
134        close;
135}
136
137tha_t11,85,16,4 script  Klermaz 111,{
138        if(TSQ_CHK != 1) goto nook;
139        mes "[Klermaz]";
140        mes "Hmm it seems that Throtre allowed you to pass.";
141        mes "Well then you have my blessing, 2 Spirits remaining.";
142        set TSQ_CHK,2;
143        close;
144nook:
145        mes "[Klermaz]";
146        mes "You seems to be lost, Go back and talk to Throtre.";
147        next;
148        set TSQ_CHK,0;
149        close;
150}
151
152tha_t11,16,16,4 script  Mihane  111,{
153      if(TSQ_CHK != 2) goto nook;
154        mes "[Mihane]";
155        mes "Keep on this way, Only 1 Left.";
156        set TSQ_CHK,3;
157        close;
158nook:
159        mes "[Mihane]";
160        mes "Sorry, You must start over from the begining.";
161        next;
162        set TSQ_CHK,0;
163        close;
164}
165
166tha_t11,85,85,4 script  Seranes 111,{
167        if(TSQ_CHK != 3 ) goto nook;
168        mes "[Seranes]";
169        mes "Perfect, it seems that the other spirits grants you the access.";
170        mes "I am warping you to the next floor.";
171        next;
172        set TSQ_CHK,0;
173        warp "tha_t12", 129,    58;
174        close;
175nook:
176        mes "[Seranes]";
177        mes "You did not follow the good order, starts again from the begining.";
178        next;
179        set TSQ_CHK,0;
180        close;
181}
182
183//Tha_t12 ( M: Middle):
184//(Nox)(D,L)-->tha_t12,103,18,4
185//(Vox)(R)-->tha_t12,162,58,4
186//(Hox)(L)-->tha_t12,96,57,4
187//(Dox)(D,R)-->tha_t12,153,17,4
188//(Sox)(U)-->tha_t12,128,88,4
189//Script:
190
191tha_t12,103,18,4        script  Nox     111,{
192        if(TSQ_CHK == 1 ) goto done;
193        mes "[Nox]";
194        mes "Fine, 4 Spirits left.";
195        set TSQ_CHK,1;
196        close;
197done:
198        mes "[Nox]";
199        mes "Go search, They can't leave this floor.";
200        close;
201}
202
203tha_t12,162,58,4        script  Vox     111,{
204        if(TSQ_CHK != 1 ) goto nook;
205        mes "[Vox]";
206        mes "Keep on this way, 3 Spirits remaining !";
207        set TSQ_CHK,2;
208        close;
209nook:
210        mes "[Vox]";
211        mes "Sorry, Go back and talk to Nox.";
212        next;
213        set TSQ_CHK,0;
214        close;
215}
216
217tha_t12,96,57,4 script  Hox     111,{   
218        if(TSQ_CHK != 2 ) goto nook;
219        mes "[Hox]";
220        mes "You are on the good way, 2 Spirits remaining !";
221        set TSQ_CHK,3;
222        close;
223nook:
224        mes "[Hox]";
225        mes "Sorry, Go back and talk to Vox.";
226        next;
227        set TSQ_CHK,0;
228        close;
229}
230
231tha_t12,153,17,4        script  Dox     111,{
232        if(TSQ_CHK != 3 ) goto nook;
233        mes "[Dox]";
234        mes "Perfect, 1 Spirit left.";
235        set TSQ_CHK,4;
236        close;
237nook:
238        mes "[Dox]";
239        mes "Sorry, Go back and talk to Hox.";
240        next;
241        set TSQ_CHK,0;
242        close;
243}
244
245tha_t12,128,88,4        script  Sox     111,{
246        if(TSQ_CHK != 4 ) goto nook;
247        mes "[Sox]";
248        mes "You have just passed the test successfully.";
249        next;
250        mes "[Sox]";
251        mes "You have to give me Red Magic Stone, Yellow Magic Stone, Blue Magic Stone & Green Magic Stone.";
252        next;
253        if(countitem(7426) < 1 || countitem(7427) < 1 || countitem(7428) < 1 || countitem(7429) < 1) goto nostone;
254        delitem 7426,1;
255        delitem 7427,1;
256        delitem 7428,1;
257        delitem 7429,1;
258        mes "[Sox]";
259        mes "I will now warp you to steps of Fate.";
260        mes "Good-bye.";
261        next;
262        set TSQ_CHK,0;
263        warp "thana_step", 186, 223;
264        close;
265
266nostone:
267        mes "[Sox]";
268        mes "Oh well, seems you don't have enough stones.";
269        close;
270
271nook:
272        mes "[Sox]";
273        mes "Sorry, Go back and talk to Dox.";
274        next;
275        set TSQ_CHK,0;
276        close;
277}
Note: See TracBrowser for help on using the browser.