summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1/blacksmith.txt
blob: 3660dbd6fb7596311755ca21fbd063e1418a60b8 (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
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
//===== eAthena Script =======================================
//= Blacksmith Quest
//===== By: ==================================================
//= EREMES THE CANIVALIZER(Aegis)
//= Translated by: yoshiki.
//= Converted by: Komurka.
//= Optimized and further edited by kobra_k88.
//= Further bugfixed and tested by Lupus
//===== Current Version: =====================================
//= 2.6
//===== Compatible With: =====================================
//= eAthena  SVN
//===== Description: =========================================
//= [Aegis Conversion]
//= Job Change quest for Blacksmith class.
//===== Additional Comments: =================================
//= Changed some npc names to the iRO names. Changed some variable
//= names and labels. Edited some text.[kobra_k88]
//= Removed "if(JobLevel > 48) goto higher". It was a left over line.
//= Thx to "Decker".[kobra_k88]
//= Fixed some typos, thanks to Riotblade [celest]
//= 1.3-1.5 Added Baby Class support [Lupus]
//= 1.6 Added a func which prevent advanced classes passing
//= 2nd Job Quests again. It also guides adv classes where
//= to go. [Lupus]
//= 1.7 item quantity/ids typos fix
//= 1.8 Moved the Quest to Einbroch [Poki#3]
//= 2.0 Changed numbers to constants. [Vicious]
//= 2.1 Removed Duplicates [Silent]
//= 2.2 Merged Jfunc, changed job numbers to constants [Lupus]
//= 2.3 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
//= 2.4 Several bugfixes with the help of Barron-Monster. [L0ne_W0lf]
//= 2.4a Changed a BaseJob to baseclass. [L0ne_W0lf]
//= 2.4b Further bug fixes with teh hel of Barron-Monster. [L0ne_W0lf]
//= 2.4c More fixes courtosy of Micktu. [L0ne_W0lf]
//= 2.4d Fixed an incorrect answer in the quiz. (Trojal) [L0ne_W0lf]
//= 2.4e Touched up a few issues as pointed out by Ultramage. [L0ne_W0lf]
//= 2.5 Krongast is in Lighthalzen. (DarkValmir) [L0ne_W0lf]
//= 2.6 Fixed 4 bugs [Lupus]
//= 2.6a Typo fix [Yommy]
//==============================================================

ein_in01,18,28,4	script	Guildsman#BLS	731,{
	if (Upper == 1) {
		mes "[Altiregen]";
		mes "Hey hey. I don't have time for chit-chat, I'm a pretty busy guy. There's all these Merchants working hard to become Blacksmiths.";
		next;
		mes "[Altiregen]";
		mes "Wait a minute, I think I've met you before.";
		mes "Ummm.....";
		next;
		mes "[Altiregen]";
		mes "Are you the one who broke my weapon and ran away? Or are you the one who tortured me so that I'd forge a weapon for you? Why can't I remember?";
		next;
		mes "[Altiregen]";
		mes ".......";
		mes "I can't remember who you are for the life of me. Is this deja vu?";
		next;
		mes "[Altiregen]";
		mes "Argh!! This is really bugging me! But still, I can sense that there's something special about you. Oh well, whatever. Have a good day~";
		close;
	}
	mes "[Altiregen]";
	mes "Welcome!";
	mes "We are Workers of Steel,";
	mes "the Blacksmith Guild.";
	next;
	mes "[Altiregen]";
	mes "We pour the fervor";
	mes "and passion of our souls into";
	mes "our craft. Our skills of melting metal into new weapons";
	mes "and tools is truly a form of art!";
	next;
	if (BaseClass == Job_Novice) {
		if (sex == 0) {
			mes "[Altiregen]";
			mes "Oh~";
			mes "what a very";
			mes "pretty lady!";
			mes "Are you interested in";
			mes "becoming a Blacksmith?";
			next;
			mes "[Altiregen]";
			mes "First, you must become a Merchant before you can become a Blacksmith. Go to the city of Alberta to learn the Merchant trade.";
			close;
		}
		close;
	}
	else if (BaseClass == Job_Swordman) {
		mes "[Altiregen]";
		mes "Oh, are you interested in having a weapon forged? I'm sorry to disappoint you, but I actually have a lot of business to attend to.";
		close;
	}
	else if (BaseClass == Job_Archer) {
		mes "[Altiregen]";
		mes "Oh...";
		mes "There's not much we can offer you here. And you can't really help out around here unless you know how to make stuff...";
		close;
	}
	else if (BaseClass == Job_Mage) {
		mes "[Altiregen]";
		mes "Oh? What's a magic user doing here? I'm surprised. Usually this kind of rough work is beneath you intellectual types.";
		close;
	}
	else if (BaseClass == Job_Acolyte) {
		mes "[Altiregen]";
		mes "Oh! Am I correct in assuming you're a member of the Clergy? Would you please bless me before you leave!";
		close;
	}
	else if (BaseClass == Job_Thief) {
		mes "[Altiregen]";
		mes "I'm sorry...";
		mes "But there really isn't anything for you to steal here. Well, there are the Daggers we keep in the back, but...";
		close;
	}
	else if (BaseJob == Job_Alchemist) {
		mes "[Altiregen]";
		mes "So how's the pharmacy business going on recently?";
		mes "Well, my forging business does not seem to grow any longer.";
		close;
	}
	else if (BaseJob == Job_Blacksmith) {
		mes "[Altiregen]";
		mes "Oh! Long time no see.";
		mes "Have you come to purchase supplies from Christopher? These days I'm stuck behind this desk. My body's itching to strike the ol' anvil.";
		close;
	}
	else if (BaseJob == Job_Merchant) {
		if (SkillPoint) {
			mes "[Altiregen]";
			mes "You can't change to the Blacksmith Job Class without first using all your skill points. Please come back after wisely using your skill points.";
			close;
		}
		if (BSMITH_Q == 0) {
			mes "[Altiregen]";
			mes "Why don't you stop struggling";
			mes "to make zeny as a Merchant and";
			mes "join the elite Blacksmith class?";
			mes "If you're interested, fill out this application with your name";
			mes "and Job Level.";
			next;
			switch(select("Fill out Application.:What are the requirements?:Um, I need to think about it.")) {
			case 1:
				if (SkillPoint) {
					mes "[Altiregen]";
					mes "You can't change to the Blacksmith Job Class without first using all your skill points. Please come back after wisely using your skill points.";
					close;
				}
				else if (JobLevel > 39 && BSMITH_Q == 0) {
					mes "[Altiregen]";
					mes "Hmmm...";
					mes "Looks like you";
					mes "meet the Job Level";
					mes "Requirement.";
					next;
					mes "[Altiregen]";
					mes "You see, we don't accept just anybody into our guild. First, we only accept experienced Merchants with a true desire to become great Blacksmiths. Let's see...";
					next;
					mes "^3355FF*Shuffling of papers*^000000";
					next;
					mes "[Altiregen]";
					mes "Hmmm...";
					mes "One of our Blacksmiths in Einbech, ^8E6B23Geschupenschte^000000 has sent us word that he's short on help. Your first test of character will be to help him out.";
					next;
					set BSMITH_Q,1;
					mes "[Altiregen]";
					mes "Be careful";
					mes "and good luck!";
					close;
				}
				else if (JobLevel < 40) {
					mes "[Altiregen]";
					mes "Hmmm, it seems that you lack experience as a Merchant. We require that you are at least Job Level 40, you see.";
					next;
					mes "[Altiregen]";
					mes "I feel bad turning you away after you've come so far, but rules are rules. Sorry to disappoint you, but we'll welcome you back once you're ready.";
					close;
				}
			case 2:
				mes "[Altiregen]";
				mes "You want to know our requirements? First, you need to have Job Level 40 or higher as a Merchant. Second, you need to pass a test that will be given by the Blacksmith Guild.";
				next;
				mes "[Altiregen]";
				mes "The test may consist of difficult tasks, but it's definitely not impossible. You will need to deliver certain items to different areas around the world";
				mes "to complete the test.";
				close;
			case 3:
				mes "[Altiregen]";
				mes "Hmmm...";
				mes "Well, I hope";
				mes "to see you again.";
				close;
			}
		}
		else if (BSMITH_Q > 0  && BSMITH_Q < 8) {
			mes "[Altiregen]";
			mes "You haven't left yet?";
			mes "Go to Alberta and find ^8E6B23Geschupenschte^000000. Finish helping him out, and when you're done, come back to me.";
			close;
		}
		else if (BSMITH_Q > 8 && BSMITH_Q < 15) {
			mes "[Altiregen]";
			mes "Was the work you did for ^8E6B23Geschupenschte^000000 to your liking? He's known for being pretty exacting...";
			close;
		}
		else if (BSMITH_Q == 15) {
			mes "[Altiregen]";
			mes "Great job!!";
			mes "You have passed";
			mes "the first test...";
			next;
			mes "[Altiregen]";
			mes "Hm? You look surprised.";
			mes "I guess you didn't know that there's more than one test. ";
			mes "Haha, but don't worry, you are not going to travel that far.";
			mes "Please go talk to the guildsman inside the building for more details about your next test.";
			next;
			if (select("I want to change my job quickly! But...oh well.:Grrr! Enough is enough!") == 1) {
				set BSMITH_Q,16;
				mes "[Altiregen]";
				mes "I'm sorry, but I'm sure you understand, right? We can't just casually accept anybody into";
				mes "our guild!";
				next;
				mes "[Altiregen]";
				mes "If we don't keep our standards,";
				mes "we won't be able to maintain the respectability of the Blacksmith Guild!";
				mes "We can't embarass our guild in this manner! *Ahem* Anyway, you talk to the guildsman inside the building now.";
				close;
			}
			mes "[Altiregen]";
			mes "Are you saying you're going";
			mes "to quit the application process? That's an insult to our guild!";
			mes "Get out of here! With that kind of attitude, you can forget becoming a member of the Blacksmith Guild!";
			next;
			mes "[Altiregen]";
			mes "You have no spirit!";
			mes "If you can't endure this, you'll never be a Blacksmith!";
			close;
		}
		else if (BSMITH_Q == 16) {
			mes "[Altiregen]";
			mes "Um? Haven't you talk to the guildsman yet?";
			mes "If you haven't, I suggest you to do so as soon as possible.";
			close;
		}
		else if (BSMITH_Q == 17 && countitem(1005) > 0 && JobLevel > 39) {
			mes "[Altiregen]";
			mes "Excellent, I can tell by the twinkle in your eye that you were successful. I can now bestow upon you the gift of the smithing, the art of the Blacksmith.";
			next;
			set .@joblvl,JobLevel;
			callfunc "Job_Change",Job_Blacksmith;
			callfunc "F_ClearJobVar";		// clears all job variables for the current player
			mes "[Altiregen]";
			mes "Always remember that we are creators, and artists over metals. Be wary that you do not fall into the pitfalls of selfishness";
			mes "and greed.";
			next;
			delitem 1005,1; //Hammer_Of_Blacksmith
			mes "[Altiregen]";
			mes "Here is a little";
			mes "gift to mark the";
			mes "beginning of your";
			mes "life as a Blacksmith.";
			mes "Congratulations!!!";
			if (.@joblvl > 48)
				getitem 999,30; //Steel
			else 
				getitem 999,5; //Steel
			close;
		}
	}
}

