summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1/mechanic.txt
blob: 4f74cb0515a2a60960be102fe2ecdc2aa133d725 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015  Hercules Dev Team
//= Copyright (C)  Euphy
//= Copyright (C)  JayPee
//= Copyright (C)  Masao
//= Copyright (C)  Muad_Dib
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Mechanic Job Quest
//================= Description ===========================================
//= Jobchange Quest from Blacksmith / Whitesmith -> Mechanic.
//================= Current Version =======================================
//= 1.2
//=========================================================================

yuno,129,156,3	script	Chainheart	4_M_DOCTOR,{
	mes "[Chainheart]";
	if (BaseLevel > 99) {
		mes "Living as a Mechanic is tough,";
		mes "but I am happy that I can";
		mes "always do what I want.";
		close;
	}
	if (job__mechanic == 12) {
		mes "There's nothing to say specifically about Mechanics or magic machinery.";
		mes "You would know more about it than anyone now.";
		next;
		mes "[Chainheart]";
		mes "Continue to grow your knowledge by experiencing what the world has to offer.";
		close;
	} else if (job__mechanic == 11) {
		if (BaseJob == Job_Blacksmith && BaseLevel > 98 && JobLevel > 49 && SkillPoint == 0) {
			if (hascashmount()) {
				mes "You are on a riding pet,";
				mes "so you cannot change your job.";
				mes "Please unequip your riding pet and try again!";
				close;
			}
			mes "What is it? Is that you?";
			mes "Oh wait, you look quite different than the last time I saw you.";
			mes "Did something happen?";
			next;
			mes "[Chainheart]";
			mes "Ahh! You went to Juperos";
			mes "like I said. As Franklson did.";
			next;
			mes "[Chainheart]";
			mes "It seems there's no need";
			mes "for more questioning.";
			mes "I'm certain that you've gained the knowledge to be a true mechanic.";
			next;
			mes "[Chainheart]";
			mes "There's nothing I can say more.";
			mes "You are already a great Mechanic.";
			mes "Don't lose your nerves with the";
			mes "title. The most important thing is that you have the knowledge.";
			next;
			mes "[Chainheart]";
			mes "You don't seem to be the type to be locked up inside a lab or in a library.";
			mes "You are a type who learns";
			mes "by actively participating.";
			next;
			mes "[Chainheart]";
			mes "I like who you are and I think we need that kind of a new blood for our Mechanics.";
			next;
			mes "[Chainheart]";
			mes "Science is seeking and studying things that can be proven logically.";
			mes "Ironically enough, science usually starts from uncertain theories just like magic.";
			next;
			mes "[Chainheart]";
			mes "As I said before if the passion and the talent are real there would be no problem!";
			mes "Congratulations for walking through a new path as a Mechanic!";
			next;
			job__mechanic = 12;
			completequest 10101;
			if (Sex)
				getitem Driver_Band,1;
			else
				getitem Driver_Band_,1;
			getitem Green_Apple_Ring,1;
			jobchange roclass(eaclass()|EAJL_THIRD);
			mes "[Chainheart]";
			mes "This is a gift that I give to you.";
			mes "If you keep this well, one day";
			mes "you'll be thankful to me.";
			next;
			mes "[Chainheart]";
			mes "Well, go. This wide world is";
			mes "your laboratory, everything in";
			mes "this world is going to be your";
			mes "textbook, so let there be a silver lining in the future of Mechanics!";
			close;
		}
		mes "It seems something not enough?";
		close;
	} else if (job__mechanic >= 3) {
		mes "By the way, Franklson is missing.";
		mes "He said that he wanted to study";
		mes "and then disappeared.";
		mes "Where could he have gone?";
		next;
		mes "[Chainheart]";
		mes "If you keep walking the way to being a Mechanic you might bump into him.";
		mes "Fate works in weird ways friend.";
		next;
		mes "[Chainheart]";
		mes "Anyway, farewell.";
		close;
	} else if (job__mechanic == 2) {
		mes "I think I've done all the explanations, is there anything else you want to know?";
		next;
		switch(select("I want to know more.:Nothing.")) {
		case 1:
			mes "[Chainheart]";
			mes "Um..? You want to know more about magic machinery. Is that it?";
			mes "Hmm... I told you that you are talented it's difficult.";
			next;
			mes "[Chainheart]";
			mes "Well, you seem talented, so it wouldn't be bad for us if you could become a Mechanic.";
			mes "But unfortunately it doesn't";
			mes "work just like that.";
			next;
			mes "[Chainheart]";
			mes "The mechanic scholars won't just acknowledge you that easily and hand you the knowledge without you showing true effort first.";
			next;
			mes "[Chainheart]";
			mes "Of course, I'm one of those scholars so I guess I can try to consider you.";
			next;
			mes "[Chainheart]";
			mes "Anyhow, I just think it's unfair to exclude someone who's talented without any test.";
			next;
			mes "[Chainheart]";
			mes "Hmm...";
			next;
			mes "[Chainheart]";
			mes "Actually, if somebody can't teach you, you can learn by yourself.";
			mes "If someone else can do it then anyone can figure it out for themself too right?";
			next;
			mes "[Chainheart]";
			mes "It won't be easy but if your passion is strong and your talent is real then there shouldn't be any problems.";
			next;
			mes "[Chainheart]";
			mes "Come to think of it...";
			mes "Franklson developed the";
			mes "magic machinery on his own.";
			mes "So why don't you go to";
			mes "the Ruins of Juperos?";
			next;
			mes "[Chainheart]";
			mes "As I told you before, if your passion and talent are real, you will definitely find something.";
			next;
			mes "[Chainheart]";
			mes "Find out the knowledge";
			mes "for yourself like we did.";
			mes "Don't just wait around for someone to teach it to you. Show the passion that you claim to have.";
			next;
			job__mechanic = 3;
			changequest 10091,10092;
			mes "[Chainheart]";
			mes "Anyway, whatever your choice might be I expect you to do your best.";
			close;
		case 2:
			mes "[Chainheart]";
			mes "What a strange person.";
			mes "I thought that you had what it took to be a true Mechanic.";
			close;
		}
	} else if (job__mechanic == 1) {
		mes "Ok let me catch my breath.";
		mes "You must be interested in";
		mes "magic machinery and the";
		mes "world of Mechanics.";
		mes "Ok, so let me explain.";
		next;
		mes "[Chainheart]";
		mes "Magic machinery was born by a fusion between machines and magic.";
		mes "The two haven't really been connected successfully together until now.";
		next;
		mes "[Chainheart]";
		mes "If you use the magic machinery, you really have to be familiar with the inner workings of machines.";
		next;
		mes "[Chainheart]";
		mes "It can be used effectively,";
		mes "and you don't need to rely on something that's uncertain and unstable as magic, so what can be better than this.";
		next;
		mes "[Chainheart]";
		mes "The person who invented magic machinery is Franklson, a scholar from the Schwaltzvalt Republic.";
		next;
		mes "[Chainheart]";
		mes "Franklson discovered an ancient machine in the ^FF0000Ruins of Juperos^000000 and fused it with the power of magic, and that was the beginning.";
		next;
		mes "[Chainheart]";
		mes "So naturally, Franklson named the newborn machine Magic Machinery.";
		next;
		mes "[Chainheart]";
		mes "Anyway, since it hasn't been too well known to other places outside of Juno, the study of Magic Machinery has been progressing since.";
		next;
		mes "[Chainheart]";
		mes "Because we've researched";
		mes "Magic Machinery endlessly";
		mes "people started calling us ^FF0000Mechanics^000000.";
		mes "The name is self-explanatory";
		mes "so it just stuck.";
		next;
		mes "[Chainheart]";
		mes "Hmm. Well I guess I'm done explaining Magic Machinery.";
		mes "I want to explain more but it's too technical.";
		mes "I don't want to bore you more.";
		next;
		job__mechanic = 2;
		changequest 10090,10091;
		mes "[Chainheart]";
		mes "Anyway if you become one of us you can form your own definition and explanation of Mechanics yourself.";
		close;
	}
	if (BaseJob == Job_Blacksmith) {
		if (BaseLevel > 98 && JobLevel > 49 && SkillPoint == 0) {
			mes "At a glance, you, seem to be a very versatile person on dealing with various things.";
			mes "You look quite skilled.";
			mes "You can be the one.";
			next;
			mes "[Chainheart]";
			mes "Ah, I didn't introduce myself.";
			mes "I am the famous Chainheart.";
			mes "I'm a Mechanic.";
			mes "Well, actually I'm not that famous.";
			next;
			mes "[Chainheart]";
			mes "I don't think the word Mechanic";
			mes "is familiar to you.";
			mes "In fact, when it comes";
			mes "to the description,";
			mes "it's a new job that can";
			mes "be explained simply.";
			next;
			mes "[Chainheart]";
			mes "One who studies and uses Magic Machinery, that is a Mechanic.";
			next;
			mes "[Chainheart]";
			mes "So, what is the Magic Machinery that a Mechanic studies and uses?";
			mes "That isn't as simple to explain but I'll give it a try.";
			next;
			setquest 10090;
			job__mechanic = 1;
			mes "[Chainheart]";
			mes "Sorry, I'm starting";
			mes "to talk too much.";
			mes "Let me catch my";
			mes "breath for a while.";
			mes "If you are interested,";
			mes "please talk to me again.";
			close;
		}
		mes "You look like someone who has a great sense on dealing with stuff.";
		next;
		mes "[Chainheart]";
		mes "That power has been used on";
		mes "just dealing with simple things.";
		mes "That isn't going to give";
		mes "you true enjoyment.";
		next;
		mes "[Chainheart]";
		mes "Right... If you want to enjoy";
		mes "true feelings of dealing and";
		mes "a deep profoundness,";
		mes "you need to handle";
		mes "^FF0000Magic Machinery^000000!";
		next;
		mes "[Chainheart]";
		mes "Magic Machinery hasn't been";
		mes "in the world long, so recognizing it is not common yet.";
		mes "It's very precise and completely different from anything you've experienced in the world.";
		next;
		mes "[Chainheart]";
		mes "Yeah, and the ones who deal with magic machinery are called ^FF0000Mechanics^000000.";
		mes "I am also the one of those honorable mechanics.";
		next;
		mes "[Chainheart]";
		mes "It seems like you have what it takes to be a good mechanic.";
		mes "Here are the basic requirements.";
		next;
		mes "[Chainheart]";
		mes "If you come to me after reaching ^FF0000Base level 99^000000 and ^FF0000Job level 50^000000,";
		mes "I will guide you to the world of Mechanics.";
		close;
	}
	mes "Living as a Mechanic is tough,";
	mes "but I am happy that I can";
	mes "always do what I want.";
	next;
	mes "[Chainheart]";
	mes "Don't you also want to become a Mechanic and enjoy true happiness?";
	close;
}

