summaryrefslogtreecommitdiff
path: root/npc/custom/quests/tha_statues.txt
blob: 9a9bdd29f26bfe48d832d04b4845facf828ecd12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
//===== eAthena Script =======================================
//= Custom Thanatos Tower Quest
//===== By: ==================================================
//= Bibilol & Moryagorn
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= Any eAthena Version;
//===== Description: =========================================
//= Custom Thanatos Tower Quest
//===== Additional Comments: =================================
//= 1.1 Fixed wrong NPC names in their dialogues, added
//= 	Justin84's gems check in Sox NPC [Lupus]
//============================================================


//Statue (NPC)(U: UP, D: DOWN, R: RIGHT, L: LEFT) :
// Explain Npc
tha_t08.gat,69,106,4	script	Statue	111,{

	mes "You can read on the back of the statue:";
	mes "'By the spirit of olds, the walls are closed";
	mes "Upper floors or foreign taboo";
	mes "By the order of the Statues you will find the way";
	mes "Which perhaps a day will bring you to me.";
	mes ".....Thanatos '";
	close;
}

//Tha_t09 :
//(Thalos)(U,L)-->tha_t09.gat,17,158,4
//(Mediane)(D,R)-->tha_t09.gat,84,99,4
//Script:

tha_t09.gat,17,158,4	script	Thalos	111,{

	if(TSQ_CHK == 1) goto done;
	mes "[Thalos]";
	mes "You must find the 2nd Statue now.";
	set TSQ_CHK,1;
	close;

done:
	mes "[Thalos]";
	mes "Go search the 2nd Statue!";
	close;
           
}

tha_t09.gat,84,99,4	script	Mediane	111,{

	if(TSQ_CHK != 1) goto nook;
	mes "[Mediane]";
	mes "Okay, i am warping you to the next floor now.";
	next;
	set TSQ_CHK,0;
	warp "tha_t10.gat",	165,	138; 
	close;
nook:
	mes "[Mediane]";
	mes "You must talk with the Spirit in the 1st Statue.";
	close;
}

//Tha_t10 :
//(Melkor)(U)-->tha_t10.gat,130,159,4
//(Zebrus)(D,R)-->tha_t10.gat,160,98,4
//(Veriaelle)(D,L)-->tha_t10.gat,99,97,4
//Script:

tha_t10.gat,130,159,4	script	Melkor	111,{

	if(TSQ_CHK == 1) goto done;
	mes "[Melkor]";
	mes "You must find the other Spirits now.";
	mes "We are 3.";
	set TSQ_CHK,1;
	close;
done:
	mes "[Melkor]";
	mes "Go Search, They are in this floor.";
	close;
}

tha_t10.gat,160,98,4	script	Zebrus	111,{

	if(TSQ_CHK != 1) goto nook;
	mes "[Zebrus]";
	mes "Keep on this way, There is one Spirit left";
	set TSQ_CHK,2;
	close;
nook:
	mes "[Zebrus]";
	mes "You seems to be lost, Go back and talk to Melkor.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t10.gat,99,97,4	script	Veriaelle	111,{

	if(TSQ_CHK != 2) goto nook;
	mes "[Veriaelle]";
	mes "Okay, i am warping you to the next floor.";
	next;
	set TSQ_CHK,0;
	warp "tha_t11.gat",	86,	38;
	close;
nook:
	mes "[Veriaelle]";
	mes "You seems to be lost, Go back and talk to Melkor.";
	next;
	set TSQ_CHK,0;
	close;
}

//Tha_t11 :
//(Throtre)(U,L)-->tha_t11.gat,16,85,4
//(Klermaz)(D,R)-->tha_t11.gat,85,16,4
//(Mihane)(D,L)-->tha_t11.gat,16,16,4
//(Seranes)(U,R)-->tha_t11.gat,85,85,4
//Script:

tha_t11.gat,16,85,4	script	Throtre	111,{
	if(TSQ_CHK == 1) goto done;
	mes "[Throtre]";
	mes "You got my authorization for the next floor";
	mes "However, you must show how strong you are to the other Spirits";
	set TSQ_CHK,1;
	close;
done:
	mes "[Throtre]";
	mes "Go search, They Can't leave this floor.";
	close;
}