ein_in01,201,27,3	script	Guildsman#alberta	63,{
	mes "[Geschupenschte]";
	mes "Hello there!";
	mes "I'm ^8E6B23Geschupenschte^000000,";
	mes "a Blacksmith by trade.";
	mes "Nice to meet you!";
	next;
	if (BaseJob == Job_Merchant) {
		mes "[Geschupenschte]";
		mes "Oh ho ho!";
		mes "You're a Merchant!";
		mes "Excellent! I was";
		mes "in need of some help!";
		next;
		if (BSMITH_Q == 0) {
			mes "[Geschupenschte]";
			mes "But, of course,";
			mes "I wouldn't bother you";
			mes "if you're busy. Go along";
			mes "your way if you must~";
			next;
			mes "[Geschupenschte]";
			mes "After all...";
			mes "I should know";
			mes "how it's like";
			mes "to be busy~";
			close;
		}
		else if (BSMITH_Q == 1) {
			mes "[Geschupenschte]";
			mes "Am I correct in assuming you are the help sent by the Blacksmith Guild? There aren't many trustyworthy people I can hire to help me, so I'm always";
			mes "short on help.";
			next;
			mes "[Geschupenschte]";
			mes "Hmm, in any case,";
			mes "you are the help that was sent, right? Okay, I have some work for you that must be handled";
			mes "right away!";
			next;
			mes "[Geschupenschte]";
			mes "Some time ago, I had a boy working for me who had no experience and bought the wrong supplies! It was terrible...";
			next;
			mes "[Geschupenschte]";
			mes "Anyone would hate to lose money through a foolish mistake like that. However, I have a slightly more difficult job for you.";
			next;
			mes "[Geschupenschte]";
			mes "However, I want to make sure that you have some basic knowledge as a Merchant. I'd like to ask you some questions, if that's okay.";
			next;
			if (select("Yes.:Um, can I have some time to prepare?") == 1) {
L_AskQuestions:
				if (rand(2)) {
					mes "[Geschupenschte]";
					mes "1. Which one of the following regions is matched incorrectly";
					mes "with its specialty item?";
					next;
					if (select("Morroc - Thief Clothes:Alberta - Two Hand Axe:Comodo - Berserk Potion:Alberta - Swordmace") == 2)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "2. What status can";
					mes "be inflicted with the";
					mes "^8E6B23Hammer Fall^000000 skill?";
					next;
					if (select("Stun:Blind:Silence:Sleep") == 1)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "3. Which one of the following skills cannot be performed";
					mes "by a Merchant?";
					next;
					if (select("Vending:Discount:Overcharge:Increase AGI") == 4)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "4. Where can you find a store";
					mes "that sells Blue Gemstones?";
					next;
					if (select("Alberta:Morroc:Geffen:Prontera") == 3)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "5. Where is the";
					mes "Tool Dealer";
					mes "located in Geffen?";
					next;
					if (select("8 o'clock direction from the town square:11 o'clock direction from the town square:6 o'clock direction from the town square:5 o'clock direction from the town square") == 1)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "6. Which weapon";
					mes "cannot be used";
					mes "by a Merchant?";
					next;
					if (select("Stiletto:Ring Pommel Saber:Chain:Bible") == 4)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "7. Which one of the following";
					mes "has the highest defense rate?";
					next;
					if (select("Panties:Mink Coat:Wooden Mail:Silk Robe") == 2)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "8. For Level 3 weapons,";
					mes "what is the ^8E6B23Safe^000000 limit";
					mes "for upgrading?";
					next;
					if (select("up to + 3:up to + 4:up to + 5:up to + 6") == 3)
						set .@black_q,.@black_q+10;
					mes "9. What item";
					mes "can be made using";
					mes "the ^8E6B23Trunks^000000 item?";
					next;
					if (select("Sakkat:Ghost Bandana:Majestic Goat:Antler") == 1)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "10. The most important";
					mes "part of being a Merchant is...?";
					next;
					select("Credit:Integrity:Money:Rhetoric");
					set .@black_q,.@black_q+10;
				}
				else {
					mes "[Geschupenschte]";
					mes "1. Among the following cities, which one is not correctly matched with its specialty?";
					next;
					if (select("Al De Baran - Yggdrasil Leaf:Alberta - Hammer:Comodo - Berserk Potion:Al De Baran - Hammer") == 4)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "2. How much Zeny";
					mes "is one Jellopy worth?";
					next;
					if (select("1 Zeny:2 Zeny:3 Zeny:4 Zeny") == 3)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "3. What is required";
					mes "for a Merchant to use";
					mes "the ^8E6B23Vending^000000 Skill?";
					next;
					if (select("Must have a Cart.:Must have items to sell.:Must be wielding a weapon.:Must be wearing armor.") == 1)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "4. Where can you";
					mes "change your Job to";
					mes "become a Merchant?";
					next;
					if (select("Alberta:Morroc:Geffen:Prontera") == 1)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "5. Where is the";
					mes "Weapons Dealer";
					mes "located in Morroc?";
					next;
					if (select("7 o'clock from the town's center:11 o'clock from the town's center:6 o'clock from the town's center:5 o'clock from the town's center") == 4)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "6. What weapon";
					mes "can a Merchant";
					mes "not use?";
					next;
					if (select("Main Gauche:Claymore:Chain:Two handed Axe") == 2)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "7. Which one of the following";
					mes "has the highest defense rate?";
					next;
					if (select("Panties:Mink Coat:Wooden Mail:Silk Robe") == 2)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "8. For Level 3 weapons,";
					mes "what is the ^8E6B23Safe^000000 limit";
					mes "for upgrading?";
					next;
					if (select("up to + 3:up to + 4:up to + 5:up to + 6") == 3)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "9. What monster does";
					mes "NOT drop Iron Ore?";
					next;
					if (select("Chon Chon:Steel Chon Chon:Zerom:Anolian") == 4)
						set .@black_q,.@black_q+10;
					mes "[Geschupenschte]";
					mes "10. What is most";
					mes "important to a Merchant?";
					next;
					select("Rhetoric:Credit:Money:Experience");
					set .@black_q,.@black_q+10;
				}
				mes "[Geschupenschte]";
				mes "Umm. You did a good job!";
				next;
				mes "[Geschupenschte]";
				mes "Let's see...your score is..." + .@black_q + " points.";
				if (.@black_q == 100) {
					set BSMITH_Q,3;
					mes "Oh ho ho~";
					mes "You'll have";
					mes "no problem";
					mes "with this score!";
					next;
					mes "[Geschupenschte]";
					mes "I will entrust you with a job!";
					mes "Give me a little time to make the necessary arrangements.";
					mes "When you get back, I'll be ready!";
					close;
				}
				set BSMITH_Q,2;
				mes ".............";
				next;
				mes "[Geschupenschte]";
				if (BSMITH_Q == 2) {
					mes "How do I say this?";
					mes "How did you fail again?!";
					mes "If you plan to perform your duties in this manner, I can't trust you with any kind of job...";
					close;
				}
				mes "Hmm...";
				mes "It pains me to say this, but it seems you need to study a little more. You can never be";
				mes "a Blacksmith with";
				mes "this score!";
				close;
			}
			mes "[Geschupenschte]";
			mes "Ah, of course I don't mind if you came back a little later. Being prepared prevents disasters";
			mes "later, after all. No harm in";
			mes "being careful~";
			close;
		}
		else if (BSMITH_Q == 2) {
			mes "[Geschupenschte]";
			mes "So, have you";
			mes "studied a little";
			mes "more this time?";
			next;
			mes "[Geschupenschte]";
			mes "I admit that it's pretty unreasonable to expect anyone to get a perfect score the first time around, so I'll give you";
			mes "a little break...";
			next;
			mes "[Geschupenschte]";
			mes "You can miss";
			mes "one problem!";
			mes "Alright, let's start";
			mes "with the questions~";
			next;
			goto L_AskQuestions;
		}
		else if (BSMITH_Q == 3) {
			mes "[Geschupenschte]";
			mes "Hmm...";
			mes "Now, where were";
			mes "those order request forms...";
			next;
			mes "^3355FF*Shuffling of Papers*";
			mes "*Rustling of Papers*^000000";
			next;
			mes "[Geschupenschte]";
			mes "Oh! Here it is!";
			mes "This is order that";
			mes "has been delayed";
			mes "the most...";
			mes "Heh heh~";
			next;
			mes "[Geschupenschte]";
			mes "Well, to make";
			mes "this you will need...";
			next;
			switch(rand(1,5)) {
			//Steel, Rotten_Bandage, Blue_Gemstone, Arc_Wand
			case 1: setarray .@items[0], 999,1, 930,1, 717,2, 1610,1, 4; break;
			//Sparkling_Dust, Skel_Bone, Zargon, Gladius
			case 2: setarray .@items[0], 1001,2, 932,1, 912,1, 1219,1, 5; break;
			//Coal, Shell, Boody_Red, Tsurugi
			case 3: setarray .@items[0], 1003,1, 935,2, 990,2, 1119,1, 6; break;
			//Iron_Ore, Eye_Bandage, Blue_Gemstone, Arbalest
			case 4: setarray .@items[0], 1002,1, 2212,1, 717,2, 1713,1, 7; break;
			//Iron, Green_Herb, Animal's_Skin, Ring_Pommel_Saber
			default: setarray .@items[0], 998,1, 511,1, 919,2, 1122,1, 8; break;
			}
			set BSMITH_Q,.@items[8];
			mes "[Geschupenschte]";
			mes "^8E6B23"+.@items[1]+" "+getitemname(.@items[0])+"^000000,";
			mes "^8E6B23"+.@items[3]+" "+getitemname(.@items[2])+"^000000,";
			mes "^8E6B23"+.@items[5]+" "+getitemname(.@items[4])+"^000000, and";
			mes "^8E6B23"+.@items[7]+" "+getitemname(.@items[6])+"^000000, the kind";
			mes "you can buy from";
			mes "an NPC shop.";
			next;
			mes "[Geschupenschte]";
			mes "Collecting these items will be your test. Coincidentally, it's also a bit of a good way for me to save money. I'll repeat what you'll need to bring back to me...";
			next;
			mes "[Geschupenschte]";
			mes "Okay~";
			mes "Good luck";
			mes "on your first job!";
			close;
		}
		else if (BSMITH_Q > 3 && BSMITH_Q < 9) {
			switch(BSMITH_Q) {
			case 4: setarray .@items[0], 999,1, 930,1, 717,2, 1610,1, 9; break;
			case 5: setarray .@items[0], 1001,2, 932,1, 912,1, 1219,1, 10; break;
			case 6: setarray .@items[0], 1003,1, 935,2, 990,2, 1119,1, 11; break;
			case 7: setarray .@items[0], 1002,1, 2212,1, 717,2, 1713,1, 12; break;
			case 8: setarray .@items[0], 998,1, 511,1, 919,2, 1122,1, 13; break;
			}
			mes "[Geschupenschte]";
			mes "Ah, you're back!";
			mes "Did you bring";
			mes "everything that";
			mes "I requested?";
			next;
			if (countitem(.@items[0]) >= .@items[1] && countitem(.@items[2]) >= .@items[3] && countitem(.@items[4]) >= .@items[5] && countitem(.@items[6]) >= .@items[7]) {
				mes "[Geschupenschte]";
				mes "Wait...";
				mes "Didn't I tell you";
				mes "to get 3 Steel?";
				next;
				mes "[Geschupenschte]";
				mes "Oh, I guess it was";
				mes "two after all. Let's see...";
				mes "Yeah, you got everything!";
				mes "Now, just give me a second.";
				next;
				mes "[Geschupenschte]";
				mes "Oh, you should make sure that you are not carrying ^FF0000more than one "+getitemname(.@items[6])+"^000000, you should really only have an "+getitemname(.@items[6])+" that you bought from an NPC shop in your inventory.";
				next;
				if (select("Oh, could you give me a second?:Oh, I brought what you asked for.") == 1) {
					mes "[Geschupenschte]";
					mes "Hmmm, it would be";
					mes "a good idea to put the";
					mes "rest of your items";
					mes "in Kafra Storage.";
					close;
				}
				mes "[Geschupenschte]";
				mes "Okay.";
				mes "Great~!!";
				next;
				mes "[Geschupenschte]";
				mes "^3355FF*Clang...!*^000000";
				next;
				mes "[Geschupenschte]";
				mes "^3355FF*Crash Crash!*^000000";
				next;
				delitem .@items[0],.@items[1];
				delitem .@items[2],.@items[3];
				delitem .@items[4],.@items[5];
				delitem .@items[6],.@items[7];
				set BSMITH_Q,.@items[8];
				mes "[Geschupenschte]";
				mes "Wooooo~~~";
				mes "All done...";
				switch(BSMITH_Q) {
				case 9:
					mes "Okay, now take this to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
					getitem 1610,1; //Arc_Wand
					next;
					mes "[Geschupenschte]";
					mes "Hmm...?";
					mes "What's that look for?";
					mes "This is not a normal";
					mes "Arc Wand! Look closely";
					mes "at the handle...";
					next;
					mes "^3355FFThe handle reads:";
					mes "'Super Arc Wand";
					mes "of Geschupenschte";
					mes "Mark 2.' It does seem";
					mes "to have a completely";
					mes "different feel.^000000";
					next;
					mes "[Geschupenschte]";
					mes "Anyway, take this";
					mes "to ^8E6B23Baisulist^000000 in Geffen of Rune-Midgarts Kingdom,";
					break;
				case 10:
					mes "Okay, now take this to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom. Simply deliver it and bring me the receipt.";
					getitem 1219,1; //Gladius
					next;
					mes "[Geschupenschte]";
					mes "Hmm...?";
					mes "What's that look for?";
					mes "This is not a normal";
					mes "Gladius! Look closely";
					mes "at the handle...";
					next;
					mes "^3355FFThe handle reads:";
					mes "'Super Gladius";
					mes "of Geschupenschte";
					mes "Mark 2.' It does seem";
					mes "to have a completely";
					mes "different feel.^000000";
					next;
					mes "[Geschupenschte]";
					mes "Anyway, take this";
					mes "to ^8E6B23Wickebine^000000 in Morroc of Rune-Midgarts Kingdom,";
					break;
				Case 11:
					mes "Okay, now take this to ^8E6B23Krongast^000000 in Lighthalzen. Simply deliver it and bring me the receipt.";
					getitem 1119,1; //Tsurugi
					next;
					mes "[Geschupenschte]";
					mes "Hmm...?";
					mes "What's that look for?";
					mes "This is not a normal";
					mes "Tsurugi! Look closely";
					mes "at the blade...";
					next;
					mes "^3355FFThe blade reads:";
					mes "'Fine-edged";
					mes "Geschupenschte";
					mes "Tsurugi Special.'";
					mes "It does seem to feel";
					mes "completely different";
					mes "than normal Tsurugis...^000000";
					next;
					mes "[Geschupenschte]";
					mes "Anyway, take this";
					mes "to ^8E6B23Krongast^000000 in Lighthalzen";
					break;
				case 12:
					mes "Okay, now take this to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kingdom. Simply deliver this and bring me the receipt.";
					getitem 1713,1; //Arbalest
					next;
					mes "[Geschupenschte]";
					mes "Hmm...?";
					mes "What's that look for?";
					mes "This is not a normal";
					mes "Arbalest! Look closely";
					mes "at the bow...";
					next;
					mes "^3355FFThe bow reads:";
					mes "Geschupenschte";
					mes "Arbalest Luxury Edition.";
					mes "It does seem more luxurious";
					mes "than regular Arbalests.^000000";
					next;
					mes "[Geschupenschte]";
					mes "Anyway, take this";
					mes "to ^8E6B23Talpiz^000000 in Payon of Rune-Midgarts Kindgom,";
					break;
				case 13:
					mes "Okay, now take this to ^8E6B23Bismarc^000000 in Hugel. Simply deliver this and bring back the receipt.";
					getitem 1122,1; //Ring_Pommel_Saber
					next;
					mes "[Geschupenschte]";
					mes "Hmm...?";
					mes "What's that look for?";
					mes "This is not a normal";
					mes "Ring Pommel Saber!";
					mes "Look closely at";
					mes "the handle...";
					next;
					mes "^3355FFThe handle reads:";
					mes "'Green Herbal";
					mes "Ring Pommel Saber";
					mes "of Geschupenschte";
					mes "Mark 2.' It does seem";
					mes "to have a completely";
					mes "different feel.^000000";
					next;
					mes "[Geschupenschte]";
					mes "The power of Green Herbs, which is imbued in this sword, can be very useful! You can save someone from slowly dying of poison by stabbing them quickly with this weapon!";
					next;
					mes "[Geschupenschte]";
					mes "Anyway, take this";
					mes "to ^8E6B23Bismarc^000000 in Hugel";
				}
				mes "and don't forget";
				mes "the receipt!";
				close;
			}
			else {
				mes "[Geschupenschte]";
				mes "You still haven't";
				mes "brought all the items.";
				mes "Do you need to be reminded";
				mes "or something? Bring me...";
				next;
				mes "[Geschupenschte]";
				mes "^8E6B23"+.@items[1]+" "+getitemname(.@items[0])+"^000000,";
				mes "^8E6B23"+.@items[3]+" "+getitemname(.@items[2])+"^000000,";
				mes "^8E6B23"+.@items[5]+" "+getitemname(.@items[4])+"^000000, and";
				mes "^8E6B23"+.@items[7]+" "+getitemname(.@items[6])+"^000000, the kind";
				mes "you can buy from";
				mes "an NPC shop.";
				next;
				mes "[Geschupenschte]";
				mes "Now, be sure to have";
				mes "everything I need when";
				mes "you come back. Remember,";
				mes "this is a test! You can't";
				mes "be a Blacksmith if you";
				mes "slack off!";
				close;
			}
		}
		else if (BSMITH_Q > 8 && BSMITH_Q < 14) {
			mes "[Geschupenschte]";
			mes "What are you";
			mes "still doing here?";
			mes "Hurry and deliver";
			mes "the package~!";
			mes "Did you forget";
			mes "where to go?";
			next;
			mes "[Geschupenschte]";
			if (BSMITH_Q == 9) {
				mes "In Geffen, at the";
				mes "11 o'clock direction from the town center, you will find ^8E6B23Baisulist^000000. And don't forget the receipt.";
			}
			else if (BSMITH_Q == 10) {
				mes "Find the Swordmace";
				mes "dealer ^8E6B23Wickebine^000000 in Morroc. And don't forget the receipt.";
			}
			else if (BSMITH_Q == 11) {
				mes "In Lighthalzen, 6 o'clock direction from the town center, you will find ^8E6B23Krongast^000000 near the weapon shop. And don't forget the receipt.";
			}
			else if (BSMITH_Q == 12) {
				mes "In Payon, at the 5 o'clock direction from the town center, you will find ^8E6B23Talpiz^000000. And don't forget the receipt.";
			}
			else {
				mes "In Hugel, at the 1 o'clock direction from the town center, you will find ^8E6B23Bismarc^000000 near the airship. And don't forget the receipt.";
			}
			close;
		}
		else if (BSMITH_Q == 14) {
			mes "[Geschupenschte]";
			mes "Hmmm...?";
			mes "Have you";
			mes "completed";
			mes "the delivery?";
			mes "Let's see that receipt~";
			next;
			if (select("Yes sir, here it is.:Receipt? I, uh, have it somewhere.") == 1) {
				if (countitem(1073) > 0) {
					set BSMITH_Q,15;
					delitem 1073,1; //Merchant_Voucher_1
					mes "[Geschupenschte]";
					mes "Oh ho ho~";
					mes "Great!";
					mes "You're truly";
					mes "a great Merchant!";
					next;
					mes "[Geschupenschte]";
					mes "Good job!";
					mes "Return to ^8E6B23Altiregen^000000 in Einbroch, the guy you first met when you applied for the Blacksmith job.";
					next;
					mes "[Geschupenschte]";
					mes "I have faith that you";
					mes "will be a great Blacksmith!";
					close;
				}
				set BSMITH_Q,3;
				mes "[Geschupenschte]";
				mes "You mean...";
				mes "You didn't get";
				mes "a receipt?";
				mes "What...?";
				next;
				mes "[Geschupenschte]";
				mes "A receipt is";
				mes "a Merchant's best friend!";
				mes "It's necessary to your job!";
				mes "You'll have to start your";
				mes "test all over again!";
				close;
			}
			mes "[Geschupenschte]";
			mes "Return when you";
			mes "find the receipt~";
			mes "You didn't forget";
			mes "to receive a receipt.";
			mes "Right...?";
			close;
		}
		else if (BSMITH_Q == 15) {
			mes "[Geschupenschte]";
			mes "Thank you";
			mes "very much";
			mes "your help.";
			mes "Return to Einbroch";
			mes "and see ^8E6B23Altiregen^000000!";
			close;
		}
		mes "[Geschupenschte]";
		mes "Hmm...?";
		mes "You already finished";
		mes "your test here with me!";
		mes "And surprisingly, I don't";
		mes "need any more help, today.";
		close;
	}
	else {
		mes "[Geschupenschte]";
		mes "Being";
		mes "a Blacksmith";
		mes "is truly great!";
		mes "Don't you think so?";
		mes "Mwahahahahah!!";
		close;
	}
}