jupe_cave,37,55,5	script	Scholar#Mechanic	4_M_ALCHE_D,{
	if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 300) {
		mes "- Your pack is too heavy. -";
		mes "- Lighten your body first -";
		mes "- and please try again. -";
		close;
	}
	mes "[Scholar]";
	if (job__mechanic > 10) {
		mes "How was Juperos?";
		mes "I am so scared that I still";
		mes "cannot go there.";
		close;
	} else if (job__mechanic > 3) {
		mes "^FF0000You won't be able to reach the destination by walking.";
		mes "^FF0000Strong enemies are not the problem here, you just won't be able to get to the destination.";
		mes "Please make yourself at home.^000000";
		next;
		mes "[Scholar]";
		mes "However comfortable it may be,";
		mes "I have no intention to go.";
		next;
		mes "[Scholar]";
		mes "Okay then, Are you ready";
		mes "to go to the midway point";
		mes "at Juperos?";
		next;
		switch(select("I am ready!:Not yet")) {
		case 1:
			mes "[Scholar]";
			mes "Uh... you are acting so firmly that I regret a little that I haven't gone there.";
			mes "Should I have gone there? Uh... It's no use crying over spilled milk!";
			next;
			mes "[Scholar]";
			mes "Well, I'll send you.";
			mes "I hope you get";
			mes "the knowledge";
			mes "you wanted.";
			close2;
			warp "jupe_core2",149,288;
			end;
		case 2:
			mes "[Scholar]";
			mes "Umm... right. Of course, it's no surprise that you are hesitant.";
			next;
			mes "[Scholar]";
			mes "But, if you don't take the warp that I open for you, you won't be able to get to the destination.";
			mes "Please don't waste your energy.";
			next;
			mes "[Scholar]";
			mes "Of course, no matter how comfortable you may be I wouldn't go there.";
			close;
		}
	}
	mes "I am a scholar who came here to research the ruins here in Juperos.";
	next;
	mes "[Scholar]";
	mes "But... actually when I try to go further";
	mes "I get scared. I can hardly go inside.";
	mes "What can I do?";
	next;
	mes "[Scholar]";
	mes "I heard a rumor that humans aren't welcome inside there.";
	mes "But it should be very useful to study the marvelous machines in there.";
	if (job__mechanic != 3) close;
	next;
	mes "[Scholar]";
	mes "Umm? Are you also going to Juperos to get something?";
	mes "I have no courage to go in there.";
	mes "Good luck to you.";
	next;
	mes "[Scholar]";
	mes "I know the way to get to";
	mes "the midway point and I also have";
	mes "all the stuff I need. But I'm just too scared.";
	next;
	mes "[Scholar]";
	mes "So if you want, I'll send you";
	mes "to Juperos. Mr. Elder Scholar";
	mes "has told me how to warp to";
	mes "the midway point to Juperos.";
	next;
	job__mechanic = 4;
	mes "[Scholar]";
	mes "It is true that it becomes easy";
	mes "but you can't help the fear";
	mes "it's too bad. Anyway if you are";
	mes "ready to go please tell me.";
	close;
}

