root/npc/quests/doomed_swords.txt @ 7

Revision 1, 39.4 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Doomed Swords Quest
3//===== By: ==================================================
4//= kobra_k88; L0ne_W0lf
5//===== Current Version: =====================================
6//= 1.4
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Doomed Swords Quest:
12//= - Quest for Doomed Swords: Grimtooth, Mysteltain, Executioner.
13//=   Although this quest is enabled on iRO, the Mysteltainn
14//=   portion is NOT completable as the item "Young Twig" does
15//=   not drop.
16//= - Variable in use: event_magum (max 6)
17//= - Variable in use: dmdswrd_Q2 (bits 1 - 32)
18//===== Additional Comments: =================================
19//= 1.1 Fixed items count check. For all 3 swords... [Lupus]
20//= 1.3 Fixed exploit [Lupus]
21//= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
22//=     Moved all non-related NPCs to their repsective files.
23//= 1.5 Added missing checkweight. [L0ne_W0lf]
24//============================================================
25
26prt_in,162,11,2 script  Ghatu#magum     86,{
27        if (event_magum == 0) {
28                if (dmdswrd_Q2 & 1 || dmdswrd_Q2 & 2 || dmdswrd_Q2 & 4 || dmdswrd_Q2 & 8 || dmdswrd_Q2 & 16 || dmdswrd_Q2 & 32) {
29                        mes "[Ghatu]";
30                        mes "I've heard of a strange";
31                        mes "blacksmith who lives in";
32                        mes "seclusion deep in the";
33                        mes "Payon Forest. The man";
34                        mes "was once famous for his";
35                        mes "legendary smithing skill...";
36                        next;
37                        mes "[Ghatu]";
38                        mes "Rumor has it that he's";
39                        mes "hiding in the mountains";
40                        mes "since too many people want^FFFFFF ^000000 to use his talents for the wrong";
41                        mes "purposes. Apparently, there is^FFFFFF ^000000 a godly quality to his weapons...";
42                        set event_magum,1;
43                        close;
44                }
45                mes "[Ghatu]";
46                mes "Remember that blacksmith";
47                mes "I told you about last time? It";
48                mes "seems that his weapons were";
49                mes "in such great demand because";
50                mes "he would enchant them with ";
51                mes "tremendously powerful magic.";
52                next;
53                mes "[Ghatu]";
54                mes "However, the man was forced";
55                mes "by the power hungry and the";
56                mes "oppressive to create weapons";
57                mes "for selfish and immoral ends.";
58                mes "It's no surprise that he went";
59                mes "into hiding in the end...";
60                next;
61                mes "[Ghatu]";
62                mes "It's sad, really.";
63                mes "That smith used to be";
64                mes "a pretty easy going guy";
65                mes "until he was forced to work";
66                mes "against his will. Slowly, he^FFFFFF ^000000 became gloomy and intimidating...";
67                next;
68                mes "[Ghatu]";
69                mes "But I suppose blacksmiths";
70                mes "can never really give up the";
71                mes "hammer. If you can manage to";
72                mes "find him, perhaps you can ask";
73                mes "him to forge something for you?";
74                set event_magum,5;
75                close;
76
77        }
78        else if (event_magum == 1) {
79                mes "[Ghatu]";
80                mes "Remember that blacksmith";
81                mes "I told you about last time? It";
82                mes "seems that his weapons were";
83                mes "in such great demand because";
84                mes "he would enchant them with ";
85                mes "tremendously powerful magic.";
86                next;
87                mes "[Ghatu]";
88                mes "However, the man was forced";
89                mes "by the power hungry and the";
90                mes "oppressive to create weapons";
91                mes "for selfish and immoral ends.";
92                mes "It's no surprise that he went";
93                mes "into hiding in the end...";
94                next;
95                mes "[Ghatu]";
96                mes "It's sad, really.";
97                mes "That smith used to be";
98                mes "a pretty easy going guy";
99                mes "until he was forced to work";
100                mes "against his will. Slowly, he^FFFFFF ^000000 became gloomy and intimidating...";
101                next;
102                mes "[Ghatu]";
103                mes "But I suppose blacksmiths";
104                mes "can never really give up the";
105                mes "hammer. If you can manage to";
106                mes "find him, perhaps you can ask";
107                mes "him to forge something for you?";
108                set event_magum,5;
109                close;
110        }
111        mes "[Ghatu]";
112        mes "That mysterious blacksmith...";
113        mes "I wonder how he made those";
114        mes "enchanted weapons of his.";
115        mes "I've heard that he might have";
116        mes "been dabbling in the dark arts,";
117        mes "but that doesn't seem right...";
118        close;
119}
120
121prontera,197,188,2      script  Veeyop#magum    50,{
122        if (dmdswrd_Q2 & 1) {
123                mes "[Veeyop]";
124                mes "You know, talking";
125                mes "about Mysteltainn and";
126                mes "the death of Baldur just...";
127                mes "It didn't occur to me until";
128                mes "now just how morbid it all";
129                mes "sounds. Yeah, yeah, I know.";
130                close;
131        }
132        mes "[Veeyop]";
133        mes "Have you heard the";
134        mes "legend of Mysteltainn?";
135        mes "It's a tree, known for being";
136        mes "the only thing able to harm";
137        mes "Baldur, god of light. In fact,";
138        mes "just a twig from it killed him.";
139        next;
140        mes "[Veeyop]";
141        mes "Now, I'm not sure if this";
142        mes "is true, but I've heard that";
143        mes "someone actually forged";
144        mes "a sword so powerful, it's";
145        mes "worthy of the name,";
146        mes "''Mysteltainn.''";
147        next;
148        mes "[Veeyop]";
149        mes "There's only one person";
150        mes "in the world who can forge";
151        mes "that Mysteltainn sword. I...";
152        mes "I think he used to live in";
153        mes "Prontera, but then he moved";
154        mes "away for some weird reason.";
155        if (event_magum == 1)
156                set event_magum,5;
157        set dmdswrd_Q2,dmdswrd_Q2 | 1;
158        close;
159}
160
161morocc,281,178,2        script  Cetsu#magum     97,{
162        if (dmdswrd_Q2 & 2) {
163                mes "[Cetsu]";
164                mes "I keep thinking about";
165                mes "Grimtooth, and it occurred";
166                mes "to me that the spell used to";
167                mes "to endow that dagger with its";
168                mes "strength probably isn't magic";
169                mes "that we're familiar with.";
170                next;
171                mes "[Cetsu]";
172                mes "There's all sorts of";
173                mes "creepy stories going";
174                mes "around. I even hear";
175                mes "that the Grimtooth";
176                mes "might have some";
177                mes "sort of weird curse?";
178                close;
179        }
180        mes "[Cetsu]";
181        mes "You know, there are";
182        mes "stories of an incredibly";
183        mes "powerful dagger that's";
184        mes "stronger than steel.";
185        mes "I think it was made";
186        mes "out of ogre teeth?";
187        next;
188        mes "[Cetsu]";
189        mes "Anyway, it wasn't just";
190        mes "the ogre teeth that gave";
191        mes "the dagger its power. I think";
192        mes "it had to be enchanted with";
193        mes "a special spell or something.";
194        next;
195        mes "[Cetsu]";
196        mes "This dagger, the Grimtooth,";
197        mes "can only be made by one person";
198        mes "in the entire world. This guy used to live in Prontera, but then he";
199        mes "moved away for some reason.";
200        next;
201        mes "[Cetsu]";
202        mes "I wonder...";
203        mes "Did he go into";
204        mes "hiding? His weapons";
205        mes "did seem to be pretty";
206        mes "high in demand back then...";
207        if (event_magum == 1)
208                set event_magum,5;
209        set dmdswrd_Q2,dmdswrd_Q2 | 2;
210        close;
211}
212
213izlude_in,173,88,2      script  Nain#magum      102,{
214        if (dmdswrd_Q2 == 4) {
215                mes "[Nain]";
216                mes "It doesn't matter how";
217                mes "powerful the Executioner";
218                mes "is: if it were to end up in";
219                mes "my hands, I would get rid";
220                mes "of it right away. I'd never risk losing my mind to that curse...";
221                close;
222        }
223        mes "[Nain]";
224        mes "Long ago, one sword";
225        mes "was used to behead all";
226        mes "the criminals that had been";
227        mes "sentenced to death. That";
228        mes "accursed blade is known";
229        mes "as the Executioner.";
230        next;
231        mes "[Nain]";
232        mes "As the Executioner slayed";
233        mes "more criminals, the rage and";
234        mes "bloodlust of its victims began";
235        mes "to accumulate upon the blade.";
236        mes "Although the sword gained great^FFFFFF ^000000 strength, it was tainted by evil.";
237        next;
238        mes "[Nain]";
239        mes "The last person to wield";
240        mes "the Executioner almost lost";
241        mes "his mind to the sword. He saved^FFFFFF ^000000 himself by giving it to a talented";
242        mes "blacksmith who would destroy^FFFFFF ^000000 it for him, thus saving his soul.";
243        next;
244        mes "[Nain]";
245        mes "This mysterious blacksmith";
246        mes "was never seen again in the";
247        mes "city of Prontera, but rumor has";
248        mes "it that if you can find him, he";
249        mes "can forge that accursed";
250        mes "Executioner anew...";
251        if (event_magum == 1)
252                set event_magum,5;
253        set dmdswrd_Q2,dmdswrd_Q2 | 4;
254        close;
255}
256
257pay_fild08,218,283,2    script  Mysterious Man#magum    89,{
258        if (checkweight(1201,1) == 0) {
259                mes "[Mysterious Man]";
260                mes "Hold it.";
261                mes "You're carrying";
262                mes "far too many items";
263                mes "with you. Speak to me";
264                mes "after you've placed your";
265                mes "goods into Kafra Storage.";
266                close;
267        }
268        if (event_magum == 0) {
269                if (dmdswrd_Q2 & 1 || dmdswrd_Q2 & 2 || dmdswrd_Q2 & 4 || dmdswrd_Q2 & 8 || dmdswrd_Q2 & 16 || dmdswrd_Q2 & 32) {
270                        mes "[Mysterious Man]";
271                        mes "Well...?";
272                        mes "What the hell";
273                        mes "are you looking at?";
274                        next;
275                        if (select("Have you heard of the Doomed Swords?:I... I...") == 1) {
276                                mes "[Mysterious Man]";
277                                mes "...!";
278                                mes "How the hell would";
279                                mes "I know about that?";
280                                mes "Leave me alone!";
281                                close;
282                        }
283                        mes "[Mysterious Man]";
284                        mes "...";
285                        next;
286                        mes "[Mysterious Man]";
287                        mes "...";
288                        mes "......";
289                        next;
290                        mes "[Mysterious Man]";
291                        mes "Get lost.";
292                        close;
293                }
294                else {
295                        mes "[Mysterious Man]";
296                        mes "Well...?";
297                        mes "What the hell";
298                        mes "are you looking at?";
299                        next;
300                        if (select("Um, er...:Nothing, sir.") == 1) {
301                                mes "[Mysterious Man]";
302                                mes "What...?!";
303                                next;
304                                mes "^3355FFThis guy is";
305                                mes "really intimidating!^000000";
306                                close;
307                        }
308                        mes "[Mysterious Man]";
309                        mes "Nothing, huh?";
310                        mes "Well, right now, I'm";
311                        mes "looking at a bothersome";
312                        mes "adventurer! Get outta here";
313                        mes "and leave me the hell alone!";
314                        close;
315                }
316        }
317        else if (event_magum == 1) {
318                mes "[Mysterious Man]";
319                mes "Well...?";
320                mes "What the hell";
321                mes "are you looking at?";
322                next;
323                if (select("Do you happen to be a blacksmith?:No-Nothing!") == 1) {
324                        mes "[Mysterious Blacksmith]";
325                        mes "Hmpf. So you're not";
326                        mes "a total fool after all. Yes,";
327                        mes "I used to do smithing, but";
328                        mes "I don't do the simple work";
329                        mes "that most Blacksmiths";
330                        mes "can do nowadays...";
331                        close;
332                }
333                mes "[Mysterious Blacksmith]";
334                mes "...";
335                mes "......";
336                next;
337                mes "[Mysterious Blacksmith]";
338                mes "Get outta my sight.";
339                close;
340        }
341        else if (event_magum == 5) {
342                mes "[Mysterious Blacksmith]";
343                mes "Well...?";
344                mes "What the hell";
345                mes "are you looking at?";
346                next;
347                if (select("I want you to make me a Doomed Sword.:Er, nothing!") == 1) {
348                        mes "[Mysterious Blacksmith]";
349                        mes "Hm. I don't know where";
350                        mes "the hell you may have heard";
351                        mes "of me, but I guess one of you";
352                        mes "adventurers would find me soon";
353                        mes "enough. Now, which doomed";
354                        mes "sword did you wish to possess?";
355                        next;
356                        switch(select("Mysteltainn.:Grimtooth.:Executioner.:I ch-changed my mind!")) {
357                        case 1:
358                                if (dmdswrd_Q2 & 1) {
359                                        mes "[Mysterious Blacksmith]";
360                                        mes "You want...";
361                                        mes "that sword?";
362                                        mes "Don't speak its";
363                                        mes "name so lightly!";
364                                        next;
365                                        mes "[Mysterious Blacksmith]";
366                                        mes "Do you understand the curse";
367                                        mes "on that sword? The Mysteltainn";
368                                        mes "derives its dark power from the";
369                                        mes "twig that was used to kill Baldur, god of light. Let me relate the";
370                                        mes "story as briefly as I can...";
371                                        next;
372                                        mes "[Mysterious Blacksmith]";
373                                        mes "In the era of the gods,";
374                                        mes "the beautiful, pure and";
375                                        mes "joyful Baldur was loved by";
376                                        mes "all living creatures, save for";
377                                        mes "one: Loki, the god of trickery.";
378                                        next;
379                                        mes "[Mysterious Blacksmith]";
380                                        mes "When Loki, out of jealousy,";
381                                        mes "decided to kill Baldur, the";
382                                        mes "goddess Freyja had a dream";
383                                        mes "about Baldur's death. Fearing";
384                                        mes "the realization of her dream,";
385                                        mes "she counseled with the gods.";
386                                        next;
387                                        mes "[Mysterious Blacksmith]";
388                                        mes "To protect Baldur, the gods";
389                                        mes "decided to extract an oath";
390                                        mes "to never harm Baldur from";
391                                        mes "every creature, object and";
392                                        mes "natural force. All who were";
393                                        mes "asked agreed to make this oath.";
394                                        next;
395                                        mes "[Mysterious Blacksmith]";
396                                        mes "Of all the beings and objects";
397                                        mes "in the universe, Freya only";
398                                        mes "neglected to ask one tree to";
399                                        mes "make this oath: the Mysteltainn. Freyja believed it was far too";
400                                        mes "small and insignificant to ask.";
401                                        next;
402                                        mes "[Mysterious Blacksmith]";
403                                        mes "Believing that everything";
404                                        mes "in the universe had sworn";
405                                        mes "not to harm Baldur, the gods";
406                                        mes "made it their new pastime to";
407                                        mes "throw daggers and knives at";
408                                        mes "the now nigh invincible god.";
409                                        next;
410                                        mes "[Mysterious Blacksmith]";
411                                        mes "However, Loki was determined";
412                                        mes "to kill Baldur and, disguising";
413                                        mes "himself, politely asked Freyja";
414                                        mes "if there was any object in the";
415                                        mes "world that did not take the";
416                                        mes "oath to not harm Baldur.";
417                                        next;
418                                        mes "[Mysterious Blacksmith]";
419                                        mes "Freyja suspected nothing and";
420                                        mes "told Loki about the secret of";
421                                        mes "Mysteltainn. The next time the^FFFFFF ^000000 gods played their game of throwing";
422                                        mes "objects at Baldur, Loki was there with a small Mysteltainn twig.";
423                                        next;
424                                        mes "[Mysterious Blacksmith]";
425                                        mes "Then, to compound his";
426                                        mes "treachery, Loki tricked";
427                                        mes "Hod, Baldur's blind twin";
428                                        mes "brother, into throwing the";
429                                        mes "twig into Baldur's heart. And";
430                                        mes "so, the god of light was slain.";
431                                        next;
432                                        mes "[Mysterious Blacksmith]";
433                                        mes "Over the years,";
434                                        mes "Mysteltainn has been";
435                                        mes "fashioned into the sword";
436                                        mes "that you may be familiar";
437                                        mes "with today. Its power is";
438                                        mes "strictly forbidden by the gods.";
439                                        next;
440                                        mes "[Mysterious Blacksmith]";
441                                        mes "However, if you're willing";
442                                        mes "to risk that sword's curse";
443                                        mes "for the sake of its power,";
444                                        mes "I will forge it for you if you";
445                                        mes "can bring me the following";
446                                        mes "items. They'll make sense...";
447                                        next;
448                                        mes "[Mysterious Blacksmith]";
449                                        mes "^0099FF1 Young Twig^000000,";
450                                        mes "^0099FF1 Emperium^000000,";
451                                        mes "^0099FF1 Loki's Whispers^000000,";
452                                        mes "^0099FF1 Mother's Nightmare^000000 and";
453                                        mes "^0099FF1 Foolishness of the Blind^000000.";
454                                        mes "That is what I need.";
455                                        next;
456                                        mes "[Mysterious Blacksmith]";
457                                        mes "I'm not asking for much.";
458                                        mes "You are only bringing the raw";
459                                        mes "materials to forge the sword,";
460                                        mes "and an Emperium to prove your";
461                                        mes "worthiness to me. I will wait";
462                                        mes "for your return, adventurer.";
463                                        set dmdswrd_Q2,dmdswrd_Q2 | 8;
464                                        set event_magum,6;
465                                        close;
466                                }
467                                mes "[Mysterious Blacksmith]";
468                                mes "Just by looking at you,";
469                                mes "I can tell that you don't know";
470                                mes "enough about the Mysteltainn";
471                                mes "to fully understand all of the";
472                                mes "risks that come with wielding^FFFFFF ^000000 that sword. Yes, you're too green.";
473                                next;
474                                mes "[Mysterious Blacksmith]";
475                                mes "I can't take the risk";
476                                mes "of creating that accursed";
477                                mes "sword for you if you haven't";
478                                mes "learned enough about it to";
479                                mes "be fully prepared for any of";
480                                mes "the consequences...";
481                                close;
482                        case 2:
483                                if (dmdswrd_Q2 & 2) {
484                                        mes "[Mysterious Blacksmith]";
485                                        mes "Ah, yes. You must be";
486                                        mes "wondering how such a small";
487                                        mes "dagger can contain such power.";
488                                        mes "It's simple. I cast forbidden";
489                                        mes "curse magic to inbue the dagger^FFFFFF ^000000 with its awesome destructiveness.";
490                                        next;
491                                        mes "[Mysterious Blacksmith]";
492                                        mes "The curse I cast is so";
493                                        mes "powerful that if I use it on";
494                                        mes "a metal dagger, it would";
495                                        mes "immediately melt down. Ogre";
496                                        mes "tooth is the only material that";
497                                        mes "can withstand the curse magic.";
498                                        next;
499                                        mes "[Mysterious Blacksmith]";
500                                        mes "Of course, it's only";
501                                        mes "fair to warn you that";
502                                        mes "the power of the curse";
503                                        mes "is such that the more you";
504                                        mes "use the Grimtooth, the more^FFFFFF ^000000 it burns away at your very soul...";
505                                        next;
506                                        mes "[Mysterious Blacksmith]";
507                                        mes "I am willing to forge";
508                                        mes "the Grimtooth if you can";
509                                        mes "prove worthy to wield its";
510                                        mes "power and provide all of the";
511                                        mes "materials I need to create it.";
512                                        next;
513                                        mes "[Mysterious Blacksmith]";
514                                        mes "I will need...";
515                                        mes "^0099FF1 Emperium^000000,";
516                                        mes "^0099FF100 Ogre Teeth^000000,";
517                                        mes "^0099FF10 Blades of Darkness^000000,";
518                                        mes "^0099FF5 Cursed Rubies^000000 and";
519                                        mes "^0099FF1 Broken Sword Handle^000000.";
520                                        next;
521                                        mes "[Mysterious Blacksmith]";
522                                        mes "I don't need the";
523                                        mes "Emperium to create";
524                                        mes "the accursed sword, but I do";
525                                        mes "require you to prove that you";
526                                        mes "are worthy of the Grimtooth's";
527                                        mes "power. Can you truly handle it?";
528                                        set dmdswrd_Q2,dmdswrd_Q2 | 16;
529                                        set event_magum,6;
530                                        close;
531                                }
532                                mes "[Mysterious Blacksmith]";
533                                mes "Hmpf. You don't really";
534                                mes "know what you're asking";
535                                mes "for, do you? I won't create";
536                                mes "that kind of weapon for any";
537                                mes "ignorant fool. Learn more about";
538                                mes "Grimtooth before you ask again!";
539                                close;
540                        case 3:
541                                if (dmdswrd_Q2 & 4) {
542                                        mes "[Mysterious Blacksmith]";
543                                        mes "So you're telling me that";
544                                        mes "you want a sword that's been";
545                                        mes "cursed by all the souls that've";
546                                        mes "died from the thousands of death sentences it has carried out?";
547                                        mes "Ha ha ha! Very interesting!";
548                                        next;
549                                        mes "[Mysterious Blacksmith]";
550                                        mes "Yes... Each time this";
551                                        mes "sword cut down a guilty";
552                                        mes "criminal, the blade was";
553                                        mes "cursed by the rage and";
554                                        mes "regret of the slain.";
555                                        next;
556                                        mes "[Mysterious Blacksmith]";
557                                        mes "Over time, the Executioner";
558                                        mes "accumulated a truly dreadful";
559                                        mes "power from the hatred of those";
560                                        mes "it had killed. However, he who";
561                                        mes "uses this sword risks becoming consumed by insanity and hatred.";
562                                        next;
563                                        mes "[Mysterious Blacksmith]";
564                                        mes "The last person for whom";
565                                        mes "I created this sword asked";
566                                        mes "me to destroy it, fearing that";
567                                        mes "it would corrupt his mind with";
568                                        mes "its bloodlust. But if you think^FFFFFF ^000000 you can endure, I may forge it...";
569                                        next;
570                                        mes "[Mysterious Blacksmith]";
571                                        mes "Just bring me...";
572                                        mes "^0099FF50 Amulets^000000,";
573                                        mes "^0099FF1 Emperium^000000,";
574                                        mes "^0099FF2 Executioner's Gloves^000000,";
575                                        mes "^0099FF10 Bloody Edges^000000 and";
576                                        mes "^0099FF3 Necklaces of Oblivion^000000.";
577                                        next;
578                                        mes "[Mysterious Blacksmith]";
579                                        mes "Those are the items I need";
580                                        mes "to create a sword imbued with";
581                                        mes "evil power. As for the Emperium, consider it my test to see if you";
582                                        mes "are truly capable of wielding";
583                                        mes "the accursed Executioner...";
584                                        set dmdswrd_Q2,dmdswrd_Q2 | 32;
585                                        set event_magum,6;
586                                        close;
587                                }
588                                mes "[Mysterious Blacksmith]";
589                                mes "Do you even know what";
590                                mes "you are asking of me...?";
591                                mes "Fool! Go and learn more";
592                                mes "about the Executioner! Then,";
593                                mes "maybe you'll understand how";
594                                mes "dangerous that sword truly is!";
595                                close;
596                        case 4:
597                                mes "[Mysterious Blacksmith]";
598                                mes "Hmm...?";
599                                mes "That a fact?";
600                                close;
601                        }
602                }
603                close;
604        }
605        else if (event_magum == 6) {
606                mes "[Mysterious Blacksmith]";
607                mes "Hmmm...";
608                mes "Have you brought";
609                mes "the required items?";
610                mes "Or did you forget what";
611                mes "you needed to bring to me?";
612                next;
613                switch(select("Er, what were the items again?:Yes, I brought all the required items.:Oh! Um, never mind!")) {
614                case 1:
615                        mes "[Mysterious Blacksmith]";
616                        mes "Hmpf. I thought so.";
617                        mes "Now, which sword did";
618                        mes "you want me to forge?";
619                        next;
620                        switch(select("Mysteltainn.:Grimtooth.:Executioner.:Wait! I just remembered!")) {
621                        case 1:
622                                if (dmdswrd_Q2 & 1 || dmdswrd_Q2 & 8) {
623                                        mes "[Mysterious Blacksmith]";
624                                        mes "^0099FF1 Young Twig^000000,";
625                                        mes "^0099FF1 Emperium^000000,";
626                                        mes "^0099FF1 Loki's Whispers^000000,";
627                                        mes "^0099FF1 Mother's Nightmare^000000 and";
628                                        mes "^0099FF1 Foolishness of the Blind^000000.";
629                                        mes "That is what I need.";
630                                        close;
631                                }
632                                mes "[Mysterious Blacksmith]";
633                                mes "Hmm. You don't understand";
634                                mes "enough about Mysteltainn for";
635                                mes "me to risk forging that sword";
636                                mes "for you. Think again: which";
637                                mes "sword did you ask me to create?";
638                                close;
639                        case 2:
640                                if (dmdswrd_Q2 & 2 || dmdswrd_Q2 & 16) {
641                                        mes "[Mysterious Blacksmith]";
642                                        mes "I will need...";
643                                        mes "^0099FF1 Emperium^000000,";
644                                        mes "^0099FF100 Ogre Teeth^000000,";
645                                        mes "^0099FF10 Blades of Darkness^000000,";
646                                        mes "^0099FF5 Cursed Rubies^000000 and";
647                                        mes "^0099FF1 Broken Sword Handle^000000.";
648                                        close;
649                                }
650                                mes "[Mysterious Blacksmith]";
651                                mes "Hmm. You don't know enough";
652                                mes "about the Grimtooth for me to";
653                                mes "risk forging it for you. Learn";
654                                mes "more about that dagger if you";
655                                mes "really want to possess it...";
656                                close;
657                        case 3:
658                                if (dmdswrd_Q2 & 4 || dmdswrd_Q2 & 32) {
659                                        mes "[Mysterious Blacksmith]";
660                                        mes "Just bring me...";
661                                        mes "^0099FF50 Amulets^000000,";
662                                        mes "^0099FF1 Emperium^000000,";
663                                        mes "^0099FF2 Executioner's Gloves^000000,";
664                                        mes "^0099FF10 Bloody Edges^000000 and";
665                                        mes "^0099FF3 Necklaces of Oblivion^000000.";
666                                        close;
667                                }
668                                mes "[Mysterious Blacksmith]";
669                                mes "You don't know anything";
670                                mes "about the Executioner. Learn";
671                                mes "more about that sword before";
672                                mes "you consider asking me to";
673                                mes "forge that monstrocity.";
674                                close;
675                        case 4:
676                                mes "[Mysterious Blacksmith]";
677                                mes "Fine.";
678                                mes "Then bring all";
679                                mes "the items I require";
680                                mes "when you are ready.";
681                                close;
682                        }
683                case 2:
684                        mes "[Mysterious Blacksmith]";
685                        mes "So you think you're";
686                        mes "ready. Now, which sword";
687                        mes "did you want me to craft?";
688                        next;
689                        switch(select("Mysteltainn:Grimtooth:Executioner:I ch-changed my mind!")) {
690                        case 1:
691                                if (dmdswrd_Q2 & 8) {
692                                        mes "[Mysterious Blacksmith]";
693                                        mes "Mysteltainn. Hm.";
694                                        mes "Let me make sure";
695                                        mes "that you brought";
696                                        mes "everything I need to";
697                                        mes "create this sword...";
698                                        next;
699                                        if (countitem(7018) < 1) {
700                                                mes "[Mysterious Blacksmith]";
701                                                mes "Well, well.";
702                                                mes "You've forgotten";
703                                                mes "to bring ^0099FF1 Young Twig^000000,";
704                                                mes "the embodiment of the";
705                                                mes "Mysteltainn twig used to^FFFFFF ^000000 kill Baldur. Hurry and bring it...";
706                                                close;
707                                        }
708                                        if (countitem(7019) < 1) {
709                                                mes "[Mysterious Blacksmith]";
710                                                mes "Hm. You forgot to bring";
711                                                mes "^0099FF1 Loki's Whispers^000000. We need";
712                                                mes "that to imbue the sword with";
713                                                mes "immense, evil power. Go and";
714                                                mes "find that as quickly as you can! ^FFFFFF ^000000";
715                                                close;
716                                        }
717                                        if (countitem(7020) < 1) {
718                                                mes "[Mysterious Blacksmith]";
719                                                mes "Hm, you still need to";
720                                                mes "bring ^0099FF1 Mother's Nightmare^000000";
721                                                mes "to instill the power of misery";
722                                                mes "and grave portent to this blade... ^FFFFFF ^000000";
723                                                close;
724                                        }
725                                        if (countitem(7021) < 1) {
726                                                mes "[Mysterious Blacksmith]";
727                                                mes "Hm, you still need to";
728                                                mes "bring ^0099FF1 Foolishness";
729                                                mes "of the Blind^000000 to instill the";
730                                                mes "energy of tragic regret into";
731                                                mes "the curse imbued into the blade... ^FFFFFF ^000000";
732                                                close;
733                                        }
734                                        if (countitem(714) < 1) {
735                                                mes "[Mysterious Blacksmith]";
736                                                mes "You have everything";
737                                                mes "I require to forge the";
738                                                mes "Mysteltainn, but you must";
739                                                mes "still prove yourself capable";
740                                                mes "of wielding it. Bring ^0099FF1 Emperium^000000 and I will recognize your worth.";
741                                                close;
742                                        }
743                                        if (countitem(7018) > 0 && countitem(7019) > 0 && countitem(7020) > 0 && countitem(7021) > 0 && countitem(714) > 0) {
744                                                mes "[Mysterious Blacksmith]";
745                                                mes "Well done, adventurer.";
746                                                mes "All seems to be in readiness.";
747                                                mes "Give me a minute to summon";
748                                                mes "the dark power to forge the";
749                                                mes "forbidden sword, Mysteltainn.";
750                                                next;
751                                                mes "[Mysterious Blacksmith]";
752                                                mes "I... I never thought";
753                                                mes "I would ever see this";
754                                                mes "sword again. Take it,";
755                                                mes "quickly! I d-don't want";
756                                                mes "to touch it if I can avoid it.";
757                                                delitem 7018,1; //Young_Twig
758                                                delitem 7019,1; //Loki's_Whispers
759                                                delitem 7020,1; //Mother's_Nightmare
760                                                delitem 7021,1; //Foolishness_Of_Blind
761                                                delitem 714,1; //Emperium
762                                                getitem 1138,1; //Mysteltainn_
763                                                next;
764                                                mes "[Mysterious Blacksmith]";
765                                                mes "Be very careful.";
766                                                mes "Don't let yourself";
767                                                mes "be consumed by the";
768                                                mes "power of that sword!";
769                                                mes "By all means, resist";
770                                                mes "Mysteltainn's tragic curse!";
771                                                close;
772                                        }
773                                }
774                                else if (dmdswrd_Q2 & 1) {
775                                        mes "[Mysterious Blacksmith]";
776                                        mes "You want...";
777                                        mes "that sword?";
778                                        mes "Don't speak its";
779                                        mes "name so lightly!";
780                                        next;
781                                        mes "[Mysterious Blacksmith]";
782                                        mes "Do you understand the curse";
783                                        mes "on that sword? The Mysteltainn";
784                                        mes "derives its dark power from the";
785                                        mes "twig that was used to kill Baldur, god of light. Let me relate the";
786                                        mes "story as briefly as I can...";
787                                        next;
788                                        mes "[Mysterious Blacksmith]";
789                                        mes "In the era of the gods,";
790                                        mes "the beautiful, pure and";
791                                        mes "joyful Baldur was loved by";
792                                        mes "all living creatures, save for";
793                                        mes "one: Loki, the god of trickery.";
794                                        next;
795                                        mes "[Mysterious Blacksmith]";
796                                        mes "When Loki, out of jealousy,";
797                                        mes "decided to kill Baldur, the";
798                                        mes "goddess Freyja had a dream";
799                                        mes "about Baldur's death. Fearing";
800                                        mes "the realization of her dream,";
801                                        mes "she counseled with the gods.";
802                                        next;
803                                        mes "[Mysterious Blacksmith]";
804                                        mes "To protect Baldur, the gods";
805                                        mes "decided to extract an oath";
806                                        mes "to never harm Baldur from";
807                                        mes "every creature, object and";
808                                        mes "natural force. All who were";
809                                        mes "asked agreed to make this oath.";
810                                        next;
811                                        mes "[Mysterious Blacksmith]";
812                                        mes "Of all the beings and objects";
813                                        mes "in the universe, Freya only";
814                                        mes "neglected to ask one tree to";
815                                        mes "make this oath: the Mysteltainn. Freyja believed it was far too";
816                                        mes "small and insignificant to ask.";
817                                        next;
818                                        mes "[Mysterious Blacksmith]";
819                                        mes "Believing that everything";
820                                        mes "in the universe had sworn";
821                                        mes "not to harm Baldur, the gods";
822                                        mes "made it their new pastime to";
823                                        mes "throw daggers and knives at";
824                                        mes "the now nigh invincible god.";
825                                        next;
826                                        mes "[Mysterious Blacksmith]";
827                                        mes "However, Loki was determined";
828                                        mes "to kill Baldur and, disguising";
829                                        mes "himself, politely asked Freyja";
830                                        mes "if there was any object in the";
831                                        mes "world that did not take the";
832                                        mes "oath to not harm Baldur.";
833                                        next;
834                                        mes "[Mysterious Blacksmith]";
835                                        mes "Freyja suspected nothing and";
836                                        mes "told Loki about the secret of";
837                                        mes "Mysteltainn. The next time the^FFFFFF ^000000 gods played their game of throwing";
838                                        mes "objects at Baldur, Loki was there with a small Mysteltainn twig.";
839                                        next;
840                                        mes "[Mysterious Blacksmith]";
841                                        mes "Then, to compound his";
842                                        mes "treachery, Loki tricked";
843                                        mes "Hod, Baldur's blind twin";
844                                        mes "brother, into throwing the";
845                                        mes "twig into Baldur's heart. And";
846                                        mes "so, the god of light was slain.";
847                                        next;
848                                        mes "[Mysterious Blacksmith]";
849                                        mes "Over the years,";
850                                        mes "Mysteltainn has been";
851                                        mes "fashioned into the sword";
852                                        mes "that you may be familiar";
853                                        mes "with today. Its power is";
854                                        mes "strictly forbidden by the gods.";
855                                        next;
856                                        mes "[Mysterious Blacksmith]";
857                                        mes "However, if you're willing";
858                                        mes "to risk that sword's curse";
859                                        mes "for the sake of its power,";
860                                        mes "I will forge it for you if you";
861                                        mes "can bring me the following";
862                                        mes "items. They'll make sense...";
863                                        next;
864                                        mes "[Mysterious Blacksmith]";
865                                        mes "^0099FF1 Young Twig^000000,";
866                                        mes "^0099FF1 Emperium^000000,";
867                                        mes "^0099FF1 Loki's Whispers^000000,";
868                                        mes "^0099FF1 Mother's Nightmare^000000 and";
869                                        mes "^0099FF1 Foolishness of the Blind^000000.";
870                                        mes "That is what I need.";
871                                        next;
872                                        mes "[Mysterious Blacksmith]";
873                                        mes "I'm not asking for much.";
874                                        mes "You are only bringing the raw";
875                                        mes "materials to forge the sword,";
876                                        mes "and an Emperium to prove your";
877                                        mes "worthiness to me. I will wait";
878                                        mes "for your return, adventurer.";
879                                        set dmdswrd_Q2,dmdswrd_Q2 | 8;
880                                        close;
881                                }
882                                mes "[Mysterious Blacksmith]";
883                                mes "Hm. If you truly want";
884                                mes "Mysteltainn, I advise you";
885                                mes "to learn more about it. You";
886                                mes "must know the risks involved";
887                                mes "in wielding that sort of power... ^FFFFFF ^000000";
888                                close;
889                        case 2:
890                                if (dmdswrd_Q2 & 16) {
891                                        mes "[Mysterious Blacksmith]";
892                                        mes "You want to me";
893                                        mes "to forge Grimtooth.";
894                                        mes "First, let me check";
895                                        mes "if you brought all";
896                                        mes "the items I require.";
897                                        next;
898                                        if (countitem(7002) < 100) {
899                                                mes "[Mysterious Blacksmith]";
900                                                mes "Hm. I still need";
901                                                mes "^0099FF100 Ogre Teeth^000000 to";
902                                                mes "create a blade that can";
903                                                mes "withstand the might of the";
904                                                mes "Grimtooth's curse magic.";
905                                                mes "Go and bring them soon.";
906                                                close;
907                                        }
908                                        if (countitem(724) < 5) {
909                                                mes "[Mysterious Blacksmith]";
910                                                mes "In order to place";
911                                                mes "the curse that grants";
912                                                mes "the Grimtooth its immense";
913                                                mes "power, I need you to bring";
914                                                mes "^0099FF5 Cursed Rubies^000000. Hurry";
915                                                mes "and bring them to me soon.";
916                                                close;
917                                        }
918                                        if (countitem(7023) < 10) {
919                                                mes "[Mysterious Blacksmith]";
920                                                mes "Hm. I still need";
921                                                mes "^0099FF10 Blades of Darkness^000000";
922                                                mes "in order to for me to forge";
923                                                mes "the Grimtooth. Bring those";
924                                                mes "here as soon as you can.";
925                                                close;
926                                        }
927                                        if (countitem(7022) < 1) {
928                                                mes "[Mysterious Blacksmith]";
929                                                mes "Hm. You almost have";
930                                                mes "everything ready, but";
931                                                mes "I'll need ^0099FF1 Broken Sword";
932                                                mes "Handle^000000 in order to forge";
933                                                mes "the Grimtooth. Hurry and";
934                                                mes "bring me one of those...";
935                                                close;
936                                        }
937                                        if (countitem(714) < 1) {
938                                                mes "[Mysterious Blacksmith]";
939                                                mes "You have everything I need";
940                                                mes "to create the sword, but I won't forge it until you prove that you";
941                                                mes "are capable of controlling its";
942                                                mes "power. Bring me 1 Emperium";
943                                                mes "as proof of your worthiness.";
944                                                close;
945                                        }
946                                        if (countitem(7002) > 99 && countitem(724) > 4 && countitem(7023) > 9 && countitem(7022) > 0 && countitem(714) > 0) {
947                                                mes "[Mysterious Blacksmith]";
948                                                mes "I see that you have";
949                                                mes "come fully prepared.";
950                                                mes "Perhaps you have grave";
951                                                mes "need of Grimtooth's power.";
952                                                mes "Give me a moment as I forge";
953                                                mes "this accursed sword for you...";
954                                                next;
955                                                mes "[Mysterious Blacksmith]";
956                                                mes "There, it's finished!";
957                                                mes "Now hurry and take it!";
958                                                mes "I, I don't want to handle";
959                                                mes "the Grimtooth longer than";
960                                                mes "I have to! You'll understand";
961                                                mes "soon enough once you use it...";
962                                                delitem 7002,100; //Ogre_Tooth
963                                                delitem 724,5; //Cardinal_Jewel_
964                                                delitem 7023,10; //Blade_Lost_In_Darkness
965                                                delitem 7022,1; //Old_Hilt
966                                                delitem 714,1; //Emperium
967                                                getitem 1237,1; //Grimtooth_
968                                                next;
969                                                mes "[Mysterious Blacksmith]";
970                                                mes "I know that you might";
971                                                mes "have good intentions for";
972                                                mes "Grimtooth's power, but do";
973                                                mes "not overestimate yourself!";
974                                                mes "Always be wary of Grimtooth,";
975                                                mes "and don't let it eat your soul!";
976                                                close;
977                                        }
978                                }
979                                else if (dmdswrd_Q2 & 2) {
980                                        mes "[Mysterious Blacksmith]";
981                                        mes "Ah, yes. You must be";
982                                        mes "wondering how such a small";
983                                        mes "dagger can contain such power.";
984                                        mes "It's simple. I cast forbidden";
985                                        mes "curse magic to inbue the dagger^FFFFFF ^000000 with its awesome destructiveness.";
986                                        next;
987                                        mes "[Mysterious Blacksmith]";
988                                        mes "The curse I cast is so";
989                                        mes "powerful that if I use it on";
990                                        mes "a metal dagger, it would";
991                                        mes "immediately melt down. Ogre";
992                                        mes "tooth is the only material that";
993                                        mes "can withstand the curse magic.";
994                                        next;
995                                        mes "[Mysterious Blacksmith]";
996                                        mes "Of course, it's only";
997                                        mes "fair to warn you that";
998                                        mes "the power of the curse";
999                                        mes "is such that the more you";
1000                                        mes "use the Grimtooth, the more^FFFFFF ^000000 it burns away at your very soul...";
1001                                        next;
1002                                        mes "[Mysterious Blacksmith]";
1003                                        mes "I am willing to forge";
1004                                        mes "the Grimtooth if you can";
1005                                        mes "prove worthy to wield its";
1006                                        mes "power and provide all of the";
1007                                        mes "materials I need to create it.";
1008                                        next;
1009                                        mes "[Mysterious Blacksmith]";
1010                                        mes "I will need...";
1011                                        mes "^0099FF1 Emperium^000000,";
1012                                        mes "^0099FF100 Ogre Teeth^000000,";
1013                                        mes "^0099FF10 Blades of Darkness^000000,";
1014                                        mes "^0099FF5 Cursed Rubies^000000 and";
1015                                        mes "^0099FF1 Broken Sword Handle^000000.";
1016                                        next;
1017                                        mes "[Mysterious Blacksmith]";
1018                                        mes "I don't need the";
1019                                        mes "Emperium to create";
1020                                        mes "the accursed sword, but I do";
1021                                        mes "require you to prove that you";
1022                                        mes "are worthy of the Grimtooth's";
1023                                        mes "power. Can you truly handle it?";
1024                                        set dmdswrd_Q2,dmdswrd_Q2 | 16;
1025                                        close;
1026                                }
1027                                mes "[Mysterious Blacksmith]";
1028                                mes "Hm. I can't even consider";
1029                                mes "forging Grimtooth for you";
1030                                mes "when you know so very little";
1031                                mes "about it. You better learn more";
1032                                mes "about that sword before you";
1033                                mes "ask me about it again.";
1034                                close;
1035                        case 3:
1036                                if (dmdswrd_Q2 & 32) {
1037                                        mes "[Mysterious Blacksmith]";
1038                                        mes "The Executioner sword.";
1039                                        mes "Let me see if you've come";
1040                                        mes "prepared to wield that blade";
1041                                        mes "with your own two hands...";
1042                                        next;
1043                                        if (countitem(7017) < 2) {
1044                                                mes "[Mysterious Blacksmith]";
1045                                                mes "Hm. In order for me";
1046                                                mes "to forge the Executioner,";
1047                                                mes "I need you to bring me";
1048                                                mes "^0099FF2 Executioner's Gloves^000000.";
1049                                                close;
1050                                        }
1051                                        if (countitem(7024) < 10) {
1052                                                mes "[Mysterious Blacksmith]";
1053                                                mes "In order to craft the";
1054                                                mes "blade, I need at least";
1055                                                mes "^0099FF10 Bloody Edges^000000. Find";
1056                                                mes "those as quickly as you";
1057                                                mes "can and bring them to me.";
1058                                                close;
1059                                        }
1060                                        if (countitem(1008) < 3) {
1061                                                mes "[Mysterious Blacksmith]";
1062                                                mes "In order to enchant";
1063                                                mes "the Executioner with";
1064                                                mes "its dark power, I will";
1065                                                mes "need you to bring me";
1066                                                mes "^0099FF3 Necklaces of Oblivion^000000.";
1067                                                mes "Go, hurry and get them!";
1068                                                close;
1069                                        }
1070                                        if (countitem(609) < 50) {
1071                                                mes "[Mysterious Blacksmith]";
1072                                                mes "Hm. You've forgotten to";
1073                                                mes "bring me ^0099FF50 Amulets^000000. I need";
1074                                                mes "those in order to imbue the";
1075                                                mes "incredible energies that";
1076                                                mes "give the Executioner its";
1077                                                mes "monstrous strength...";
1078                                                close;
1079                                        }
1080                                        if (countitem(714) < 1) {
1081                                                mes "[Mysterious Blacksmith]";
1082                                                mes "You have everything I need";
1083                                                mes "to forge the Executioner, but";
1084                                                mes "I'm still unsure of whether you";
1085                                                mes "are capable of handling its";
1086                                                mes "power. My fears will be allayed";
1087                                                mes "if you bring ^0099FF1 Emperium^000000.";
1088                                                close;
1089                                        }
1090                                        if (countitem(7017) > 1 && countitem(7024) > 9 && countitem(1008) > 2 && countitem(609) > 49 && countitem(714) > 0) {
1091                                                mes "[Mysterious Blacksmith]";
1092                                                mes "Great, I see that you've";
1093                                                mes "prepared everything that";
1094                                                mes "I asked. Give me a moment";
1095                                                mes "while I summon the dark";
1096                                                mes "forces required to forge";
1097                                                mes "the Executioner...";
1098                                                next;
1099                                                mes "[Mysterious Blacksmith]";
1100                                                mes "It's been a long time";
1101                                                mes "since I've seen this";
1102                                                mes "terrifying sword. Now";
1103                                                mes "take it! Be wary, and don't";
1104                                                mes "let its bloodlust consume you!";
1105                                                delitem 7017,2; //Executioner's_Mitten
1106                                                delitem 7024,10; //Bloody_Edge
1107                                                delitem 1008,3; //Frozen_Heart
1108                                                delitem 609,50; //Amulet
1109                                                getitem 1169,1; //Executioner_
1110                                                close;
1111                                        }
1112                                }
1113                                else if (dmdswrd_Q2 & 4) {
1114                                        mes "[Mysterious Blacksmith]";
1115                                        mes "So you're telling me that";
1116                                        mes "you want a sword that's been";
1117                                        mes "cursed by all the souls that've";
1118                                        mes "died from the thousands of death sentences it has carried out?";
1119                                        mes "Ha ha ha! Very interesting!";
1120                                        next;
1121                                        mes "[Mysterious Blacksmith]";
1122                                        mes "Yes... Each time this";
1123                                        mes "sword cut down a guilty";
1124                                        mes "criminal, the blade was";
1125                                        mes "cursed by the rage and";
1126                                        mes "regret of the slain.";
1127                                        next;
1128                                        mes "[Mysterious Blacksmith]";
1129                                        mes "Over time, the Executioner";
1130                                        mes "accumulated a truly dreadful";
1131                                        mes "power from the hatred of those";
1132                                        mes "it had killed. However, he who";
1133                                        mes "uses this sword risks becoming consumed by insanity and hatred.";
1134                                        next;
1135                                        mes "[Mysterious Blacksmith]";
1136                                        mes "The last person for whom";
1137                                        mes "I created this sword asked";
1138                                        mes "me to destroy it, fearing that";
1139                                        mes "it would corrupt his mind with";
1140                                        mes "its bloodlust. But if you think^FFFFFF ^000000 you can endure, I may forge it...";
1141                                        next;
1142                                        mes "[Mysterious Blacksmith]";
1143                                        mes "Just bring me...";
1144                                        mes "^0099FF50 Amulets^000000,";
1145                                        mes "^0099FF1 Emperium^000000,";
1146                                        mes "^0099FF2 Executioner's Gloves^000000,";
1147                                        mes "^0099FF10 Bloody Edges^000000 and";
1148                                        mes "^0099FF3 Necklaces of Oblivion^000000.";
1149                                        next;
1150                                        mes "[Mysterious Blacksmith]";
1151                                        mes "Those are the items I need";
1152                                        mes "to create a sword imbued with";
1153                                        mes "evil power. As for the Emperium, consider it my test to see if you";
1154                                        mes "are truly capable of wielding";
1155                                        mes "the accursed Executioner...";
1156                                        set dmdswrd_Q2,dmdswrd_Q2 | 4;
1157                                        close;
1158                                }
1159                                mes "[Mysterious Blacksmith]";
1160                                mes "Hmpf. I don't think";
1161                                mes "you understand enough";
1162                                mes "about the Executioner to";
1163                                mes "ask me to forge it. You better";
1164                                mes "learn more about that accursed";
1165                                mes "sword if you really want it...";
1166                                close;
1167                        case 4:
1168                                mes "[Mysterious Blacksmith]";
1169                                mes "Hmm...?";
1170                                mes "That a fact?";
1171                                close;
1172                        }
1173                case 3:
1174                        mes "[Mysterious Blacksmith]";
1175                        mes "Hmpf...";
1176                        mes "Well then, come";
1177                        mes "back when you know";
1178                        mes "exactly what you want";
1179                        mes "from me, adventurer.";
1180                        close;
1181                }
1182        }
1183}
Note: See TracBrowser for help on using the browser.