tha_t11.gat,85,16,4	script	Klermaz	111,{
	if(TSQ_CHK != 1) goto nook;
	mes "[Klermaz]";
	mes "Hmm it seems that Throtre allowed you to pass.";
	mes "Well then you have my blessing, 2 Spirits remaining.";
	set TSQ_CHK,2;
	close;
nook:
	mes "[Klermaz]";
	mes "You seems to be lost, Go back and talk to Throtre.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t11.gat,16,16,4	script	Mihane	111,{
      if(TSQ_CHK != 2) goto nook;
	mes "[Mihane]";
	mes "Keep on this way, Only 1 Left.";
	set TSQ_CHK,3;
	close;
nook:
	mes "[Mihane]";
	mes "Sorry, You must start over from the begining.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t11.gat,85,85,4	script	Seranes	111,{
	if(TSQ_CHK != 3 ) goto nook;
	mes "[Seranes]";
	mes "Perfect, it seems that the other spirits grants you the access.";
	mes "I am warping you to the next floor.";
	next;
	set TSQ_CHK,0;
	warp "tha_t12.gat",	129,	58;
	close;
nook:
	mes "[Seranes]";
	mes "You did not follow the good order, starts again from the begining.";
	next;
	set TSQ_CHK,0;
	close;
}

//Tha_t12 ( M: Middle):
//(Nox)(D,L)-->tha_t12.gat,103,18,4
//(Vox)(R)-->tha_t12.gat,162,58,4
//(Hox)(L)-->tha_t12.gat,96,57,4
//(Dox)(D,R)-->tha_t12.gat,153,17,4
//(Sox)(U)-->tha_t12.gat,128,88,4
//Script:

tha_t12.gat,103,18,4	script	Nox	111,{
	if(TSQ_CHK == 1 ) goto done;
	mes "[Nox]";
	mes "Fine, 4 Spirits left.";
	set TSQ_CHK,1;
	close;
done:
	mes "[Nox]";
	mes "Go search, They can't leave this floor.";
	close;
}

tha_t12.gat,162,58,4	script	Vox	111,{
	if(TSQ_CHK != 1 ) goto nook;
	mes "[Vox]";
	mes "Keep on this way, 3 Spirits remaining !";
	set TSQ_CHK,2;
	close;
nook:
	mes "[Vox]";
	mes "Sorry, Go back and talk to Nox.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t12.gat,96,57,4	script	Hox	111,{	
	if(TSQ_CHK != 2 ) goto nook;
	mes "[Hox]";
	mes "You are on the good way, 2 Spirits remaining !";
	set TSQ_CHK,3;
	close;
nook:
	mes "[Hox]";
	mes "Sorry, Go back and talk to Vox.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t12.gat,153,17,4	script	Dox	111,{
	if(TSQ_CHK != 3 ) goto nook;
	mes "[Dox]";
	mes "Perfect, 1 Spirit left.";
	set TSQ_CHK,4;
	close;
nook:
	mes "[Dox]";
	mes "Sorry, Go back and talk to Hox.";
	next;
	set TSQ_CHK,0;
	close;
}

tha_t12.gat,128,88,4	script	Sox	111,{
	if(TSQ_CHK != 4 ) goto nook;
	mes "[Sox]";
	mes "You have just passed the test successfully.";
	next;
	mes "[Sox]";
	mes "You have to give me Red Magic Stone, Yellow Magic Stone, Blue Magic Stone & Green Magic Stone.";
	next;
	if(countitem(7426) < 1 || countitem(7427) < 1 || countitem(7428) < 1 || countitem(7429) < 1) goto nostone;
	delitem 7426,1;
	delitem 7427,1;
	delitem 7428,1;
	delitem 7429,1;
	mes "[Sox]";
	mes "I will now warp you to steps of Fate.";
	mes "Good-bye.";
	next;
	set TSQ_CHK,0;
	warp "thana_step.gat", 186, 223;
	close;

nostone:
	mes "[Sox]";
	mes "Oh well, seems you don't have enough stones.";
	close;

nook:
	mes "[Sox]";
	mes "Sorry, Go back and talk to Dox.";
	next;
	set TSQ_CHK,0;
	close;
}