jupe_core2,149,273,3	script	Ghostfire#1	4_NFWISP,{
	mes "[?]";
	if (job__mechanic == 11) {
		mes "I've lost my body and all that's left is my spirit in this place.";
		mes "I will live and die here in Juperos forever...";
		close;
	} else if (job__mechanic == 10) {
		mes "That appearance... Is it so? You also gained the knowledge.";
		mes "When the future is full of possibilities...";
		mes "An attitude of a pure child";
		mes "like you can do anything...";
		next;
		mes "[?]";
		mes "Come to think of it now the most precious thing right now might be getting confidence rather than knowledge itself...";
		next;
		mes "[?]";
		mes "Please don't make any";
		mes "faults from now on as I did.";
		mes "I hope you get knowledge";
		mes "by yourself someday.";
		next;
		mes "[?]";
		mes "Well then go back, find a human who knows of magic machinery and show evidence that you've gained the knowledge...";
		next;
		mes "[?]";
		mes "I'm the one who lost my body";
		mes "and my spirits are disrupted";
		mes "I'm restricted to this place, Juperos... I will live and die with Juperos";
		mes "Forever...";
		next;
		mes "[?]";
		mes "My name... name is... Fr...";
		close2;
		job__mechanic = 11;
		changequest 10100,10101;
		warp "yuno",157,83;
		end;
	} else if (job__mechanic > 4) {
		mes "I've lost my body and all that's left is my spirit in this place.";
		mes "I will live and die here in Juperos forever...";
		close;
	} else if (job__mechanic > 2) {
		mes "Talented one.";
		mes "Make sure there are";
		mes "no enemies around.";
		mes "If you focus on me,";
		mes "you might get attacked.";
		next;
		if(select("Well then, later.:Focus.") == 1) close;
		mes "[?]";
		mes "I was once a human scholar.";
		mes "I wanted to know the limitation of science that humankind didn't know of, so I learned a lot of things, studied,";
		mes "and searched...";
		next;
		mes "[?]";
		mes "That's when I discovered, the uncertain magical power.";
		next;
		mes "[?]";
		mes "The thing, with uncertain magic is that it is highly unstable and unpredictable.";
		mes "During my studies I encountered a pocket of highly volatile magic.";
		next;
		mes "[?]";
		mes "The only memories I have are from that day forward.";
		mes "I've been trapped here since.";
		next;
		mes "[?]";
		mes "Juperos is all that I know now.";
		mes "I'm going to die here.";
		next;
		mes "[?]";
		mes "I don't know who you are...";
		mes "I won't bother to know if you";
		mes "want to gain some knowledge";
		mes "find someone who cares.";
		next;
		if (job__mechanic == 3 || job__mechanic == 4)
			changequest 10092,10094;
		job__mechanic = 5;
		mes "[?]";
		mes "Knowledge isn't obtained from others. It is found through one's own efforts.";
		mes "Find your own knowledge path.";
		close;
	}
	end;
}

