root/npc/quests/quests_airship.txt @ 5

Revision 1, 94.9 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Airship Related Quests
3//===== By: ==================================================
4// Samuray22
5//===== Current Version: =====================================
6//= 1.3a
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= Quest from the airplane to einbroch and einbech.
11//= Reward: -Free Ticket for Flyship.
12//=         -Free System to Repair.
13//= Quest about how work the airship
14//= Reward: -Base Experience 200.000
15//=         -Job Experience 10.000
16//===== Additional Comments: =================================
17//= 1.0 First Beta.
18//= 1.1 Added Heart Fragment quest. [SinSloth]
19//= 1.2 Change the laboratory code text to make it easier to
20//= understand. [SinSloth]
21//= 1.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
22//= 1.3a Corrected a Typo error ";;". [Samuray22]
23//============================================================
24
25//=======================================================================================================//
26//                                      Airship Ticket Quest
27//=======================================================================================================//
28
29//====================Kain Himere=============================
30
31airplane,47,61,1        script  Crewman 833,{
32        if(kain_ticket==4) {
33                mes "[Kain Himere]";
34                mes "Ah...";
35                mes "Here it is!";
36                next;
37                mes "[Kain Himere]";
38                mes "A few days ago, a customer from Einbroch left this on the Airship. He contacted us later to let us know that he can't come back to the Airship to get it.";
39                next;
40                mes "[Kain Himere]";
41                mes "His name is Defru Ark. Currently, he's staying at the Einbroch Hotel. Would you be willing to deliver this for me?";
42                next;
43                mes "[Kain Himere]";
44                mes "It's a strange favor to ask, but I'll pay you back as soon as you return.";
45                next;
46                set kain_ticket, 5;
47                mes "^3355FFKain Himere has given you a small box.^000000";
48                close;
49        }
50        mes "[Kain Himere]";
51        mes "Welcome to the Airship. If you have any questions or need any assistnace, please don't hesisitate to let me or one of the other crewman know.";
52        next;
53        if(kain_ticket==0) {
54                switch( select( "About the Airship...", "Leave a Comment" )) {
55                case 1:
56                        set kain_ticket, 1;
57                        mes "[Kain Himere]";
58                        mes "Is this your first time flying? Hahaha, I understand how nervous you might be since I used to feel the same way.";
59                        next;
60                        mes "[Kain Himere]";
61                        mes "Our country has made rapid progress in the field of science. Scientific advances have obviously affected our way of life, sort of like how magic improved life in Rune-Migarts.";
62                        next;
63                        mes "[Kain Himere]";
64                        mes "In the Schwaltzwald Republic, we have many scholars who've invented a ship that can fly between towns.";
65                        next;
66                        mes "[Kain Himere]";
67                        mes "It's powered through just a little piece from the Heart of Ymir. This flying ship is a source of pride and joy for our nation.";
68                        next;
69                        mes "["+strcharinfo(0)+"]";
70                        mes "Is there any other transportation?";
71                        next;
72                        mes "[Kain Himere]";
73                        mes "Weeeell, there's a train that runs between Einbech and Einbroch. But other than that, I guess you'd have to walk. Hahahaha~";
74                        close;
75                case 2:
76                        mes "[Kain Himere]";
77                        mes "You wish to leave";
78                        mes "a comment about our";
79                        mes "service? Tell me your";
80                        mes "message and I'll report";
81                        mes "it to the higher ups.";
82                        mes "To cancel, press '0'.";
83                        next;
84                        input @comment$;
85                        if (@comment$ == "0") {
86                                mes "[Kain Himere]";
87                                mes "Ah, well, if you";
88                                mes "have any helpful criticism about our service, feel free to leave me with your comments at any time.";
89                                close;
90                        } else {
91                                mes "["+strcharinfo(0)+"]";
92                                mes ""+@comment$+".";
93                                next;
94                                mes "[Kain Himere]";
95                                mes "Hmmmm...";
96                                mes "I see. Well, I'll";
97                                mes "send your message";
98                                mes "to my superiors as";
99                                mes "soon as possible.";
100                                mes "Thank you very much.";
101                                close;
102                        }
103                }
104        } else if(kain_ticket==1) {
105                switch( select( "About the Airship...", "Make a remark" )) {
106                case 1:
107                        set kain_ticket, 2;
108                        mes "[Kain Himere]";
109                        mes "You want to hear more";
110                        mes "about the Airship? Hmm, I don't know too many stories that I could tell you.";
111                        next;
112                        mes "[Kain Himere]";
113                        mes "Well, it's rumored that this really huge corporation runs this Airship. Supposedly, they've got their hands in all sorts of enterprises.";
114                        next;
115                        mes "[Kain Himere]";
116                        mes "Since the Airships are our form of national transportation, I guess that corporation makes a lot of money. Good news for them, huh?";
117                        close;
118                case 2:
119                        mes "[Kain Himere]";
120                        mes "You wish to leave";
121                        mes "a comment about our";
122                        mes "service? Tell me your";
123                        mes "message and I'll report";
124                        mes "it to the higher ups.";
125                        mes "To cancel, press '0'.";
126                        next;
127                        input @comment$;
128                        if (@comment$=="0") {
129                                mes "[Kain Himere]";
130                                mes "Ah, well, if you";
131                                mes "have any helpful criticism about our service, feel free to leave me with your comments at any time.";
132                                close;
133                        } else {
134                                mes "["+strcharinfo(0)+"]";
135                                mes ""+@comment$+".";
136                                next;
137                                mes "[Kain Himere]";
138                                mes "Hmmmm...";
139                                mes "I see. Well, I'll";
140                                mes "send your message";
141                                mes "to my superiors as";
142                                mes "soon as possible.";
143                                mes "Thank you very much.";
144                                close;
145                        }
146                }
147        } else if(kain_ticket==2) {
148                mes "["+strcharinfo(0)+"]";
149                mes "About the Airship...";
150                next;
151                mes "[Kain Himere]";
152                mes "You must really want to know all about the Airship, don't you? I'm sorry, but I don't know much more than what I've already told you.";
153                next;
154                mes "[Kain Himere]";
155                mes "I guess if you'd want to know more, you should study to become a Sage in Juno and do your own Airship research...";
156                next;
157                mes "[Kain Himere]";
158                mes "^666666*Sob...*^000000";
159                mes "E-excuse me...";
160                mes "^666666*Sniff*^000000";
161                next;
162                switch( select( "What the hell...?", "What's wrong?" )) {
163                case 1:
164                        mes "[Kain Himere]";
165                        mes "Oh, no there's no";
166                        mes "need to apologize. I've kept you long enough as it is. I hope you travel safely, adventurer.";
167                        close;
168                case 2:
169                        mes "[Kain Himere]";
170                        mes "You...";
171                        mes "I'm sorry, it's";
172                        mes "a long story.";
173                        mes "But... if you understand me, thanks a lot to listen my story.";
174                        next;
175                        mes "[Kain Himere]";
176                        mes "Oh alright.";
177                        mes "I might as well";
178                        mes "get this off my chest.";
179                        mes "I guess my story begins";
180                        mes "when I was a very young man...";
181                        next;
182                        mes "[Kain Himere]";
183                        mes "I...";
184                        mes "I used to be a miner in Einbech, a small mining town beside of Einbroch. I was hot-blooded and short-tempered.";
185                        next;
186                        mes "[Kain Himere]";
187                        mes "But working with my friends and staking our lives on our mining picks brought me peace of mind. It was good, hard work.";
188                        next;
189                        mes "[Kain Himere]";
190                        mes "The lode of Einvech is so huge, it even connects to Mount Mjolnir in Rune-Midgard. It's full of ores and that lode used to be everything to our little town...";
191                        next;
192                        mes "[Kain Himere]";
193                        mes "Then the factories started popping up. All the ores were mined were moved to those factories, and the smokestacks never stopped churning.";
194                        next;
195                        mes "[Kain Himere]";
196                        mes "More miners moved to the factories and the work got a little lonelier. But I kept at it-- I loved working on the land that much.";
197                        next;
198                        mes "[Kain Himere]";
199                        mes "But then, the accident happened and I couldn't use my right arm the way I used to. So I had to quit my job as a miner...";
200                        next;
201                        mes "["+strcharinfo(0)+"]";
202                        mes "I'm sorry to hear that.";
203                        next;
204                        mes "[Kain Himere]";
205                        mes "Yeah...";
206                        mes "I felt horrible when it happened. That was the worst time in my life...";
207                        next;
208                        mes "[Kain Himere]";
209                        mes "Right after I quit mining, I was deeply depressed. I couldn't think of life without mining and suffered from depression.";
210                        next;
211                        mes "[Kain Himere]";
212                        mes "I pretty much lost my enthusiasm for life. I started turning to drink and away from my family. It was such a stupid thing to do.";
213                        next;
214                        mes "[Kain Himere]";
215                        mes "My wife was so supportive. Even though I spent my days drinking, so took on a job and tried her best to sooth my sorrow.";
216                        next;
217                        mes "[Kain Himere]";
218                        mes "^666666*Sob*^000000";
219                        mes "I only realized how much I made her suffer after she died.";
220                        next;
221                        mes "[Kain Himere]";
222                        mes "Then it was me and just my daughter. I had to leave her behind with a neighbor while I tried to find work and inner peace.";
223                        next;
224                        mes "[Kain Himere]";
225                        mes "I wandered from town to town and lived a pretty wild life before I could pick myself back up again.";
226                        next;
227                        mes "[Kain Himere]";
228                        mes "Finally, I became a crewman on this Airship. It's been twenty years... I can't even remember my daughter's name.";
229                        next;
230                        mes "["+strcharinfo(0)+"]";
231                        mes "Where is she by now?";
232                        next;
233                        mes "[Kain Himere]";
234                        mes "I went to the house where my neighbor lived, but they're not there anymore. But it's not like I deserve to see her again...";
235                        next;
236                        mes "[Kain Himere]";
237                        mes "^666666*Sob*^000000 I've lived such a terrible life! But thank you for listening to me.";
238                        next;
239                        mes "[Kain Himere]";
240                        mes "I'm sorry that you had to hear all of that. Now tell me, where are you headed?";
241                        next;
242                        mes "[Kain Himere]";
243                        mes "By the way, where are you heading to?";
244                        next;
245                        switch( select( "Einbroch", "Juno" )) {
246                        case 1:
247                                set kain_ticket, 4;
248                                mes "["+strcharinfo(0)+"]";
249                                mes "I'm heading";
250                                mes "to Einbroch.";
251                                next;
252                                mes "[Kain Himere]";
253                                mes "Perfect...!";
254                                mes "Now, let me find";
255                                mes "that thing. Hold on...";
256                                close;
257                        case 2:
258                                set kain_ticket, 3;
259                                mes "["+strcharinfo(0)+"]";
260                                mes "I'm heading";
261                                mes "to Juno.";
262                                next;
263                                mes "[Kain Himere]";
264                                mes "Ah, I see...";
265                                mes "There was something";
266                                mes "I needed sent to Einbroch. Anyway, I hope you have a good trip. Oh, and thanks for listening.";
267                                close;
268                        }
269                }                       
270        } else if(@kain_ticket==3) {
271                mes "[Kain Himere]";
272                mes "Oh, how are you?";
273                mes "Right, there's a favor I have to ask of you. Where are you heading?";
274                next;
275                switch( select( "Einbroch", "Juno" )) {
276                case 1:
277                        set kain_ticket, 4;
278                        mes "["+strcharinfo(0)+"]";
279                        mes "I'm heading";
280                        mes "to Einbroch.";
281                        next;
282                        mes "[Kain Himere]";
283                        mes "Perfect...!";
284                        mes "Now, let me find";
285                        mes "that thing. Hold on...";
286                        close;
287
288                case 2:
289                        mes "["+strcharinfo(0)+"]";
290                        mes "I am heading to Juno.";
291                        next;
292                        mes "[Kain Himere]";
293                        mes "Ah, I see...";
294                        mes "There was something";
295                        mes "I needed sent to Einbroch. If you're not going there, then don't worry about it.";
296                        close;
297                }
298        } else if(kain_ticket > 4 && kain_ticket < 10) {
299                mes "[Kain Himere]";
300                mes "Oh hello!";
301                mes "Things are a little busy right now, but did you delive-- Oh! Wait, mister!";
302                next;
303                mes "^3355FFKain seems too busy to speak to you right now...^000000";
304                close;
305        } else if(kain_ticket== 10) {
306                mes "[Kain Himere]";
307                mes "Welcome back to the Airship. So did you deliver that little box safely?";
308                next;
309                mes "["+strcharinfo(0)+"]";
310                mes "No, unfortunately. He was away when I got there. Let me give this box back to you.";
311                next;
312                mes "[Kain Himere]";
313                mes "Oh...";
314                mes "What should I do now? Oh well, sorry for putting you through so much trouble.";
315                next;
316                switch( select( "Do you know 'Miner's Song?'", "Do you remember 'Tarsha?'" )) {
317                case 1:
318                        mes "[Kain Himere]";
319                        mes "'Miner's Song...'";
320                        mes "I miss that singing that at the mines. It was my very favorite when I was young.";
321                        next;
322                        mes "[Kain Himere]";
323                        mes "I think that when I used to sing it, my daughter would run to me and sing along. Yeah...";
324                        close;
325                case 2:
326                        mes "[Kain Himere]";
327                        mes "T-Tarsha?";
328                        mes "Why is that name";
329                        mes "so familiar...?";
330                        next;
331                        mes "["+strcharinfo(0)+"]";
332                        mes "I met a little girl in Einbroch who was singing 'Miner's Song.' Apparently, her mother, Tarsha, taught it to her.";
333                        next;
334                        mes "[Kain Himere]";
335                        mes "Interesting.";
336                        mes "But usually only";
337                        mes "miners know that";
338                        mes "song. What does this";
339                        mes "have to do with me?";
340                        next;
341                        mes "["+strcharinfo(0)+"]";
342                        mes "Well, Tarsha remembers her father singing her song, so it's possible that ^000066he^000000 was a miner. And since her father disappeared years ago...";
343                        next;
344                        mes "[Kain Himere]";
345                        mes "Poor girl...!";
346                        mes "Her father";
347                        mes "just left her?";
348                        mes "Why, she's just like...";
349                        next;
350                        mes "[Kain Himere]";
351                        mes "Wait...";
352                        mes "Sweet Christ...";
353                        mes "The miner who taught Tarsha that song might have been ^0000FFme^000000.";
354                        next;
355                        mes "["+strcharinfo(0)+"]";
356                        mes "I guess we can't be too sure for now. Do you have anything that might prove you're Tarsha's father?";
357                        next;
358                        mes "[Kain Himere]";
359                        mes "Ehhmmm...";
360                        mes "Before I left town, I buried some of my stuff ^3131FFunderneath a tree in Einbech^000000. I can't remember where, but I did bury my wife's journal with my things.";
361                        next;
362                        mes "[Kain Himere]";
363                        mes "Since she kept track of everything, I think there'd be something about our daughter in there. I'm sorry, but I can't leave the Airship.";
364                        next;
365                        mes "[Kain Himere]";
366                        mes "Would be so kind as to help me by finding that journal and seeing if Tarsha is my daughter?";
367                        set kain_ticket, 11;
368                        close;
369                }
370        } else if(kain_ticket == 11 || kain_ticket == 12) {
371                mes "[Kain Himere]";
372                mes "My wife's journal is buried ^3131FFunderneath a tree in Einbech^000000. Please find it and see if Tarsha is my daughter.";
373                close;
374        } else if(kain_ticket == 13) {
375                mes "^3355FFYou better fulfill Kain's request to find his wife's journal in Einbech before you speak to him again.^000000";
376                close;
377        } else if(kain_ticket == 14) {
378                if (countitem(7276)==1) {
379                        mes "^3355FFYou gave Kain his wife's journal and told him that Tarsha really is is daughter, and currently has a job in Einbech.^000000";
380                        next;
381                        mes "^3355FFKain's eyes welled with tears as he trembled with joy.^000000";
382                        next;
383                        mes "[Kain Himere]";
384                        mes "She must have";
385                        mes "had a hard time...";
386                        mes "But she doesn't";
387                        mes "hate me at all.";
388                        next;
389                        mes "[Kain Himere]";
390                        mes "Rashelle?";
391                        mes "Can you see me?";
392                        mes "Can I be this happy?";
393                        mes "I'm so sorry, my love...";
394                        mes "^666666*Sob...*^000000";
395                        next;
396                        mes "[Kain Himere]";
397                        mes "Thank you for all of your help, youngster. And please take this as a token of my gratitude.";
398                        next;
399                        mes "[Kain Himere]";
400                        mes "I know this isn't much, but please understand that it's all I can give you. God bless you for your all your help!";
401                        delitem 7276, 1;
402                        set kain_ticket, 15;
403                        getitem 7311, 4;
404                        close;
405                } else {
406                        mes "^3355FFHmmm...";
407                        mes "It would be better if you approached Kain and bring the Doodled Letter that you received.^000000";
408                        close;
409                }
410        } else if(kain_ticket >= 15) {
411                mes "[Kain Himere]";
412                mes "Oh, how are you";
413                mes "lately, my friend?";
414                mes "I've been doing great,";
415                mes "especially since you've";
416                mes "helped me find my daughter.";
417                mes "Enjoy your travels~";
418                close;
419        }
420}
421
422//====================Empty Room 201==========================
423
424ein_in01,227,279,5      script  door_ein        -1,5,5,{
425OnTouch:
426        if (kain_ticket == 5) {
427                set kain_ticket, 6;
428                mes "["+strcharinfo(0)+"]";
429                mes "Excuse me...?";
430                next;
431                mes "^3355FFNo one's here!^000000";
432                next;
433                mes "["+strcharinfo(0)+"]";
434                mes "This must be the room...";
435                mes "But where the hell is he?";
436                mes "I can't just leave this stuff here if he won't come back.";
437                next;
438                mes "["+strcharinfo(0)+"]";
439                mes "Oh well...";
440                mes "I guess I can";
441                mes "just give this";
442                mes "back to Kain.";
443                close;
444        }
445}
446
447//====================Elle Cherno=============================
448
449ein_in01,261,241,5      script  Elle Cherno     703,3,3,{
450OnTouch:
451        mes "[Elle Cherno]";
452        mes "Let's get to work";
453        mes "fear-less comraaades~!";
454        mes "Do our best! Nothing";
455        mes "can stop us, lads~!";
456        if(kain_ticket == 6) {
457                next;
458                switch( select( "Hello!", "What are you singing?")) {
459                case 1:
460                        mes "[Elle Cherno]";
461                        mes "Let's get to work";
462                        mes "fear-less comraaades~!";
463                        mes "Do our best! Nothing";
464                        mes "can stop us, lads~!";
465                        next;
466                        mes "[Elle Cherno]";
467                        mes "I like this song lots!";
468                        mes "Especially when I yell";
469                        mes "out 'comrades!'";
470                        close;
471                case 2:
472                        set kain_ticket, 7;
473                        mes "[Elle Cherno]";
474                        mes "This...?";
475                        mes "It's the Miner's Song!";
476                        next;
477                        mes "[Elle Cherno]";
478                        mes "Daddy doesn't like it too much, but mommy likes it a lot and she sings it too!";
479                        next;
480                        mes "[Elle Cherno]";
481                        mes "I think my mommy remembers something about this song. I think it's something sad.";
482                        next;
483                        mes "[Elle Cherno]";
484                        mes "Jus' today she heard it and she looked like she was going to cry. ^333333*Gasp!*^000000 Do you think she's sick?!";
485                        next;
486                        mes "[Elle Cherno]";
487                        mes "Oh no! Hey, you're a grownup! Can see if my mommy is sick for me? Please?";
488                        next;
489                        mes "[Elle Cherno]";
490                        mes "Our house is behind the Hotel. So can see my mommy and tell me if she's not feeling good?";
491                        close;
492                }
493        } else if(kain_ticket == 7) {
494                next;
495                mes "[Elle Cherno]";
496                mes "Our house is";
497                mes "right behind";
498                mes "the Hotel. Will";
499                mes "you go and see";
500                mes "my mommy for me?";
501                close;
502        } else if(kain_ticket == 13) {
503                next;
504                //Check if you can carry the Picture Letter.
505                 if (checkweight(7276,1)) {
506                        mes "[Elle Cherno]";
507                        mes "You saw my grandpa?";
508                        mes "You're his friend,";
509                        mes "right? A-are you";
510                        mes "gonna see him later?";
511                        next;
512                        mes "[Elle Cherno]";
513                        mes "I made something for him. I don't know how to write, but I made this letter as best I can. Will you promise to give this to him for me? Please?";
514                        next;
515                        mes "^3355FFElle put a big";
516                        mes "doodled message";
517                        mes "in your hand.^000000";
518                        set kain_ticket, 14;
519                        getitem 7276, 1; //Picture Letter,
520                        close;
521                } else {
522                        mes "[Elle Cherno]";
523                        mes "Hey! I have something to give you, but you have too much stuff already. Will you come back later?";
524                        close;
525                }
526        }
527        close;
528}
529
530//====================Theo Cherno=============================
531
532ein_in01,123,94,1       script  Theo Cherno     851,{
533        if(kain_ticket == 7) {
534                callfunc "cherno";
535                set kain_ticket, 8;
536                close;
537        } else if(kain_ticket > 7 && kain_ticket < 10) {
538                mes "[Theo Cherno]";
539                mes "You are very kind.";
540                close;
541        } else if(kain_ticket > 9 && kain_ticket < 13) {
542                mes "[Theo Cherno]";
543                mes "Are you sure";
544                mes "that you can find";
545                mes "her father? Oh...!";
546                mes "You're a godsend!";
547                close;
548        } else if(kain_ticket > 12) {
549                Emotion 18, "Theo Cherno";
550                mes "[Theo Cherno]";
551                mes "I'm so happy";
552                mes "for my wife.";
553                mes "I... I don't know";
554                mes "how to thank you.";
555                close;
556        } else {
557                mes "[Theo Cherno]";
558                mes "Hmm...";
559                mes "Shall we talk";
560                mes "later? I'm pretty";
561                mes "busy trying to fix";
562                mes "this thing at the moment.";
563                close;
564        }
565}
566
567//====================Tarsha Cherno===========================
568
569ein_in01,125,99,3       script  Tarsha Cherno   850,{
570        if(kain_ticket == 7) {
571                callfunc "cherno";
572                set kain_ticket, 8;
573                close;
574        } else if(kain_ticket == 8) {
575                mes "[Tarsha Cherno]";
576                mes "Although these contraptions aren't worth showing off, we've put a lot of work into inventing these machines.";
577                close;
578        } else if(kain_ticket == 9) {
579                mes "["+strcharinfo(0)+"]";
580                mes "Ma'am, you have a scar on your shoulder. Is that from an accident?";
581                next;
582                mes "[Tarsha Cherno]";
583                mes "Oh this...?";
584                mes "It's from years ago.";
585                mes "I guess I was quite";
586                mes "the trouble maker to";
587                mes "the people who raised me.";
588                next;
589                mes "[Tarsha Cherno]";
590                mes "You see, I lose my parents when I was very young. It was only later that I realized that I was raised by foster parents.";
591                next;
592                mes "[Tarsha Cherno]";
593                mes "My foster-mother told me that my real mother died long ago, but no one's sure if my real father is still alive.";
594                next;
595                mes "[Tarsha Cherno]";
596                mes "I tried my best to make my foster-mother happy, but sadly, I was too hot headed and rebellious.";
597                next;
598                mes "[Tarsha Cherno]";
599                mes "In the end, I left home and studied mechanics. That's how I met my husband. Meeting him is the greating thing that's ever happened to me!";
600                next;
601                mes "["+strcharinfo(0)+"]";
602                mes "By the way,";
603                mes "I heard your";
604                mes "daughter singing";
605                mes "some sort of Miner's Song.";
606                next;
607                mes "[Theo Cherno]";
608                mes "I don't understand";
609                mes "why that she likes";
610                mes "such a robust song";
611                mes "for men! Haha, this";
612                mes "is all your fault, Tarsha.";
613                Emotion 29, "Theo Cherno";
614                next;
615                mes "[Tarsha Cherno]";
616                mes "Hoho.";
617                mes "I was too young to remember it clearly, but I'm sure my real father loved that song.";
618                next;
619                mes "[Tarsha Cherno]";
620                mes "I barely recall that he used to sing it while cleaning our old house. Yes, I don't remember what he looked like, but he must have been a miner.";
621                next;
622                mes "["+strcharinfo(0)+"]";
623                mes "A miner...?";
624                mes "(Wait, that crewman, Kain Himere! He's a miner who lost his daughter!)";
625                next;
626                mes "["+strcharinfo(0)+"]";
627                mes " !!!!!!";
628                next;
629                mes "["+strcharinfo(0)+"]";
630                mes "Tarsha...";
631                mes "Your father";
632                mes "may still be";
633                mes "alive!";
634                next;
635                mes "[Tarsha Cherno]";
636                mes "...What?";
637                next;
638                mes "["+strcharinfo(0)+"]";
639                mes "I've got to go check something now, but hopefully I'll be back soon with good news!";
640                set kain_ticket, 10;
641                close;
642        } else if(kain_ticket == 10 || kain_ticket == 11) {
643                mes "["+strcharinfo(0)+"]";
644                mes "I know someone who might be your father! Just wait for me, hopefully I'll bering good news soon!";
645                close;
646        } else if(kain_ticket == 12) {
647                mes "[Tarsha Cherno]";
648                mes "Oh, welcome back.";
649                mes "So did you bring";
650                mes "good news...?";
651                next;
652                mes "["+strcharinfo(0)+"]";
653                mes "Yes, speaking of which, allow me to... Check something.";
654                next;
655                switch( select( "Check her neck.", "Check her hands.", "Check her legs.", "Check her forehead.")) {
656                case 1:
657                        mes "^3355FFUh oh...";
658                        mes "Nothing's there!^000000";
659                        next;
660                        mes "[Theo Cherno]";
661                        mes "H-how rude!";
662                        mes "Touching another";
663                        mes "man's wife...?!";
664                        next;
665                        specialeffect2 147;
666                        percentheal -30,0;
667                        close;
668                case 2:
669                        mes "^3355FFYou found";
670                        mes "a burn mark on";
671                        mes "her hand.^000000";
672                        next;
673                        mes "["+strcharinfo(0)+"]";
674                        mes "That's it! Tarsha, your father's name is Kain. He's working for the Airship as a crewman.";
675                        next;
676                        mes "["+strcharinfo(0)+"]";
677                        mes "He misses you";
678                        mes "a lot and hopes";
679                        mes "that you can forgive";
680                        mes "him... Someday.";
681                        next;
682                        mes "[Tarsha Cherno]";
683                        mes "Are...";
684                        mes "Are you serious?";
685                        mes "My father's alive!";
686                        mes "Oh thank god! Thank";
687                        mes "you so much!";
688                        next;
689                        mes "[Tarsha Cherno]";
690                        mes "...........";
691                        mes "That means, my";
692                        mes "real name would be";
693                        mes "^3131FFTarsha Himere^000000.";
694                        next;
695                        mes "[Tarsha Cherno]";
696                        mes "Oh, you're a godsend! I'll never forgot what you've done for me! I must repay you, but all I know is mechanical engineering!";
697                        next;
698                        mes "[Tarsha Cherno]";
699                        mes "Oh, if you have ^3131FFany broken equipment^000000, I can fix it with this ^FF0000<Expert Repairman>^000000. It's one of our best inventions!";
700                        next;
701                        mes "[Tarsha Cherno]";
702                        mes "Oh, I must go see my real father soon! I've missed him for years! Thank you for all your help!";
703                        next;
704                        mes "[Tarsha Cherno]";
705                        mes "Ah, right.";
706                        mes "Elle wants to see you again. Would you be so kind as to see her before you go?";
707                        set kain_ticket, 13;
708                        close;
709                case 3:
710                        mes "^3355FFUh oh...";
711                        mes "Nothing's there!^000000";
712                        next;
713                        mes "[Theo Cherno]";
714                        mes "H-how rude!";
715                        mes "Touching another";
716                        mes "man's wife...?!";
717                        next;
718                        specialeffect2 147;
719                        percentheal -20,0;
720                        close;
721                case 4:
722                        mes "^3355FFUh oh...";
723                        mes "Nothing's there!^000000";
724                        next;
725                        mes "[Theo Cherno]";
726                        mes "H-how rude!";
727                        mes "Touching another";
728                        mes "man's wife...?!";
729                        next;
730                        specialeffect2 147;
731                        percentheal -10,0;
732                        close;
733                }
734        } else if(kain_ticket > 12) {
735                mes "[Tarsha Cherno]";
736                mes "I've been feeling";
737                mes "great after all you've";
738                mes "done for us. Once again,";
739                mes "I'd like to thank you,";
740                mes "kind adventurer.";
741                close;
742        } else {
743                mes "[Tarsha Cherno]";
744                mes "I'm sorry, but";
745                mes "we're pretty busy.";
746                mes "Please excuse us~";
747                close;
748        }
749}
750
751function        script  cherno  {
752        misceffect 2;
753        mes "^33355F*Bang*^000000";
754        next;
755        misceffect 3;
756        mes "^33355F*Bang*^000000";
757        next;
758        misceffect 4;
759        mes "^33355F*Bang*^000000";
760        next;
761        misceffect 20;
762        mes "^33355F*Crash!*^000000";
763        mes ".....";
764        emotion 4, "Theo Cherno";
765        Emotion 4, "Tarsha Cherno";
766        next;
767        mes "[Theo Cherno]";
768        mes "Honey...";
769        mes "I think there's";
770        mes "a critical structural";
771        mes "problem with the joint.";
772        next;
773        mes "[Tarsha Cherno]";
774        mes "I think they're";
775        mes "not connected right...";
776        next;
777        mes "[Theo Cherno]";
778        mes "Well, let's call";
779        mes "it a day and finish";
780        mes "this tomorrow.";
781        next;
782        Emotion 1, "Tarsha Cherno";
783        mes "[Tarsha Cherno]";
784        mes "Elle is playing outside.";
785        mes "Oh, I didn't know we had";
786        mes "a guest? Hello, how are you?";
787        next;
788        switch( select( "Nothing.", "Your daughter asked me to visit you.")) {
789        case 1:
790                mes "[Theo Cherno]";
791                mes "As you see, my wife and I are pretty";
792                mes "busy to study a research.";
793                mes "If you do not have any urgent business,";
794                mes "will you please leave us alone?";
795                close;
796        case 2:
797                Emotion 4, "Tarsha Cherno";
798                Emotion 4, "Theo Cherno";
799                mes "[Tarsha Cherno]";
800                mes "Excuse me?";
801                mes "What did she say?";
802                next;
803                mes "["+strcharinfo(0)+"]";
804                mes "Well, uh...";
805                mes "She wanted to me";
806                mes "to check if her mom";
807                mes "was sick or sad";
808                mes "...Or something?";
809                next;
810                Emotion 23, "Tarsha Cherno";
811                mes "[Tarsha Cherno]";
812                mes "Oh my god...!";
813                mes "What is she";
814                mes "thinking...?";
815                next;
816                mes "[Theo Cherno]";
817                mes "wait, darling.";
818                mes "I agree that sometimes you look sad and lonely, gazing out that window with those wistful eyes.";
819                next;
820                mes "[Tarsha Cherno]";
821                mes "Oh, I must be making my family very anxious. But don't you worry, love. I'm very happy with you and Elle.";
822                next;
823                mes "[Tarsha Cherno]";
824                mes "And...";
825                mes "Kind adventurer,";
826                mes "May I ask your name?";
827                next;
828                mes "["+strcharinfo(0)+"]";
829                mes "I am called,";
830                mes ""+strcharinfo(0)+".";
831                next;
832                mes "[Tarsha Cherno]";
833                mes ""+strcharinfo(0)+",";
834                mes "I appreciate your concerns~ Would you please stay for a cup of tea?";
835                next;
836                mes "[Tarsha Cherno]";
837                mes "My husband and I have been studying mechanical engineering. You see, there are many Einbech miners risking their lives everyday.";
838                next;
839                mes "[Tarsha Cherno]";
840                mes "If we could create a machine that could reduce the risk of mining ores, we could really help them. But we're pretty far from reaching that goal.";
841                next;
842                mes "["+strcharinfo(0)+"]";
843                mes "Ah...";
844                mes "So that's why";
845                mes "there's so many";
846                mes "interesting things";
847                mes "in your house...";
848                next;
849                mes "^3355FFYou begin to";
850                mes "take a look around";
851                mes "the Cherno household.^000000";
852                return;
853        }
854}
855
856//========Unidentified Machine #1 and #2=======================
857
858ein_in01,127,94,5       script  Unidentified Machine#mac        111,{
859        callfunc "Machine";
860}
861ein_in01,122,103,5      script  Unidentified Machine    111,{
862        callfunc "Machine";
863}
864function        script  Machine {
865        mes "^3355FFIt's...";
866        mes "It's a really";
867        mes "strange looking";
868        mes "machine. Does it";
869        mes "even do anything?^000000";
870        close;
871}
872
873//====================Mirror=============================
874
875ein_in01,121,99,5       script  Mirror  111,{
876        if(kain_ticket==8) {
877                mes "^3355FFIt's a mirror.";
878                mes "So, of course the";
879                mes "first thing you'll";
880                mes "see is yourself.";
881                next;
882                mes "["+strcharinfo(0)+"]";
883                mes "Man...";
884                mes "I didn't know";
885                mes "I was so good looking!";
886                next;
887                mes "^3355FFAfter enjoying that little epiphany, you see a reflection of Tarsha's neck as you set the mirror back down.^000000";
888                next;
889                mes "^3355FFAs you take a closer look, you find that there's a strange mark around her neck...^000000";
890                set kain_ticket, 9;
891                close;
892        }
893}
894
895//====================Tree from Einbech=============================
896
897einbech,45,113,5        script  Tree#t1-1::Tree 111,{
898        if(kain_ticket==11) {
899                mes "^3355FFYou crouch down";
900                mes "under the tree and";
901                mes "begin digging into";
902                mes "the ground.^000000";
903                next;
904                mes "...";
905                mes "......";
906                next;
907                mes "...";
908                mes "......";
909                mes ".........";
910                next;
911                set @find_diary,rand(1,100);
912                if(@find_diary > 10) {
913                        mes "^3355ffUnfortunately,";
914                        mes "you weren't able";
915                        mes "to find anything.^000000";
916                        close;
917                } else {
918                        callfunc "diary";
919                        set kain_ticket, 12;
920                        close;
921                }
922        } else if(kain_ticket == 12) {
923                callfunc "diary";
924                close;
925        }
926}
927
928function        script  diary   {
929        mes "^3355ffYou have found a ^3131FFJournal^3355ff among some other articles buried for safekeeping.^000000";
930        next;
931        mes "^3355FFYou open";
932        mes "the journal";
933        mes "and begin to read...^000000";
934        next;
935        mes "...";
936        mes "......";
937        next;
938        mes "<Date : OX OX>";
939        mes "^333333I'm sooo happy";
940        mes "to be with Kain.";
941        mes "He's such an honest,";
942        mes "sincere man, even if";
943        mes "he is quiet sometimes.";
944        next;
945        mes "^333333Although he's a good husband, I'm not so good at being a housewife. But I'll do my best.^000000";
946        next;
947        mes "<Date : OX OX>";
948        mes "^333333I fell asleep while fixing dinner and burned all food. Awww, why am I so careless? But Kain ate every bite, even if he had to pretend that he liked it.^000000";
949        next;
950        mes "<Date : OX OX>";
951        mes "^333333Kain and I will be having a child soon! I'm so happy, but I'm also a little worried sometimes. Kain is all smiles though and he gives me relief.^000000";
952        next;
953        mes "<Date : OX OX>";
954        mes "^333333More people have been leaving the mines to work for the new factory. It seems Kain's pride has been really wounded lately. How can I help him...?^000000";
955        next;
956        mes "<Date : OX OX>";
957        mes "^333333Kain and I are now the proud parents of a beautiful baby girl. We named her ^3131FFTarsha^000000 and she has her father's eyes. I'm going to be the best mother I can for her.^000000";
958        next;
959        mes "<Date : OX OX>";
960        mes "^333333Tarsha called me 'mom' for the first time! It's a miracle! I want nothing else in the world but for her to be happy and healthy.^000000";
961        next;
962        mes "<Date : OX OX>";
963        mes "^333333Kain got into an accident. While the miners were digging ores, toxic gas was released. It wasn't lethal, but Kain's arm has been partly paralyzed and the doctor says it might affect his memories later.^000000";
964        next;
965        mes "^333333He's so depressed. I tried to make him feel better by making his favorite soup. He smiled and thanked me, but I could tell he was feeling more desperate.^000000";
966        next;
967        mes "^333333I hope he feels better soon. His despair is as great as his passion for his job.^000000";
968        next;
969        mes "...";
970        mes "......";
971        next;
972        mes "<Date : OX OX>";
973        mes "^333333Lately, Kain has been drunk too often and he always screams and yells when he comes home. There's too much anger in him!^000000";
974        next;
975        mes "^333333He's not the same anymore. What ever happened to the kind man that I married?^000000";
976        next;
977        mes "...";
978        mes "......";
979        next;
980        mes "<Date : OX OX>";
981        mes "^333333Tarsha got her hand scalded from boiling water while playing in the kitchen. Although she was treated, there'll always be a ^3131FFburn mark^333333 on her hand.^000000";
982        next;
983        mes "^333333After we got home, Tarsha laughed and played with her doll as if nothing happened. But I couldn't stop crying for some reason.^000000";
984        next;
985        mes "...";
986        mes "......";
987        next;
988        mes "<Date : OX OX>";
989        mes "^333333Kain comes home less nowadays. I've had to start working in the store after we spent all of Kain's savings.^000000";
990        next;
991        mes "^333333It's tough working and taking care of the family at the same time, but Tarsha's beautiful smile makes everything worth it. Still, I can't help but worry about Kain...^000000";
992        next;
993        mes "...";
994        mes "......";
995        next;
996        mes "<Date : OX OX>";
997        mes "^333333Everyday, I get weaker and weaker. I wanted to finally tell Kain today, but he was definitely not in the mood to talk.^000000";
998        next;
999        mes "^333333Lately Tarsha cries a lot. My poor baby loves her father so much, but he's always so cold. Sometimes I see him smile at Tarsha.^000000";
1000        next;
1001        mes "^333333But those moments grow fewer the more he drinks. When will he finally overcome his pain?^000000";
1002        next;
1003        mes "...";
1004        mes "......";
1005        next;
1006        mes "^3355FFThat was the last page of the journal. You picked it up so that you can bring it over to ^3131FFTarsha.^000000";
1007        return;
1008}
1009
1010//====================Expert Repairman=============================
1011
1012ein_in01,117,80,5       script  Unidentified Machine#as 111,{
1013        if(kain_ticket > 12) {
1014                mes "["+strcharinfo(0)+"]";
1015                mes "This is the";
1016                mes "^FF0000Expert Repairman^000000?!";
1017                mes "It looks like it";
1018                mes "needs repairs itself...";
1019                next;
1020                if(getbrokenid(1)==NULL) {
1021                        mes "[Expert Repairman]";
1022                        mes "*Beep-*";
1023                        mes "Please check";
1024                        mes "your items again.";
1025                        close;
1026                } else {
1027                        set @choice,select(getitemname(getbrokenid(1)),getitemname(getbrokenid(2)),
1028                        getitemname(getbrokenid(3)),getitemname(getbrokenid(4)),getitemname(getbrokenid(5)),
1029                        getitemname(getbrokenid(6)),getitemname(getbrokenid(7)),getitemname(getbrokenid(8)),
1030                        getitemname(getbrokenid(9)),getitemname(getbrokenid(10)));
1031                        mes "[Expert Repairman]";
1032                        mes "You're gonna repair " + getitemname(getbrokenid(@choice)) + ".";
1033                        mes "Continue?";
1034                        next;
1035                        switch( select("Yes","No")) {
1036                        case 1:
1037                                repair(@choice);
1038                                next;
1039                                mes "[Expert Repairman]";
1040                                mes "*Beep-*";
1041                                mes "Task is";
1042                                mes "complete.";
1043                                close;
1044                        case 2:
1045                                mes "[Expert Repairman]";
1046                                mes "You decided to quit it.";
1047                                close;
1048                        }
1049                }
1050        } else {
1051                mes "^3355FFIt's some sort of strange machine. What ever could it do?^000000";
1052                close;
1053        }
1054}
1055//===================Trees From Einbech==========================
1056//Tree of the Diary
1057einbech,36,100,5        duplicate(Tree) Tree#t1-2       111
1058einbech,44,90,5 duplicate(Tree) Tree#t1-3       111
1059einbech,53,94,5 duplicate(Tree) Tree#t1-4       111
1060
1061//=======================================================================================================//
1062//                              "How Does The Airship Work" Quest
1063//=======================================================================================================//
1064
1065
1066//=============Monsters Attack======================
1067airplane_01,1,1,0       script  Quest_Izl       -1,{
1068OnInit:
1069        disablenpc "Airship Captain#02";
1070OnInvasion:
1071while($@mobinv >= 9 && $@mobrand == 3)
1072{
1073        Initnpctimer;
1074        end;
1075OnTimer6000:
1076        mapannounce "airplane_01","Captain: Attention, all passengers.",1,0x00FF00;
1077        end;
1078OnTimer10000:
1079        mapannounce "airplane_01","Captain: We are being approached by a group of unidentified creatures.",1,0x00ff00;
1080        end;
1081OnTimer12000:
1082        mapannounce "airplane_01", "Captain: All passengers on deck, please find shelter inside the ship!",1,0x00ff00;
1083        disablenpc "Airship Staff#info";
1084        end;
1085OnTimer16000:
1086        monster "airplane_01",245,57,"Gremlin",1632,1;
1087        monster "airplane_01",247,59,"Gremlin",1632,1;
1088        monster "airplane_01",249,52,"Gremlin",1632,1;
1089        monster "airplane_01",243,62,"Gremlin",1632,1;
1090        monster "airplane_01",239,52,"Beholder",1633,1;
1091        monster "airplane_01",234,56,"Beholder",1633,1;
1092        monster "airplane_01",227,49,"Beholder",1633,1;
1093        monster "airplane_01",233,41,"Beholder",1633,1;
1094        set $@monster, rand(1,5);
1095        if($@monster == 1) {
1096                monster "airplane_01",251,47,"Drainliar",1434,1;
1097                monster "airplane_01",245,53,"Drainliar",1434,1;
1098                monster "airplane_01",234,46,"Drainliar",1434,1;
1099                monster "airplane_01",233,58,"Drainliar",1434,1;
1100                monster "airplane_01",243,60,"Drainliar",1434,1;
1101                monster "airplane_01",228,54,"Drainliar",1434,1;
1102                monster "airplane_01",232,41,"Drainliar",1434,1;
1103        } else if($@monster == 2) {
1104                monster "airplane_01",251,47,"Rotar Zairo",1557,1;
1105                monster "airplane_01",245,53,"Rotar Zairo",1557,1;
1106                monster "airplane_01",234,46,"Rotar Zairo",1557,1;
1107                monster "airplane_01",233,58,"Rotar Zairo",1557,1;
1108                monster "airplane_01",243,60,"Rotar Zairo",1557,1;
1109                monster "airplane_01",228,54,"Rotar Zairo",1557,1;
1110                monster "airplane_01",232,41,"Rotar Zairo",1557,1;
1111        } else if($@monster == 3) {
1112                monster "airplane_01",251,47,"Farmiliar",1419,1;
1113                monster "airplane_01",245,53,"Farmiliar",1419,1;
1114                monster "airplane_01",234,46,"Farmiliar",1419,1;
1115                monster "airplane_01",233,58,"Farmiliar",1419,1;
1116                monster "airplane_01",243,60,"Farmiliar",1419,1;
1117                monster "airplane_01",228,54,"Farmiliar",1419,1;
1118                monster "airplane_01",232,41,"Farmiliar",1419,1;
1119        } else if($@monster == 4) {
1120                monster "airplane_01",251,47,"Picky",1050,1;
1121                monster "airplane_01",245,53,"Picky",1050,1;
1122                monster "airplane_01",234,46,"Picky",1050,1;
1123                monster "airplane_01",233,58,"Picky",1050,1;
1124                monster "airplane_01",243,60,"Picky",1050,1;
1125                monster "airplane_01",228,54,"Picky",1050,1;
1126                monster "airplane_01",232,41,"Picky",1050,1;
1127        } else if($@monster == 5) {
1128                monster "airplane_01",251,47,"Steel Chonchon",1042,1;
1129                monster "airplane_01",245,53,"Steel Chonchon",1042,1;
1130                monster "airplane_01",234,46,"Steel Chonchon",1042,1;
1131                monster "airplane_01",233,58,"Steel Chonchon",1042,1;
1132                monster "airplane_01",243,60,"Steel Chonchon",1042,1;
1133                monster "airplane_01",228,54,"Steel Chonchon",1042,1;
1134                monster "airplane_01",232,41,"Steel Chonchon",1042,1;   
1135        }
1136        end;
1137OnTimer16010:
1138        monster "airplane_01",238,56,"Gremlin",1632,1;
1139        monster "airplane_01",239,56,"Gremlin",1632,1;
1140        monster "airplane_01",240,50,"Gremlin",1632,1;
1141        monster "airplane_01",241,56,"Gremlin",1632,1;
1142        monster "airplane_01",247,51,"Gremlin",1632,1;
1143        monster "airplane_01",237,44,"Beholder",1633,1;
1144        monster "airplane_01",233,54,"Beholder",1633,1;
1145        monster "airplane_01",237,62,"Beholder",1633,1;
1146        end;
1147OnTimer21000:
1148        mapannounce "airplane_01", "Attendant: Captain Tarlock, we're in trouble! The monsters are heading to the propellers!",1,0x00FF00;
1149        end;
1150OnTimer26000:
1151        mapannounce "airplane_01", "Captain Tarlock: What?! I've got to stop them!",1,0x70DBDB;
1152        end;
1153OnTimer31000:
1154        disablenpc "Airship Captain#01";
1155        enablenpc "Airship Captain#02";
1156        end;
1157OnTimer36000:
1158        emotion 6, "Airship Captain#02";
1159        mapannounce "airplane_01", "Captain Tarlock: You ugly, godforsaken creatures... Get off my ship!",1,0x70DBDB;
1160        end;
1161OnTimer36500:
1162        mapannounce "airplane_01", "*Kzzz...Drrrr...Boom! CRASH!*",1,0x00FF00;
1163        donpcevent "boom#air-6::OnAttack"; //6
1164        end;
1165OnTimer37000:
1166        donpcevent "boom#air-7::OnAttack"; //7
1167        end;
1168OnTimer37500:
1169        donpcevent "boom#air-8::OnAttack"; //8
1170        end;
1171OnTimer38000:
1172        donpcevent "boom#air-9::OnAttack"; //9
1173        end;
1174OnTimer38500:
1175        donpcevent "boom#air-10::OnAttack"; //10
1176        end;
1177OnTimer39000:
1178        donpcevent "boom#air-6::OnAttack"; //6
1179        end;
1180OnTimer39500:
1181        donpcevent "boom#air-7::OnAttack"; //7
1182        end;
1183OnTimer40000:
1184        donpcevent "boom#air-8::OnAttack"; //8
1185        end;
1186OnTimer40500:
1187        donpcevent "boom#air-9::OnAttack"; //9
1188        end;
1189OnTimer41000:
1190        donpcevent "boom#air-10::OnAttack"; //10
1191        end;
1192OnTimer41500:
1193        donpcevent "boom#air-6::OnAttack"; //6
1194        mapannounce "airplane_01", "Engineer: Oh no! We've got a problem with the Number One Rear Engine!",1,0x00FF00;
1195        end;
1196OnTimer42500:
1197        donpcevent "boom#air-7::OnAttack"; //7
1198        end;
1199OnTimer43500:
1200        donpcevent "boom#air-8::OnAttack"; //8
1201        end;
1202OnTimer44500:
1203        donpcevent "boom#air-9::OnAttack"; //9
1204        end;
1205OnTimer45500:
1206        donpcevent "boom#air-10::OnAttack"; //10
1207        end;
1208OnTimer46500:
1209        mapannounce "airplane_01", "Pilot: Hurry! Get the women, old people and children somewhere safe first! Hurry!",1,0x00FF00;
1210        end;
1211OnTimer47500:
1212        donpcevent "boom#air-6::OnAttack"; //6
1213        end;
1214OnTimer48500:
1215        donpcevent "boom#air-7::OnAttack"; //7
1216        end;
1217OnTimer49500:
1218        donpcevent "boom#air-8::OnAttack"; //8
1219        end;
1220OnTimer50500:
1221        donpcevent "boom#air-7::OnAttack"; //7
1222        end;
1223OnTimer51500:
1224        Emotion 6, "Airship Captain#02";
1225        mapannounce "airplane_01", "Captain Tarlock: You dirty monsters are dealing with this ship's captain...",1,0x70DBDB;
1226        end;
1227OnTimer56500:
1228        Emotion 6, "Airship Captain#02";
1229        mapannounce "airplane_01", "Captain Tarlock: I'll protect this ship and my crew with my life!",1,0x70DBDB;
1230        end;
1231OnTimer61500:
1232        Emotion 29, "Airship Captain#02";
1233        mapannounce "airplane_01", "Captain Tarlock: Here goes! Special Exodus Joker XIII Doom Rifle!",1,0x70DBDB;
1234        end;
1235OnTimer66500:
1236        mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",1,0x00FF00;
1237        donpcevent "Airship Captain#02::OnAttack";
1238        end;
1239OnTimer67000:
1240        donpcevent "boom#air-1::OnAttack"; //1
1241        donpcevent "Airship Captain#02::OnAttack";
1242        end;
1243OnTimer67500:
1244        donpcevent "boom#air-2::OnAttack"; //2
1245        donpcevent "Airship Captain#02::OnAttack";
1246        end;
1247OnTimer68000:
1248        donpcevent "boom#air-3::OnAttack"; //3
1249        donpcevent "Airship Captain#02::OnAttack";
1250        end;
1251OnTimer68500:
1252        donpcevent "boom#air-4::OnAttack"; //4
1253        donpcevent "Airship Captain#02::OnAttack";
1254        end;
1255OnTimer69000:
1256        donpcevent "boom#air-5::OnAttack"; //5
1257        donpcevent "Airship Captain#02::OnAttack";
1258        end;
1259OnTimer69500:
1260        donpcevent "boom#air-0::OnAttack"; //0
1261        donpcevent "Airship Captain#02::OnAttack";
1262        end;
1263OnTimer70000:
1264        donpcevent "boom#air-1::OnAttack"; //1
1265        donpcevent "Airship Captain#02::OnAttack";
1266        end;
1267OnTimer70500:
1268        donpcevent "boom#air-2::OnAttack"; //2
1269        donpcevent "Airship Captain#02::OnAttack";
1270        end;
1271OnTimer71000:
1272        donpcevent "boom#air-4::OnAttack"; //4
1273        donpcevent "Airship Captain#02::OnAttack";
1274        end;
1275OnTimer71500:
1276        donpcevent "boom#air-5::OnAttack"; //5
1277        end;
1278OnTimer72000:
1279        Emotion 6, "Airship Captain#02";
1280        mapannounce "airplane_01","Captain Tarlock: Filthy animals! Stop ruining my ship!",1,0x70DBDB;
1281        end;
1282OnTimer72500:
1283        mapannounce "airplane_01", "*Bang! Bang Bang! Bang Bang! Bang Bang Bang!*",1,0x00FF00;
1284        donpcevent "Airship Captain#02::OnAttack";
1285        end;
1286OnTimer73000:
1287        donpcevent "boom#air-6::OnAttack"; //6
1288        donpcevent "Airship Captain#02::OnAttack";
1289        end;
1290OnTimer73500:
1291        donpcevent "boom#air-7::OnAttack"; //7
1292        donpcevent "Airship Captain#02::OnAttack";
1293        end;
1294OnTimer74000:
1295        donpcevent "boom#air-8::OnAttack"; //8
1296        donpcevent "Airship Captain#02::OnAttack";
1297        end;
1298OnTimer74500:
1299        donpcevent "boom#air-9::OnAttack"; //9
1300        donpcevent "Airship Captain#02::OnAttack";
1301        end;
1302OnTimer75000:
1303        donpcevent "boom#air-10::OnAttack"; //10
1304        donpcevent "Airship Captain#02::OnAttack";
1305        end;
1306OnTimer75500:
1307        donpcevent "boom#air-6::OnAttack"; //6
1308        donpcevent "Airship Captain#02::OnAttack";
1309        end;
1310OnTimer76000:
1311        donpcevent "boom#air-7::OnAttack"; //7
1312        donpcevent "Airship Captain#02::OnAttack";
1313        end;
1314OnTimer76500:
1315        donpcevent "boom#air-8::OnAttack"; //8
1316        donpcevent "Airship Captain#02::OnAttack";
1317        end;
1318OnTimer77000:
1319        donpcevent "boom#air-9::OnAttack"; //9
1320        donpcevent "Airship Captain#02::OnAttack";
1321        end;
1322OnTimer77500:
1323        donpcevent "boom#air-8::OnAttack"; //8
1324        mapannounce "airplane_01", "*Boom! Boom Boom! Boom Boom! Boom!*",1,0x00FF00;
1325        end;
1326OnTimer78000:
1327        donpcevent "boom#air-9::OnAttack"; //9
1328        end;
1329OnTimer78500:
1330        donpcevent "boom#air-10::OnAttack"; //10
1331        end;
1332OnTimer79000:
1333        donpcevent "boom#air-6::OnAttack"; //6
1334        end;
1335OnTimer79500:
1336        donpcevent "boom#air-7::OnAttack"; //7
1337        end;
1338OnTimer80000:
1339        Emotion 26,"Airship Captain#02";
1340        mapannounce "airplane_01", "Captain Tarlock: There's... To many to handle!",1,0x70DBDB;
1341        end;
1342OnTimer85000:
1343        mapannounce "airplane_01", "Pilot: Captain, sir, the situation is getting critical!",1,0x00FF00;
1344        end;
1345OnTimer100000:
1346        Emotion 4,"Airship Captain#02";
1347        mapannounce "airplane_01", "Captain Tarlock: We'll need all the help we can get!",1,0x70DBDB;
1348        end;
1349OnTimer125000:
1350        Emotion 26,"Airship Captain#02";
1351        mapannounce "airplane_01", "Captain Tarlock: All hands and any passenger who can fight! We've got to drive away these monsters!",1,0x70DBDB;
1352        end;
1353OnTimer130000:
1354        disablenpc "Airship Captain#02";
1355        enablenpc "Airship Captain#01";
1356        enablenpc "Airship Staff#info";
1357        donpcevent "YunoIzl_Airship::OnReturn";
1358        end;
1359}
1360}
1361
1362//========Captain Tarlock (Outside the Captain Cabin)=======================
1363
1364airplane_01,246,54,5    script  Airship Captain#02      873,{
1365        mes "[Tarlock]";
1366        mes "I am Tarlock,";
1367        mes "captain of this";
1368        mes "Airship. Go and";
1369        mes "fight with the";
1370        mes "Gremlins!";
1371        close;
1372OnAttack:
1373        misceffect 4;
1374        end;
1375}
1376
1377//========Captain Tarlock (Inside the Captain Cabin)=======================
1378
1379airplane_01,238,154,5   script  Airship Captain#01      873,{
1380
1381        cutin "fly_trock.bmp",2;
1382        mes "[Tarlock]";
1383        mes "I am Tarlock,";
1384        mes "captain of this";
1385        mes "Airship. Did you";
1386        mes "have a question?";
1387        next;
1388        if (lght_air >= 0 && lght_air <= 2 || lght_air == 7) {
1389                set question$, "How does this Airship fly?";
1390        } else if(lght_air == 4) {
1391                set question$, "I handed the letter to Captain Ferlock.";
1392        } else if(lght_air == 5) {
1393                set question$, "You finished reading the letter?";
1394        } else if(lght_air == 6) {
1395                set question$, "Already finished reading?";
1396        }
1397        switch( select( "Y-you're a reindeer?!", ""+question$+"", "No, not really." )){
1398        case 1:
1399                mes "[Tarlock]";
1400                mes "Hm? Oh, that";
1401                mes "We reindeer are a proud";
1402                mes "race who like to travel the";
1403                mes "world. But that should be";
1404                mes "obvious if you think of the";
1405                mes "reindeer working for Claus.";
1406                next;
1407                mes "[Tarlock]";
1408                mes "Well, reindeer or";
1409                mes "not, I've earned the";
1410                mes "captaincy of this ship";
1411                mes "and the loyalty of my crew.";
1412                mes "We'll do everything we can to";
1413                mes "make sure your flight is safe.";
1414                close2;
1415                cutin "",255;
1416                end;   
1417        case 2:
1418                if(lght_air == 1) {
1419                        if (BaseLevel <= 59) {
1420                                mes "[Tarlock]";
1421                                mes "Mm...?";
1422                                mes "Didn't you ask me that";
1423                                mes "before? Well, in any case";
1424                                mes "I apologize, but I'm still not";
1425                                mes "allowed to tell you that secret.";
1426                                close2;
1427                                cutin "",255;
1428                                end;   
1429                        } else {
1430                                mes "[Tarlock]";
1431                                mes "Mm...?";
1432                                mes "Didn't you ask me that";
1433                                mes "before? Are you just curious";
1434                                mes "or did you really want to know?";
1435                                next;
1436                                switch( select( "No, not really...", "Yes, I really want to know!")) {
1437                                case 1:
1438                                        mes "[Tarlock]";
1439                                        mes "Hahahaha~";
1440                                        mes "Maybe someday you'll";
1441                                        mes "figure out how this Airship";
1442                                        mes "is able to stay aloft and";
1443                                        mes "fly through the skies.";
1444                                        close2;
1445                                        cutin "",255;
1446                                        end;   
1447                                case 2:
1448                                        mes "[Tarlock]";
1449                                        mes "In all honestly, the";
1450                                        mes "secret to this Airship's";
1451                                        mes "flight is something that";
1452                                        mes "only captains are authorized";
1453                                        mes "to know. So I shouldn't really";
1454                                        mes "tell you anything about it.";
1455                                        next;
1456                                        mes "[Tarlock]";
1457                                        mes "But I've never been able";
1458                                        mes "to trust upper management";
1459                                        mes "so I don't have any loyalty to";
1460                                        mes "them. I wouldn't mind telling";
1461                                        mes "you that classified info if you";
1462                                        mes "do a little favor for me first.";
1463                                        next;
1464                                        switch( select( "Let me think about it.", "Sure.")) {
1465                                        case 1:
1466                                                mes "[Tarlock]";
1467                                                mes "Alright. But don't";
1468                                                mes "worry, I'm not going";
1469                                                mes "to ask you to do anything";
1470                                                mes "that you can't handle. Come";
1471                                                mes "back after you decide, alright?";
1472                                                close2;
1473                                                cutin "",255;
1474                                                end;   
1475                                        case 2:
1476                                                set lght_air, 2;
1477                                                mes "[Tarlock]";
1478                                                mes "Ha-hah! I like you";
1479                                                mes "already! Alright, here's";
1480                                                mes "the deal. I have a younger";
1481                                                mes "brother who I rarely see since";
1482                                                mes "he's also an Airship Captain";
1483                                                mes "that's always traveling.";
1484                                                next;
1485                                                mes "[Tarlock]";
1486                                                mes "Would you bring this";
1487                                                mes "letter to my brother,";
1488                                                mes "Ferlock? Also, please";
1489                                                mes "make sure that you come";
1490                                                mes "back with his reply, alright?";
1491                                                mes "Thank you, adventurer.";
1492                                                next;
1493                                                mes "[Tarlock]";
1494                                                mes "Oh, and once you meet";
1495                                                mes "my brother, please help";
1496                                                mes "him out. He'll explain it";
1497                                                mes "once you see him.";
1498                                                next;
1499                                                mes "^3131FFYou have received";
1500                                                mes "Captain Tarlock's letter";
1501                                                mes "to deliver to his younger";
1502                                                mes "brother, Captain Ferlock.";
1503                                                close2;
1504                                                cutin "",255;
1505                                                end;   
1506                                        }
1507                                }
1508                        }
1509                } else if(lght_air == 4) {
1510                        set lght_air, 5;
1511                        mes "[Tarlock]";
1512                        mes "Oh!";
1513                        mes "And he answer you? Really?!";
1514                        mes "In fact, I wasn't";
1515                        mes "expecting that too much...";
1516                        mes "Please wait a little,";
1517                        mes "I'll read his letter.";
1518                        close2;
1519                        cutin "",255;
1520                        end;   
1521                } else if(lght_air == 5) {
1522                        set lght_air, 6;
1523                        mes "[Tarlock]";
1524                        mes "Um... Ha ha ha~!";
1525                        mes "This guy, he is a real lover!";
1526                        mes "But his true inner man";
1527                        mes "is limited by his duty.";
1528                        mes "What do you think?";
1529                        mes "Hoh hoh hoh.";
1530                        next;
1531                        mes "^3131ffHe continue reading";
1532                        mes "the letter.^000000";
1533                        close2;
1534                        cutin "",255;
1535                        end;   
1536                } else if(lght_air== 6) {
1537                        mes "[Tarlock]";
1538                        mes "Yes, I finished.";
1539                        mes "Even if I understand him";
1540                        mes "I've a totally different";
1541                        mes "point of view. But both";
1542                        mes "of us are fearless.";
1543                        next;
1544                        mes "[Tarlock]";
1545                        mes "Oh, I almost forgot,";
1546                        mes "I'll teach you what you";
1547                        mes "wanted to know.";
1548                        next;
1549                        mes "[Tarlock]";
1550                        mes "The Airship's secret to float is...";
1551                        mes "The large boiler is setted on fire,";
1552                        mes "That moves the pistons, gears";
1553                        mes "and turbines with the steam";
1554                        mes "that is generated when the water";
1555                        mes "passes within the boiler.";
1556                        next;
1557                        mes "[Tarlock]";
1558                        mes "That turns the propeller.";
1559                        mes "That's all. Did you understand?";
1560                        next;
1561                        switch( select( "Um? Only that? There's no more?")) {
1562                        case 1:
1563                                mes "[Tarlock]";
1564                                mes "Ha ha ha!";
1565                                mes "I explained it roughtly to";
1566                                mes "make it easier to understand";
1567                                mes "by you. Still, you aren't";
1568                                mes "pleased? I said it in plain";
1569                                mes "english that everyone could";
1570                                mes "understand.";
1571                                next;
1572                                mes "[Tarlock]";
1573                                mes "Obviously, only with a steam";
1574                                mes "is impossible to make this fly.";
1575                                mes "Therefore, it uses an amplifier";
1576                                mes "called ^ff0000Rune Mechanism^000000.";
1577                                next;
1578                                switch( select( "Uh? What's a Rune Mechanism?")) {
1579                                case 1:                                 
1580                                        mes "[Tarlock]";
1581                                        mes "It's a device that uses a";
1582                                        mes "magic stone as power source.";
1583                                        mes "However, I don't know how";
1584                                        mes "this work...";
1585                                        mes "I forgot the details probably";
1586                                        mes "because I didn't paid much attention.";
1587                                        next;
1588                                        mes "[Tarlock]";
1589                                        mes "The only I remember is";
1590                                        mes "that the energy is amplified";
1591                                        mes "while it passes through the";
1592                                        mes "Rune that is attached to a";
1593                                        mes "steam engine.";
1594                                        next;
1595                                        mes "[Tarlock]";
1596                                        mes "In fact, all this airship";
1597                                        mes "floats thanks to the power";
1598                                        mes "given by the stone, no";
1599                                        mes "exaggeration.";
1600                                        mes "It has really a strong power.";
1601                                        next;
1602                                        specialeffect2 253;
1603                                        mes "[Tarlock]";
1604                                        mes "Did you understand?";
1605                                        mes "I'll rest a little.";
1606                                        mes "I'm tired for reading";
1607                                        mes "and writing those long";
1608                                        mes "letters.";
1609                                        set lght_air, 7;
1610                                        getexp 200000, 10000;
1611                                        close2;
1612                                        cutin "",255;
1613                                        end;   
1614                                }
1615                        }
1616                } else if(lght_air == 7) {
1617                        mes "[Tarlock]";
1618                        mes "Didn't I teach you before?";
1619                        mes "I won't explain such a long";
1620                        mes "tale again!";
1621                        close2;
1622                        cutin "",255;
1623                        end;   
1624                } else if(lght_air == 2) {
1625                        mes "[Tarlock]";
1626                        mes "Hahahah! Don't worry, I'll";
1627                        mes "tell you know this Airship";
1628                        mes "flies once you deliver that";
1629                        mes "letter to my brother, Ferlock,";
1630                        mes "and bring back his reply.";
1631                        close2;
1632                        cutin "",255;
1633                        end;   
1634                }
1635                mes "[Tarlock]";
1636                mes "Hahaha! How this";
1637                mes "Airship flies? Yes, it's";
1638                mes "quite wonderful, isn't it?";
1639                mes "Although that's a secret,";
1640                mes "let me assure you that it's";
1641                mes "nothing weird or dangerous.";
1642                set lght_air, 1;
1643                close2;
1644                cutin "",255;
1645                end;   
1646        case 3:
1647                mes "[Tarlock]";
1648                mes "Alright, then.";
1649                mes "Thanks for flying";
1650                mes "with us, and I hope";
1651                mes "you enjoy your travels.";
1652                close2;
1653                cutin "",255;
1654                end;   
1655        }
1656}
1657
1658
1659//===========Captain Ferlock=======================
1660
1661airplane,236,163,5      script  Airship Captain#03      873,{
1662
1663        cutin "fly_trock.bmp",2;
1664        if(hg_ma1 == 3 || hg_ma1 == 4)
1665        {
1666                mes "[Ferlock]";
1667                mes "Welcome to the airship. I am Ferlock, captain of this airship. What do you want from me? ";
1668                next;
1669                switch( select( "Ask him about Thierry" ) )
1670                {
1671                        case 1:
1672                                break;
1673                }
1674                mes "[Ferlock]";
1675                mes "Hmm, this is the first time I hear of this name. I'm sure he's not the employee of this place.";
1676                next;
1677                switch( select( "Request for the passenger list. " ) )
1678                {
1679                        case 1:
1680                                break;
1681                }
1682                mes "[Ferlock]";
1683                mes "The passenger list is not opened to public unfortunately. Sorry I couldn't help you. ";
1684                if(hg_ma1 == 3) close;
1685                next;
1686                switch( select( "Follow Kaci's request and tell him the story." ) )
1687                {
1688                        case 1:
1689                                break;
1690                }
1691                mes "^3355FFWhen you tell him why you need to find Thierry, the captain listens to you quietly and nods his head.^000000";
1692                next;
1693                mes "[Ferlock]";
1694                mes "Hmm... I understand what you mean. However, the rules says that the passenger list cannot be showed to public.";
1695                next;
1696                mes "[Ferlock]";
1697                mes "......However, rules can be broken which brings greater value than its existence. Ok, I will help you. Please wait for a while.";
1698                next;
1699                mes "^3355FFThe captain takes out a book and writes the name of 'Thierry' on the first page where nothing is written. The entry slowly disappears and the pages of the book start to flip magically^000000";
1700                next;
1701                mes "^3355FFThe book continues to flip and finally stops at one page. You see the record of Thierry boarding the airship on that page^000000";
1702                next;
1703                mes "[Ferlock]";
1704                mes "Haha, does it frighten you? This is a magically enchanted book. Once you've written the name in it, you will be able to find the answer you want in an instant.";
1705                next;
1706                mes "[Ferlock]";
1707                mes "It must have surprised you to find that the people of Schwaltzvalt make use of magical items too.";
1708                next;
1709                mes "[Ferlock]";
1710                mes "This is something I acquired from an old friend.... Hmm, but that has nothing to do with this.";
1711                next;
1712                mes "[Ferlock]";
1713                mes "Thierry... Let's see. He boarded the airship a month ago and headed for Hugel. Looks like he took the ship to Hugel the first day this flight was implemented.";
1714                next;
1715                mes "[Ferlock]";
1716                mes "....Oh, didn't you say that this friend of yours is involved with a research job? I remember now. It's that young man.";
1717                next;
1718                mes "[Ferlock]";
1719                mes "The flight to Hugel which had just been added to the schedule faced a great danger the first day since the airship had not prepared any counter-measures for sudden attacks by the dragons.";
1720                next;
1721                mes "[Ferlock]";
1722                mes "To think about it, I have to admit that I made a mistake by not taking the fact that the dragons make approaching Hugel dangerous into consideration.";
1723                next;
1724                mes "[Ferlock]";
1725                mes "Anyway, the ship was in critical condition due to an unexpected mechanical failure. Fortunately, a young skillful man managed to solve the problem. Now I remember his name; Thierry.";
1726                next;
1727                mes "[Ferlock]";
1728                mes "Now I can tell why he was so quiet and had such a sad face. You know where he was heading now. So, please bring the news to his fiance.";
1729                next;
1730                mes "[Ferlock]";
1731                mes "And if you ever meet him, please send him my gratitude and regards.";
1732                set hg_ma1,5;
1733                close2;
1734                cutin "",255;
1735                end;
1736        }
1737        else if(hg_ma1 == 5)
1738        {
1739                mes "[Ferlock]";
1740                mes "You better get going and send the news to the fiance.";
1741                close2;
1742                cutin "",255;
1743                end;
1744        }
1745        if (lght_air == 7 && lhz_heart == 11)
1746        {
1747                mes "[Ferlock]";
1748                mes "Ah, thank you for coming.";
1749                mes "Now, I wanted to ask you";
1750                mes "why you were investigating";
1751                mes "Ymir's Heart Piece. Are you";
1752                mes "merely curious, or did you";
1753                mes "have some special reason?";
1754                next;
1755                switch( select( "Just curious...","Well, there's someone I need to help..." ) )
1756                {
1757                        case 1:
1758                                mes "[Ferlock]";
1759                                mes "Just curious...?";
1760                                mes "I don't know if satisfying";
1761                                mes "your curiosity is worth the";
1762                                mes "risks that you have already";
1763                                mes "taken. You should be more ";
1764                                mes "careful in the future...";
1765                                close2;
1766                                cutin "",255;
1767                                end;
1768                       
1769                        case 2:
1770                                mes "[Ferlock]";
1771                                mes "Well, I shouldn't be";
1772                                mes "trusting you this much,";
1773                                mes "but since you've helped";
1774                                mes "me and my brother, I feel";
1775                                mes "that you must be one of those altruistic adventurers. Very well.";
1776                                next;
1777                                mes "[Ferlock]";
1778                                mes "If you promise that you'll";
1779                                mes "never tell what I reveal to";
1780                                mes "you, then I suppose I can";
1781                                mes "tell you know about the Rune";
1782                                mes "Stone and Ymir's Heart Piece.";
1783                                next;
1784                                switch( select( "I promise..." ) )
1785                                {
1786                                        case 1:
1787                                                break;
1788                                }
1789                                mes "[Ferlock]";
1790                                mes "Alright, then. I expect you";
1791                                mes "to keep your word. Now, you";
1792                                mes "already know that the Airships";
1793                                mes "are powered by Rune Stones, imitations of Ymir's Heart pieces.";
1794                                next;
1795                                mes "[Ferlock]";
1796                                mes "Although Rune Stones are";
1797                                mes "inferior to true Ymir Heart";
1798                                mes "pieces, we can make as many";
1799                                mes "as want. As for true Ymir Heart";
1800                                mes "Pieces, they're difficult to find or effectively reproduce.";
1801                                next;
1802                                mes "[Ferlock]";
1803                                mes "You may have already";
1804                                mes "figured this out, but all";
1805                                mes "Rune Stones are produced";
1806                                mes "in the Einbroch Laboratory";
1807                                mes "for use in the Airships. So";
1808                                mes "you see what's going on?";
1809                                next;
1810                                switch( select( "Wait, what's the Varmunt Project?" ) )
1811                                {
1812                                        case 1:
1813                                                break;
1814                                }
1815                                mes "[Ferlock]";
1816                                mes "The Varmunt Project is";
1817                                mes "a continuation of one of";
1818                                mes "the projects started by the";
1819                                mes "great Sage, Varmunt. Even as";
1820                                mes "a child, he was renown as an";
1821                                mes "incredible genius, a prodigy.";
1822                                next;
1823                                mes "[Ferlock]";
1824                                mes "However, no matter how";
1825                                mes "much academic success he";
1826                                mes "enjoyed--he even became a";
1827                                mes "tenured professor at Juno";
1828                                mes "University--Varmunt was never able to finance his own research.";
1829                                next;
1830                                mes "[Ferlock]";
1831                                mes "Eventually, he accepted an";
1832                                mes "offer from Rekenber Co. to";
1833                                mes "develop an energy source in";
1834                                mes "exchange for funding. The";
1835                                mes "result of his work for them is the invention of the Rune Stone.";
1836                                next;
1837                                mes "[Ferlock]";
1838                                mes "However, the public isn't";
1839                                mes "supposed to know that Varmunt";
1840                                mes "invented the Rune Stones. Now,";
1841                                mes "Varmunt disappeared before he";
1842                                mes "could perfect the Rune Stone";
1843                                mes "creation process.";
1844                                next;
1845                                mes "[Ferlock]";
1846                                mes "Therefore, the Rune Stones";
1847                                mes "we have now are unstable and";
1848                                mes "become useless after a while.";
1849                                mes "The Varmunt Project aims to";
1850                                mes "correct these flaws and perfect";
1851                                mes "the Ymir Heart replication...";
1852                                next;
1853                                mes "[Ferlock]";
1854                                mes "Er, anyway, that's why";
1855                                mes "I was at the Einbroch";
1856                                mes "Laboratory today. My Rune";
1857                                mes "Stone was close to empty,";
1858                                mes "so I went there to pick up";
1859                                mes "a fully charged one.";
1860                                next;
1861                                mes "[Ferlock]";
1862                                mes "^333333*Phew...*^000000";
1863                                mes "Would you give me";
1864                                mes "a moment to catch";
1865                                mes "my breath before";
1866                                mes "I continue? Yes,";
1867                                mes "there's a little more...";
1868                                set lhz_heart,12;
1869                                close2;
1870                                cutin "",255;
1871                                end;
1872                }
1873        }
1874        else if(lght_air == 7 && lhz_heart == 12)
1875        {
1876                mes "[Ferlock]";
1877                mes "Now, "+strcharinfo(0)+",";
1878                mes "you must be wondering";
1879                mes "why I'm telling you all";
1880                mes "this. I believe that some";
1881                mes "party wishes to steal the";
1882                mes "Rune Stones from the Airships.";
1883                next;
1884                mes "[Ferlock]";
1885                mes "Have you noticed the";
1886                mes "Gremlins and Beholders";
1887                mes "that attack my brother's";
1888                mes "ship? Believe it or not,";
1889                mes "Gremlins are usually just";
1890                mes "harmless and mischievous.";
1891                next;
1892                mes "[Ferlock]";
1893                mes "Gremlin wings also aren't";
1894                mes "naturally powerful enough to";
1895                mes "enable them to fly. However,";
1896                mes "if someone implants Wills of";
1897                mes "the Darkness into them, their";
1898                mes "powers increase exponentially.";
1899                next;
1900                mes "[Ferlock]";
1901                mes "Although Gremlins tend";
1902                mes "not to attack humans unless";
1903                mes "provoked, and that they tend";
1904                mes "to shy away from people, they";
1905                mes "are being controlled to steal";
1906                mes "our Airships' Rune Stones.";
1907                next;
1908                mes "[Ferlock]";
1909                mes "Whoever is controlling the";
1910                mes "Gremlins also sends those";
1911                mes "Beholder monsters in order";
1912                mes "to monitor their progress";
1913                mes "and observe our resistance.";
1914                next;
1915                mes "[Ferlock]";
1916                mes "My brother and I have been";
1917                mes "investigating this matter, but";
1918                mes "so far, we haven't learned very";
1919                mes "much. Now, my Airship only";
1920                mes "provides domestic flights";
1921                mes "and hasn't been attacked.";
1922                next;
1923                mes "[Ferlock]";
1924                mes "Now, my brother's Airship";
1925                mes "specializes in international";
1926                mes "flights and suffers from the";
1927                mes "Gremlin invasions, so we are";
1928                mes "guessing the attackers are from outside the Schwaltzvalt Republic.";
1929                next;
1930                mes "[Ferlock]";
1931                mes "In any case, that is all";
1932                mes "I really know. Please keep";
1933                mes "this information to yourself";
1934                mes "and let me know if you learn anything new about this situation.";
1935                next;
1936                mes "[Ferlock]";
1937                mes "If I manage to uncover";
1938                mes "anything about the ones";
1939                mes "that are using the Wills";
1940                mes "of Darkness to control the";
1941                mes "Gremlins and steal our Rune";
1942                mes "Stones, I'll let you know.";
1943                next;
1944                mes "[Ferlock]";
1945                mes "Who is sending these";
1946                mes "monsters to invade our";
1947                mes "Airships, and for what";
1948                mes "purpose do they want the";
1949                mes "Rune Stones? Hmm. Well, this";
1950                mes "is goodbye for now, adventurer.";
1951                close2;
1952                specialeffect2 253;
1953                set lhz_heart,13;
1954                getexp 700000,400000;
1955                cutin "",255;
1956                end;
1957        }
1958        else if(lght_air == 7 && lhz_heart == 13)
1959        {
1960                mes "[Ferlock]";
1961                mes "I'll be quite busy with my";
1962                mes "captaining duties and my";
1963                mes "private investigation of the";
1964                mes "attempted Rune Stone robberies.";
1965                mes "Hopefully, we'll be able to meet again later. For now, take care.";
1966                close2;
1967                cutin "",255;
1968                end;
1969        }
1970        mes "[Ferlock]";
1971        mes "Hey there, welcome";
1972        mes "aboard the Airship. I'm";
1973        mes "Ferlock, your captain";
1974        mes "on this flight. How can";
1975        mes "I be of service to you?";
1976        next;
1977        if(lght_air == 2) {
1978                set question2$, "Give him Tarlock's Letter.";
1979                set question3$, "Cancel.";
1980        } else if(lght_air == 3) {
1981                set question2$, "Here are the items I've found.";
1982                set question3$, "Cancel.";
1983        } else {
1984                set question2$, "Cancel.";
1985                set question3$, "";
1986        }
1987        switch( select( "How does this Airship fly?", ""+question2$+"", ""+question3$+"")) {
1988        case 1:
1989                mes "[Ferlock]";
1990                mes "I'm sorry, but I can't";
1991                mes "give you that kind of";
1992                mes "classified information.";
1993                mes "It's too important to the";
1994                mes "security and safety of";
1995                mes "this Airship, you see.";
1996                close2;
1997                cutin "",255;
1998                end;
1999               
2000        case 2:
2001                if (lght_air == 2) {
2002                set lght_air, 3;
2003                mes "^3131FFYou give Captain Ferlock";
2004                mes "the letter that his brother";
2005                mes "Tarlock has written for him.^000000";
2006                next;
2007                mes "[Ferlock]";
2008                mes "Oh, this is from my";
2009                mes "brother? Hey, thanks so";
2010                mes "much for bringing this to";
2011                mes "me for him. Ah, give me";
2012                mes "a minute to read all of";
2013                mes "this, would you now?";
2014                next;
2015                mes "[Ferlock]";
2016                mes "...";
2017                mes "So that's what he's been";
2018                mes "up to. Huh. Hahaha! Oh, that's";
2019                mes "funny. Ah, it's always good to";
2020                mes "hear from Tarlock. Anyway,";
2021                mes "I'm sorry to make you wait.";
2022                next;
2023                mes "[Ferlock]";
2024                mes "Anyway, my brother wrote";
2025                mes "about the usual stuff, but";
2026                mes "he mentioned that he was";
2027                mes "hoping to finally return a few";
2028                mes "things he borrowed from me.";
2029                mes "However, he lost them...";
2030                next;
2031                mes "[Ferlock]";
2032                mes "It turns that those nasty";
2033                mes "gremlins that sometimes";
2034                mes "attack his ship stole my";
2035                mes "things, so was he actually";
2036                mes "hoping that you would";
2037                mes "help me get them back.";
2038                next;
2039                mes "[Ferlock]";
2040                mes "Yeah, yeah. He specifically";
2041                mes "mentioned that I shouldn't";
2042                mes "give you my reply until you";
2043                mes "hunt those monsters and get";
2044                mes "my stuff back. I'm sorry, but";
2045                mes "I guess you owe big bro, huh?";
2046                next;
2047                mes "[Ferlock]";
2048                mes "Well, if you're willing to";
2049                mes "help me, would you get my";
2050                mes "^ff00002 Will of the Darkness^000000 and";
2051                mes "^ff00002 Prickly Fruit^000000 back for me?";
2052                next;
2053                mes "[Ferlock]";
2054                mes "The monsters that attack";
2055                mes "Tarlock's Airship should";
2056                mes "have them. I'd appreciate";
2057                mes "it if you'd help me out on";
2058                mes "this, adventurer. Thanks";
2059                mes "in advance and good luck~";
2060                close2;
2061                cutin "",255;
2062                end;
2063                } else if(lght_air == 3) {
2064                        if (countitem(7340) >= 2 && countitem(576) >= 2) {
2065                                delitem 7340, 2;
2066                                delitem 576, 2;
2067                                set lght_air, 4;
2068                                mes "[Ferlock]";
2069                                mes "You brought the items!";
2070                                mes "Thank you very much.";
2071                                mes "Here, take this letter";
2072                                mes "to my brother and give it";
2073                                mes "to him.";
2074                                next;
2075                                mes "^3131ffYou received a letter from the Captain.^000000";
2076                                next;
2077                                mes "[Ferlock]";
2078                                mes "Please give the best regards";
2079                                mes "to my big brother.";
2080                                mes "Well then, good bye.";
2081                                close2;
2082                                cutin "",255;
2083                                end;
2084                        }
2085                                mes "[Ferlock]";
2086                                mes "Oh, I'm sorry, but it looks";
2087                                mes "like you're missing something.";
2088                                mes "Would you please go and find";
2089                                mes "^ff00002 Will of the Darkness^000000 and";
2090                                mes "^ff00002 Prickly Fruit^000000? Thanks,";
2091                                mes "brave adventurer~";
2092                                close2;
2093                                cutin "",255;
2094                                end;
2095                }
2096                mes "[Ferlock]";
2097                mes "Well, I hope that";
2098                mes "you enjoy your time";
2099                mes "here on the Airship";
2100                mes "and that you have a";
2101                mes "very pleasant journey.";
2102                close2;
2103                cutin "",255;
2104                end;   
2105        case 3:
2106                mes "[Ferlock]";
2107                mes "Well, I hope that";
2108                mes "you enjoy your time";
2109                mes "here on the Airship";
2110                mes "and that you have a";
2111                mes "very pleasant journey.";
2112                close2;
2113                cutin "",255;
2114                end;
2115        }
2116}
2117
2118//=======================================================================================================//
2119//                              Heart Fragment Quest
2120//=======================================================================================================//
2121
2122airplane,236,63,4       script  Hallen  706,{
2123
2124        if(hg_ma1 == 3)
2125        {
2126                mes "[Hallen]";
2127                mes "Sha Sha~ ";
2128                next;
2129                mes "[Hallen]";
2130                mes "Just let me handle this! Hehe. ";
2131                next;
2132                switch( select( "Ask whether he knows Thierry" ) )
2133                {
2134                        case 1:
2135                                break;
2136                }
2137                mes "[Hallen]";
2138                mes "Hmm?! Thierry?! I'm not sure. Why don't you ask the crew of the airship.";
2139                mes "Kaci might know this person.";
2140                close;
2141        }
2142        if(BaseLevel < 60)
2143        {
2144                mes "[Hallen]";
2145                mes "If you need me to";
2146                mes "do anything, just";
2147                mes "give me a holler.";
2148                mes "Bweh heh... hollah~";
2149                close;
2150        }
2151        if(!lhz_heart)
2152        {
2153                mes "[Hallen]";
2154                mes "Howdy, howdy~";
2155                mes "Welcome to the Airship.";
2156                next;
2157                switch( select( "I'm not a passenger.","Hey kid, what are you doing?" ) )
2158                {
2159                        case 1:
2160                                emotion e_what,0;
2161                                mes "[Hallen]";
2162                                mes "Does that mean you're";
2163                                mes "one of the crewmen, then?";
2164                                mes "I don't think we've met before,";
2165                                mes "and I should be familiar with";
2166                                mes "everyone working here by now...";
2167                                next;
2168                                emotion e_gasp,0;
2169                                mes "[Hallen]";
2170                                mes "Hey...!";
2171                                mes "If you're on duty,";
2172                                mes "shouldn't you be in";
2173                                mes "uniform? I guess you";
2174                                mes "don't work here after all!";
2175                                mes "Heh, figured it out myself~";
2176                                next;
2177                                mes "[Hallen]";
2178                                mes "Eh, I need to finish";
2179                                mes "sweeping this deck. Then,";
2180                                mes "on my break, I can play a";
2181                                mes "little game for Apples with";
2182                                mes "Kaci. That's how I roll, yo.";
2183                                next;
2184                                break;
2185                               
2186                        case 2:
2187                                mes "[Hallen]";
2188                                mes "Ummm... Isn't it obvious?";
2189                                mes "I'm sweeping the deck. I'm";
2190                                mes "the youngest crewman, so";
2191                                mes "I get stuck with the lamest";
2192                                mes "jobs. But once I'm done, it's";
2193                                mes "Dice time with Kaci. Oh yeah~";
2194                                next;
2195                                break;
2196                }
2197                switch( select( "Kaci?" ) )
2198                {
2199                        case 1:
2200                                break;
2201                }
2202                mes "[Hallen]";
2203                mes "Kaci... You know, the";
2204                mes "dealer of the Dice game?";
2205                mes "You should try it out: just";
2206                mes "roll some dice for a chance";
2207                mes "to win some Apples. Hey,";
2208                mes "you could get really lucky!";
2209                next;
2210                mes "[Hallen]";
2211                mes "Heh, there's one guy that";
2212                mes "won so many Apples from Kaci";
2213                mes "that he was able to become";
2214                mes "an Apple Merchant. Can you";
2215                mes "believe that? Yeah... Kaci";
2216                mes "doesn't like him so much...";
2217                close2;
2218                set lhz_heart,1;
2219                end;
2220        }
2221        else if(lhz_heart == 1)
2222        {
2223                mes "[Hallen]";
2224                mes "Oh hey, it's you~";
2225                mes "We talked earlier,";
2226                mes "didn't we? Yeah...";
2227                mes "I'm still here sweeping";
2228                mes "this floor. It's gonna";
2229                mes "take quite a while.";
2230                next;
2231                emotion e_gasp,0;
2232                mes "[Hallen]";
2233                mes "It doesn't look like";
2234                mes "I'm gonna finish this";
2235                mes "anytime soon. Hey, do";
2236                mes "you think you could do";
2237                mes "me a favor since I can't";
2238                mes "really leave this joint?";
2239                next;
2240                switch( select( "Sorry, but I'm busy...","What is it?" ) )
2241                {
2242                        case 1:
2243                                mes "[Hallen]";
2244                                mes "Eh, alright. I guess";
2245                                mes "I can understand. But";
2246                                mes "still, I coulda made it";
2247                                mes "worth your while, if you";
2248                                mes "know what I mean~";
2249                                close;
2250
2251                        case 2:
2252                                mes "[Hallen]";
2253                                mes "Don't worry, it's not much";
2254                                mes "work. I'm supposed to deliver";
2255                                mes "letters from Juno Airport to";
2256                                mes "the other crewmen, but I don't";
2257                                mes "got the time. Now, I have";
2258                                mes "this letter for Kaci here...";
2259                                next;
2260                                mes "[Hallen]";
2261                                mes "Would you go and";
2262                                mes "deliver this letter";
2263                                mes "to her for me? It's";
2264                                mes "from some guy named";
2265                                mes "Mr. Mawong, her mentor";
2266                                mes "or something like that.";
2267                                next;
2268                                mes "^3355FFHallen gave you";
2269                                mes "Mawong's letter to";
2270                                mes "be delivered to Kaci.^000000";
2271                                set lhz_heart,2;
2272                                next;
2273                                mes "[Hallen]";
2274                                mes "Hey, thanks a lot, pal~";
2275                                mes "You can find Kaci hosting";
2276                                mes "the Dice game in the Airship.";
2277                                close;
2278                }
2279        }
2280        else if(lhz_heart == 2)
2281        {
2282                mes "[Hallen]";
2283                mes "^333333*Sigh...*^000000";
2284                mes "I'm so sick and";
2285                mes "tired of sweeping.";
2286                mes "It's like I'm some";
2287                mes "kinda lame cabin boy.";
2288                mes "But... I guess I am!";
2289                next;
2290                mes "[Hallen]";
2291                mes "Oh hey, were you";
2292                mes "able to give that";
2293                mes "letter to Kaci yet?";
2294                mes "I think it's pretty";
2295                mes "important, so try not";
2296                mes "to take too long, okay?";
2297                close;
2298        }
2299        else if(lhz_heart == 3)
2300        {
2301                mes "[Hallen]";
2302                mes "^333333*Sigh...*^000000";
2303                mes "I'm so sick and";
2304                mes "tired of sweeping.";
2305                mes "It's like I'm some";
2306                mes "kinda lame cabin boy.";
2307                mes "But... I guess I am!";
2308                close;
2309        }
2310        else if(lhz_heart == 4)
2311        {
2312                mes "[Hallen]";
2313                mes "Hey, thanks for delivering";
2314                mes "that letter to Kaci for me.";
2315                mes "She wasn't too happy that";
2316                mes "I asked a passenger to do";
2317                mes "it, but she understood that";
2318                mes "I'm totally swamped with work.";
2319                next;
2320                mes "[Hallen]";
2321                mes "Wouldn't you agree";
2322                mes "that people should";
2323                mes "help each other in";
2324                mes "times of crisis?";
2325                next;
2326                switch( select( "Not at all. Every man for himself!","Yes, I do." ) )
2327                {
2328                        case 1:
2329                                mes "[Hallen]";
2330                                mes "Wh-what...?";
2331                                mes "I can't think";
2332                                mes "that you really";
2333                                mes "believe that...";
2334                                set lhz_heart,5;
2335                                close;
2336
2337                        case 2:
2338                                mes "[Hallen]";
2339                                mes "Aww, really?";
2340                                mes "I knew that you'd";
2341                                mes "feel the same way";
2342                                mes "I do. You and me, we're";
2343                                mes "on the same wavelength~";
2344                                next;
2345                                if(checkweight(501,1) != 1)
2346                                {
2347                                        mes "[Hallen]";
2348                                        mes "Oh... Hey, I was";
2349                                        mes "going to give you";
2350                                        mes "a little something,";
2351                                        mes "but you're carrying";
2352                                        mes "too much stuff right now...";
2353                                        close;
2354                                }
2355                                set lhz_heart,5;
2356                                getitem 501,1;
2357                                mes "[Hallen]";
2358                                mes "I know this isn't";
2359                                mes "much, but I'd like you";
2360                                mes "to have it. Besides, you";
2361                                mes "never know what'll come in";
2362                                mes "handy during an emergency.";
2363                                mes "Alright then, see you later~";
2364                                close;
2365                }
2366        }
2367        else if(lhz_heart == 5)
2368        {
2369                mes "[Hallen]";
2370                mes "Hey, hey~ How's it going?";
2371                mes "I know, I know, I'm supposed";
2372                mes "to be sweeping, and I'm not";
2373                mes "finished yet, but sometimes,";
2374                mes "you know, you just have to";
2375                mes "rest and take a break, yeah?";
2376                next;
2377                mes "[Hallen]";
2378                mes "Ahh, busy days like these";
2379                mes "remind me of working back";
2380                mes "home in Juno with my neighbor,";
2381                mes "Gyver. He's a genius inventor,";
2382                mes "you know, and sort of like";
2383                mes "a hero or role model to me.";
2384                next;
2385                mes "[Hallen]";
2386                mes "Guyver is so brilliant,";
2387                mes "he can pretty much make";
2388                mes "anything he wants. Someday,";
2389                mes "I want to reach his level, and";
2390                mes "create things that will help";
2391                mes "people and make them happy.";
2392                next;
2393                mes "[Hallen]";
2394                mes "That's pretty much my";
2395                mes "life ambition-- you know,";
2396                mes "the kind of thing I want to";
2397                mes "contribute to the world. Of";
2398                mes "course, I doubt I can compare";
2399                mes "to the great Sage Varmunt.";
2400                next;
2401                switch( select( "Sage Varmunt?" ) )
2402                {
2403                        case 1:
2404                                break;
2405                }
2406                mes "[Hallen]";
2407                mes "Yeah, Varmunt... He's like";
2408                mes "one of the greatest Sages in";
2409                mes "history. Well, nobody know too";
2410                mes "much about him, but 300 years";
2411                mes "ago, he was responsible for most ground breaking accomplishments.";
2412                next;
2413                mes "[Hallen]";
2414                mes "Supposedly, he single handedly";
2415                mes "revolutionized science. Many of";
2416                mes "the machines that are convenient to life today are his inventions.";
2417                mes "Sadly, he disappeared from history and no one know how he vanished.";
2418                next;
2419                mes "[Hallen]";
2420                mes "The great Sage Varmunt...";
2421                mes "It's a pretty well known";
2422                mes "legend in the Schwaltzvalt";
2423                mes "Republic. Anyway, for my";
2424                mes "project, I wanted to learn";
2425                mes "more about these Airships.";
2426                next;
2427                mes "[Hallen]";
2428                mes "These Airships are so huge";
2429                mes "and heavy, and I can scarcely";
2430                mes "believe that they can fly. How";
2431                mes "is it even possible? Well, if";
2432                mes "you could find out for me, ";
2433                mes "it'd be a really big help.";
2434                set lhz_heart,6;
2435                close;
2436        }
2437        else if(lhz_heart == 6)
2438        {
2439                mes "[Hallen]";
2440                mes "Hey, have you learned";
2441                mes "what makes such a big,";
2442                mes "heavy Airship like this fly";
2443                mes "for so long in the sky?";
2444                next;
2445                if(lght_air == 7)
2446                {
2447                        switch( select( "Umm, yeah, kind of." ) )
2448                        {
2449                                case 1:
2450                                        break;
2451                        }
2452                        mes "[Hallen]";
2453                        mes "Really...?";
2454                        mes "Are you serious?";
2455                        mes "So what's the secret?";
2456                        mes "Tell me, I'm dying to know!";
2457                        next;
2458                        mes "^3355FFYou tell Hallen everything";
2459                        mes "that you've learned from";
2460                        mes "Captain Tarlock, but you're";
2461                        mes "careful not to make any";
2462                        mes "mention of Ymir's Heart Piece.^000000";
2463                        next;
2464                        mes "[Hallen]";
2465                        mes "So... The propellers are";
2466                        mes "powered through steam?";
2467                        mes "That doesn't make sense.";
2468                        mes "No way, it can't be that simple. Besides, steam has its limits.";
2469                        mes "Are you sure that's everything?";
2470                        next;
2471                        switch( select( "Actually, there's another power source." ) )
2472                        {
2473                                case 1:
2474                                        break;
2475                        }
2476                        mes "^3355FFYou reveal what you";
2477                        mes "learn about the Rune Stone,";
2478                        mes "an imitation of Ymir's Heart";
2479                        mes "Piece: Hallen is a well meaning";
2480                        mes "kid who probably won't use this";
2481                        mes "knowledge for evil purposes.";
2482                        next;
2483                        mes "[Hallen]";
2484                        mes "A-awesome! So there is";
2485                        mes "some special magic power";
2486                        mes "source that helps this Airship";
2487                        mes "fly! I knew it! Now, what was";
2488                        mes "it called again? Ah, the";
2489                        mes "Rune Stone, right?";
2490                        next;
2491                        mes "[Hallen]";
2492                        mes "An imitation of Ymir's";
2493                        mes "Heart Piece. Now where";
2494                        mes "have I heard about that";
2495                        mes "before? Mm, let me think...";
2496                        set lhz_heart,7;
2497                        close;
2498                }
2499                else
2500                {
2501                        switch( select( "Actually..." ) )
2502                        {
2503                                case 1:
2504                                        break:;
2505                        }
2506                        mes "[Hallen]";
2507                        mes "You didn't learn anything";
2508                        mes "about the Airship yet, huh?";
2509                        mes "Maybe Captain Ferlock might";
2510                        mes "know something, or any one";
2511                        mes "of the other Airship captains.";
2512                        mes "Hopefully, one will tell you...";
2513                        next;
2514                        mes "[Hallen]";
2515                        mes "I know that the secrets of";
2516                        mes "Airship flight is considered";
2517                        mes "classified information, but if";
2518                        mes "anyone can wrest those secrets,";
2519                        mes "it'll be one of you adventurers. So please help me out here...";
2520                        close;
2521                }
2522        }
2523        else if(lhz_heart == 7)
2524        {
2525                mes "[Hallen]";
2526                mes "So the Rune Stone";
2527                mes "is an imitation of just";
2528                mes "a piece of Ymir's Heart.";
2529                mes "But where have I heard";
2530                mes "about that before...?";
2531                next;
2532                emotion e_gasp,0;
2533                mes "[Hallen]";
2534                mes "Oh, that's right!";
2535                mes "Kaci told me about a";
2536                mes "drunkard that always";
2537                mes "mentions Ymir's Heart";
2538                mes "when he plays the Dice";
2539                mes "game for Apples!";
2540                next;
2541                if(Shinokas_Quest > 9)
2542                {
2543                        mes "["+strcharinfo(0)+"]";
2544                        mes "(^333333Wait, I met that guy when";
2545                        mes "I was helping Shinokas. He";
2546                        mes "was one of the directors of";
2547                        mes "the Einbroch Laboratory that";
2548                        mes "had a piece of Ymir's Heart.";
2549                        mes "It's worth investigating...^000000)";
2550                        next;
2551                }
2552                mes "[Hallen]";
2553                mes "Anyway, it's not much,";
2554                mes "but let me give you a little";
2555                mes "something for going through";
2556                mes "the trouble of learning that";
2557                mes "secret information for me...";
2558                next;
2559                if(checkweight(501,1) != 1)
2560                {
2561                        mes "[Hallen]";
2562                        mes "Aw, nuts...";
2563                        mes "You don't have";
2564                        mes "enough room to";
2565                        mes "receive my little gift.";
2566                        mes "Please free up more space";
2567                        mes "in your inventory for me, okay?";
2568                        close;
2569                }
2570                if(Shinokas_Quest > 9) set lhz_heart,9;
2571                else set lhz_heart,8;
2572                getitem 501,1;
2573                mes "[Hallen]";
2574                mes "Here you go~";
2575                mes "I know it's pretty paltry";
2576                mes "compared to the rewards ";
2577                mes "you adventurers usually get,";
2578                mes "but hey... It's my thought that";
2579                mes "counts, right? See you later~";
2580                close;
2581        }
2582        else if(lhz_heart == 8)
2583        {
2584                mes "[Hallen]";
2585                mes "Hey, why don't you";
2586                mes "ask Kaci about that";
2587                mes "drunkard that's always";
2588                mes "playing her Dice game?";
2589                mes "You might learn more about";
2590                mes "Ymir's Heart Piece, you know?";
2591                close;
2592        }
2593        else
2594        {
2595                mes "[Hallen]";
2596                mes "Thanks for helping me";
2597                mes "out that last time. I guess";
2598                mes "learning about the Rune Stone";
2599                mes "kinda inspired me to build an";
2600                mes "Airship of my own someday...";
2601                close;
2602        }
2603}
2604
2605airplane,33,69,4        script  Kaci    73,{
2606
2607        if(hg_ma1 == 3)
2608        {
2609                mes "[Kaci]";
2610                mes "Hello there. My name is Kaci. If you feel bored boarding the airship, why don't you play a game of dice with me.";
2611                next;
2612                switch( select( "Ask whether she knows Thierry" ) )
2613                {
2614                        case 1:
2615                                break;
2616                }
2617                mes "[Kaci]";
2618                mes "Thierry ....That name sounds familiar...";
2619                next;
2620                mes "[Kaci]";
2621                mes "....................";
2622                mes ".............";
2623                mes ".......";
2624                mes "...";
2625                next;
2626                mes "[Kaci]";
2627                mes "Ahhh! Thierry Thierry Thierry !!";
2628                next;
2629                mes "^3355FFShe seems to recall something and starts to call out the name loudly.^000000";
2630                next;
2631                mes "[Kaci]";
2632                mes "Hahaha, I'm sorry about that. It has been a while since I last heard that name...";
2633                next;
2634                mes "[Kaci]";
2635                mes "He was the youngster who lived beside my master when I was learning how games work. I still remember that he is very bright and that he did different kinds of researches.";
2636                next;
2637                mes "[Kaci]";
2638                mes "I also recall that he likes the Euslan's sister who's being taught about the game by my master too. I wonder how the two of them are getting along nowadays.";
2639                next;
2640                mes "^3355FFI tell the girl that Euslan has engaged with Thierry and in order to cure Euslan, Thierry boarded an airship but his whereabouts is a mystery now.^000000";
2641                next;
2642                mes "[Kaci]";
2643                mes "Oh, how could Euslan fall sick? Oh...";
2644                next;
2645                mes "^3355FFKaci is so shocked to learn about Thierry that she loses herself in her thoughts for a while until regaining conciousness.^000000";
2646                next;
2647                mes "[Kaci]";
2648                mes "Honestly, I would like to help but I haven't heard anything new from them since we haven't seen eachother for such a long time.";
2649                next;
2650                mes "[Kaci]";
2651                mes "Isn't there any other way?";
2652                next;
2653                mes "[Kaci]";
2654                mes "Ah...! The captain might know something. He is the one who manages the list of the passengers.";
2655                next;
2656                mes "[Kaci]";
2657                mes "However, the passenger list cannot be shown to the public...";
2658                next;
2659                mes "[Kaci]";
2660                mes "However, I think the captain will be willing to help if you tell him the whole story. You should give it a try.";
2661                next;
2662                mes "[Kaci]";
2663                mes "As for Euslan, please tell her about me and let her know that I hope she gets well soon.";
2664                next;
2665                mes "^3355FFSince she's begging, I guess I should send her message.";
2666                set hg_ma1,4;
2667                close;
2668        }
2669        else if(hg_ma1 == 4)
2670        {
2671                mes "[Kaci]";
2672                mes "You can ask the captain for the whereabouts of Thierry. I am sure that the captain will be willing to help if you tell him what happened.";
2673                close;
2674        }
2675        else if(lhz_heart == 2)
2676        {
2677                mes "[Kaci]";
2678                mes "You must be sooo";
2679                mes "bored, adventurer~";
2680                mes "How would you like";
2681                mes "to play a game of Dice?";
2682                next;
2683                switch( select( "Give her the letter from Hallen." ) )
2684                {
2685                        case 1:
2686                                break;
2687                }
2688                mes "[Kaci]";
2689                mes "Oh, Hallen must have";
2690                mes "asked you to deliver this.";
2691                mes "He should be doing this sort";
2692                mes "of thing himself, instead of";
2693                mes "asking customers for favors!";
2694                mes "But still, he's really busy...";
2695                next;
2696                set lhz_heart,3;
2697                mes "[Kaci]";
2698                mes "Thank you for bringing";
2699                mes "this to me. If you ever";
2700                mes "need a little favor from";
2701                mes "me, feel free to ask me,";
2702                mes "alright? See you later~";
2703                close;
2704        }
2705        else if(lhz_heart == 3)
2706        {
2707                mes "[Kaci]";
2708                mes "Oh, hello. Thanks for";
2709                mes "delivering that letter from";
2710                mes "Mr. Mawong to me, especially";
2711                mes "since Hallen was too busy to";
2712                mes "do it himself. Reading that";
2713                mes "letter really made my day~";
2714                next;
2715L_Ask:
2716                switch( select( "Ask about Hallen","Ask about Mawong","Ask about the Airship" ) )
2717                {
2718                        case 1:
2719                                set .@mesa,1;
2720                                mes "[Kaci]";
2721                                mes "Hallen? Well, he and I are";
2722                                mes "pretty close. Did you know";
2723                                mes "that we're cousins? In fact,";
2724                                mes "his dad, my uncle, brought";
2725                                mes "me as a child after my father";
2726                                mes "passed away 20 years ago.";
2727                                next;
2728                                mes "[Kaci]";
2729                                mes "There was some kind of";
2730                                mes "mine explosion accident in";
2731                                mes "Einbech. I don't remember.";
2732                                mes "Anyway, me and Hallen are";
2733                                mes "like sister and brother, and";
2734                                mes "we always stick together.";
2735                                next;
2736                                mes "[Kaci]";
2737                                mes "When Captain Ferlock saw me";
2738                                mes "host a Dice game by coincidence";
2739                                mes "and then hired me to work on his Airship, Hallen insisted on coming";
2740                                mes "along. He's stubborn like that,";
2741                                mes "but he's also very sweet.";
2742                                next;
2743                                break;
2744                               
2745                        case 2:
2746                                set .@mesb,1;
2747                                mes "[Kaci]";
2748                                mes "Mr. Mawong? Oh, don't get";
2749                                mes "the wrong idea! He's my";
2750                                mes "mentor, the one who taught";
2751                                mes "me how to play all of these";
2752                                mes "wonderful games. He's pretty";
2753                                mes "famous around Juno, you know.";
2754                                next;
2755                                mes "[Kaci]";
2756                                mes "I used to be so depressed,";
2757                                mes "not caring about the world";
2758                                mes "at all, after my father died.";
2759                                mes "Then, I ran into Mr. Mawong,";
2760                                mes "and he taught me how to find";
2761                                mes "the joy in life once again.";
2762                                next;
2763                                mes "[Kaci]";
2764                                mes "Because of him, I decided";
2765                                mes "to learn his games and to";
2766                                mes "help people forget their";
2767                                mes "worries and just enjoy";
2768                                mes "themselves, even if it's";
2769                                mes "just for a little while.";
2770                                next;
2771                                break;
2772                               
2773                        case 3:
2774                                set .@mesc,1;
2775                                mes "[Kaci]";
2776                                mes "The Airship? It's so";
2777                                mes "huge and beautiful, and";
2778                                mes "I'm always amazed that it";
2779                                mes "can fly so gracefully through";
2780                                mes "the air. I've always wanted to live someplace close to the sky...";
2781                                next;
2782                                mes "[Kaci]";
2783                                mes "A place where I can see";
2784                                mes "the clouds and bask in the";
2785                                mes "sun. So, when Captain Ferlock";
2786                                mes "invited me to work here, it was";
2787                                mes "like a dream come true~";
2788                                next;
2789                                break;
2790                }
2791                mes "[Kaci]";
2792                mes "Please don't hesitate";
2793                mes "to ask me anything if";
2794                mes "you need a small favor,";
2795                mes "or if you're just curious";
2796                mes "about me in general~";
2797                next;
2798                if(!.@mesa || !.@mesb || !.@mesc) goto L_Ask;
2799                mes "[Kaci]";
2800                mes "By the way, if Hallen";
2801                mes "bothers you with another";
2802                mes "request, please refuse to";
2803                mes "help him next time, okay?";
2804                mes "I won't allow him to get";
2805                mes "spoiled! Ho ho ho ho~";
2806                next;
2807                mes "[Kaci]";
2808                mes "Well, I better get";
2809                mes "back to work now.";
2810                mes "Have a nice day,";
2811                mes "and I'll see you later~";
2812                set lhz_heart,4;
2813                close;
2814        }
2815        else if(lhz_heart == 8)
2816        {
2817                mes "[Kaci]";
2818                mes "Hello, "+strcharinfo(0)+".";
2819                mes "It's nice to see you again.";
2820                mes "So is there anything I can";
2821                mes "help you with today?";
2822                next;
2823                switch( select( "Who's that drunk over there?" ) )
2824                {
2825                        case 1:
2826                                break;
2827                }
2828                mes "[Kaci]";
2829                mes "Oh, him? He's one of my";
2830                mes "regulars, some guy who's";
2831                mes "supposed to be an Einbroch";
2832                mes "Lab Director. He keeps losing";
2833                mes "Apples whenever he plays Dice:";
2834                mes "I think he's a gambling addict~";
2835                next;
2836                mes "[Kaci]";
2837                mes "In fact, his losses make up";
2838                mes "for all the Apples I lost when";
2839                mes "that Apple Merchant played here. Now, it's a legendary tale that";
2840                mes "we all think fondly of, but at";
2841                mes "the time, it nearly broke me.";
2842                next;
2843                mes "[Kaci]";
2844                mes "Anyway, aside from the fact";
2845                mes "that the Einbroch Lab Director";
2846                mes "is kind of a whiny person when";
2847                mes "he's drunk, and a poor gambler,";
2848                mes "I don't know much about him.";
2849                next;
2850                mes "["+strcharinfo(0)+"]";
2851                mes "(^333333Einbroch Laboratory...";
2852                mes "It's so suspicious. That";
2853                mes "director knows about Ymir's";
2854                mes "Heart Piece, so they must be";
2855                mes "keeping something really";
2856                mes "important over there.^000000)";
2857                next;
2858                mes "["+strcharinfo(0)+"]";
2859                mes "(^333333I better investigate";
2860                mes "that laboratory in Einbroch";
2861                mes "as soon as I can, even if it's";
2862                mes "a heavily restricted area.^000000)";
2863                set lhz_heart,9;
2864                close;
2865        }
2866        mes "[Kaci]";
2867        mes "You must be sooo";
2868        mes "bored, adventurer~";
2869        mes "How would you like";
2870        mes "to play a game of Dice?";
2871        next;
2872        callfunc "applegamble","Kaci";
2873        end;
2874}
2875
2876ein_in01,279,25,0       script  #lab01_heart    139,1,1,{
2877
2878OnTouch:
2879        if(lhz_heart == 9)
2880        {
2881                mes "["+strcharinfo(0)+"]";
2882                mes "(^333333I've... I've just";
2883                mes "got to investigate";
2884                mes "that laboratory and";
2885                mes "see if anything funny";
2886                mes "is going on in there.^000000)";
2887                close;
2888        }
2889}
2890
2891ein_in01,264,17,0       script  #lab02_heart    139,1,1,{
2892
2893OnTouch:
2894        if(lhz_heart == 9)
2895        {
2896                mes "["+strcharinfo(0)+"]";
2897                mes "What the...";
2898                mes "It's some sort of";
2899                mes "weird device. The label";
2900                mes "here says, ''Password";
2901                mes "Checker?'' Well, this";
2902                mes "might come in handy later.";
2903                next;
2904                mes "^3355FFYou decide to bring";
2905                mes "the Password Checker";
2906                mes "device with you into";
2907                mes "the laboratory.^000000";
2908                set lhz_heart,10;
2909                close;
2910        }
2911}
2912
2913ein_in01,263,35,3       script  Ferlock#lab     873,{
2914        end;
2915
2916OnInit:
2917        disablenpc "Ferlock#lab";
2918        stopnpctimer;
2919        end;
2920
2921OnEnter:
2922        enablenpc "Ferlock#lab";
2923        initnpctimer;
2924        end;
2925       
2926OnEmote:
2927        emotion e_omg,0;
2928        end;
2929
2930OnTimer120000:
2931        donpcevent "Ferlock#lab::OnInit";
2932        end;
2933}
2934
2935ein_in01,261,35,0       script  lab03#heart     139,1,1,{
2936
2937OnTouch:
2938        if(lhz_heart == 9)
2939        {
2940                mes "[Security System]";
2941                mes "^FF0000Unauthorized person";
2942                mes "detected. Password";
2943                mes "Checker not detected.";
2944                mes "Access denied.^000000";
2945                close;
2946        }
2947        else if(lhz_heart == 10)
2948        {
2949                mes "[Security System]";
2950                mes "^FF0000Enter the 3 digit password.";
2951                mes "You will be allowed 5 tries";
2952                mes "within 3 minutes to enter";
2953                mes "the correct password, or";
2954                mes "the password will reset.^000000";
2955                next;
2956                mes "[Password Checker]";
2957                mes "^333333Hint:";
2958                mes "Do not use the";
2959                mes "number 0, and do";
2960                mes "not enter any number";
2961                mes "more than once. Make";
2962                mes "sure the password is 3 digits.";
2963                next;
2964L_Recode:
2965                set @thanacode1,rand(1,9);
2966                set @thanacode2,rand(1,9);
2967                set @thanacode3,rand(1,9);
2968                if((@thanacode1 == @thanacode2) || (@thanacode1 == @thanacode3) || (@thanacode2 == @thanacode3)) goto L_Recode;
2969L_Input:
2970                input @thanainput;
2971                if((@thanainput < 100) || (@thanainput > 999))
2972                {
2973                        mes "[Security System]";
2974                        mes "^FF0000Error.";
2975                        mes "The password entered";
2976                        mes "exceeds the number digit";
2977                        mes "limit. You must only enter";
2978                        mes "3 digit passwords.^000000";
2979                        close;
2980                }
2981                set @thanainput1,@thanainput / 100;
2982                set @thanainput2,(@thanainput % 100) / 10;
2983                set @thanainput3,@thanainput % 10;
2984                if ((@thanainput1 == 0) || (@thanainput2 == 0) || (@thanainput3 == 0))
2985                {
2986                        mes "[Security System]";
2987                        mes "^FF0000Error.";
2988                        mes "You cannot enter the";
2989                        mes "number 0, or use any";
2990                        mes "other number more than";
2991                        mes "once. Please try again.^000000";
2992                        next;
2993                        goto L_Input;
2994                }
2995                mes "[Security System]";
2996                mes "^ff0000"+strcharinfo(0)+"^000000";
2997                mes "has entered the following:";
2998                mes "^0000ff"+@thanainput1+"^000000 - ^0000ff"+@thanainput2+"^000000 - ^0000ff"+@thanainput3+"^000000. Please wait for";
2999                mes "authorization to complete.";
3000                set @thanatry,@thanatry +1;
3001                next;
3002                set @strike,0;
3003                set @ball,0;
3004                if(@thanainput1 == @thanacode1) set @strike,@strike +1;
3005                if(@thanainput2 == @thanacode2) set @strike,@strike +1;
3006                if(@thanainput3 == @thanacode3) set @strike,@strike +1;
3007                if((@thanainput1 == @thanacode2) || (@thanainput1 == @thanacode3)) set @ball,@ball +1;
3008                if((@thanainput2 == @thanacode1) || (@thanainput2 == @thanacode3)) set @ball,@ball +1;
3009                if((@thanainput3 == @thanacode1) || (@thanainput3 == @thanacode2)) set @ball,@ball +1;
3010                if(@strike == 3)
3011                {
3012                        mes "[Security System]";
3013                        mes "Authorization complete.";
3014                        mes "Archive access granted.";
3015                        next;
3016                        mes "^3355FFThe archive door opens,";
3017                        mes "revealing a series of";
3018                        mes "filed documents. Out";
3019                        mes "of all of them, one of the";
3020                        mes "files grabs your attention.^000000";
3021                        next;
3022                        mes "Varmunt Project No. 3";
3023                        mes "Security Level : Grade 1-C";
3024                        mes " ";
3025                        mes "Caution: Only project members";
3026                        mes "of the Ymir Heart Synthesization project are authorized to view";
3027                        mes "this classified document.";
3028                        next;
3029                        mes "Varmunt Project No. 3";
3030                        mes "Security Level : Grade 1-C";
3031                        mes " ";
3032                        mes "All others found reading";
3033                        mes "this document are subject";
3034                        mes "to punishment or dismissal.";
3035                        next;
3036                        mes "^3355FFYou perceive the sound of";
3037                        mes "footsteps and quickly try to";
3038                        mes "return the document to its";
3039                        mes "original place. However,";
3040                        mes "the person that has come";
3041                        mes "to the archive has already";
3042                        mes "seen you holding the file.^000000";
3043                        next;
3044                        donpcevent "Ferlock#lab::OnEnter";
3045                        mes "[Ferlock]";
3046                        mes "Excuse me, but are";
3047                        mes "you an employee here?";
3048                        mes "I've come to pick up a";
3049                        mes "new Rune Stone for the";
3050                        mes "Airship. Wait, wait...";
3051                        mes "You look familiar...";
3052                        next;
3053                        donpcevent "Ferlock#lab::OnEmote";
3054                        mes "[Ferlock]";
3055                        mes "That's right, aren't you the";
3056                        mes "one who brought me my";
3057                        mes "brother's letter? Yeah, you";
3058                        mes "were asking me about the";
3059                        mes "Airship's flight mechanics.";
3060                        mes "So you're not an employee...";
3061                        next;
3062                        mes "[Ferlock]";
3063                        mes "Boy, you must be more than";
3064                        mes "curious to be looking up that";
3065                        mes "information in a restricted";
3066                        mes "area. But don't worry, you";
3067                        mes "must have your reasons,";
3068                        mes "so I won't call the guards.";
3069                        next;
3070                        mes "[Ferlock]";
3071                        mes "Still, you better get out";
3072                        mes "of here. The guards patrol";
3073                        mes "this place regularly, so you're";
3074                        mes "almost sure to get caught. Hmm,";
3075                        mes "come and see me later at the";
3076                        mes "Airship, alright? Now hurry!";
3077                        close2;
3078                        donpcevent "Ferlock#lab::OnInit";
3079                        set lhz_heart,11;
3080                        end;
3081                }
3082                mes "[Password Checker]";
3083                mes " ";
3084                mes "^333333Total of correct numbers";
3085                mes "in correct sequence: ^ff0000"+@strike+"^333333";
3086                mes "Total of correct numbers misplaced: ^ff0000"+@ball+"^333333.";
3087                mes "Please use these results";
3088                mes "to make a more accurate guess.^000000";
3089                next;
3090                if(@thanatry > 4)
3091                {
3092                        mes "[Security System]";
3093                        mes "^FF0000The correct password";
3094                        mes "for this session was";
3095                        mes "^000000"+@thanacode1+"^FF0000 - ^000000"+@thanacode2+"^000000 - ^000000"+@thanacode3+"^FF0000. Password";
3096                        mes "will now be reset.^000000";
3097                        set @thanatry,0;
3098                        close;
3099                }
3100                mes "[Security System]";
3101                mes "Beeeeep!";
3102                mes "Incorrect password.";
3103                mes " ";
3104                if(@thanatry == 1) mes "Initialing 2nd attempt...^000000";
3105                if(@thanatry == 2) mes "Initialing 3rd attempt...^000000";
3106                if(@thanatry == 3) mes "Initialing 4th attempt...^000000";
3107                if(@thanatry == 4) mes "Initialing final attempt...^000000";
3108                next;
3109                goto L_Input;
3110        }
3111}
3112
3113//========Explosions=======================
3114
3115airplane_01,239,62,0    script  boom#air-1::boom        139,{
3116OnAttack:
3117        misceffect 183;
3118        end;
3119}
3120//==========Duplicates=============
3121airplane_01,244,55,0    duplicate(boom) boom#air-2      139
3122airplane_01,239,50,0    duplicate(boom) boom#air-3      139
3123airplane_01,245,59,0    duplicate(boom) boom#air-4      139
3124airplane_01,245,48,0    duplicate(boom) boom#air-5      139
3125airplane_01,235,39,0    duplicate(boom) boom#air-6      139
3126airplane_01,252,41,0    duplicate(boom) boom#air-7      139
3127airplane_01,252,63,0    duplicate(boom) boom#air-8      139
3128airplane_01,234,65,0    duplicate(boom) boom#air-9      139
3129airplane_01,227,67,0    duplicate(boom) boom#air-10     139
3130airplane_01,249,50,0    duplicate(boom) boom#air-0      139
Note: See TracBrowser for help on using the browser.