geffen,46,164,1	script	Baisulist#BLS	69,{
	if (BSMITH_Q == 9 && countitem(1610) > 0) {
		mes "[Baisulist]";
		mes "Oh, hello!";
		mes "Have you come";
		mes "to deliver my";
		mes "Arc Wand?";
		next;
		mes "[Baisulist]";
		mes "You sure this is what I ordered, right? I mean, if it's been used,";
		mes "I don't want it.";
		next;
		if (select("Whoops, this is one of the items I use...:I'm sure! It's brand new!") == 1) {
			mes "[Baisulist]";
			mes "Well...";
			mes "I guess I can";
			mes "wait a little longer.";
			mes "Please hurry with";
			mes "my delivery~";
			close;
		}
		mes "[Baisulist]";
		mes "You're";
		mes "absolutely sure?";
		set BSMITH_Q,14;
		delitem 1610,1; //Arc_Wand
		next;
		mes "[Baisulist]";
		mes "Thank you so much for traveling all the way here. That Geschupenschte, please smack him for me when you meet him for being so late on this order...";
		next;
		mes "[Baisulist]";
		mes "Please wait";
		mes "a second, let";
		mes "me give you a receipt~";
		next;
		getitem 1073,1; //Merchant_Voucher_1
		mes "[Baisulist]";
		mes "Here it is.";
		mes "Thank you so much!";
		mes "Oh, and good luck~";
		mapannounce "geffen","Hey, " +strcharinfo(0)+ ", thank you so much for the delivery~",bc_map;
		close;
	}
	else if (BSMITH_Q == 14) {
		mes "[Baisulist]";
		mes "Thank you";
		mes "so much for";
		mes "the delivery~";
		close;
	}
	else {
		mes "[Baisulist]";
		mes "Oh...";
		mes "It's been a while";
		mes "since I've been";
		mes "to Alberta.";
		next;
		mes "[Baisulist]";
		mes "I ordered something";
		mes "from there a while ago,";
		mes "but I haven't received";
		mes "my delivery...";
		next;
		mes "[Baisulist]";
		mes "I wonder...";
		mes "Could the Blacksmith Guild";
		mes "be undermanned? I can't think of any other reason for them to be late...";
		next;
		mes "[Baisulist]";
		mes "When will I get";
		mes "my special Arc Wand?";
		close;
	}
}