jupe_core2,53,75,3	script	Ghostfire#2	4_NFWISP,{
	mes "[?]";
	if (job__mechanic > 5) {
		mes "Juperos... I...";
		mes "Juperos... What I want";
		mes "exists all in here...";
		mes "The power of science...the paradise of machines...";
		close;
	} else if (job__mechanic == 5) {
		mes "Talented one.";
		mes "Make sure there are";
		mes "no enemies around.";
		mes "If you focus on me,";
		mes "you might get attacked.";
		next;
		if(select("Well then, later:Focus") == 1) close;
		mes "[?]";
		mes "When I had a body";
		mes "I wanted to prove the";
		mes "excellence of science";
		mes "to the ones who only believe";
		mes "such occult things...";
		next;
		mes "[?]";
		mes "I wanted to use the power of";
		mes "magic as a reasonable form";
		mes "which is visible. With stronger";
		mes "results, I wanted to control";
		mes "the power of magic by";
		mes "using science....";
		next;
		mes "[?]";
		mes "I wanted to show that science";
		mes "is excellent to control magic";
		mes "like the occult. I studied a lot";
		mes "of things and agonized over";
		mes "making science and magic";
		mes "co-exist.";
		next;
		mes "[?]";
		mes "My research led me here,";
		mes "Juperos. In this place there";
		mes "are many products of science";
		mes "that could stimulate a scholar's";
		mes "brain...";
		next;
		mes "[?]";
		mes "I found that it was possible to join the power of magic with science.";
		mes "Even if it wasn't perfect, it appealed enough to the other scholars...";
		next;
		mes "[?]";
		mes "The recent events of the world have created a confusion so my research hasn't been shared with the rest of the world.";
		next;
		job__mechanic = 6;
		changequest 10094,10095;
		mes "[?]";
		mes "So... I came back to Juperos to continue my investigation of science and magic.";
		close;
	}
	end;
}

