root/npc/jobs/1-1e/gunslinger.txt @ 1

Revision 1, 12.7 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Gunslinger Job Quest
3//===== By: ==================================================
4//= erKURITA & RockmanEXE
5//= Direct credits quote from RockmanExe:
6//= "info provided by RockmanEXE cause he pwnz0rz yer arse"
7//= DON'T REMOVE THIS! (by request of him, he provided all
8//= the info regarding the quests and shops.)
9//===== Current Version: =====================================
10//= 2.1b
11//===== Compatible With: =====================================
12//= eAthena SVN
13//===== Description: =========================================
14//= Gunslinger Job Change Quest
15//===== Additional Comments: =================================
16//= 1.0 Made the NPC [erKURITA]
17//= 1.5 Couple fixes to the npc, aswell as adding the missing
18//=       3 green herbs. [erKURITA]
19//= 1.6 job number->const, commonized variable name,
20//=     optimized [Lupus]
21//= 1.7 Now uses only ONE variable GUNS_Q [Lupus]
22//= 1.7a Grammar fixes, few spelling fixes, etc [CBMaster]
23//= 1.7b Parenthesis fixes [KarLaeda]
24//= 1.8 Fixed the reward you can get [Playtester]
25//= 1.9 Removed some 'clever' script constructs [ultramage]
26//= 2.0 Updated to official version - Thanks to Omega for
27//= his first try [SinSloth] 1.10b - removed .GATs [Lupus]
28//= 2.1 Wise Bull Horn now deletes all items. Thanks to yyCC. [L0ne_W0lf]
29//= 2.1a Corrected a Typo error ";;". [Samuray22]
30//= 2.1b Corrected some typos errors. (bugreport:1549) [Samuray22]
31//============================================================
32
33que_ng,152,167,3        script  Master Miller   901,{
34
35        mes "[Master Miller]";
36        if(Class == Job_Novice && JobLevel > 9)
37        {
38                switch(GUNS_Q)
39                {
40                        case 0:
41                                mes "I'm a Security Chief and also";
42                                mes "a Gunslinger Instructor, you may call me";
43                                mes "Master Miller.";
44                                next;
45                                mes "[Master Miller]";
46                                mes "I can't be distracted from my duty";
47                                mes "at this moment.";
48                                mes "What is it that you want?";
49                                next;
50                                switch( select( "Nothing much.","I want to become a Gunslinger.") )
51                                {
52                                        case 1:
53                                                mes "[Master Miller]";
54                                                mes "Wasting my time is like,";
55                                                mes "wasting gold.";
56                                                mes "Get out of my sight immediatly.";
57                                                close;
58
59                                        case 2:
60                                                mes "[Master Miller]";
61                                                mes "Hmm.";
62                                                mes "You still look young";
63                                                mes "but the look in your eyes...";
64                                                mes "I can sense a powerful force.";
65                                                next;
66                                                mes "[Master Miller]";
67                                                mes "Hmm...Okay.";
68                                                mes "First, if you have the will to become a Gunslinger";
69                                                mes "you will need to go through some tests";
70                                                mes "and also interview and Training Sessions.";
71                                                next;
72                                                mes "[Master Miller]";
73                                                mes "Do you wish to proceed?";
74                                                next;
75                                                switch (select ("No, I need time to think.","Sure.") )
76                                                {
77                                                        case 1:
78                                                                mes "[Master Miller]";
79                                                                mes "Hmm..Is that so.";
80                                                                mes "Well, it is important...";
81                                                                mes "Think carefully and if you have the spirit,";
82                                                                mes "please, come back later.";
83                                                                close;
84
85                                                        case 2:
86                                                                mes "[Master Miller]";
87                                                                mes "Hmm. Okay.";
88                                                                mes "First";
89                                                                mes "deliver this letter I am giving to you";
90                                                                mes "to Payon's Alchemist,";
91                                                                mes "'The Wise Bull Horn'";
92                                                                mes "and hand the letter to him.";
93                                                                next;
94                                                                mes "[Master Miller]";
95                                                                mes "He will judge you and";
96                                                                mes "will report back to us if ";
97                                                                mes "you are up to our standards.";
98                                                                next;
99                                                                mes "["+ strcharinfo(0) +"]";
100                                                                mes "Allright, I'll do that.";
101                                                                set GUNS_Q,1;
102                                                                close;
103                                                }
104                                }
105
106                        case 1:
107                                mes "Hurry up and get moving.";
108                                mes "'The Wise Bull Horn' is";
109                                mes "currently in Payon.";
110                                close;
111
112                        case 2:
113                                mes "I guess he gave you";
114                                mes "some errands to run.";
115                                next;
116                                mes "[Master Miller]";
117                                mes "I think he saw potential in you.";
118                                mes "Good luck.";
119                                close;
120
121                        case 3:
122                                mes "That's a lot of errands";
123                                mes "I already told you, the";
124                                mes "old man is pretty serious.";
125                                mes "Perform your task well.";
126                                close;
127
128                        case 4:
129                                mes "Mm~ I'll be waiting for your news.";
130                                mes "I hope you'll become one of us.";
131                                mes "We'll be practically family..";
132                                close;
133
134                        case 5:
135                                if (skillpoint > 0)     {
136                                        mes "Learn all your Basic Skills first!!";
137                                        close;
138                                }
139                                mes "Ohh, I see you got something from the old man";
140                                mes "This is rare.";
141                                mes "Under normal circumstances...";
142                                mes "this would not be allowed...";
143                                mes "Nice, nice.";
144                                next;
145                                mes "[Master Miller]";
146                                mes "Mm..Okay.";
147                                mes "The old man gave his";
148                                mes "blessings, so I do not have any";
149                                mes "reason to reject your application.";
150                                next;
151                                mes "[Master Miller]";
152                                mes "Okay, from now on you'll be a Gunslinger.";
153                                mes "After this, for every moment that you live,";
154                                mes "remember can never leave your side";
155                                mes "is your gun. We must remember the gun";
156                                mes "and even every one of its bullets";
157                                mes "has its own product number,";
158                                mes "and can be checked up by us.";
159                                next;
160                                mes "[Master Miller]";
161                                mes "For purchasing guns and ammo";
162                                mes "the only place you can buy them";
163                                mes "is from our special gunslinger";
164                                mes "guild stores in various places.";
165                                next;
166                                mes "[Master Miller]";
167                                mes "Of course, this is tedious.";
168                                mes "But this is all to...";
169                                mes "not let these guns";
170                                mes "fall in the wrong hands, so";
171                                mes "please forgive us for any inconvenience.";
172                                next;
173                                mes "[Master Miller]";
174                                mes "There are also";
175                                mes "other reasons.";
176                                mes "You'll no doubt find some of them";
177                                mes "later.";
178                                mes "These are all the instructions";
179                                mes "from Lady Celena, our";
180                                mes "guild leader.";
181                                next;
182                                mes "[Master Miller]";
183                                mes "After a bit of time";
184                                mes "we will give you missions.";
185                                mes "You will understand more";
186                                mes "later.";
187                                next;
188                                mes "[Master Miller]";
189                                mes "I'm sure we'll see each other again.";
190                                mes "So here's to a nice time";
191                                mes "working together.";
192                                nude;
193                                callfunc "Job_Change",Job_Gunslinger;
194                                callfunc "F_ClearJobVar";
195                                set GUNS_Q,6;
196                                set @gun_ex,rand(1,2);
197                                if(@gun_ex == 1) getitem 13100,1; else getitem 13150,1;
198                                close;
199                }
200        } else if(Class == Job_Novice && JobLevel < 10) {
201                mes "Hmm, I think you";
202                mes "have the potential";
203                mes "but you're not yet strong enough.";
204                mes "Keep getting stronger and";
205                mes "come back later.";
206                close;
207        } else if(Class == Job_Gunslinger) {
208                mes "Oh~ It's been a long time~";
209                mes "So, how have your travels been?";
210                mes "Remember, always take care";
211                mes "of your gun.";
212                close;
213        } else if(Class == Job_Baby) {
214                mes "Ouch~";
215                mes "How did a baby come here~";
216                mes "Peekaboo~";
217                next;
218                mes "[Master Miller]";
219                mes "Where's your mommy~";
220                mes "Haha~";
221                mes "It's a dangerous place here.";
222                mes "Go play somewhere else.";
223                close;
224        } else {
225                mes "Don't get distracted with me.";
226                mes "Get on with your traveling.";
227                close;
228        }
229}
230
231payon,184,65,3  script  The Wise Bull Horn      866,{
232
233        switch(GUNS_Q)
234        {
235                case 0:
236                        mes "[The Wise Bull Horn]";
237                        mes "Zzz...Zzz";
238                        close;
239
240                case 1:
241                        mes "[The Wise Bull Horn]";
242                        mes "...Hmm... Young one";
243                        mes "What is it that you want.";
244                        next;
245                        mes "["+ strcharinfo(0) +"]";
246                        mes "Mr. Miller sent me here.";
247                        next;
248                        mes "[The Wise Bull Horn]";
249                        mes "Miller...";
250                        mes "Mm...Hmm. So Dark Fox";
251                        mes "sent you here...";
252                        next;
253                        mes "[The Wise Bull Horn]";
254                        mes "He is wise and cunning...";
255                        mes "that is willing to sacrifice himself for his teammates.";
256                        mes "mm...If he sent you..";
257                        mes "Then you should be rather capable...";
258                        next;
259                        mes "[The Wise Bull Horn]";
260                        mes "Wait...come closer...";
261                        next;
262                        mes "["+ strcharinfo(0) +"]";
263                        mes "....";
264                        next;
265                        mes "[The Wise Bull Horn]";
266                        mes "mmm...";
267                        mes "mmmmm....";
268                        next;
269                        mes "[The Wise Bull Horn]";
270                        mes "mmm...Bright eyes and...";
271                        mes "a serious face...also...";
272                        mes "a very good attitude...a good sense of...";
273                        mes "responsibility...";
274                        mes "But still not enough.";
275                        next;
276                        mes "[The Wise Bull Horn]";
277                        mes "Lack of experience...";
278                        mes "And you still don't have the blessing of the land...";
279                        mes "You'll get injured at this rate...";
280                        next;
281                        mes "[The Wise Bull Horn]";
282                        mes "Very well, I shall craft you a gift...";
283                        mes "If you wish to follow this path...";
284                        mes "Gather 3 Rainbow Shells,";
285                        mes "10 Shells, 3 Feathers,";
286                        mes "1 Trunk, 3 Zargons, and 3 Green Herbs,";
287                        mes "then bring them to me.";
288                        next;
289                        mes "[The Wise Bull Horn]";
290                        mes "If you show the gift that you just received";
291                        mes "to Dark Fox. Then he will definitely...";
292                        mes "accept you.";
293                        next;
294                        mes "["+ strcharinfo(0) +"]";
295                        mes "-I'll need-";
296                        mes "-3 Rainbow Shells-";
297                        mes "-10 Shells, 3 Feathers-";
298                        mes "-1 Trunk, 3 Zargons,-";
299                        mes "-and 3 Green Herbs.-";
300                        set GUNS_Q,2;
301                        close;
302
303                case 2:
304                        if ((countitem(935) < 10) || (countitem(949) < 3) || (countitem(1019) < 1) || (countitem(912) < 3) || (countitem(511) < 3))
305                        {
306                                mes "["+ strcharinfo(0) +"]";
307                                mes "-I'll need-";
308                                mes "-3 Rainbow Shells-";
309                                mes "-10 Shells, 3 Feathers-";
310                                mes "-1 Trunk, 3 Zargons,-";
311                                mes "-and 3 Green Herbs.-";
312                                close;
313                        }
314                        mes "[The Wise Bull Horn]";
315                        mes "Oh...give them to me.";
316                        mes "There is time to be consumed to";
317                        mes "make the gift, wait for a while.";
318                        delitem  935,10;
319                        delitem  949,3;
320                        delitem 1019,1;
321                        delitem  912,3;
322                        delitem  511,3;
323                        delitem 1013,3; //Colorful_Shell
324                        set GUNS_Q,3;
325                        close;
326
327                case 3:
328                        mes "[The Wise Bull Horn]";
329                        mes "Mm...You came right on time.";
330                        mes "The preparation finished just now.";
331                        mes "It is a rather simple gift.";
332                        mes "But that's because I haven't worked in so long.";
333                        mes "Ahh...I feel tired now...";
334                        next;
335                        mes "[The Wise Bull Horn]";
336                        mes "The last time I crafted this...";
337                        mes "Was well over ten years ago.";
338                        mes "I also followed this path once...";
339                        mes "and I once battled...";
340                        mes "with such an item.";
341                        next;
342                        mes "[The Wise Bull Horn]";
343                        mes "Meeting Celena's father";
344                        mes "feels just like yesterday,";
345                        mes "time really flies.";
346                        mes "Like the smooth western wind.";
347                        next;
348                        mes "[The Wise Bull Horn]";
349                        mes "Though there would always be painful";
350                        mes "memories...but my followers...";
351                        mes "especially people like...";
352                        mes "Celena and Dark Fox.";
353                        mes "Ahh, young people, and my followers...";
354                        mes "I thank you...";
355                        next;
356                        mes "[The Wise Bull Horn]";
357                        mes "Though now, I am already old...";
358                        mes "In a short while...";
359                        mes "I will return...to the land";
360                        next;
361                        mes "[The Wise Bull Horn]";
362                        mes "I feel so tired...";
363                        mes "I'm so sorry...but if you could...";
364                        mes "Promise me something...";
365                        mes "Promise to do...something for me.";
366                        next;
367                        mes "[The Wise Bull Horn]";
368                        mes "I suddenly feel like...";
369                        mes "drinking a glass of milk.";
370                        next;
371                        mes "[The Wise Bull Horn]";
372                        mes "Take it as a request...from an old man.";
373                        next;
374                        mes "["+ strcharinfo(0) +"]";
375                        mes "-Let's get a glass of Milk-";
376                        mes "For 'The Wise Bull Horn'.-";
377                        set GUNS_Q, 4;
378                        close;
379               
380                case 4:
381                        if (countitem(519) < 0)
382                        {
383                                mes "["+ strcharinfo(0) +"]";
384                                mes "-Let's get a glass of Milk-";
385                                mes "-for 'The Wise Bull Horn'.-";
386                                close;
387                        }
388                        mes "[The Wise Bull Horn]";
389                        mes "Thank you.";
390                        mes "You are truly a kind young man.";
391                        mes "Now get on the road.";
392                        delitem 519,1;
393                        set GUNS_Q,5;
394                        next;
395                        mes "[The Wise Bull Horn]";
396                        mes "Take this Gift made by me";
397                        mes "and show it to Dark Fox.";
398                        mes "You have my blessings";
399                        mes "to become a Gunslinger.";
400                        next;
401                        mes "[The Wise Bull Horn]";
402                        mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
403                        mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
404                        next;
405                        mes "["+ strcharinfo(0) +"]";
406                        mes "-Singing a weird-";
407                        mes "-song-";
408                        mes "-'The Wise Bull Horn'. I feel strange.-";
409                        mes "-Let's take the Gift-";
410                        mes "-to Mr.Miller now.-";
411                        close;
412
413                case 5:
414                        mes "[The Wise Bull Horn]";
415                        mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
416                        mes "Ee~~Ye~Ee~~ Hooma~ Raa~~Nae~Eee~~";
417                        next;
418                        mes "["+ strcharinfo(0) +"]";
419                        mes "-Singing a weird-";
420                        mes "-song-";
421                        mes "-'The Wise Bull Horn'.-";
422                        next;
423                        mes "["+ strcharinfo(0) +"]";
424                        mes "-I feel strange.-";
425                        mes "-Let's take the Gift-";
426                        mes "-to Mr.Miller now.-";
427                        close;
428               
429                case 6:
430                        mes "[The Wise Bull Horn]";
431                        mes "Mm...It's been a while.";
432                        mes "Hopefully you'll become a strong Gunslinger.";
433                        close;
434        }
435}
Note: See TracBrowser for help on using the browser.