morocc,27,112,4	script	Wickebine#BLS	725,{
	if (BSMITH_Q == 10 && countitem(1219) > 0) {
		cutin "Job_Black_hucke01",2;
		mes "[Wickebine]";
		mes "...!";
		mes "It's here!";
		next;
		mes "[Wickebine]";
		mes "This is what I ordered, right?";
		mes "I don't want any used or old Gladius that you might have!";
		next;
		if (select("Whoops, not that one.:I guarantee you it is new.") == 1) {
			cutin "Job_Black_hucke03",2;
			mes "[Wickebine]";
			mes "Oooh...!";
			mes "Hurry up";
			mes "with my Gladius~";
			next;
			mes "- She seems to be upset. -";
			close2;
			cutin "Job_Black_hucke03",255;
			end;
		}
		cutin "Job_Black_hucke02",2;
		mes "[Wickebine]";
		mes "Hah hah hah!";
		mes "Finally! Now...";
		mes "Let me have";
		mes "a look!";
		next;
		mes "- She looks very happy. -";
		next;
		set BSMITH_Q,14;
		delitem 1219,1; //Gladius
		cutin "Job_Black_hucke01",2;
		mes "[Wickebine]";
		mes "Are you with the";
		mes "Einbroch Blacksmith Guild?";
		mes "Give this message to Geschupenschte!";
		next;
		cutin "Job_Black_hucke03",2;
		mes "[Wickebine]";
		mes "'^660000You're late!";
		mes "Do you know how long";
		mes "I've been waiting?!^000000'";
		next;
		cutin "Job_Black_hucke02",2;
		mes "[Wickebine]";
		mes "But, this is also";
		mes "a masterfully crafted item.";
		mes "Tell him I'm satisfied with the quality of the workmanship.";
		next;
		getitem 1073,1; //Merchant_Voucher_1
		emotion e_lv;
		mes "[Wickebine]";
		mes "Here's the receipt.";
		mes "I think you did";
		mes "a good job.";
		mapannounce "morocc","Thanks for delivering, " + strcharinfo(0) + "~!",bc_map;
		close2;
		cutin "Job_Black_hucke02",255;
		end;
	}
	else if (BSMITH_Q == 14) {
		emotion e_lv;
		cutin "Job_Black_hucke02",2;
		mes "[Wickebine]";
		mes "Thanks for the delivery.";
		close2;
		cutin "Job_Black_hucke02",255;
		end;
	}
	else {
		cutin "Job_Black_hucke03",2;
		mes "[Wickebine]";
		mes "...";
		next;
		mes "[Wickemine]";
		mes "...";
		mes "......";
		next;
		mes "[Wickmine]";
		mes "They're late.";
		mes "They're late,";
		mes "they're late,";
		mes "they're late~!";
		next;
		mes "[Wickebine]";
		mes "How long does it take for something to ship from Geschupenschte? Usually, the Geffen Blacksmith Guild is pretty prompt...";
		next;
		emotion e_lv;
		mes "[Wickebine]";
		mes "Ooohh...";
		mes "This is very";
		mes "upsetting...";
		close2;
		cutin "Job_Black_hucke03",255;
		end;
	}
}