jupe_core2,242,62,3	script	Ghostfire#3	4_NFWISP,{
	mes "[?]";
	if (job__mechanic > 6) {
		mes "I want to know more about the knowledge...";
		mes "the features of humans...";
		mes "The things to be done first and later...";
		mes "The door of truth will later...";
		close;
	} else if (job__mechanic == 6) {
		mes "Talented one.";
		mes "Make sure there are";
		mes "no enemies around.";
		mes "If you focus on me,";
		mes "you might get attacked.";
		next;
		if(select("Well then, later:Focus") == 1) close;
		mes "[?]";
		mes "I wasn't satisfied with my success so I came back here time and time again.";
		next;
		mes "[?]";
		mes "When I stepped on the foothold of this statue, the energy I had gathered and learned was absorbed.";
		next;
		mes "[?]";
		mes "But, with that energy being absorbed, I began to gain knowledge that I never knew previously.";
		next;
		mes "[?]";
		mes "But it came at a price. With the knowledge I started losing my humanity.";
		mes "I lost my body and the only thing I had was my spirit.";
		next;
		mes "[?]";
		mes "I don't regret gaining the knowledge. All I wish is that I could have my body back.";
		next;
		job__mechanic = 7;
		changequest 10095,10096;
		mes "[?]";
		mes "After I had poured my energy into the statue, I figured that I could move my energy to different statues.";
		close;
	}
	end;
}

jupe_core2,29,150,0	script	#Foothold	HIDDEN_WARP_NPC,1,1,{
OnTouch:
	if (job__mechanic == 8) {
		percentheal 0,-30;
		mes "-Suddenly I feel power is-";
		mes "-escaping my whole body-";
		mes "-What is happening?-";
		next;
		mes "-Find the door of truth-";
		mes "-it is the source of the-";
		mes "-power drain.-";
		close;
	} else if (job__mechanic == 7) {
		percentheal -20,0;
		mes "-Suddenly, an unidentified-";
		mes "-voice is ringing in my head-";
		mes "-What is it?-";
		next;
		mes "-Handling machines-";
		mes "-absorbing magic power-";
		mes "-a sacrificial offering-";
		mes "-the statue of a human.-";
		next;
		job__mechanic = 8;
		changequest 10096,10097;
		mes "-Most certain of all is that-";
		mes "-I started to feel the urge-";
		mes "-to go to the door of truth.-";
		close;
	} else if (job__mechanic > 2) {
		percentheal 0,-30;
		mes "-Suddenly I feel power is-";
		mes "-escaping from my body-";
		mes "-What is happening?-";
		close;
	}
	end;
}

