summaryrefslogtreecommitdiff
path: root/npc/jobs/1-1e/gunslinger.txt
blob: 79f65b120f7a3c562e72b6ebed5c093d6355ae27 (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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
//===== eAthena Script ======================================= 
//= Gunslinger Job Quest
//===== By: ================================================== 
//= erKURITA & RockmanEXE
//= Direct credits quote from RockmanExe: 
//= "info provided by RockmanEXE cause he pwnz0rz yer arse"
//= DON'T REMOVE THIS! (by request of him, he provided all
//= the info regarding the quests and shops.)
//===== Current Version: ===================================== 
//= 2.1b
//===== Compatible With: ===================================== 
//= eAthena SVN
//===== Description: ========================================= 
//= Gunslinger Job Change Quest
//===== Additional Comments: ================================= 
//= 1.0 Made the NPC [erKURITA]
//= 1.5 Couple fixes to the npc, aswell as adding the missing
//=	  3 green herbs. [erKURITA]
//= 1.6 job number->const, commonized variable name,
//= 	optimized [Lupus]
//= 1.7 Now uses only ONE variable GUNS_Q [Lupus]
//= 1.7a Grammar fixes, few spelling fixes, etc [CBMaster]
//= 1.7b Parenthesis fixes [KarLaeda]
//= 1.8 Fixed the reward you can get [Playtester]
//= 1.9 Removed some 'clever' script constructs [ultramage]
//= 2.0 Updated to official version - Thanks to Omega for
//= his first try [SinSloth] 1.10b - removed .GATs [Lupus]
//= 2.1 Wise Bull Horn now deletes all items. Thanks to yyCC. [L0ne_W0lf]
//= 2.1a Corrected a Typo error ";;". [Samuray22]
//= 2.1b Corrected some typos errors. (bugreport:1549) [Samuray22]
//============================================================ 

que_ng,152,167,3	script	Master Miller	901,{

	mes "[Master Miller]";
	if(Class == Job_Novice && JobLevel > 9)
	{
		switch(GUNS_Q)
		{
			case 0:
				mes "I'm a Security Chief and also";
				mes "a Gunslinger Instructor, you may call me";
				mes "Master Miller.";
				next;
				mes "[Master Miller]";
				mes "I can't be distracted from my duty";
				mes "at this moment.";
				mes "What is it that you want?";
				next;
				switch( select( "Nothing much.","I want to become a Gunslinger.") )
				{
					case 1:
						mes "[Master Miller]";
						mes "Wasting my time is like,";
						mes "wasting gold.";
						mes "Get out of my sight immediatly.";
						close;

					case 2:
						mes "[Master Miller]";
						mes "Hmm.";
						mes "You still look young";
						mes "but the look in your eyes...";
						mes "I can sense a powerful force.";
						next;
						mes "[Master Miller]";
						mes "Hmm...Okay.";
						mes "First, if you have the will to become a Gunslinger";
						mes "you will need to go through some tests";
						mes "and also interview and Training Sessions.";
						next;
						mes "[Master Miller]";
						mes "Do you wish to proceed?";
						next;
						switch (select ("No, I need time to think.","Sure.") )
						{
							case 1:
								mes "[Master Miller]";
								mes "Hmm..Is that so.";
								mes "Well, it is important...";
								mes "Think carefully and if you have the spirit,";
								mes "please, come back later.";
								close;

							case 2:
								mes "[Master Miller]";
								mes "Hmm. Okay.";
								mes "First";
								mes "deliver this letter I am giving to you";
								mes "to Payon's Alchemist,";
								mes "'The Wise Bull Horn'";
								mes "and hand the letter to him.";
								next;
								mes "[Master Miller]";
								mes "He will judge you and";
								mes "will report back to us if ";
								mes "you are up to our standards.";
								next;
								mes "["+ strcharinfo(0) +"]";
								mes "Allright, I'll do that.";
								set GUNS_Q,1;
								close;
						}
				}

			case 1:	
				mes "Hurry up and get moving.";
				mes "'The Wise Bull Horn' is";
				mes "currently in Payon.";
				close;

			case 2:
				mes "I guess he gave you";
				mes "some errands to run.";
				next;
				mes "[Master Miller]";
				mes "I think he saw potential in you.";
				mes "Good luck.";
				close;

			case 3:
				mes "That's a lot of errands";
				mes "I already told you, the";
				mes "old man is pretty serious.";
				mes "Perform your task well.";
				close;

			case 4:
				mes "Mm~ I'll be waiting for your news.";
				mes "I hope you'll become one of us.";
				mes "We'll be practically family..";
				close;

			case 5:
				if (skillpoint > 0)	{
					mes "Learn all your Basic Skills first!!";
					close;
				}
				mes "Ohh, I see you got something from the old man";
				mes "This is rare.";
				mes "Under normal circumstances...";
				mes "this would not be allowed...";
				mes "Nice, nice.";
				next;
				mes "[Master Miller]";
				mes "Mm..Okay.";
				mes "The old man gave his";
				mes "blessings, so I do not have any";
				mes "reason to reject your application.";
				next;
				mes "[Master Miller]";
				mes "Okay, from now on you'll be a Gunslinger.";
				mes "After this, for every moment that you live,";
				mes "remember can never leave your side";
				mes "is your gun. We must remember the gun";
				mes "and even every one of its bullets";
				mes "has its own product number,";
				mes "and can be checked up by us.";
				next;
				mes "[Master Miller]";
				mes "For purchasing guns and ammo";
				mes "the only place you can buy them";
				mes "is from our special gunslinger";
				mes "guild stores in various places.";
				next;
				mes "[Master Miller]";
				mes "Of course, this is tedious.";
				mes "But this is all to...";
				mes "not let these guns";
				mes "fall in the wrong hands, so";
				mes "please forgive us for any inconvenience.";
				next;
				mes "[Master Miller]";
				mes "There are also";
				mes "other reasons.";
				mes "You'll no doubt find some of them";
				mes "later.";
				mes "These are all the instructions";
				mes "from Lady Celena, our";
				mes "guild leader.";
				next;
				mes "[Master Miller]";
				mes "After a bit of time";
				mes "we will give you missions.";
				mes "You will understand more";
				mes "later.";
				next;
				mes "[Master Miller]";
				mes "I'm sure we'll see each other again.";
				mes "So here's to a nice time";
				mes "working together.";
				nude;
				callfunc "Job_Change",Job_Gunslinger;
				callfunc "F_ClearJobVar";
				set GUNS_Q,6;
				set @gun_ex,rand(1,2);
				if(@gun_ex == 1) getitem 13100,1; else getitem 13150,1;
				close;
		}
	} else if(Class == Job_Novice && JobLevel < 10) {
		mes "Hmm, I think you";
		mes "have the potential";
		mes "but you're not yet strong enough.";
		mes "Keep getting stronger and";
		mes "come back later.";
		close;
	} else if(Class == Job_Gunslinger) {
		mes "Oh~ It's been a long time~";
		mes "So, how have your travels been?";
		mes "Remember, always take care";
		mes "of your gun.";
		close;
	} else if(Class == Job_Baby) {
		mes "Ouch~";
		mes "How did a baby come here~";
		mes "Peekaboo~";
		next;
		mes "[Master Miller]";
		mes "Where's your mommy~";
		mes "Haha~";
		mes "It's a dangerous place here.";
		mes "Go play somewhere else.";
		close;
	} else {
		mes "Don't get distracted with me.";
		mes "Get on with your traveling.";
		close;
	}
}

payon,184,65,3	script	The Wise Bull Horn	866,{

	switch(GUNS_Q)
	{
		case 0:
			mes "[The Wise Bull Horn]";
			mes "Zzz...Zzz";
			close;

		case 1:
			mes "[The Wise Bull Horn]";
			mes "...Hmm... Young one";
			mes "What is it that you want.";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "Mr. Miller sent me here.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Miller...";
			mes "Mm...Hmm. So Dark Fox";
			mes "sent you here...";
			next;
			mes "[The Wise Bull Horn]";
			mes "He is wise and cunning...";
			mes "that is willing to sacrifice himself for his teammates.";
			mes "mm...If he sent you..";
			mes "Then you should be rather capable...";
			next;
			mes "[The Wise Bull Horn]";
			mes "Wait...come closer...";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "....";
			next;
			mes "[The Wise Bull Horn]";
			mes "mmm...";
			mes "mmmmm....";
			next;
			mes "[The Wise Bull Horn]";
			mes "mmm...Bright eyes and...";
			mes "a serious face...also...";
			mes "a very good attitude...a good sense of...";
			mes "responsibility...";
			mes "But still not enough.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Lack of experience...";
			mes "And you still don't have the blessing of the land...";
			mes "You'll get injured at this rate...";
			next;
			mes "[The Wise Bull Horn]";
			mes "Very well, I shall craft you a gift...";
			mes "If you wish to follow this path...";
			mes "Gather 3 Rainbow Shells,";
			mes "10 Shells, 3 Feathers,";
			mes "1 Trunk, 3 Zargons, and 3 Green Herbs,";
			mes "then bring them to me.";
			next;
			mes "[The Wise Bull Horn]";
			mes "If you show the gift that you just received";
			mes "to Dark Fox. Then he will definitely...";
			mes "accept you.";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "-I'll need-";
			mes "-3 Rainbow Shells-";
			mes "-10 Shells, 3 Feathers-";
			mes "-1 Trunk, 3 Zargons,-";
			mes "-and 3 Green Herbs.-";
			set GUNS_Q,2;
			close;

		case 2:
			if ((countitem(935) < 10) || (countitem(949) < 3) || (countitem(1019) < 1) || (countitem(912) < 3) || (countitem(511) < 3))
			{
				mes "["+ strcharinfo(0) +"]";
				mes "-I'll need-";
				mes "-3 Rainbow Shells-";
				mes "-10 Shells, 3 Feathers-";
				mes "-1 Trunk, 3 Zargons,-";
				mes "-and 3 Green Herbs.-";
				close;
			}
			mes "[The Wise Bull Horn]";
			mes "Oh...give them to me.";
			mes "There is time to be consumed to";
			mes "make the gift, wait for a while.";
			delitem  935,10;
			delitem  949,3;
			delitem 1019,1;
			delitem  912,3;
			delitem  511,3;
			delitem 1013,3; //Colorful_Shell
			set GUNS_Q,3;
			close;

		case 3:
			mes "[The Wise Bull Horn]";
			mes "Mm...You came right on time.";
			mes "The preparation finished just now.";
			mes "It is a rather simple gift.";
			mes "But that's because I haven't worked in so long.";
			mes "Ahh...I feel tired now...";
			next;
			mes "[The Wise Bull Horn]";
			mes "The last time I crafted this...";
			mes "Was well over ten years ago.";
			mes "I also followed this path once...";
			mes "and I once battled...";
			mes "with such an item.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Meeting Celena's father";
			mes "feels just like yesterday,";
			mes "time really flies.";
			mes "Like the smooth western wind.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Though there would always be painful";
			mes "memories...but my followers...";
			mes "especially people like...";
			mes "Celena and Dark Fox.";
			mes "Ahh, young people, and my followers...";
			mes "I thank you...";
			next;
			mes "[The Wise Bull Horn]";
			mes "Though now, I am already old...";
			mes "In a short while...";
			mes "I will return...to the land";
			next;
			mes "[The Wise Bull Horn]";
			mes "I feel so tired...";
			mes "I'm so sorry...but if you could...";
			mes "Promise me something...";
			mes "Promise to do...something for me.";
			next;
			mes "[The Wise Bull Horn]";
			mes "I suddenly feel like...";
			mes "drinking a glass of milk.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Take it as a request...from an old man.";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "-Let's get a glass of Milk-";
			mes "For 'The Wise Bull Horn'.-";
			set GUNS_Q, 4;
			close;
		
		case 4:
			if (countitem(519) < 0)
			{
				mes "["+ strcharinfo(0) +"]";
				mes "-Let's get a glass of Milk-";
				mes "-for 'The Wise Bull Horn'.-";
				close;
			}
			mes "[The Wise Bull Horn]";
			mes "Thank you.";
			mes "You are truly a kind young man.";
			mes "Now get on the road.";
			delitem 519,1;
			set GUNS_Q,5;
			next;
			mes "[The Wise Bull Horn]";
			mes "Take this Gift made by me";
			mes "and show it to Dark Fox.";
			mes "You have my blessings";
			mes "to become a Gunslinger.";
			next;
			mes "[The Wise Bull Horn]";
			mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
			mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "-Singing a weird-";
			mes "-song-";
			mes "-'The Wise Bull Horn'. I feel strange.-";
			mes "-Let's take the Gift-";
			mes "-to Mr.Miller now.-";
			close;

		case 5:
			mes "[The Wise Bull Horn]";
			mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
			mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "-Singing a weird-";
			mes "-song-";
			mes "-'The Wise Bull Horn'.-";
			next;
			mes "["+ strcharinfo(0) +"]";
			mes "-I feel strange.-";
			mes "-Let's take the Gift-";
			mes "-to Mr.Miller now.-";
			close;
		
		case 6:
			mes "[The Wise Bull Horn]";
			mes "Mm...It's been a while.";
			mes "Hopefully you'll become a strong Gunslinger.";
			close;
	}
}