lighthalzen,209,80,4	script	Krongast#BLS	734,{
	if (BSMITH_Q == 11 && countitem(1119) > 0) {
		mes "[Krongast]";
		mes "Ohhhhhh~";
		mes "Is it here?";
		mes "Very nice.";
		mes "Let me take a look.";
		next;
		mes "[Krongast]";
		mes "So you're sure this is the item";
		mes "I ordered, right? I wouldn't want it if it's been used.";
		next;
		if (select("Whoops, this one is used!:It was just made, so it's new.") == 1) {
			mes "[Krongast]";
			mes "Hmmmmm!";
			mes "Please deliver";
			mes "the right sword!";
			mes "I've been waiting";
			mes "long enough already...";
			close;
		}
		mes "[Krongast]";
		mes "You double checked?";
		mes "Alright then, I'll take it!";
		next;
		set BSMITH_Q,14;
		delitem 1119,1; //Tsurugi
		mes "[Krongast]";
		mes "Oh ho...";
		mes "This is good.";
		mes "Much better than";
		mes "what I expected.";
		next;
		mes "[Krongast]";
		mes "With this sword...";
		mes "My special moves will be even more powerful! I may even be able to perfect my fast attacking techniques! I love it!";
		next;
		mes "[Krongast]";
		mes "Okay then.";
		mes "Let me give";
		mes "you a receipt.";
		next;
		getitem 1073,1; //Merchant_Voucher_1
		mes "[Krongast]";
		mes "Here is";
		mes "your receipt.";
		mes "Thank you for";
		mes "your business!";
		mapannounce "lighthalzen",strcharinfo(0)+"... Thank you for the delivery.",bc_map;
		close;
	}
	else if (BSMITH_Q == 14) {
		mes "[Krongast]";
		mes "Thank you";
		mes "for the delivery.";
		close;
	}
	else {
		mes "[Krongast]";
		mes "...";
		next;
		mes "[Krongast]";
		mes "...";
		mes "......";
		next;
		mes "[Krongast]";
		mes "When will the sword";
		mes "I ordered finally arrive?";
		mes "I need to try my ultimate skill, ^2F4F4FFine Edge^000000 with it.";
		next;
		mes "[Krongast]";
		mes "Ahhhhhhh!";
		mes "I need to";
		mes "have that sword!";
		close;
	}
}