jupe_core2,272,149,0	script	#Foothold2	HIDDEN_WARP_NPC,1,1,{
OnTouch:
	if (job__mechanic == 9) {
		mes "-I had a feeling that power-";
		mes "-has been draining out,-";
		mes "-but now, I do not-";
		mes "-feel anything.-";
		next;
		mes "-Go to the south of-";
		mes "-the foothold quickly.-";
		close;
	} else if (job__mechanic == 8) {
		percentheal -20,-30;
		mes "-Suddenly I feel power is-";
		mes "-escaping from my body-";
		mes "-What is happening?-";
		next;
		mes "-I feel my senses-";
		mes "-are returning to me.-";
		next;
		donpcevent "#Door::OnEnable";
		changequest 10097,10098;
		mes "-I think that I am becoming-";
		mes "-the sacrificial offering.-";
		close;
	} else if (job__mechanic > 2) {
		percentheal 0,-30;
		mes "-Suddenly I feel power is-";
		mes "-escaping from my body-";
		mes "-What is happening?-";
		close;
	}
	end;
}

jupe_core2,288,142,3	script	#Door	CLEAR_NPC,1,1,{
	end;
OnInit:
OnDisable:
	disablenpc "#Door";
	end;
OnEnable:
	enablenpc "#Door";
	specialeffect EF_MAPPILLAR;
	initnpctimer;
	end;
OnTimer180000:
	donpcevent "#Door::OnDisable";
	end;
OnTouch:
	mes "-Once again a voice rings out-";
	mes "-in my head. This time it is-";
	mes "-different than before, it is a-";
	mes "-voice of an impressive person.-";
	next;
	mes "I know you came this far because you want the knowledge.";
	mes "Humans are weak animals";
	mes "and any sacrifice is a hard";
	mes "decision for them to make.";
	next;
	mes "But you are lacking something to pass through this door of truth.";
	mes "Through this door is knowledge above all human thinking.";
	next;
	mes "It won't harm a human's mind if it doesn't surpass your brain capacity.";
	next;
	mes "Try to put your body onto the foothold of knowledge at the south.";
	next;
	mes "If the knowledge suits you, you'll be able to obtain it without becoming a sacrificial offering.";
	mes "If you are unqualified, you will lose your body as a sacrifice.";
	next;
	mes "When you are qualified, you will be able to pass through the door of truth.";
	mes "Till that day, don't lose yourself.";
	next;
	mes "............";
	next;
	mes "-I can't hear any voices-";
	mes "-anymore and I can't feel-";
	mes "-anything in this place.-";
	next;
	mes "-As the ringing voice in my-";
	mes "-head instructed, let's go to-";
	mes "-the southern foothold.-";
	close2;
	job__mechanic = 9;
	changequest 10098,10099;
	donpcevent "#Door::OnDisable";
	end;
}

jupe_core2,149,34,0	script	#Acquiring Knowledge	HIDDEN_WARP_NPC,1,0,{
OnTouch:
	if (job__mechanic == 9) {
		mes "-The moment I stepped on-";
		mes "-the foothold the voice-";
		mes "-didn't come into my brain-";
		mes "-rather new knowledge-";
		mes "-came in naturally.-";
		next;
		mes "-Almost instantaneously-";
		mes "-you gained all of the-";
		mes "-knowledge that you need-";
		mes "-to know about mechanics-";
		mes "-and magic machinery.-";
		next;
		job__mechanic = 10;
		changequest 10099,10100;
		specialeffect EF_POTION_CON;
		mes "-This amount of knowledge-";
		mes "-is enough. Let's get finished-";
		mes "-and find a way out.-";
		close;
	}
	end;
}
jupe_core2,150,33,0	duplicate(#Acquiring Knowledge)	#Acquiring Knowledge2	HIDDEN_WARP_NPC,1,0

jupe_core2,0,0,0,0	monster	Dimik	1669,100,0,0,0