root/npc/jobs/2-1/blacksmith.txt @ 1

Revision 1, 50.0 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Blacksmith Quest
3//===== By: ==================================================
4//= EREMES THE CANIVALIZER(Aegis)
5//= Translated by: yoshiki.
6//= Converted by: Komurka.
7//= Optimized and further edited by kobra_k88.
8//= Further bugfixed and tested by Lupus
9//===== Current Version: =====================================
10//= 2.6
11//===== Compatible With: =====================================
12//= eAthena  SVN
13//===== Description: =========================================
14//= [Aegis Conversion]
15//= Job Change quest for Blacksmith class.
16//===== Additional Comments: =================================
17//= Changed some npc names to the iRO names. Changed some variable
18//= names and labels. Edited some text.[kobra_k88]
19//= Removed "if(JobLevel > 48) goto higher". It was a left over line.
20//= Thx to "Decker".[kobra_k88]
21//= Fixed some typos, thanks to Riotblade [celest]
22//= 1.3-1.5 Added Baby Class support [Lupus]
23//= 1.6 Added a func which prevent advanced classes passing
24//= 2nd Job Quests again. It also guides adv classes where
25//= to go. [Lupus]
26//= 1.7 item quantity/ids typos fix
27//= 1.8 Moved the Quest to Einbroch [Poki#3]
28//= 2.0 Changed numbers to constants. [Vicious]
29//= 2.1 Removed Duplicates [Silent]
30//= 2.2 Merged Jfunc, changed job numbers to constants [Lupus]
31//= 2.3 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
32//= 2.4 Several bugfixes with the help of Barron-Monster. [L0ne_W0lf]
33//= 2.4a Changed a BaseJob to baseclass. [L0ne_W0lf]
34//= 2.4b Further bug fixes with teh hel of Barron-Monster. [L0ne_W0lf]
35//= 2.4c More fixes courtosy of Micktu. [L0ne_W0lf]
36//= 2.4d Fixed an incorrect answer in the quiz. (Trojal) [L0ne_W0lf]
37//= 2.4e Touched up a few issues as pointed out by Ultramage. [L0ne_W0lf]
38//= 2.5 Krongast is in Lighthalzen. (DarkValmir) [L0ne_W0lf]
39//= 2.6 Fixed 4 bugs [Lupus]
40//==============================================================
41
42ein_in01,18,28,4        script  Guildsman#BLS   731,{
43        if (Upper == 1) {
44                mes "[Altiregen]";
45                mes "Hey hey. I don't have time for chit-chat, I'm a pretty busy guy. There's all these Merchants working hard to become Blacksmiths.";
46                next;
47                mes "[Altiregen]";
48                mes "Wait a minute, I think I've met you before.";
49                mes "Ummm.....";
50                next;
51                mes "[Altiregen]";
52                mes "Are you the one who broke my weapon and ran away? Or are you the one who tortured me so that I'd forge a weapon for you? Why can't I remember?";
53                next;
54                mes "[Altiregen]";
55                mes ".......";
56                mes "I can't remember who you are for the life of me. Is this deja vu?";
57                next;
58                mes "[Altiregen]";
59                mes "Argh!! This is really bugging me! But still, I can sense that there's something special about you. Oh well, whatever. Have a good day~";
60                close;
61        }
62        mes "[Altiregen]";
63        mes "Welcome!";
64        mes "We are Workers of Steel,";
65        mes "the Blacksmith Guild.";
66        next;
67        mes "[Altiregen]";
68        mes "We pour the fervor";
69        mes "and passion of our souls into";
70        mes "our craft. Our skills of melting metal into new weapons";
71        mes "and tools is truly a form of art!";
72        next;
73        if (BaseClass == Job_Novice) {
74                if (sex == 0) {
75                        mes "[Altiregen]";
76                        mes "Oh~";
77                        mes "what a very";
78                        mes "pretty lady!";
79                        mes "Are you interested in";
80                        mes "becoming a Blacksmith?";
81                        next;
82                        mes "[Altiregen]";
83                        mes "First, you must become a Merchant before you can become a Blacksmith. Go to the city of Alberta to learn the Merchant trade.";
84                        close;
85                }
86                close;
87        }
88        else if (BaseClass == Job_Swordman) {
89                mes "[Altiregen]";
90                mes "Oh, are you interested in having a weapon forged? I'm sorry to disappoint you, but I actually have a lot of business to attend to.";
91                close;
92        }
93        else if (Baselass == Job_Archer) {
94                mes "[Altiregen]";
95                mes "Oh...";
96                mes "There's not much we can offer you here. And you can't really help out around here unless you know how to make stuff...";
97                close;
98        }
99        else if (BaseClass == Job_Mage) {
100                mes "[Altiregen]";
101                mes "Oh? What's a magic user doing here? I'm surprised. Usually this kind of rough work is beneath you intellectual types.";
102                close;
103        }
104        else if (Baseclass == Job_Acolyte) {
105                mes "[Altiregen]";
106                mes "Oh! Am I correct in assuming you're a member of the Clergy? Would you please bless me before you leave!";
107                close;
108        }
109        else if (BaseClass == Job_Thief) {
110                mes "[Altiregen]";
111                mes "I'm sorry...";
112                mes "But there really isn't anything for you to steal here. Well, there are the Daggers we keep in the back, but...";
113                close;
114        }
115        else if (BaseJob == Job_Alchemist) {
116                mes "[Altiregen]";
117                mes "So how's the pharmacy business going on recently?";
118                mes "Well, my forging business does not seem to grow any longer.";
119                close;
120        }
121        else if (BaseJob == Job_Blacksmith) {
122                mes "[Altiregen]";
123                mes "Oh! Long time no see.";
124                mes "Have you come to purchase supplies from Christopher? These days I'm stuck behind this desk. My body's itching to strike the ol' anvil.";
125                close;
126        }
127        else if (BaseJob == Job_Merchant) {
128                if (SkillPoint) {
129                        mes "[Altiregen]";
130                        mes "You can't change to the Blacksmith Job Class without first using all your skill points. Please come back after wisely using your skill points.";
131                        close;
132                }
133                if (BSMITH_Q == 0) {
134                        mes "[Altiregen]";
135                        mes "Why don't you stop struggling";
136                        mes "to make zeny as a Merchant and";
137                        mes "join the elite Blacksmith class?";
138                        mes "If you're interested, fill out this application with your name";
139                        mes "and Job Level.";
140                        next;
141                        switch(select("Fill out Application.:What are the requirements?:Um, I need to think about it.")) {
142                        case 1:
143                                if (SkillPoint) {
144                                        mes "[Altiregen]";
145                                        mes "You can't change to the Blacksmith Job Class without first using all your skill points. Please come back after wisely using your skill points.";
146                                        close;
147                                }
148                                else if (JobLevel > 39 && BSMITH_Q == 0) {
149                                        mes "[Altiregen]";
150                                        mes "Hmmm...";
151                                        mes "Looks like you";
152                                        mes "meet the Job Level";
153                                        mes "Requirement.";
154                                        next;
155                                        mes "[Altiregen]";
156                                        mes "You see, we don't accept just anybody into our guild. First, we only accept experienced Merchants with a true desire to become great Blacksmiths. Let's see...";
157                                        next;
158                                        mes "^3355FF*Shuffling of papers*^000000";
159                                        next;
160                                        mes "[Altiregen]";
161                                        mes "Hmmm...";
162                                        mes "One of our Blacksmiths in Einbech, ^8E6B23Geschupenschte^000000 has sent us word that he's short on help. Your first test of character will be to help him out.";
163                                        next;
164                                        set BSMITH_Q,1;
165                                        mes "[Altiregen]";
166                                        mes "Be careful";
167                                        mes "and good luck!";
168                                        close;
169                                }
170                                else if (JobLevel < 40) {
171                                        mes "[Altiregen]";
172                                        mes "Hmmm, it seems that you lack experience as a Merchant. We require that you are at least Job Level 40, you see.";
173                                        next;
174                                        mes "[Altiregen]";
175                                        mes "I feel bad turning you away after you've come so far, but rules are rules. Sorry to disappoint you, but we'll welcome you back once you're ready.";
176                                        close;
177                                }
178                        case 2:
179                                mes "[Altiregen]";
180                                mes "You want to know our requirements? First, you need to have Job Level 40 or higher as a Merchant. Second, you need to pass a test that will be given by the Blacksmith Guild.";
181                                next;
182                                mes "[Altiregen]";
183                                mes "The test may consist of difficult tasks, but it's definitely not impossible. You will need to deliver certain items to different areas around the world";
184                                mes "to complete the test.";
185                                close;
186                        case 3:
187                                mes "[Altiregen]";
188                                mes "Hmmm...";
189                                mes "Well, I hope";
190                                mes "to see you again.";
191                                close;
192                        }
193                }
194                else if (BSMITH_Q > 0  && BSMITH_Q < 8) {
195                        mes "[Altiregen]";
196                        mes "You haven't left yet?";
197                        mes "Go to Alberta and find ^8E6B23Geschupenschte^000000. Finish helping him out, and when you're done, come back to me.";
198                        close;
199                }
200                else if (BSMITH_Q > 8 && BSMITH_Q < 15) {
201                        mes "[Altiregen]";
202                        mes "Was the work you did for ^8E6B23Geschupenschte^000000 to your liking? He's known for being pretty exacting...";
203                        close;
204                }
205                else if (BSMITH_Q == 15) {
206                        mes "[Altiregen]";
207                        mes "Great job!!";
208                        mes "You have passed";
209                        mes "the first test...";
210                        next;
211                        mes "[Altiregen]";
212                        mes "Hm? You look surprised.";
213                        mes "I guess you didn't know that there's more than one test. ";
214                        mes "Haha, but don't worry, you are not going to travel that far.";
215                        mes "Please go talk to the guildsman inside the building for more details about your next test.";
216                        next;
217                        if (select("I want to change my job quickly! But...oh well.:Grrr! Enough is enough!") == 1) {
218                                set BSMITH_Q,16;
219                                mes "[Altiregen]";
220                                mes "I'm sorry, but I'm sure you understand, right? We can't just casually accept anybody into";
221                                mes "our guild!";
222                                next;
223                                mes "[Altiregen]";
224                                mes "If we don't keep our standards,";
225                                mes "we won't be able to maintain the respectability of the Blacksmith Guild!";
226                                mes "We can't embarass our guild in this manner! *Ahem* Anyway, you talk to the guildsman inside the building now.";
227                                close;
228                        }
229                        mes "[Altiregen]";
230                        mes "Are you saying you're going";
231                        mes "to quit the application process? That's an insult to our guild!";
232                        mes "Get out of here! With that kind of attitude, you can forget becoming a member of the Blacksmith Guild!";
233                        next;
234                        mes "[Altiregen]";
235                        mes "You have no spirit!";
236                        mes "If you can't endure this, you'll never be a Blacksmith!";
237                        close;
238                }
239                else if (BSMITH_Q == 16) {
240                        mes "[Altiregen]";
241                        mes "Um? Haven't you talk to the guildsman yet?";
242                        mes "If you haven't, I suggest you to do so as soon as possible.";
243                        close;
244                }
245                else if (BSMITH_Q == 17 && countitem(1005) > 0 && JobLevel > 39) {
246                        mes "[Altiregen]";
247                        mes "Excellent, I can tell by the twinkle in your eye that you were successful. I can now bestow upon you the gift of the smithing, the art of the Blacksmith.";
248                        next;
249                        set .@joblvl,JobLevel;
250                        callfunc "Job_Change",Job_Blacksmith;
251                        callfunc "F_ClearJobVar";               // clears all job variables for the current player
252                        mes "[Altiregen]";
253                        mes "Always remember that we are creators, and artists over metals. Be wary that you do not fall into the pitfalls of selfishness";
254                        mes "and greed.";
255                        next;
256                        delitem 1005,1; //Hammer_Of_Blacksmith
257                        mes "[Altiregen]";
258                        mes "Here is a little";
259                        mes "gift to mark the";
260                        mes "beginning of your";
261                        mes "life as a Blacksmith.";
262                        mes "Congratulations!!!";
263                        if (.@joblvl > 48)
264                                getitem 999,30; //Steel
265                        else
266                                getitem 999,5; //Steel
267                        close;
268                }
269        }
270}
271
272ein_in01,201,27,3       script  Guildsman#alberta       63,{
273        mes "[Geschupenschte]";
274        mes "Hello there!";
275        mes "I'm ^8E6B23Geschupenschte^000000,";
276        mes "a Blacksmith by trade.";
277        mes "Nice to meet you!";
278        next;
279        if (BaseJob == Job_Merchant) {
280                mes "[Geschupenschte]";
281                mes "Oh ho ho!";
282                mes "You're a Merchant!";
283                mes "Excellent! I was";
284                mes "in need of some help!";
285                next;
286                if (BSMITH_Q == 0) {
287                        mes "[Geschupenschte]";
288                        mes "But, of course,";
289                        mes "I wouldn't bother you";
290                        mes "if you're busy. Go along";
291                        mes "your way if you must~";
292                        next;
293                        mes "[Geschupenschte]";
294                        mes "After all...";
295                        mes "I should know";
296                        mes "how it's like";
297                        mes "to be busy~";
298                        close;
299                }
300                else if (BSMITH_Q == 1) {
301                        mes "[Geschupenschte]";
302                        mes "Am I correct in assuming you are the help sent by the Blacksmith Guild? There aren't many trustyworthy people I can hire to help me, so I'm always";
303                        mes "short on help.";
304                        next;
305                        mes "[Geschupenschte]";
306                        mes "Hmm, in any case,";
307                        mes "you are the help that was sent, right? Okay, I have some work for you that must be handled";
308                        mes "right away!";
309                        next;
310                        mes "[Geschupenschte]";
311                        mes "Some time ago, I had a boy working for me who had no experience and bought the wrong supplies! It was terrible...";
312                        next;
313                        mes "[Geschupenschte]";
314                        mes "Anyone would hate to lose money through a foolish mistake like that. However, I have a slightly more difficult job for you.";
315                        next;
316                        mes "[Geschupenschte]";
317                        mes "However, I want to make sure that you have some basic knowledge as a Merchant. I'd like to ask you some questions, if that's okay.";
318                        next;
319                        if (select("Yes.:Um, can I have some time to prepare?") == 1) {
320L_AskQuestions:
321                                if (rand(2)) {
322                                        mes "[Geschupenschte]";
323                                        mes "1. Which one of the following regions is matched incorrectly";
324                                        mes "with its specialty item?";
325                                        next;
326                                        if (select("Morroc - Thief Clothes:Alberta - Two Hand Axe:Comodo - Berserk Potion:Alberta - Swordmace") == 2)
327                                                set .@black_q,.@black_q+10;
328                                        mes "[Geschupenschte]";
329                                        mes "2. What status can";
330                                        mes "be inflicted with the";
331                                        mes "^8E6B23Hammer Fall^000000 skill?";
332                                        next;
333                                        if (select("Stun:Blind:Silence:Sleep") == 1)
334                                                set .@black_q,.@black_q+10;
335                                        mes "[Geschupenschte]";
336                                        mes "3. Which one of the following skills cannot be performed";
337                                        mes "by a Merchant?";
338                                        next;
339                                        if (select("Vending:Discount:Overcharge:Increase AGI") == 4)
340                                                set .@black_q,.@black_q+10;
341                                        mes "[Geschupenschte]";
342                                        mes "4. Where can you find a store";
343                                        mes "that sells Blue Gemstones?";
344                                        next;
345                                        if (select("Alberta:Morroc:Geffen:Prontera") == 3)
346                                                set .@black_q,.@black_q+10;
347                                        mes "[Geschupenschte]";
348                                        mes "5. Where is the";
349                                        mes "Tool Dealer";
350                                        mes "located in Geffen?";
351                                        next;
352                                        if (select("8 o'clock direction from the town square:11 o'clock direction from the town square:6 o'clock direction from the town square:5 o'clock direction from the town square") == 1)
353                                                set .@black_q,.@black_q+10;
354                                        mes "[Geschupenschte]";
355                                        mes "6. Which weapon";
356                                        mes "cannot be used";
357                                        mes "by a Merchant?";
358                                        next;
359                                        if (select("Stiletto:Ring Pommel Saber:Chain:Bible") == 4)
360                                                set .@black_q,.@black_q+10;
361                                        mes "[Geschupenschte]";
362                                        mes "7. Which one of the following";
363                                        mes "has the highest defense rate?";
364                                        next;
365                                        if (select("Panties:Mink Coat:Wooden Mail:Silk Robe") == 2)
366                                                set .@black_q,.@black_q+10;
367                                        mes "[Geschupenschte]";
368                                        mes "8. For Level 3 weapons,";
369                                        mes "what is the ^8E6B23Safe^000000 limit";
370                                        mes "for upgrading?";
371                                        next;
372                                        if (select("up to + 3:up to + 4:up to + 5:up to + 6") == 3)
373                                                set .@black_q,.@black_q+10;
374                                        mes "9. What item";
375                                        mes "can be made using";
376                                        mes "the ^8E6B23Trunks^000000 item?";
377                                        next;
378                                        if (select("Sakkat:Ghost Bandana:Majestic Goat:Antler") == 1)
379                                                set .@black_q,.@black_q+10;
380                                        mes "[Geschupenschte]";
381                                        mes "10. The most important";
382                                        mes "part of being a Merchant is...?";
383                                        next;
384                                        select("Credit:Integrity:Money:Rhetoric");
385                                        set .@black_q,.@black_q+10;
386                                }
387                                else {
388                                        mes "[Geschupenschte]";
389                                        mes "1. Among the following cities, which one is not correctly matched with its specialty?";
390                                        next;
391                                        if (select("Al De Baran - Yggdrasil Leaf:Alberta - Hammer:Comodo - Berserk Potion:Al De Baran - Hammer") == 4)
392                                                set .@black_q,.@black_q+10;
393                                        mes "[Geschupenschte]";
394                                        mes "2. How much Zeny";
395                                        mes "is one Jellopy worth?";
396                                        next;
397                                        if (select("1 Zeny:2 Zeny:3 Zeny:4 Zeny") == 3)
398                                                set .@black_q,.@black_q+10;
399                                        mes "[Geschupenschte]";
400                                        mes "3. What is required";
401                                        mes "for a Merchant to use";
402                                        mes "the ^8E6B23Vending^000000 Skill?";
403                                        next;
404                                        if (select("Must have a Cart.:Must have items to sell.:Must be wielding a weapon.:Must be wearing armor.") == 1)
405                                                set .@black_q,.@black_q+10;
406                                        mes "[Geschupenschte]";
407                                        mes "4. Where can you";
408                                        mes "change your Job to";
409                                        mes "become a Merchant?";
410                                        next;
411                                        if (select("Alberta:Morroc:Geffen:Prontera") == 1)
412                                                set .@black_q,.@black_q+10;
413                                        mes "[Geschupenschte]";
414                                        mes "5. Where is the";
415                                        mes "Weapons Dealer";
416                                        mes "located in Morroc?";
417                                        next;
418                                        if (select("7 o'clock from the town's center:11 o'clock from the town's center:6 o'clock from the town's center:5 o'clock from the town's center") == 4)
419                                                set .@black_q,.@black_q+10;
420                                        mes "[Geschupenschte]";
421                                        mes "6. What weapon";
422                                        mes "can a Merchant";
423                                        mes "not use?";
424                                        next;
425                                        if (select("Main Gauche:Claymore:Chain:Two handed Axe") == 2)
426                                                set .@black_q,.@black_q+10;
427                                        mes "[Geschupenschte]";
428                                        mes "7. Which one of the following";
429                                        mes "has the highest defense rate?";
430                                        next;
431                                        if (select("Panties:Mink Coat:Wooden Mail:Silk Robe") == 2)
432                                                set .@black_q,.@black_q+10;
433                                        mes "[Geschupenschte]";
434                                        mes "8. For Level 3 weapons,";
435                                        mes "what is the ^8E6B23Safe^000000 limit";
436                                        mes "for upgrading?";
437                                        next;
438                                        if (select("up to + 3:up to + 4:up to + 5:up to + 6") == 3)
439                                                set .@black_q,.@black_q+10;
440                                        mes "[Geschupenschte]";
441                                        mes "9. What monster does";
442                                        mes "NOT drop Iron Ore?";
443                                        next;
444                                        if (select("Chon Chon:Steel Chon Chon:Zerom:Anolian") == 4)
445                                                set .@black_q,.@black_q+10;
446                                        mes "[Geschupenschte]";
447                                        mes "10. What is most";
448                                        mes "important to a Merchant?";
449                                        next;
450                                        select("Rhetoric:Credit:Money:Experience");
451                                        set .@black_q,.@black_q+10;
452                                }
453                                mes "[Geschupenschte]";
454                                mes "Umm. You did a good job!";
455                                next;
456                                mes "[Geschupenschte]";
457                                mes "Let's see...your score is..." + .@black_q + " points.";
458                                if (.@black_q == 100) {
459                                        set BSMITH_Q,3;
460                                        mes "Oh ho ho~";
461                                        mes "You'll have";
462                                        mes "no problem";
463                                        mes "with this score!";
464                                        next;
465                                        mes "[Geschupenschte]";
466                                        mes "I will entrust you with a job!";
467                                        mes "Give me a little time to make the necessary arrangements.";
468                                        mes "When you get back, I'll be ready!";
469                                        close;
470                                }
471                                set BSMITH_Q,2;
472                                mes ".............";
473                                next;
474                                mes "[Geschupenschte]";
475                                if (BSMITH_Q == 2) {
476                                        mes "How do I say this?";
477                                        mes "How did you fail again?!";
478                                        mes "If you plan to perform your duties in this manner, I can't trust you with any kind of job...";
479                                        close;
480                                }
481                                mes "Hmm...";
482                                mes "It pains me to say this, but it seems you need to study a little more. You can never be";
483                                mes "a Blacksmith with";
484                                mes "this score!";
485                                close;
486                        }
487                        mes "[Geschupenschte]";
488                        mes "Ah, of course I don't mind if you came back a little later. Being prepared prevents disasters";
489                        mes "later, after all. No harm in";
490                        mes "being careful~";
491                        close;
492                }
493                else if (BSMITH_Q == 2) {
494                        mes "[Geschupenschte]";
495                        mes "So, have you";
496                        mes "studied a little";
497                        mes "more this time?";
498                        next;
499                        mes "[Geschupenschte]";
500                        mes "I admit that it's pretty unreasonable to expect anyone to get a perfect score the first time around, so I'll give you";
501                        mes "a little break...";
502                        next;
503                        mes "[Geschupenschte]";
504                        mes "You can miss";
505                        mes "one problem!";
506                        mes "Alright, let's start";
507                        mes "with the questions~";
508                        next;
509                        goto L_AskQuestions;
510                }
511                else if (BSMITH_Q == 3) {
512                        mes "[Geschupenschte]";
513                        mes "Hmm...";
514                        mes "Now, where were";
515                        mes "those order request forms...";
516                        next;
517                        mes "^3355FF*Shuffling of Papers*";
518                        mes "*Rustling of Papers*^000000";
519                        next;
520                        mes "[Geschupenschte]";
521                        mes "Oh! Here it is!";
522                        mes "This is order that";
523                        mes "has been delayed";
524                        mes "the most...";
525                        mes "Heh heh~";
526                        next;
527                        mes "[Geschupenschte]";
528                        mes "Well, to make";
529                        mes "this you will need...";
530                        next;
531                        switch(rand(1,5)) {
532                        //Steel, Rotten_Bandage, Blue_Gemstone, Arc_Wand
533                        case 1: setarray .@items[0], 999,1, 930,1, 717,2, 1610,1, 4; break;
534                        //Sparkling_Dust, Skel_Bone, Zargon, Gladius
535                        case 2: setarray .@items[0], 1001,2, 932,1, 912,1, 1219,1, 5; break;
536                        //Coal, Shell, Boody_Red, Tsurugi
537                        case 3: setarray .@items[0], 1003,1, 935,2, 990,2, 1119,1, 6; break;
538                        //Iron_Ore, Eye_Bandage, Blue_Gemstone, Arbalest
539                        case 4: setarray .@items[0], 1002,1, 2212,1, 717,2, 1713,1, 7; break;
540                        //Iron, Green_Herb, Animal's_Skin, Ring_Pommel_Saber
541                        default: setarray .@items[0], 998,1, 511,1, 919,2, 1122,1, 8; break;
542                        }
543                        set BSMITH_Q,.@items[8];
544                        mes "[Geschupenschte]";
545                        mes "^8E6B23"+.@items[1]+" "+getitemname(.@items[0])+"^000000,";
546                        mes "^8E6B23"+.@items[3]+" "+getitemname(.@items[2])+"^000000,";
547                        mes "^8E6B23"+.@items[5]+" "+getitemname(.@items[4])+"^000000, and";
548                        mes "^8E6B23"+.@items[7]+" "+getitemname(.@items[6])+"^000000, the kind";
549                        mes "you can buy from";
550                        mes "an NPC shop.";
551                        next;
552                        mes "[Geschupenschte]";
553                        mes "Collecting these items will be your test. Coincidentally, it's also a bit of a good way for me to save money. I'll repeat what you'll need to bring back to me...";
554                        next;
555                        mes "[Geschupenschte]";
556                        mes "Okay~";
557                        mes "Good luck";
558                        mes "on your first job!";
559                        close;
560                }
561                else if (BSMITH_Q > 3 && BSMITH_Q < 9) {
562                        switch(BSMITH_Q) {
563                        case 4: setarray .@items[0], 999,1, 930,1, 717,2, 1610,1, 9; break;
564                        case 5: setarray .@items[0], 1001,2, 932,1, 912,1, 1219,1, 10; break;
565                        case 6: setarray .@items[0], 1003,1, 935,2, 990,2, 1119,1, 11; break;
566                        case 7: setarray .@items[0], 1002,1, 2212,1, 717,2, 1713,1, 12; break;
567                        case 8: setarray .@items[0], 998,1, 511,1, 919,2, 1122,1, 13; break;
568                        }
569                        mes "[Geschupenschte]";
570                        mes "Ah, you're back!";
571                        mes "Did you bring";
572                        mes "everything that";
573                        mes "I requested?";
574                        next;
575                        if (countitem(.@items[0]) >= .@items[1] && countitem(.@items[2]) >= .@items[3] && countitem(.@items[4]) >= .@items[5] && countitem(.@items[6]) >= .@items[7]) {
576                                mes "[Geschupenschte]";
577                                mes "Wait...";
578                                mes "Didn't I tell you";
579                                mes "to get 3 Steel?";
580                                next;
581                                mes "[Geschupenschte]";
582                                mes "Oh, I guess it was";
583                                mes "two after all. Let's see...";
584                                mes "Yeah, you got everything!";
585                                mes "Now, just give me a second.";
586                                next;
587                                mes "[Geschupenschte]";
588                                mes "Oh, you should make sure that you are not carrying ^FF0000more than one "+getitemname(.@items[6])+"^000000, you should really only have an "+getitemname(.@items[6])+" that you bought from an NPC shop in your inventory.";
589                                next;
590                                if (select("Oh, could you give me a second?:Oh, I brought what you asked for.") == 1) {
591                                        mes "[Geschupenschte]";
592                                        mes "Hmmm, it would be";
593                                        mes "a good idea to put the";
594                                        mes "rest of your items";
595                                        mes "in Kafra Storage.";
596                                        close;
597                                }
598                                mes "[Geschupenschte]";
599                                mes "Okay.";
600                                mes "Great~!!";
601                                next;
602                                mes "[Geschupenschte]";
603                                mes "^3355FF*Clang...!*^000000";
604                                next;
605                                mes "[Geschupenschte]";
606                                mes "^3355FF*Crash Crash!*^000000";
607                                next;
608                                delitem .@items[0],.@items[1];
609                                delitem .@items[2],.@items[3];
610                                delitem .@items[4],.@items[5];
611                                delitem .@items[6],.@items[7];
612                                set BSMITH_Q,.@items[8];
613                                mes "[Geschupenschte]";
614                                mes "Wooooo~~~";
615                                mes "All done...";
616                                switch(BSMITH_Q) {
617                                case 9:
618                                        mes "Okay, now take this to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
619                                        getitem 1610,1; //Arc_Wand
620                                        next;
621                                        mes "[Geschupenschte]";
622                                        mes "Hmm...?";
623                                        mes "What's that look for?";
624                                        mes "This is not a normal";
625                                        mes "Arc Wand! Look closely";
626                                        mes "at the handle...";
627                                        next;
628                                        mes "^3355FFThe handle reads:";
629                                        mes "'Super Arc Wand";
630                                        mes "of Geschupenschte";
631                                        mes "Mark 2.' It does seem";
632                                        mes "to have a completely";
633                                        mes "different feel.^000000";
634                                        next;
635                                        mes "[Geschupenschte]";
636                                        mes "Anyway, take this";
637                                        mes "to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom,";
638                                        break;
639                                case 10:
640                                        mes "Okay, now take this to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
641                                        getitem 1219,1; //Gladius
642                                        next;
643                                        mes "[Geschupenschte]";
644                                        mes "Hmm...?";
645                                        mes "What's that look for?";
646                                        mes "This is not a normal";
647                                        mes "Gladius! Look closely";
648                                        mes "at the handle...";
649                                        next;
650                                        mes "^3355FFThe handle reads:";
651                                        mes "'Super Gladius";
652                                        mes "of Geschupenschte";
653                                        mes "Mark 2.' It does seem";
654                                        mes "to have a completely";
655                                        mes "different feel.^000000";
656                                        next;
657                                        mes "[Geschupenschte]";
658                                        mes "Anyway, take this";
659                                        mes "to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom,";
660                                        break;
661                                Case 11:
662                                        mes "Okay, now take this to ^8E6B23Krongast^000000 in Lighthalzen. Simply deliver it and bring me the receipt.";
663                                        getitem 1119,1; //Tsurugi
664                                        next;
665                                        mes "[Geschupenschte]";
666                                        mes "Hmm...?";
667                                        mes "What's that look for?";
668                                        mes "This is not a normal";
669                                        mes "Tsurugi! Look closely";
670                                        mes "at the blade...";
671                                        next;
672                                        mes "^3355FFThe blade reads:";
673                                        mes "'Fine-edged";
674                                        mes "Geschupenschte";
675                                        mes "Tsurugi Special.'";
676                                        mes "It does seem to feel";
677                                        mes "completely different";
678                                        mes "than normal Tsurugis...^000000";
679                                        next;
680                                        mes "[Geschupenschte]";
681                                        mes "Anyway, take this";
682                                        mes "to ^8E6B23Krongast^000000 in Lighthalzen";
683                                        break;
684                                case 12:
685                                        mes "Okay, now take this to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kingdom. Simply deliver this and bring me the receipt.";
686                                        getitem 1713,1; //Arbalest
687                                        next;
688                                        mes "[Geschupenschte]";
689                                        mes "Hmm...?";
690                                        mes "What's that look for?";
691                                        mes "This is not a normal";
692                                        mes "Arbalest! Look closely";
693                                        mes "at the bow...";
694                                        next;
695                                        mes "^3355FFThe bow reads:";
696                                        mes "Geschupenschte";
697                                        mes "Arbalest Luxury Edition.";
698                                        mes "It does seem more luxurious";
699                                        mes "than regular Arbalests.^000000";
700                                        next;
701                                        mes "[Geschupenschte]";
702                                        mes "Anyway, take this";
703                                        mes "to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kindgom,";
704                                        break;
705                                case 13:
706                                        mes "Okay, now take this to ^8E6B23Bismarc^000000 in Hugel. Simply deliver this and bring back the receipt.";
707                                        getitem 1122,1; //Ring_Pommel_Saber
708                                        next;
709                                        mes "[Geschupenschte]";
710                                        mes "Hmm...?";
711                                        mes "What's that look for?";
712                                        mes "This is not a normal";
713                                        mes "Ring Pommel Saber!";
714                                        mes "Look closely at";
715                                        mes "the handle...";
716                                        next;
717                                        mes "^3355FFThe handle reads:";
718                                        mes "'Green Herbal";
719                                        mes "Ring Pommel Saber";
720                                        mes "of Geschupenschte";
721                                        mes "Mark 2.' It does seem";
722                                        mes "to have a completely";
723                                        mes "different feel.^000000";
724                                        next;
725                                        mes "[Geschupenschte]";
726                                        mes "The power of Green Herbs, which is imbued in this sword, can be very useful! You can save someone from slowly dying of poison by stabbing them quickly with this weapon!";
727                                        next;
728                                        mes "[Geschupenschte]";
729                                        mes "Anyway, take this";
730                                        mes "to ^8E6B23Bismarc^000000 in Hugel";
731                                }
732                                mes "and don't forget";
733                                mes "the receipt!";
734                                close;
735                        }
736                        else {
737                                mes "[Geschupenschte]";
738                                mes "You still haven't";
739                                mes "brought all the items.";
740                                mes "Do you need to be reminded";
741                                mes "or something? Bring me...";
742                                next;
743                                mes "[Geschupenschte]";
744                                mes "^8E6B23"+.@items[1]+" "+getitemname(.@items[0])+"^000000,";
745                                mes "^8E6B23"+.@items[3]+" "+getitemname(.@items[2])+"^000000,";
746                                mes "^8E6B23"+.@items[5]+" "+getitemname(.@items[4])+"^000000, and";
747                                mes "^8E6B23"+.@items[7]+" "+getitemname(.@items[6])+"^000000, the kind";
748                                mes "you can buy from";
749                                mes "an NPC shop.";
750                                next;
751                                mes "[Geschupenschte]";
752                                mes "Now, be sure to have";
753                                mes "everything I need when";
754                                mes "you come back. Remember,";
755                                mes "this is a test! You can't";
756                                mes "be a Blacksmith if you";
757                                mes "slack off!";
758                                close;
759                        }
760                }
761                else if (BSMITH_Q > 8 && BSMITH_Q < 14) {
762                        mes "[Geschupenschte]";
763                        mes "What are you";
764                        mes "still doing here?";
765                        mes "Hurry and deliver";
766                        mes "the package~!";
767                        mes "Did you forget";
768                        mes "where to go?";
769                        next;
770                        mes "[Geschupenschte]";
771                        if (BSMITH_Q == 9) {
772                                mes "In Geffen, at the";
773                                mes "11 o'clock direction from the town center, you will find ^8E6B23Baisulist^000000. And don't forget the receipt.";
774                        }
775                        else if (BSMITH_Q == 10) {
776                                mes "Find the Swordmace";
777                                mes "dealer ^8E6B23Wickebine^000000 in Morroc. And don't forget the receipt.";
778                        }
779                        else if (BSMITH_Q == 11) {
780                                mes "In Lighthalzen, 6 o'clock direction from the town center, you will find ^8E6B23Krongast^000000 near the weapon shop. And don't forget the receipt.";
781                        }
782                        else if (BSMITH_Q == 12) {
783                                mes "In Payon, at the 5 o'clock direction from the town center, you will find ^8E6B23Talpiz^000000. And don't forget the receipt.";
784                        }
785                        else {
786                                mes "In Hugel, at the 1 o'clock direction from the town center, you will find ^8E6B23Bismarc^000000 near the airship. And don't forget the receipt.";
787                        }
788                        close;
789                }
790                else if (BSMITH_Q == 14) {
791                        mes "[Geschupenschte]";
792                        mes "Hmmm...?";
793                        mes "Have you";
794                        mes "completed";
795                        mes "the delivery?";
796                        mes "Let's see that receipt~";
797                        next;
798                        if (select("Yes sir, here it is.:Receipt? I, uh, have it somewhere.") == 1) {
799                                if (countitem(1073) > 0) {
800                                        set BSMITH_Q,15;
801                                        delitem 1073,1; //Merchant_Voucher_1
802                                        mes "[Geschupenschte]";
803                                        mes "Oh ho ho~";
804                                        mes "Great!";
805                                        mes "You're truly";
806                                        mes "a great Merchant!";
807                                        next;
808                                        mes "[Geschupenschte]";
809                                        mes "Good job!";
810                                        mes "Return to ^8E6B23Altiregen^000000 in Einbroch, the guy you first met when you applied for the Blacksmith job.";
811                                        next;
812                                        mes "[Geschupenschte]";
813                                        mes "I have faith that you";
814                                        mes "will be a great Blacksmith!";
815                                        close;
816                                }
817                                set BSMITH_Q,3;
818                                mes "[Geschupenschte]";
819                                mes "You mean...";
820                                mes "You didn't get";
821                                mes "a receipt?";
822                                mes "What...?";
823                                next;
824                                mes "[Geschupenschte]";
825                                mes "A receipt is";
826                                mes "a Merchant's best friend!";
827                                mes "It's necessary to your job!";
828                                mes "You'll have to start your";
829                                mes "test all over again!";
830                                close;
831                        }
832                        mes "[Geschupenschte]";
833                        mes "Return when you";
834                        mes "find the receipt~";
835                        mes "You didn't forget";
836                        mes "to receive a receipt.";
837                        mes "Right...?";
838                        close;
839                }
840                else if (BSMITH_Q == 15) {
841                        mes "[Geschupenschte]";
842                        mes "Thank you";
843                        mes "very much";
844                        mes "your help.";
845                        mes "Return to Einbroch";
846                        mes "and see ^8E6B23Altiregen^000000!";
847                        close;
848                }
849                mes "[Geschupenschte]";
850                mes "Hmm...?";
851                mes "You already finished";
852                mes "your test here with me!";
853                mes "And surprisingly, I don't";
854                mes "need any more help, today.";
855                close;
856        }
857        else {
858                mes "[Geschupenschte]";
859                mes "Being";
860                mes "a Blacksmith";
861                mes "is truly great!";
862                mes "Don't you think so?";
863                mes "Mwahahahahah!!";
864                close;
865        }
866}
867
868geffen,46,164,1 script  Baisulist#BLS   69,{
869        if (BSMITH_Q == 9 && countitem(1610) > 0) {
870                mes "[Baisulist]";
871                mes "Oh, hello!";
872                mes "Have you come";
873                mes "to deliver my";
874                mes "Arc Wand?";
875                next;
876                mes "[Baisulist]";
877                mes "You sure this is what I ordered, right? I mean, if it's been used,";
878                mes "I don't want it.";
879                next;
880                if (select("Whoops, this is one of the items I use...:I'm sure! It's brand new!") == 1) {
881                        mes "[Baisulist]";
882                        mes "Well...";
883                        mes "I guess I can";
884                        mes "wait a little longer.";
885                        mes "Please hurry with";
886                        mes "my delivery~";
887                        close;
888                }
889                mes "[Baisulist]";
890                mes "You're";
891                mes "absolutely sure?";
892                set BSMITH_Q,14;
893                delitem 1610,1; //Arc_Wand
894                next;
895                mes "[Baisulist]";
896                mes "Thank you so much for traveling all the way here. That Geschupenschte, please smack him for me when you meet him for being so late on this order...";
897                next;
898                mes "[Baisulist]";
899                mes "Please wait";
900                mes "a second, let";
901                mes "me give you a receipt~";
902                next;
903                getitem 1073,1; //Merchant_Voucher_1
904                mes "[Baisulist]";
905                mes "Here it is.";
906                mes "Thank you so much!";
907                mes "Oh, and good luck~";
908                mapannounce "geffen","Hey, " +strcharinfo(0)+ ", thank you so much for the delivery~",bc_map;
909                close;
910        }
911        else if (BSMITH_Q == 14) {
912                mes "[Baisulist]";
913                mes "Thank you";
914                mes "so much for";
915                mes "the delivery~";
916                close;
917        }
918        else {
919                mes "[Baisulist]";
920                mes "Oh...";
921                mes "It's been a while";
922                mes "since I've been";
923                mes "to Alberta.";
924                next;
925                mes "[Baisulist]";
926                mes "I ordered something";
927                mes "from there a while ago,";
928                mes "but I haven't received";
929                mes "my delivery...";
930                next;
931                mes "[Baisulist]";
932                mes "I wonder...";
933                mes "Could the Blacksmith Guild";
934                mes "be undermanned? I can't think of any other reason for them to be late...";
935                next;
936                mes "[Baisulist]";
937                mes "When will I get";
938                mes "my special Arc Wand?";
939                close;
940        }
941}
942
943morocc,27,112,4 script  Wickebine#BLS   725,{
944        if (BSMITH_Q == 10 && countitem(1219) > 0) {
945                cutin "Job_Black_hucke01",2;
946                mes "[Wickebine]";
947                mes "...!";
948                mes "It's here!";
949                next;
950                mes "[Wickebine]";
951                mes "This is what I ordered, right?";
952                mes "I don't want any used or old Gladius that you might have!";
953                next;
954                if (select("Whoops, not that one.:I guarantee you it is new.") == 1) {
955                        cutin "Job_Black_hucke03",2;
956                        mes "[Wickebine]";
957                        mes "Oooh...!";
958                        mes "Hurry up";
959                        mes "with my Gladius~";
960                        next;
961                        mes "- She seems to be upset. -";
962                        close2;
963                        cutin "Job_Black_hucke03",255;
964                        end;
965                }
966                cutin "Job_Black_hucke02",2;
967                mes "[Wickebine]";
968                mes "Hah hah hah!";
969                mes "Finally! Now...";
970                mes "Let me have";
971                mes "a look!";
972                next;
973                mes "- She looks very happy. -";
974                next;
975                set BSMITH_Q,14;
976                delitem 1219,1; //Gladius
977                cutin "Job_Black_hucke01",2;
978                mes "[Wickebine]";
979                mes "Are you with the";
980                mes "Einbroch Blacksmith Guild?";
981                mes "Give this message to Geschupenschte!";
982                next;
983                cutin "Job_Black_hucke03",2;
984                mes "[Wickebine]";
985                mes "'^660000You're late!";
986                mes "Do you know how long";
987                mes "I've been waiting?!^000000'";
988                next;
989                cutin "Job_Black_hucke02",2;
990                mes "[Wickebine]";
991                mes "But, this is also";
992                mes "a masterfully crafted item.";
993                mes "Tell him I'm satisfied with the quality of the workmanship.";
994                next;
995                getitem 1073,1; //Merchant_Voucher_1
996                emotion e_lv;
997                mes "[Wickebine]";
998                mes "Here's the receipt.";
999                mes "I think you did";
1000                mes "a good job.";
1001                mapannounce "morocc","Thanks for delivering, " + strcharinfo(0) + "~!",bc_map;
1002                close2;
1003                cutin "Job_Black_hucke02",255;
1004                end;
1005        }
1006        else if (BSMITH_Q == 14) {
1007                emotion e_lv;
1008                cutin "Job_Black_hucke02",2;
1009                mes "[Wickebine]";
1010                mes "Thanks for the delivery.";
1011                close2;
1012                cutin "Job_Black_hucke02",255;
1013                end;
1014        }
1015        else {
1016                cutin "Job_Black_hucke03",2;
1017                mes "[Wickebine]";
1018                mes "...";
1019                next;
1020                mes "[Wickemine]";
1021                mes "...";
1022                mes "......";
1023                next;
1024                mes "[Wickmine]";
1025                mes "They're late.";
1026                mes "They're late,";
1027                mes "they're late,";
1028                mes "they're late~!";
1029                next;
1030                mes "[Wickebine]";
1031                mes "How long does it take for something to ship from Geschupenschte? Usually, the Geffen Blacksmith Guild is pretty prompt...";
1032                next;
1033                emotion e_lv;
1034                mes "[Wickebine]";
1035                mes "Ooohh...";
1036                mes "This is very";
1037                mes "upsetting...";
1038                close2;
1039                cutin "Job_Black_hucke03",255;
1040                end;
1041        }
1042}
1043
1044lighthalzen,209,80,4    script  Krongast#BLS    734,{
1045        if (BSMITH_Q == 11 && countitem(1119) > 0) {
1046                mes "[Krongast]";
1047                mes "Ohhhhhh~";
1048                mes "Is it here?";
1049                mes "Very nice.";
1050                mes "Let me take a look.";
1051                next;
1052                mes "[Krongast]";
1053                mes "So you're sure this is the item";
1054                mes "I ordered, right? I wouldn't want it if it's been used.";
1055                next;
1056                if (select("Whoops, this one is used!:It was just made, so it's new.") == 1) {
1057                        mes "[Krongast]";
1058                        mes "Hmmmmm!";
1059                        mes "Please deliver";
1060                        mes "the right sword!";
1061                        mes "I've been waiting";
1062                        mes "long enough already...";
1063                        close;
1064                }
1065                mes "[Krongast]";
1066                mes "You double checked?";
1067                mes "Alright then, I'll take it!";
1068                next;
1069                set BSMITH_Q,14;
1070                delitem 1119,1; //Tsurugi
1071                mes "[Krongast]";
1072                mes "Oh ho...";
1073                mes "This is good.";
1074                mes "Much better than";
1075                mes "what I expected.";
1076                next;
1077                mes "[Krongast]";
1078                mes "With this sword...";
1079                mes "My special moves will be even more powerful! I may even be able to perfect my fast attacking techniques! I love it!";
1080                next;
1081                mes "[Krongast]";
1082                mes "Okay then.";
1083                mes "Let me give";
1084                mes "you a receipt.";
1085                next;
1086                getitem 1073,1; //Merchant_Voucher_1
1087                mes "[Krongast]";
1088                mes "Here is";
1089                mes "your receipt.";
1090                mes "Thank you for";
1091                mes "your business!";
1092                mapannounce "lighthalzen",strcharinfo(0)+"... Thank you for the delivery.",bc_map;
1093                close;
1094        }
1095        else if (BSMITH_Q == 14) {
1096                mes "[Krongast]";
1097                mes "Thank you";
1098                mes "for the delivery.";
1099                close;
1100        }
1101        else {
1102                mes "[Krongast]";
1103                mes "...";
1104                next;
1105                mes "[Krongast]";
1106                mes "...";
1107                mes "......";
1108                next;
1109                mes "[Krongast]";
1110                mes "When will the sword";
1111                mes "I ordered finally arrive?";
1112                mes "I need to try my ultimate skill, ^2F4F4FFine Edge^000000 with it.";
1113                next;
1114                mes "[Krongast]";
1115                mes "Ahhhhhhh!";
1116                mes "I need to";
1117                mes "have that sword!";
1118                close;
1119        }
1120}
1121
1122payon,214,79,4  script  Talpiz#BLS      59,{
1123        if (BSMITH_Q == 12 && countitem(1713) > 0) {
1124                mes "[Talpiz]";
1125                mes "Oh~";
1126                mes "Is it finally here?";
1127                mes "The package I ordered?";
1128                next;
1129                mes "[Talpiz]";
1130                mes "Um, this is what I ordered, right? I don't want an Arbalest that's been used before.";
1131                next;
1132                if (select("Whoops, this is a used one.:I'm sure it's new.") == 1) {
1133                        mes "[Talpiz]";
1134                        mes "Hmmmm.";
1135                        mes "Please hurry";
1136                        mes "and bring the";
1137                        mes "correct item.";
1138                        mes "I've waited too";
1139                        mes "long already...";
1140                        close;
1141                }
1142                mes "[Talpiz]";
1143                mes "So, you're sure?";
1144                mes "Let me take a look...";
1145                next;
1146                set BSMITH_Q,14;
1147                delitem 1713,1; //Arbalest
1148                mes "[Talpiz]";
1149                mes "*wheet whoo*";
1150                mes "Very nice!!";
1151                next;
1152                mes "[Talpiz]";
1153                mes "This is truly a quality made custom item. I love how there is a case for an eye patch! I really reallly love this~";
1154                next;
1155                mes "[Talpiz]";
1156                mes "Thank you!";
1157                mes "For something of this quality,";
1158                mes "I can even sell it for a high price even after I've used it!";
1159                next;
1160                getitem 1073,1; //Merchant_Voucher_1
1161                mes "[Talpiz]";
1162                mes "Here!";
1163                mes "Please take";
1164                mes "your receipt.";
1165                mes "I really appreciate";
1166                mes "your hard work.";
1167                mapannounce "payon","Thanks, " +strcharinfo(0)+ ", you really delivered. Everytime I look at this, I love it even more~",bc_map;
1168                close;
1169        }
1170        else if (BSMITH_Q == 14) {
1171                mes "[Talpiz]";
1172                mes "Really,";
1173                mes "I can't say it";
1174                mes "enough. This is";
1175                mes "top quality work~!";
1176                close;
1177        }
1178        else {
1179                mes "[Talpiz]";
1180                mes "Eh...";
1181                mes "When will my";
1182                mes "order arrive?";
1183                next;
1184                mes "[Talpiz]";
1185                mes "A custom made Arbalest";
1186                mes "with a quality case to hold your eye patches. Only one person can make something like that...";
1187                next;
1188                mes "[Talpiz]";
1189                mes "Ahhhhhh...";
1190                mes "The waiting";
1191                mes "is unbearable!";
1192                close;
1193        }
1194}
1195
1196hugel,168,183,1 script  Bismarc#BLS     118,{
1197        if (BSMITH_Q == 13 && countitem(1122) > 0) {
1198                mes "[Bismarc]";
1199                mes "Sweet God...";
1200                mes "Have you sent";
1201                mes "an angel...?";
1202                mes "Is that the Ring Pommel Saber";
1203                mes "I ordered? It's my only hope...";
1204                next;
1205                mes "[Bismarc]";
1206                mes "^666666*Huuuk*^000000 This is what I ordered, right? I needed one especially";
1207                mes "made to stop this poison...";
1208                next;
1209                if (select("Whoops, this is my own Ring Pommel Saber.:I'm sure this is the one.") == 1) {
1210                        mes "[Bismarc]";
1211                        mes "N-Nooo...";
1212                        mes "Hurry...!";
1213                        mes "I need that";
1214                        mes "sword for its";
1215                        mes "an...ti...d-dote!";
1216                        next;
1217                        mes "^3355FFIt looks like";
1218                        mes "he's slowly dying...!";
1219                        mes "You'd better hurry.^000000";
1220                        close;
1221                }
1222                mes "[Bismarc]";
1223                mes "^666666*Ghklk*^000000";
1224                mes "Give it...!";
1225                mes "Pleeeease!";
1226                next;
1227                set BSMITH_Q,14;
1228                delitem 1122,1; //Ring_Pommel_Saber
1229                mes "^3355FFBismarc stabs";
1230                mes "himself, repeatedly,";
1231                mes "with the Ring Pommel Saber";
1232                mes "that has been imbued with";
1233                mes "the power of Green Herbs.^000000";
1234                next;
1235                mes "[Bismarc]";
1236                mes "^666666*Ghyklk*^000000";
1237                mes "*Gasp gasp*";
1238                next;
1239                mes "[Bismarc]";
1240                mes "Please...";
1241                mes "Help me up.";
1242                mes "The poison is";
1243                mes "still coarsing";
1244                mes "through my body...";
1245                next;
1246                mes "[Bismarc]";
1247                mes "OwwwWWWW!!";
1248                mes "IT'S BURNING!";
1249                next;
1250                mes "[Bismarc]";
1251                mes "*Gasp Gasp*";
1252                mes "*Whew* Okay,";
1253                mes "I can feel the";
1254                mes "antidote working now.";
1255                mes "Just what I needed.";
1256                next;
1257                getitem 1073,1; //Merchant_Voucher_1
1258                mes "[Bismarc]";
1259                mes "Here is";
1260                mes "your receipt.";
1261                mes "T-take it...!";
1262                mes "It's yours!";
1263                mapannounce "hugel","Thanks, " +strcharinfo(0)+ ", for the delivery. You saved my life...",bc_map;
1264                close;
1265        }
1266        else if (BSMITH_Q == 14) {
1267                mes "[Bismarc]";
1268                mes "Thank you.";
1269                mes "You saved";
1270                mes "my life...";
1271                close;
1272        }
1273        else {
1274                mes "[Bismarc]";
1275                mes "^666666*Ghyklk*^000000";
1276                mes "^666666*Huk Hukk*^000000";
1277                mes "When will my";
1278                mes "o-order arrive...?";
1279                next;
1280                mes "[Bismarc]";
1281                mes "The poison in";
1282                mes "my body... the pain...";
1283                mes "excruciating... L-lord...";
1284                next;
1285                mes "[Bismarc]";
1286                mes "When is the";
1287                mes "antidote gonna";
1288                mes "get here?!";
1289                close;
1290        }
1291}
1292
1293ein_in01,24,41,5        script  Blacksmith Guildsman#moc        726,{
1294        if (BSMITH_Q == 16) {
1295                emotion e_hmm;
1296                mes "[Mitehmaeeuh]";
1297                mes "Oh...so you're the one who wants to be a blacksmith?";
1298                mes "Nice, heh heh.";
1299                mes "As you've realized from your past tests, you won't be promoted from Merchant to Blacksmtih immediately.";
1300                next;
1301                mes "[Mitehmaeeuh]";
1302                mes "How much do you truly understand about smithing? Are you ready for me to ask you some questions?";
1303                next;
1304                if (select("Yes:No, not yet~") == 1) {
1305                        mes "[Mitehmaeeuh]";
1306                        mes "Alright...";
1307                        mes "My test is simple.";
1308                        mes "I'll ask five questions.";
1309                        mes "If you miss too many,";
1310                        mes "you fail. And I won't";
1311                        mes "tell you what you missed.";
1312                        next;
1313                        set .@blackss_te,0;
1314                        mes "[Mitehmaeeuh]";
1315                        mes "Please listen";
1316                        mes "and answer carefully...";
1317                        next;
1318                        switch(rand(1,3)) {
1319                        case 1:
1320                                mes "[Mitehmaeeuh]";
1321                                mes "1. What ability";
1322                                mes "is required to learn";
1323                                mes "the ^8E6B23Discount^000000 skill?";
1324                                next;
1325                                if (select("Level 3 Push Cart:Item Appraisal:Level 10 Mammonite:Level 3 Enlarge Weight") == 4)
1326                                        set .@blackss_te,.@blackss_te+20;
1327                                mes "[Mitehmaeeuh]";
1328                                mes "2. When you attack";
1329                                mes "with ^8E6B23Hammerfall^000000,";
1330                                mes "what status effect can";
1331                                mes "you inflict on enemies?";
1332                                next;
1333                                if (select("Stun:Blindness:Chaos:Silence") == 1)
1334                                        set .@blackss_te,.@blackss_te+20;
1335                                mes "[Mitehmaeeuh]";
1336                                mes "3. How much Zeny is spent";
1337                                mes "when attacking with the";
1338                                mes "mastered Mammonite skill?";
1339                                mes "(Level 10 Mammonite)";
1340                                next;
1341                                if (select("900 Zeny:1000 Zeny:2000 Zeny:100,000 Zeny") == 2)
1342                                        set .@blackss_te,.@blackss_te+20;
1343                                mes "[Mitehmaeeuh]";
1344                                mes "4. What is the";
1345                                mes "discount rate when";
1346                                mes "the ^8E6B23Discount^000000";
1347                                mes "skill is mastered?";
1348                                next;
1349                                if (select("21 % :22 % :23 % :24 % ") == 4)
1350                                        set .@blackss_te,.@blackss_te+20;
1351                                mes "[Mitehmaeeuh]";
1352                                mes "5. What is the maximum";
1353                                mes "percentage that you can";
1354                                mes "overcharge items sold to";
1355                                mes "NPCs after mastering the";
1356                                mes "^8E6B23Overcharge^000000 skill?";
1357                                next;
1358                                if (select("21 % :22 % :23 % :24 % ") == 3)
1359                                        set .@blackss_te,.@blackss_te+20;
1360                                break;
1361                        case 2:
1362                                mes "[Mitehmaeeuh]";
1363                                mes "1. Which of the";
1364                                mes "following monsters";
1365                                mes "drops Steel?";
1366                                next;
1367                                if (select("Zerom:Chon Chon:Skel Worker:Requiem") == 3)
1368                                        set .@blackss_te,.@blackss_te+20;
1369                                mes "[Mitehmaeeuh]";
1370                                mes "2. Which of the following";
1371                                mes "stones can be made from";
1372                                mes "Red Bloods?";
1373                                next;
1374                                if (select("Flame Heart:Rough Wind:Great Nature:Mystic Frozen") == 1)
1375                                        set .@blackss_te,.@blackss_te+20;
1376                                mes "[Mitehmaeeuh]";
1377                                mes "3. Which of the following";
1378                                mes "stones do you have the most";
1379                                mes "of in your Kafra Storage?";
1380                                next;
1381                                select("Wind of Verdure:Red Blood:Green Live:Crystal Blue");
1382                                        set .@blackss_te,.@blackss_te+20;
1383                                mes "[Mitehmaeeuh]";
1384                                mes "4. In general,";
1385                                mes "which of the following";
1386                                mes "properties receives the";
1387                                mes "most damage from a Wind";
1388                                mes "attribute weapon?";
1389                                next;
1390                                if (select("Fire Property:Water Property:Earth Property:Wind Property") == 2)
1391                                        set .@blackss_te,.@blackss_te+20;
1392                                mes "[Mitehmaeeuh]";
1393                                mes "5. How many Iron Ore";
1394                                mes "is required to make";
1395                                mes "1 Steel?";
1396                                next;
1397                                if (select("5 Iron Ore :4 Iron Ore:3 Iron Ore:6 Iron Ore") == 1)
1398                                        set .@blackss_te,.@blackss_te+20;
1399                                break;
1400                        case 3:
1401                                mes "[Mitehmaeeuh]";
1402                                mes "1. What do you usually";
1403                                mes "do when you meet someone";
1404                                mes "randomly on the street?";
1405                                next;
1406                                switch(select("Ask them what they need.:Have a brief conversation.:Ignore them.:Give items and run away.")) {
1407                                case 1:
1408                                case 2:
1409                                        set .@blackss_te,.@blackss_te+20;
1410                                        break;
1411                                default:
1412                                        break;
1413                                }
1414                                mes "[Mitehmaeeuh]";
1415                                mes "2. In what village";
1416                                mes "can you learn the";
1417                                mes "^8E6B23Crazy Uproar^000000 and";
1418                                mes "^8E6B23Change Cart^000000 skills?";
1419                                next;
1420                                if (select("Al De Baran:Alberta:Morroc:Izlude") == 2)
1421                                        set .@blackss_te,.@blackss_te+20;
1422                                mes "[Mitehmaeeuh]";
1423                                mes "3. From the center of Einbroch,";
1424                                mes "in which direction is the Blacksmith Guild?";
1425                                next;
1426                                if (select("11 o'clock:5 o'clock:7 o'clock:12 o'clock") == 2)
1427                                        set .@blackss_te,.@blackss_te+20;
1428                                mes "[Mitehmaeeuh]";
1429                                mes "4. In which town";
1430                                mes "can you find the";
1431                                mes "most Blacksmiths?";
1432                                next;
1433                                if (select("Prontera:Morroc:Alberta:Einbroch") == 4)
1434                                        set .@blackss_te,.@blackss_te+20;
1435                                mes "[Mitehmaeeuh]";
1436                                mes "5. Which of the";
1437                                mes "following statuses";
1438                                mes "affect your skill";
1439                                mes "as a Blacksmith?";
1440                                next;
1441                                if (select("STR :DEX:AGI :VIT ") == 2)
1442                                        set .@blackss_te,.@blackss_te+20;
1443                                break;
1444                        }
1445                        mes "[Mitehmaeeuh]";
1446                        mes "Ah...";
1447                        mes "You've completed";
1448                        mes "the quiz. Let's see...";
1449                        next;
1450                        mes "[Mitehmaeeuh]";
1451                        mes "You earned";
1452                        mes ""+ .@blackss_te +" points...";
1453                        if (.@blackss_te > 70) {
1454                                mes "Very nice!";
1455                                mes "Congratulations!";
1456                                mes "You just passed!";
1457                                next;
1458                                mes "[Mitehmaeeuh]";
1459                                mes "However, don't let your early success make you overconfident. A Blacksmith's life isn't a picnic. As proof that you have passed the test, I give you this Hammer of Blacksmith.";
1460                                set BSMITH_Q,17;
1461                                getitem 1005,1; //Hammer_Of_Blacksmith
1462                                next;
1463                                mes "[Mitehmaeeuh]";
1464                                mes "Take this Hammer";
1465                                mes "of Blacksmith and go back to the Altiregen. Okay then? I wish you the best of luck!";
1466                                close;
1467                        }
1468                        mes "You failed! You better study up before coming back here.";
1469                        next;
1470                        mes "[Mitehmaeeuh]";
1471                        mes "With your knowledge, or lack thereof, you'll just end up hurting yourself holding a hammer!";
1472                        close;
1473                }
1474                mes "[Mitehmaeeuh]";
1475                mes "Okay then.";
1476                mes "Please prepare";
1477                mes "yourself and return";
1478                mes "when you are ready...";
1479                close;
1480        }
1481        else if (BSMITH_Q == 17) {
1482                emotion e_hmm;
1483                mes "[Mitehmaeeuh]";
1484                mes "Yeap, you just passed the Blacksmith job test~";
1485                next;
1486                mes "[Mitehmaeeuh]";
1487                mes "Why don't you go back to Mr.Altiregen?";
1488                next;
1489                mes "[Mitehmaeeuh]";
1490                mes "Don't forget to bring the Hammer of Blacksmith with you!";
1491                next;
1492                mes "[Mitehmaeeuh]";
1493                mes "Oh, also make sure that you have no skill point left before you change your job~";
1494                close;
1495        }
1496        else {
1497                emotion e_hmm;
1498                mes "[Mitehmaeeuh]";
1499                mes "I had to deal with the heat when I was in Morroc,";
1500                mes "and now I have to deal with the smog in this Einbroch!";
1501                next;
1502                mes "[Mitehmaeeuh]";
1503                mes "But, I must admit that this is the perfect place for Blacksmiths because we have an abundance of crafting material supplies as well as highly developed equipment.";
1504                next;
1505                mes "[Mitehmaeeuh]";
1506                mes "We, Blacksmiths are trying our best to forge the best of the best weapons.";
1507                next;
1508                mes "[Mitehmaeeuh]";
1509                mes "We pledge our honor on that!";
1510                close;
1511        }
1512}
1513
1514geffen_in,109,170,3     script  Blacksmith Guildsman#gef        726,{
1515        mes "[Blacksmith Guildsman]";
1516        mes "Good day, are you here to visit Blacksmith Guild?";
1517        next;
1518        mes "[Blacksmith Guildsman]";
1519        mes "I thank you for coming this far to visit our guild. However, I regret to inform you that Blacksmith Guild has been";
1520        mes "moved to ^3131FF'Einbroch' in the Schwaltzvalt Republic^000000.";
1521        next;
1522        mes "[Blacksmith Guildsman]";
1523        mes "You can travel to Schwaltzvalt Republic by using the airship.";
1524        mes "I can provide you a teleport service to Izlude, where you can use the airship.";
1525        mes "Would you like to move to Izlude immediately?";
1526        next;
1527        switch(select("How to go to Einbroch:Yes!:No, thanks.")) {
1528        case 1:
1529                mes "[Blacksmith Guildsman]";
1530                mes "Oops, haven't you used the airship yet?";
1531                next;
1532                mes "[Blacksmith Guildsman]";
1533                mes "Unlike Rune-Midgarts Kingdom, Schwalitzvalt Republic has 'the airship' instead of teleport services to move between towns.";
1534                next;
1535                mes "[Blacksmith Guildsman]";
1536                mes "In ^3131FF'Izlude'^000000, you can use ^3131FF'the international airship'^000000 which travels between ^3131FFIzlude and Juno in Schwaltzvalt Republic^000000.";
1537                next;
1538                mes "[Blacksmith Guildsman]";
1539                mes "Take the airship, and go to Juno. Then from Juno, you need to take ^3131FFthe domestic airship^000000 to go to Einbroch.";
1540                mes "Remember, you are ^3131FFnot going outside of the airport^000000 upon transit from the international to the domestic airship.";
1541                next;
1542                mes "[Blacksmith Guildsman]";
1543                mes "It might sound complicated, but you will know once you are in the airport.";
1544                mes "When you arrive in Blacksmith Guild, please send my regard to my coworkers!";
1545                close;
1546        case 2:
1547                if (Zeny < 600) {
1548                        mes "[Blacksmith Guildsman]";
1549                        mes "Excuse me, but you do not have enough money.";
1550                        close;
1551                }
1552                set zeny,zeny-600;
1553                warp "izlude",94,103;
1554                end;
1555        case 3:
1556                mes "[Blacksmith Guildsman]";
1557                mes "Please take care!";
1558                close;
1559        }
1560}
Note: See TracBrowser for help on using the browser.