payon,214,79,4	script	Talpiz#BLS	59,{
	if (BSMITH_Q == 12 && countitem(1713) > 0) {
		mes "[Talpiz]";
		mes "Oh~";
		mes "Is it finally here?";
		mes "The package I ordered?";
		next;
		mes "[Talpiz]";
		mes "Um, this is what I ordered, right? I don't want an Arbalest that's been used before.";
		next;
		if (select("Whoops, this is a used one.:I'm sure it's new.") == 1) {
			mes "[Talpiz]";
			mes "Hmmmm.";
			mes "Please hurry";
			mes "and bring the";
			mes "correct item.";
			mes "I've waited too";
			mes "long already...";
			close;
		}
		mes "[Talpiz]";
		mes "So, you're sure?";
		mes "Let me take a look...";
		next;
		set BSMITH_Q,14;
		delitem 1713,1; //Arbalest
		mes "[Talpiz]";
		mes "*wheet whoo*";
		mes "Very nice!!";
		next;
		mes "[Talpiz]";
		mes "This is truly a quality made custom item. I love how there is a case for an eye patch! I really reallly love this~";
		next;
		mes "[Talpiz]";
		mes "Thank you!";
		mes "For something of this quality,";
		mes "I can even sell it for a high price even after I've used it!";
		next;
		getitem 1073,1; //Merchant_Voucher_1
		mes "[Talpiz]";
		mes "Here!";
		mes "Please take";
		mes "your receipt.";
		mes "I really appreciate";
		mes "your hard work.";
		mapannounce "payon","Thanks, " +strcharinfo(0)+ ", you really delivered. Everytime I look at this, I love it even more~",bc_map;
		close;
	}
	else if (BSMITH_Q == 14) {
		mes "[Talpiz]";
		mes "Really,";
		mes "I can't say it";
		mes "enough. This is";
		mes "top quality work~!";
		close;
	}
	else {
		mes "[Talpiz]";
		mes "Eh...";
		mes "When will my";
		mes "order arrive?";
		next;
		mes "[Talpiz]";
		mes "A custom made Arbalest";
		mes "with a quality case to hold your eye patches. Only one person can make something like that...";
		next;
		mes "[Talpiz]";
		mes "Ahhhhhh...";
		mes "The waiting";
		mes "is unbearable!";
		close;
	}
}

hugel,168,183,1	script	Bismarc#BLS	118,{
	if (BSMITH_Q == 13 && countitem(1122) > 0) {
		mes "[Bismarc]";
		mes "Sweet God...";
		mes "Have you sent";
		mes "an angel...?";
		mes "Is that the Ring Pommel Saber";
		mes "I ordered? It's my only hope...";
		next;
		mes "[Bismarc]";
		mes "^666666*Huuuk*^000000 This is what I ordered, right? I needed one especially";
		mes "made to stop this poison...";
		next;
		if (select("Whoops, this is my own Ring Pommel Saber.:I'm sure this is the one.") == 1) {
			mes "[Bismarc]";
			mes "N-Nooo...";
			mes "Hurry...!";
			mes "I need that";
			mes "sword for its";
			mes "an...ti...d-dote!";
			next;
			mes "^3355FFIt looks like";
			mes "he's slowly dying...!";
			mes "You'd better hurry.^000000";
			close;
		}
		mes "[Bismarc]";
		mes "^666666*Ghklk*^000000";
		mes "Give it...!";
		mes "Pleeeease!";
		next;
		set BSMITH_Q,14;
		delitem 1122,1; //Ring_Pommel_Saber
		mes "^3355FFBismarc stabs";
		mes "himself, repeatedly,";
		mes "with the Ring Pommel Saber";
		mes "that has been imbued with";
		mes "the power of Green Herbs.^000000";
		next;
		mes "[Bismarc]";
		mes "^666666*Ghyklk*^000000";
		mes "*Gasp gasp*";
		next;
		mes "[Bismarc]";
		mes "Please...";
		mes "Help me up.";
		mes "The poison is";
		mes "still coarsing";
		mes "through my body...";
		next;
		mes "[Bismarc]";
		mes "OwwwWWWW!!";
		mes "IT'S BURNING!";
		next;
		mes "[Bismarc]";
		mes "*Gasp Gasp*";
		mes "*Whew* Okay,";
		mes "I can feel the";
		mes "antidote working now.";
		mes "Just what I needed.";
		next;
		getitem 1073,1; //Merchant_Voucher_1
		mes "[Bismarc]";
		mes "Here is";
		mes "your receipt.";
		mes "T-take it...!";
		mes "It's yours!";
		mapannounce "hugel","Thanks, " +strcharinfo(0)+ ", for the delivery. You saved my life...",bc_map;
		close;
	}
	else if (BSMITH_Q == 14) {
		mes "[Bismarc]";
		mes "Thank you.";
		mes "You saved";
		mes "my life...";
		close;
	}
	else {
		mes "[Bismarc]";
		mes "^666666*Ghyklk*^000000";
		mes "^666666*Huk Hukk*^000000";
		mes "When will my";
		mes "o-order arrive...?";
		next;
		mes "[Bismarc]";
		mes "The poison in";
		mes "my body... the pain...";
		mes "excruciating... L-lord...";
		next;
		mes "[Bismarc]";
		mes "When is the";
		mes "antidote gonna";
		mes "get here?!";
		close;
	}
}

ein_in01,24,41,5	script	Blacksmith Guildsman#moc	726,{
	if (BSMITH_Q == 16) {
		emotion e_hmm;
		mes "[Mitehmaeeuh]";
		mes "Oh...so you're the one who wants to be a blacksmith?";
		mes "Nice, heh heh.";
		mes "As you've realized from your past tests, you won't be promoted from Merchant to Blacksmtih immediately.";
		next;
		mes "[Mitehmaeeuh]";
		mes "How much do you truly understand about smithing? Are you ready for me to ask you some questions?";
		next;
		if (select("Yes:No, not yet~") == 1) {
			mes "[Mitehmaeeuh]";
			mes "Alright...";
			mes "My test is simple.";
			mes "I'll ask five questions.";
			mes "If you miss too many,";
			mes "you fail. And I won't";
			mes "tell you what you missed.";
			next;
			set .@blackss_te,0;
			mes "[Mitehmaeeuh]";
			mes "Please listen";
			mes "and answer carefully...";
			next;
			switch(rand(1,3)) {
			case 1:
				mes "[Mitehmaeeuh]";
				mes "1. What ability";
				mes "is required to learn";
				mes "the ^8E6B23Discount^000000 skill?";
				next;
				if (select("Level 3 Push Cart:Item Appraisal:Level 10 Mammonite:Level 3 Enlarge Weight") == 4)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "2. When you attack";
				mes "with ^8E6B23Hammerfall^000000,";
				mes "what status effect can";
				mes "you inflict on enemies?";
				next;
				if (select("Stun:Blindness:Chaos:Silence") == 1)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "3. How much Zeny is spent";
				mes "when attacking with the";
				mes "mastered Mammonite skill?";
				mes "(Level 10 Mammonite)";
				next;
				if (select("900 Zeny:1000 Zeny:2000 Zeny:100,000 Zeny") == 2)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "4. What is the";
				mes "discount rate when";
				mes "the ^8E6B23Discount^000000";
				mes "skill is mastered?";
				next;
				if (select("21 % :22 % :23 % :24 % ") == 4)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "5. What is the maximum";
				mes "percentage that you can";
				mes "overcharge items sold to";
				mes "NPCs after mastering the";
				mes "^8E6B23Overcharge^000000 skill?";
				next;
				if (select("21 % :22 % :23 % :24 % ") == 3)
					set .@blackss_te,.@blackss_te+20;
				break;
			case 2:
				mes "[Mitehmaeeuh]";
				mes "1. Which of the";
				mes "following monsters";
				mes "drops Steel?";
				next;
				if (select("Zerom:Chon Chon:Skel Worker:Requiem") == 3)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "2. Which of the following";
				mes "stones can be made from";
				mes "Red Bloods?";
				next;
				if (select("Flame Heart:Rough Wind:Great Nature:Mystic Frozen") == 1)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "3. Which of the following";
				mes "stones do you have the most";
				mes "of in your Kafra Storage?";
				next;
				select("Wind of Verdure:Red Blood:Green Live:Crystal Blue");
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "4. In general,";
				mes "which of the following";
				mes "properties receives the";
				mes "most damage from a Wind";
				mes "attribute weapon?";
				next;
				if (select("Fire Property:Water Property:Earth Property:Wind Property") == 2)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "5. How many Iron Ore";
				mes "is required to make";
				mes "1 Steel?";
				next;
				if (select("5 Iron Ore :4 Iron Ore:3 Iron Ore:6 Iron Ore") == 1)
					set .@blackss_te,.@blackss_te+20;
				break;
			case 3:
				mes "[Mitehmaeeuh]";
				mes "1. What do you usually";
				mes "do when you meet someone";
				mes "randomly on the street?";
				next;
				switch(select("Ask them what they need.:Have a brief conversation.:Ignore them.:Give items and run away.")) {
				case 1:
				case 2:
					set .@blackss_te,.@blackss_te+20;
					break;
				default:
					break;
				}
				mes "[Mitehmaeeuh]";
				mes "2. In what village";
				mes "can you learn the";
				mes "^8E6B23Crazy Uproar^000000 and";
				mes "^8E6B23Change Cart^000000 skills?";
				next;
				if (select("Al De Baran:Alberta:Morroc:Izlude") == 2)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "3. From the center of Einbroch,";
				mes "in which direction is the Blacksmith Guild?";
				next;
				if (select("11 o'clock:5 o'clock:7 o'clock:12 o'clock") == 2)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "4. In which town";
				mes "can you find the";
				mes "most Blacksmiths?";
				next;
				if (select("Prontera:Morroc:Alberta:Einbroch") == 4)
					set .@blackss_te,.@blackss_te+20;
				mes "[Mitehmaeeuh]";
				mes "5. Which of the";
				mes "following statuses";
				mes "affect your skill";
				mes "as a Blacksmith?";
				next;
				if (select("STR :DEX:AGI :VIT ") == 2)
					set .@blackss_te,.@blackss_te+20;
				break;
			}
			mes "[Mitehmaeeuh]";
			mes "Ah...";
			mes "You've completed";
			mes "the quiz. Let's see...";
			next;
			mes "[Mitehmaeeuh]";
			mes "You earned";
			mes ""+ .@blackss_te +" points...";
			if (.@blackss_te > 70) {
				mes "Very nice!";
				mes "Congratulations!";
				mes "You just passed!";
				next;
				mes "[Mitehmaeeuh]";
				mes "However, don't let your early success make you overconfident. A Blacksmith's life isn't a picnic. As proof that you have passed the test, I give you this Hammer of Blacksmith.";
				set BSMITH_Q,17;
				getitem 1005,1; //Hammer_Of_Blacksmith
				next;
				mes "[Mitehmaeeuh]";
				mes "Take this Hammer";
				mes "of Blacksmith and go back to the Altiregen. Okay then? I wish you the best of luck!";
				close;
			}
			mes "You failed! You better study up before coming back here.";
			next;
			mes "[Mitehmaeeuh]";
			mes "With your knowledge, or lack thereof, you'll just end up hurting yourself holding a hammer!";
			close;
		}
		mes "[Mitehmaeeuh]";
		mes "Okay then.";
		mes "Please prepare";
		mes "yourself and return";
		mes "when you are ready...";
		close;
	}
	else if (BSMITH_Q == 17) {
		emotion e_hmm;
		mes "[Mitehmaeeuh]";
		mes "Yeap, you just passed the Blacksmith job test~";
		next;
		mes "[Mitehmaeeuh]";
		mes "Why don't you go back to Mr.Altiregen?";
		next;
		mes "[Mitehmaeeuh]";
		mes "Don't forget to bring the Hammer of Blacksmith with you!";
		next;
		mes "[Mitehmaeeuh]";
		mes "Oh, also make sure that you have no skill point left before you change your job~";
		close;
	}
	else {
		emotion e_hmm;
		mes "[Mitehmaeeuh]";
		mes "I had to deal with the heat when I was in Morroc,";
		mes "and now I have to deal with the smog in this Einbroch!";
		next;
		mes "[Mitehmaeeuh]";
		mes "But, I must admit that this is the perfect place for Blacksmiths because we have an abundance of crafting material supplies as well as highly developed equipment.";
		next;
		mes "[Mitehmaeeuh]";
		mes "We, Blacksmiths are trying our best to forge the best of the best weapons.";
		next;
		mes "[Mitehmaeeuh]";
		mes "We pledge our honor on that!";
		close;
	}
}

geffen_in,109,170,3	script	Blacksmith Guildsman#gef	726,{
	mes "[Blacksmith Guildsman]";
	mes "Good day, are you here to visit Blacksmith Guild?";
	next;
	mes "[Blacksmith Guildsman]";
	mes "I thank you for coming this far to visit our guild. However, I regret to inform you that Blacksmith Guild has been";
	mes "moved to ^3131FF'Einbroch' in the Schwaltzvalt Republic^000000.";
	next;
	mes "[Blacksmith Guildsman]";
	mes "You can travel to Schwaltzvalt Republic by using the airship.";
	mes "I can provide you a teleport service to Izlude, where you can use the airship.";
	mes "Would you like to move to Izlude immediately?";
	next;
	switch(select("How to go to Einbroch:Yes!:No, thanks.")) {
	case 1:
		mes "[Blacksmith Guildsman]";
		mes "Oops, haven't you used the airship yet?";
		next;
		mes "[Blacksmith Guildsman]";
		mes "Unlike Rune-Midgarts Kingdom, Schwalitzvalt Republic has 'the airship' instead of teleport services to move between towns.";
		next;
		mes "[Blacksmith Guildsman]";
		mes "In ^3131FF'Izlude'^000000, you can use ^3131FF'the international airship'^000000 which travels between ^3131FFIzlude and Juno in Schwaltzvalt Republic^000000.";
		next;
		mes "[Blacksmith Guildsman]";
		mes "Take the airship, and go to Juno. Then from Juno, you need to take ^3131FFthe domestic airship^000000 to go to Einbroch.";
		mes "Remember, you are ^3131FFnot going outside of the airport^000000 upon transit from the international to the domestic airship.";
		next;
		mes "[Blacksmith Guildsman]";
		mes "It might sound complicated, but you will know once you are in the airport.";
		mes "When you arrive in Blacksmith Guild, please send my regard to my coworkers!";
		close;
	case 2:
		if (Zeny < 600) {
			mes "[Blacksmith Guildsman]";
			mes "Excuse me, but you do not have enough money.";
			close;
		}
		set zeny,zeny-600;
		warp "izlude",94,103;
		end;
	case 3:
		mes "[Blacksmith Guildsman]";
		mes "Please take care!";
		close;
	}
}