summaryrefslogtreecommitdiff
path: root/npc/quests/first_class/tu_merchant.txt
blob: 2941ea0301edba85979e39c4565925b8a32e370a (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
//===== rAthena Script ======================================= 
//= Merchant Class Tutorial and Job Specific Quest
//===== By: ================================================== 
//= Fix up by Jukka
//===== Current Version: ===================================== 
//= 1.3
//===== Compatible With: ===================================== 
//= rAthena SVN (Testet in Trunk 88xx)
//===== Description: ========================================= 
//=
//===== Additional Comments: ================================= 
//= 1.0 Fully working
//= 1.1 Fixed bugs, optimized [Lupus] 1.2 fixed Weight check
//=	TODO: Test, add missing misceffects
//= 1.2 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
//= 1.3 Misc. updates. [L0ne_W0lf]
//============================================================ 


//=================================================Guarnien====================================================
alberta_in,70,51,5	script	Guarnien	98,{
	mes "[Guarnien]";
	if(Class != Job_Merchant && Class != Job_Baby_Merchant){
		mes "Hello stranger.";
		mes "I wish I could";
		mes "offer you help";
		mes "on your adventures...";
		next;
		mes "[Guarnien]";
		mes "However, what I have to teach would only benefit Merchants. Trading and money making are my areas of expertise. If you have any Merchant friends, send them to me.";
		if(Class == Job_Merchant_High){
			next;
			mes "[Guarnien]";
			mes "Technically, yes, you're a Merchant, but I know an expert when I see one. You've been through the Merchant life before, I can tell!";
		}
		close;
	}
	switch(tu_merchant){
	case 17:
		mes "We can't even begin";
		mes "to fathom the number";
		mes "of markets and people";
		mes "out there in this wide,";
		mes "wide world of ours.";
		next;
		mes "[Guarnien]";
		mes "All of them are possible customers and business partners. Of course, it'll be up to you to meet them.";
		mes "If you can be sincerely kind to everyone that you meet, you'll";
		mes "have no problem.";
		close;
		break;
	case 16:
		mes "So...";
		mes "How much have";
		mes "you learned";
		mes "about Vending?";
		next;
		set .@chk_vend, getskilllv("MC_VENDING");
		if((.@chk_vend > 3) && (.@chk_vend < 10)){
			mes "[Guarnien]";
			mes "Excellent!";
			mes "You've taught yourself well. Here, you've earned this little reward~";
			set tu_merchant, 17;
			completequest 8240;
			getexp 186,43;
			next;
		} else if(.@chk_vend == 10){
			mes "[Guarnien]";
			mes "Oh, I see that you're very serious about being a Merchant. I'm proud that you've managed to master this skill! Here, you deserve this reward!";
			set tu_merchant, 17;
			completequest 8240;
			getexp 199,69;
			next;
		} else {
			mes "[Guarnien]";
			mes "Hmm...";
			mes "Haven't learned Level 4 Vending yet, huh? Just keep in mind that being able to vend things is one";
			mes "of the defining characteristics of being a Merchant!";
			close;
		}
		mes "[Guarnien]";
		mes "Ah, now you have mastered the fundamentals of the Merchant class. Just keep practicing the basic principles, like researching the market for item prices, and you should be fine.";
		next;
		mes "[Guarnien]";
		mes "Although everything we do is for money, never forget customer needs and always sell your products at a suitably fair price. Otherwise, no one may buy your goods!";
		next;
		mes "[Guarnien]";
		mes "Well, there's nothing more I can teach you for now. Go out into the world and make your mark as a Merchant.";
		next;
		mes "[Guarnien]";
		mes "And feel free to";
		mes "visit me whenever";
		mes "the mood strikes you.";
		mes "Good luck to you~";
		close;
		break;
	case 15:
		mes "I believe it's time";
		mes "for my final lecture.";
		mes "I'll discuss the definitive";
		mes "skill of the Merchant: ^871F78Vending^000000. Please listen carefully.";
		next;
		mes "[Guarnien]";
		mes "The Vending skill is an active skill which allows you to open your own shop where you stand. Vending allows you to do real business with other people.";
		next;
		mes "[Guarnien]";
		mes "However, you can only vend items that are stored in your PushCart,";
		mes "so you'll need one of those. The maximum price you can set for";
		mes "each item is 99,990,000 Zeny.";
		next;
		mes "[Guarnien]";
		mes "Basically, you've got to learn the Push Cart skill first before you can learn the Vending skill.";
		next;
		mes "[Guarnien]";
		mes "The higher the level of the Vending skill, the more items you can vend at one time. Vending is mastered at Skill Level 10.";
		next;
		mes "[Guarnien]";
		mes "Level 1 Vending allows you";
		mes "to vend a total of 3 items at one time. Each time you level up the Vending skill, the total number of items you can vend will";
		mes "increase by one.";
		next;
		set .@chk_vend, getskilllv("MC_VENDING");
		if((.@chk_vend > 3) && (.@chk_vend < 10)){
			mes "[Guarnien]";
			mes "But I see that you must already know that, huh? Well, seeing as you're so clever, I think you've earned this little prize~";
			set tu_merchant, 17;
			completequest 8239;
			getexp 186,60;
			next;
		} else if(.@chk_vend == 10){
			mes "[Guarnien]";
			mes "But it looks like I just put my foot in my mouth. I'm sorry, I didn't notice that you already mastered the Vending skill...";
			next;
			mes "[Guarnien]";
			mes "You're such an";
			mes "excellent student!";
			mes "Please, take this";
			mes "little reward for";
			mes "all your efforts~";
			set tu_merchant, 17;
			completequest 8239;
			getexp 199,69;

			next;
		} else {
			mes "[Guarnien]";
			mes "For your final assignment, I will ask you to learn the Vending skill up to Skill Level 4. Of course, once you do, I'll give you a little reward. I'll be waiting, so do your best~";
			set tu_merchant, 16;
			erasequest 8239;
			setquest 8240;
			close;
		}
	
		mes "[Guarnien]";
		mes "Ah, now you have mastered the fundamentals of the Merchant class. Just keep practicing the basic principles, like researching the market for item prices, and you should be fine.";
		next;
		mes "[Guarnien]";
		mes "Although everything we do is for money, never forget customer needs and always sell your products at a suitably fair price. Otherwise, no one may buy your goods!";
		next;
		mes "[Guarnien]";
		mes "Well, there's nothing more I can teach you for now. Go out into the world and make your mark as a Merchant.";
		next;
		mes "[Guarnien]";
		mes "And feel free to";
		mes "visit me whenever";
		mes "the mood strikes you.";
		mes "Good luck to you~";
		close;
		break;
	case 14:
		mes "So, have you";
		mes "learned Push Cart up";
		mes "to Level 4 like I asked?";
		next;
		set .@chk_cart, getskilllv("MC_PUSHCART");
		if(.@chk_cart > 3 && .@chk_cart < 10){
			mes "[Guarnien]";
			mes "Well done~";
			mes "You've been a very";
			mes "cooperative student.";
			mes "You deserve a little";
			mes "reward for your effort~";
			set tu_merchant, 15;
			erasequest 8238;
			setquest 8239;
			getexp 162,52;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
			close;
		} else if(.@chk_cart == 10){
			mes "[Guarnien]";
			mes "Excellent!";
			mes "You've actually went above and beyond mastered the Push Cart skill. Great work!";
			set tu_merchant, 15;
			erasequest 8238;
			setquest 8239;
			getexp 186,60;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
			close;
		} else {
			mes "[Guarnien]";
			mes "Still not there, huh?";
			mes "Well, remember that you need";
			mes "Level 5 Increase Weight Limit before you can learn the Push";
			mes "Cart skill. I hope that helps.";
			close;
		}
		break;
	case 13:
		mes "Now to talk about";
		mes "^871F78Push Cart^000000. First off, you need to know Level 5 Increase Weight Limit before you can even learn the Push Cart skill.";
		next;
		mes "[Guarnien]";
		mes "Push Cart can be mastered at";
		mes "Skill Level 10. This skill allows you to carry a Push Cart with you. You can carry a maximum of 100 different kinds of items that weigh less than 8,000.";
		next;
		mes "[Guarnien]";
		mes "As you can see, this skill is an advanced form of the Increase Weight Limit skill. You can procure a PushCart from most Kafra Ladies for a certain fee.";
		next;
		mes "[Guarnien]";
		mes "Once you have rented a Cart, you can hold on to it so long as you don't take it off. The disadvantage to using a PushCart is that your movement speed is reduced to";
		mes "almost half! Horrible, isn't it?";
		next;
		mes "[Guarnien]";
		mes "Fortunately, when you increase";
		mes "the level of the Push Cart skill, your movement speed will slowly be restored. With Push Cart Level 10, a PushCart won't slow you";
		mes "down at all!";
		next;
		set .@chk_cart, getskilllv("MC_PUSHCART");
		if(.@chk_cart > 3 && .@chk_cart < 10){
			mes "[Guarnien]";
			mes "Ah, and I see that you've been focusing on learning Push Cart. Although you might still have a problem with your movement";
			mes "speed, it shouldn't be a big deal.";
			mes "Well done~";
			set tu_merchant, 15;
			erasequest 8237;
			setquest 8238;
			getexp 162,52;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
			close;
		} else if(.@chk_cart == 10){
			mes "[Guarnien]";
			mes "Wonderful! You've already";
			mes "mastered the Push Cart skill.";
			mes "You truly deserve a little bit of a reward~";
			set tu_merchant, 15;
			erasequest 8237;
			setquest 8238;
			getexp 186,60;

			next;
			mes "[Guarnien]";
			mes "Next time, I'll talk about the skill that sets Merchants apart from all the other classes: ^871F78Vending^000000. So don't miss it!";
			close;
		} else {
			mes "[Guarnien]";
			mes "For now, why don't";
			mes "you learn the Push Cart";
			mes "skill up to Level 4? Once";
			mes "you do that, I can go on to";
			mes "my next lecture.";
			set tu_merchant, 14;
			close;
		}
		break;
	case 12:
		mes "So...";
		mes "How is it going";
		mes "with learning that";
		mes "^871F78Over Charge^000000 skill?";
		next;
		set .@chk_over, getskilllv("MC_OVERCHARGE");
		if(.@chk_over > 3 && .@chk_over < 10){
			mes "[Guarnien]";
			mes "Nice work!";
			mes "I can tell that";
			mes "you've done just";
			mes "as I asked. Please,";
			mes "take this little reward~";
			set tu_merchant, 13;
			erasequest 8236;
			setquest 8237;
			getexp 126,27;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll discuss the Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
			close;
		} else if(.@chk_over == 10){
			mes "[Guarnien]";
			mes "Whoa...";
			mes "You actually";
			mes "mastered Over Charge?";
			mes "Most impressive! You deserve a small reward for your work!";
			set tu_merchant, 13;
			erasequest 8236;
			setquest 8237;
			getexp 142,33;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll discuss the Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
			close;
		} else {
			mes "[Guarnien]";
			mes "Mm? You haven't";
			mes "learned Over Charge";
			mes "up to Skill Level 4 yet?";
			mes "There's no rush, but I won't be able to lecture on anything until you finish this little task.";
			close;
		}
		break;
	case 11:
		mes "Ah, ready to";
		mes "learn already,";
		mes "are you? Alright,";
		mes "let me tell you";
		mes "about ^871F78Over Charge^000000.";
		next;
		mes "[Guarnien]";
		mes "Like Discount, Over Charge is a Passive skill that can be mastered at Skill Level 10. Therefore, it doesn't require SP to use it.";
		next;
		mes "[Guarnien]";
		mes "Over Charge allows you to sell items to NPC shops for more Zeny. The higher your Over Charge Skill Level, the more Zeny you'll receive for items sold to NPCs.";
		next;
		set .@chk_over, getskilllv("MC_OVERCHARGE");
		if(.@chk_over > 3 && .@chk_over < 10){
			mes "[Guarnien]";
			mes "Ah, you've already learned Level 4 Over Charge. Perfect! Let me give you a little reward~";
			set tu_merchant, 13;
			erasequest 8235;
			setquest 8236;
			getexp 126,27;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll discuss the";
			mes "Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
			close;
		} else if(.@chk_over == 10){
			mes "[Guarnien]";
			mes "Amazing! You've already mastered the Over Charge skill! You must have wanted this reward badly~";
			set tu_merchant, 13;
			erasequest 8235;
			setquest 8236;
			getexp 142,33;
			next;
			mes "[Guarnien]";
			mes "Next time, I'll discuss the";
			mes "Push Cart skill. Be ready for this lecture, as Push Cart is one of the more important skills for a Merchant.";
			close;
		} else {
			mes "[Guarnien]";
			mes "Personally, I think you should learn this skill for sure! For your next assignment, learn Over Charge up to Level 4. It shouldn't be too difficult to do.";
			set tu_merchant, 12;
			erasequest 8235;
			setquest 8236;
			next;
			mes "[Guarnien]";
			mes "Once you do that,";
			mes "we can talk about";
			mes "more advanced stuff.";
			mes "Do your best~";
			close;
		}
		break;
	case 10:
		mes "Let me see those";
		mes "Red Potions. Now,";
		mes "how much did you";
		mes "pay for these...?";
		next;
		mes "[Guarnien]";
		mes "Ah...!";
		mes "It looks like...";
		mes "You were scammed!";
		mes "D-don't worry, though,";
		mes "I won't tell anybody.";
		next;
		mes "[Guarnien]";
		mes "Oh well, it happens even to the best of us. Just think of this as an invaluable learning experience.";
		next;
		mes "[Guarnien]";
		mes "Now, why don't you go to Prontera and try to buy 10 Red Potions from an NPC for the cheapest price again?";
		set tu_merchant, rand(6,8);
		close;
		break;
	case 9:
		mes "Let me see those";
		mes "Red Potions. Ah, it seems you researched the market and bought the cheapest ones! Great work!";
		set tu_merchant, 11;
		changequest 8234,8235;
		getexp 112,22;
		next;
		mes "[Guarnien]";
		mes "Alright, next time, we'll talk about the skill that you can learn after knowing how to Discount:";
		mes "^871F78Over Charge^000000.";
		close;
		break;
	case 6:
	case 7:
	case 8:
		mes "Hmm...";
		mes "You'll find some NPCs";
		mes "selling 10 Red Potions";
		mes "in Prontera. Your task";
		mes "is to buy the potions";
		mes "for the cheapest price.";
		next;
		mes "[Guarnien]";
		mes "First, you'll probably want to research the market price for Red Potions. And always, be careful of scammers and cheats!";
		close;
		break;
	case 5:
		mes "Alright...";
		mes "I've given it some thought and I've come up with a little challenge for you. Bring me... 10 Red Potions!";
		next;
		mes "[Guarnien]";
		mes "It's not too hard, but the stipulation I'm adding is that you've got to find the merchant selling Red Potions for the cheapest price.";
		next;
		mes "[Guarnien]";
		mes "So first, you'll need to research the market price for Red Potions. Also, be careful of scammers! If the price is too good to be true, it usually is.";
		next;
		mes "[Guarnien]";
		mes "Ha ha ha, let me make your goal a bit less confusing. You will need to buy 10 Red Potions from an NPC in Prontera.";
		next;
		mes "[Guarnien]";
		mes "Prontera's a bit far from here, isn't it? I'll just use this Kafra Warp-- Mahnsoo has a bunch for";
		mes "some reason --to send you there right now. Get ready...!";
		next;
		set tu_merchant, rand(6,8);
		warp "prontera",155,46;
		end;
		break;
	case 4:
		mes "So, how is it going with learning the Discount skill? Like I always say, if you can't make a bargain, you can't be a Merchant!";
		next;
		mes "[Guarnien]";
		set .@chk_disc, getskilllv("MC_DISCOUNT");
		if(.@chk_disc > 3 && .@chk_disc < 10){
			mes "Ah, you've learned";
			mes "how to use the Discount skill";
			mes "well enough. Good, here's a little reward for your hard work~";
			set tu_merchant, 5;
			erasequest 8232;
			setquest 8233;
			getexp 83,11;
			next;
			mes "[Guarnien]";
			mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you think you're ready, alright?";
			close;
		} else if(.@chk_disc == 10){
			mes "Incredible!";
			mes "You've actually mastered the Discount skill! You're such a great student. You deserve a bit of a reward!";
			set tu_merchant, 5;
			erasequest 8232;
			setquest 8233;
			getexp 97,18;
			next;
			mes "[Guarnien]";
			mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you think you're ready, alright?";
			close;
		} else {
			mes "Not yet, huh?";
			mes "Well, you should be able to reach that goal soon. After all, it's one of the basics of being a Merchant!";
			close;
		}
		break;
	case 3:
		mes "Ah, you're back!";
		mes "Now, I was going";
		mes "to tell you about";
		mes "the Discount skill, right?";
		next;
		mes "[Guarnien]";
		mes "The ^871F78Discount^000000 skill allows you to buy items at lower prices from NPC shops. It is a ^871F78Passive Skill^000000 which is always in effect and does not consume SP.";
		next;
		mes "[Guarnien]";
		mes "The Discount skill is";
		mes "mastered at ^871F78Level 10^000000. The higher the skill level, the less you have to pay for items at NPC shops.";
		next;
		mes "[Guarnien]";
		set .@chk_disc, getskilllv("MC_DISCOUNT");
		if(.@chk_disc > 3 && .@chk_disc < 10){
			mes "Oooh, good work.";
			mes "I see that you've";
			mes "raised your Discount";
			mes "to Level 4 already.";
			mes "Here, take this";
			mes "small reward~";
			set tu_merchant, 5;
			erasequest 8231;
			setquest 8232;
			getexp 83,11;
			next;
			mes "[Guarnien]";
			mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you";
			mes "think you're ready, alright?";
			close;
		} else if(.@chk_disc == 10){
			mes "Incredible!";
			mes "You've actually mastered the Discount skill! You're such a great student. You deserve a bit of a reward!";
			set tu_merchant, 5;
			erasequest 8231;
			setquest 8232;
			getexp 97,18;
			next;
			mes "[Guarnien]";
			mes "Alright, my next lesson will hopefully offer you a bit more of a challenge. Come back when you";
			mes "think you're ready, alright?";
			close;
		} else {
			mes "Alright! Now, in order to become closer towards becoming a true Merchant, I want you to learn the Discount skill up to Level 4.";
			next;
			mes "[Guarnien]";
			mes "It'd be nicer if you could";
			mes "master it, but you might be more interested in devoting your time to other skills.";
			next;
			mes "[Guarnien]";
			mes "Still, you can't ignore the fact that bargaining is an essential skill for a Merchant! Come back to me when you're ready~";
			set tu_merchant, 4;
			erasequest 8231;
			setquest 8232;
			close;
		}
		break;
	case 2:
		mes "Ah, you've come back to learn more. Let's see, what was I going to tell you about... Right, Mammonite!";
		next;
		mes "[Guarnien]";
		mes "^871F78Mammonite^000000 is a skill that lets you greatly damage targets with Zeny. Money really is power!";
		next;
		mes "[Guarnien]";
		mes "The upside is that it inflicts great damage and only uses a little SP. However, the downside is that it will also consume your Zeny!";
		next;
		mes "[Guarnien]";
		mes "So if you use this skill too often, you might end up bankrupt! So be really careful. Also, as the Skill Level for Mammonite increases, so does the attack strength and Zeny consumption.";
		next;
		mes "[Guarnien]";
		set .@chk_mam, getskilllv("MC_MAMMONITE");
		if(.@chk_mam > 3 && .@chk_mam < 10){
			mes "Ah, I see that you've already tried this skill. How much money have you wasted using Mammonite? Not too much, I hope.";
			next;
			mes "[Guarnien]";
			mes "Well, since you're still green, I feel awfully sorry if you've wasted Zeny. Why don't you take this as compensation?";
			set tu_merchant, 3;
			erasequest 8230;
			setquest 8231;
			getexp 70,12;
			next;
			mes "[Guarnien]";
			mes "Okay. Now I think we're ready for me to discuss the ^871F78Discount^000000 skill. Come back when you'd like me to tell you more about it, okay?";
			close;
		} else {
			mes "Okay. Now I think we're ready for me to discuss the ^871F78Discount^000000 skill. Come back when you'd like me to tell you more about it, okay?";
			set tu_merchant, 3;
			erasequest 8230;
			setquest 8231;
			close;
		}
		break;
	case 1:
		mes "So...";
		mes "Did you learn the";
		mes "Increase Weight Limit";
		mes "skill up to Level 4";
		mes "like I asked?";
		next;
		mes "[Guarnien]";
		set .@chk_soji, getskilllv("MC_INCCARRY");
		if(.@chk_soji > 3 && .@chk_soji < 10){
			mes "Ah. I can tell that you have. Not bad! By now you should be able to learn the ^871F78Discount^000000 skill, but I'll teach you about that later.";
			next;
			mes "[Guarnien]";
			mes "There are a few other basic skills which you can learn right away that I'll talk about first. Let's not rush~";
			next;
			mes "[Guarnien]";
			mes "First, there's the ^871F78Item Appraisal^000000 skill. This ability, once you've learned it, allows you to ^871F78identify unknown items^000000.";
			next;
			mes "[Guarnien]";
			mes "This skill works exactly like a ^871F78Magnifier^000000, so you won't have to spend any Zeny on them. Also, this skill is mastered at ^871F78Level 1^000000.";
			next;
			if(getskilllv("MC_IDENTIFY")){
				mes "[Guarnien]";
				mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
				set tu_merchant, 2;
				erasequest 8229;
				setquest 8230;
				getexp 58,11;
				getitem 1351,1; //Battle_Axe
				next;
				mes "[Guarnien]";
				mes "Alright, next time";
				mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
				close;
			}
		} else { 
			mes "No? That's fine.";
			mes "But I can't teach you";
			mes "much more if you can't grasp these simple basics, so hurry and learn those skills, okay?";
			close;
		}
		mes "Alright, next time";
		mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
		set tu_merchant, 2;
		erasequest 8229;
		setquest 8230;
		close;
	}
	
	mes "You've just started out as a Merchant, haven't you? How would you like to learn the fundamentals of business from an experienced colleague?";
	next;
	if(select("Sure!:I'll make it on my own!")==1){
		set tu_merchant, 1;
		if(getskilllv("MC_INCCARRY") < 4){
			setquest 8229;
			mes "[Guarnien]";
			if(Sex == 1){
				mes "Atta boy~!";
			} else {
				mes "Atta girl~!";
			}
			mes "But first things first!";
			mes "You better learn the";
			mes "^871F78Increase Weight Limit^000000 skill!";
			next;
			mes "[Guarnien]";
			mes "You can't really be a Merchant if you can't even carry around goods to sell. As you increase the level of this skill, you can carry around more items.";
			next;
			mes "[Guarnien]";
			mes "Why don't you upgrade your";
			mes "Increase Weight Limit skill up to Level 4? After that, we can talk more about becoming a true Merchant.";
			close;
		} else {
			mes "[Guarnien]";
			mes "Great...!";
			mes "Ah, and I see that you've learned the ^871F78Increase Weight Limit^000000 skill to at least Level 4. You're a real go-getter, aren't you?";
			next;
			mes "[Guarnien]";
			mes "Since your Increase Weight";
			mes "Limit skill level is high enough, you must be able to see a new skill in your Skill Window: ^871F78Discount^000000!";
			next;
			mes "[Guarnien]";
			mes "But we'll discuss the Discount skill later. There are a few other basic skills which you can learn right away that I'll talk about first. Let's not rush~";
			next;
			mes "[Guarnien]";
			mes "First, there's the ^871F78Item Appraisal^000000 skill. This ability, once you've learned it, allows you to ^871F78identify unknown items^000000.";
			next;
			mes "[Guarnien]";
			mes "This skill works exactly like a ^871F78Magnifier^000000, so you won't have to spend any Zeny on them. Also, this skill is mastered at ^871F78Level 1^000000.";
			next;
			mes "[Guarnien]";
			if(getskilllv("MC_IDENTIFY")){
				mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
				set tu_merchant, 2;
				erasequest 8229;
				setquest 8230;
				getexp 58,11;
				getitem 1351,1; //Battle_Axe
				next;
				mes "[Guarnien]";
				mes "Alright, next time";
				mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous lecture. ^666666*Whew!*^000000";
				close;
			}
			mes "Alright, next time";
			mes "I'll talk about the Mammonite skill. For now, let me take a little bit of a break from all of this arduous study.";
			next;
			mes "[Guarnien]";
			mes "Oh...";
			mes "And I'll tell you";
			mes "more about the Discount";
			mes "skill later. I always manage";
			mes "to forget about that!";
			set tu_merchant,2;
			erasequest 8229;
			setquest 8230;
			close;
		}
	} else {
		mes "[Guarnien]";
		mes "On your own?";
		mes "Hahaha, that's the spirit!";
		mes "But still, the advice I'm giving is free. It couldn't hurt to give what I say a little bit of thought.";
		next;
		mes "[Guarnien]";
		mes "Well, if you ever change your mind, stop by and talk to me anytime. And as a Merchant, you should know that free advice is the best!";
		close;
	}
}
	
//=================================================Sagle====================================================
prontera,66,111,3	script	Sagle	82,{
	mes "[Sagle]";
	if(tu_merchant == 8){
		mes "Hello, hello~";
		mes "Why don't you buy";
		mes "some Red Potions?";
		mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
		next;
		mes "[Sagle]";
		mes "I will sell you 10 Red Potions for ^871F78420 zeny^000000. You'd better get them now while they're still here!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Sagle]";
			mes "Excellent!";
			mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
			if(Zeny < 420){
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "You can't afford";
				mes "these potions...";
				mes "Please come back";
				mes "when you have enough";
				mes "Zeny, alright?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
				close;
			} else {
				set Zeny, Zeny - 420;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Sagle]";
			mes "Alright...";
			mes "But don't";
			mes "complain if";
			mes "these potions";
			mes "are sold out!";
			close;
			break;
		}
	}
	if(tu_merchant == 7){
		mes "Hello, hello~";
		mes "Why don't you buy";
		mes "some Red Potions?";
		mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
		next;
		mes "[Sagle]";
		mes "I will sell you 10 Red Potions for ^871F78410 zeny^000000. You'd better get them now while they're still here!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Sagle]";
			mes "Excellent!";
			mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
			if(Zeny < 410){
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "You can't afford";
				mes "these potions...";
				mes "Please come back";
				mes "when you have enough";
				mes "Zeny, alright?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
				close2;
				end;
			} else {
				set Zeny, Zeny - 410;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Sagle]";
			mes "Alright...";
			mes "But don't";
			mes "complain if";
			mes "these potions";
			mes "are sold out!";
			close;
			break;
		}
	}
	if(tu_merchant == 6){
		mes "Hello, hello~";
		mes "Why don't you buy";
		mes "some Red Potions?";
		mes "They're essential for travel, and these Red Potions are the best for newer adventurers~";
		next;
		mes "[Sagle]";
		mes "I will sell you 10 Red Potions for ^871F78390 zeny^000000. You'd better get them now while they're still here!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Sagle]";
			mes "Excellent!";
			mes "You certainly have an eye for bargains. Here you go, 10 Red Potions fresh from the... Potioner...";
			if(Zeny < 390){
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "You can't afford";
				mes "these potions...";
				mes "Please come back";
				mes "when you have enough";
				mes "Zeny, alright?";
				close;
			}
			if(MaxWeight - Weight < 71){			
				next;
				mes "[Sagle]";
				mes "Whoa, hold on!";
				mes "There's no way you carry all of this! Why don't you put some of your stuff in Kafra Storage before coming back?";
				close;
			} else {
				set Zeny, Zeny - 390;
				set tu_merchant, 9;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Sagle]";
			mes "Alright...";
			mes "But don't";
			mes "complain if";
			mes "these potions";
			mes "are sold out!";
			close;
			break;
		}
	}
	mes "It's on the tip";
	mes "of my tongue, but";
	mes "I can't quite remember...";
	next;
	mes "[Sagle]";
	mes "You know, the name of the company that has all those beautiful ladies working for it. Ka... Ka-something. Anyway, I hear they're concerned about their growing competition. ";
	next;
	mes "[Sagle]";
	mes "It's none of my business, but it's good to know what's going on in";
	mes "the world, particularly if it'll affect the markets.";
	close;
}

//=================================================Kellion====================================================
prontera,93,330,3	script	Kellion	97,{
	mes "[Kellion]";
	if(tu_merchant == 8){
		mes "I'm selling sets of";
		mes "10 Red Potions for 340 Zeny.";
		mes "Would you like some?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Kellion]";
			mes "Good choice~";
			mes "Thank you for";
			mes "using my shop.";
			if(Zeny < 340){
				next;
				mes "[Kellion]";
				mes "Ooops!";
				mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Kellion]";
				mes "...Huh?";
				mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
				close;
			} else { 
				set Zeny, Zeny - 340;
				set tu_merchant, 10;
				getitem 569,10; //Novice_Potion
				close;
			}
			break;
		case 2:
			mes "[Kellion]";
			mes "Well, I'm sorry";
			mes "to hear that. But";
			mes "I guess I'll see";
			mes "you later.";
			close;
			break;
		}
	}
	if(tu_merchant == 7){
		mes "I'm selling sets of";
		mes "10 Red Potions for 390 Zeny.";
		mes "Would you like some?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Kellion]";
			mes "Good choice~";
			mes "Thank you for";
			mes "using my shop.";
			if(Zeny < 390){
				next;
				mes "[Kellion]";
				mes "Ooops!";
				mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Kellion]";
				mes "...Huh?";
				mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
				close;
			} else { 
				set Zeny, Zeny - 390;
				set tu_merchant, 9;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Kellion]";
			mes "Well, I'm sorry";
			mes "to hear that. But";
			mes "I guess I'll see";
			mes "you later.";
			close;
			break;
		}
	}
	if(tu_merchant == 6){
		mes "I'm selling sets of";
		mes "10 Red Potions for 400 Zeny.";
		mes "Would you like some?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Kellion]";
			mes "Good choice~";
			mes "Thank you for";
			mes "using my shop.";
			if(Zeny < 400){
				next;
				mes "[Kellion]";
				mes "Ooops!";
				mes "I'm sorry, but you don't have enough Zeny. I've got to stay in business somehow, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Kellion]";
				mes "...Huh?";
				mes "You better put some of your stuff in Kafra Storage, you can't carry much else!";
				close;
			} else { 
				set Zeny, Zeny - 400;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Kellion]";
			mes "Well, I'm sorry";
			mes "to hear that. But";
			mes "I guess I'll see";
			mes "you later.";
			close;
			break;
		}
	}
	mes "Recently, I hear that something";
	mes "has happened to the royal family.";
	next;
	mes "[Kellion]";
	mes "It's probably not even a reliable rumor, but I've heard that members of the royal family have been dying from some unknown cause.";
	next;
	mes "[Kellion]";
	mes "Huh.";
	mes "Now that's some morbid news!";
	mes "Well, hopefully, there's no truth to it whatsoever. None at all...";
	close;
}
	
//=================================================Aigie====================================================
prt_in,169,11,3	script	Aigie	92,{
	if(tu_merchant == 8){
		mes "[Aigie]";
		mes "Welcome to my shop.";
		mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
		next;
		mes "[Aigie]";
		mes "Would you like";
		mes "to buy 10 Red Potions";
		mes "for 390 Zeny, kind adventurer?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Aigie]";
			mes "Thank you so much.";
			mes "Now I can finally";
			mes "afford food again...";
			if(Zeny < 390){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
				close;
			} else {
				set Zeny, Zeny - 390;
				set tu_merchant, 9;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Aigie]";
			mes "I understand.";
			mes "But I hope you";
			mes "see that I'm offering";
			mes "you a really good price.";
			mes "^666666*Sniff Sniff*^000000";
			close;
			break;
		}					
	}
	if(tu_merchant == 7){
		mes "[Aigie]";
		mes "Welcome to my shop.";
		mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
		next;
		mes "[Aigie]";
		mes "Would you like";
		mes "to buy 10 Red Potions";
		mes "for 420 Zeny, kind adventurer?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Aigie]";
			mes "Thank you so much.";
			mes "Now I can finally";
			mes "afford food again...";
			if(Zeny < 420){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
				close;
			} else {
				set Zeny, Zeny - 420;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Aigie]";
			mes "I understand.";
			mes "But I hope you";
			mes "see that I'm offering";
			mes "you a really good price.";
			mes "^666666*Sniff Sniff*^000000";
			close;
			break;
		}					
	}
	if(tu_merchant == 6){
		mes "[Aigie]";
		mes "Welcome to my shop.";
		mes "I'm just a young girl who's a victim of circumstance, forced to sell potions on the street for dirt cheap prices.";
		next;
		mes "[Aigie]";
		mes "Would you like";
		mes "to buy 10 Red Potions";
		mes "for 340 Zeny, kind adventurer?";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Aigie]";
			mes "Thank you so much.";
			mes "Now I can finally";
			mes "afford food again...";
			if(Zeny < 340){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "I am sorry, but you don't have enough money. Would you please get some more Zeny before coming back?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Aigie]";
				mes "Wait, wait!";
				mes "You can't possibly carry any more items. Why don't you put your things in Kafra Storage first?";
				close;
			} else {
				set Zeny, Zeny - 340;
				set tu_merchant, 10;
				getitem 569,10; //Novice_Potion
				close;
			}
			break;
		case 2:
			mes "[Aigie]";
			mes "I understand.";
			mes "But I hope you";
			mes "see that I'm offering";
			mes "you a really good price.";
			mes "^666666*Sniff Sniff*^000000";
			close;
			break;
		}
	}
	mes "[Aigie]";
	mes "It's true that money isn't everything. I'm sure other things are important to have in order to be happy.";
	next;
	mes "[Aigie]";
	mes "However, money can be much more dependable than some people I know. You can rely on money more than anything else in this world.";
	close;
}
	
//=================================================Jayon====================================================
prontera,247,129,3	script	Jayon	85,{
	if(tu_merchant == 8){
		mes "[Jayon]";
		mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 410 Zeny!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Jayon]";
			mes "Heh heh...!";
			mes "It looks like";
			mes "you know your";
			mes "stuff. You're a";
			mes "Merchant yourself,";
			mes "aren't you?";
			if(Zeny < 410){
				next;
				mes "[Jayon]";
				mes "But sorry buddy.";
				mes "Rules are rules.";
				mes "You gotta meet my price";
				mes "if you want these potions.";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Jayon]";
				mes "But sorry buddy. I can't let you carry more than you can handle.";
				mes "You ought to free up some of your inventory space when you get the chance.";
				close;
			} else {
				set Zeny, Zeny - 410;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Jayon]";
			mes "Just looking";
			mes "around, eh?";
			mes "I understand.";
			mes "But you better take";
			mes "advantage of a real";
			mes "deal when you see one!";
			close;
			break;
		}
	}

	if(tu_merchant == 7){
		mes "[Jayon]";
		mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 400 Zeny!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Jayon]";
			mes "Heh heh...!";
			mes "It looks like";
			mes "you know your";
			mes "stuff. You're a";
			mes "Merchant yourself,";
			mes "aren't you?";
			if(Zeny < 400){
				next;
				mes "[Jayon]";
				mes "But sorry buddy.";
				mes "Rules are rules.";
				mes "You gotta meet my price";
				mes "if you want these potions.";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Jayon]";
				mes "But sorry buddy. I can't let you carry more than you can handle.";
				mes "You ought to free up some of your inventory space when you get the chance.";
				close;
			} else {
				set Zeny, Zeny - 400;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Jayon]";
			mes "Just looking";
			mes "around, eh?";
			mes "I understand.";
			mes "But you better take";
			mes "advantage of a real";
			mes "deal when you see one!";
			close2;
			end;
			break;
		}
	}

	if(tu_merchant == 6){
		mes "[Jayon]";
		mes "If you've checked out the market for Red Potions, you know that my price is the best. I'm offering 10 Red Potions for only 410 Zeny!";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Jayon]";
			mes "Heh heh...!";
			mes "It looks like";
			mes "you know your";
			mes "stuff. You're a";
			mes "Merchant yourself,";
			mes "aren't you?";
			if(Zeny < 410){
				next;
				mes "[Jayon]";
				mes "But sorry buddy.";
				mes "Rules are rules.";
				mes "You gotta meet my price";
				mes "if you want these potions.";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Jayon]";
				mes "But sorry buddy. I can't let you carry more than you can handle.";
				mes "You ought to free up some of your inventory space when you get the chance.";
				close;
			} else {
				set Zeny, Zeny - 410;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Jayon]";
			mes "Just looking";
			mes "around, eh?";
			mes "I understand.";
			mes "But you better take";
			mes "advantage of a real";
			mes "deal when you see one!";
			close;
			break;
		}
	}

	mes "[Jayon]";
	mes "The Schwaltzvalt Republic...";
	mes "It's a really interesting country. There's Juno and a few other places worth looking around. ";
	next;
	mes "[Jayon]";
	mes "They may not be the best places";
	mes "for sight seeing, but I'm sure they'll offer something of interest to you adventurers.";
	close;
}

//=================================================Maos====================================================
prt_in,251,129,3	script	Maos	709,{
	if(tu_merchant == 8){
		mes "[Maos]";
		mes "Don't say anything.";
		mes "I know what you want.";
		mes "10 Red Potions, right?";
		mes "I'll sell them to you";
		mes "for the low price of 420 Zeny~";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Maos]";
			mes "Excellent choice!";
			mes "Good products at affordable prices! That's my ethic as a merchant.";
			if(Zeny < 420){
				next;
				mes "[Maos]";
				mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				next;
				mes "[Maos]";
				mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
				close;
			} else {
				set Zeny, Zeny - 420;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Maos]";
			mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
			close;
			break;
		}
	}
	if(tu_merchant == 7){
		mes "[Maos]";
		mes "Don't say anything.";
		mes "I know what you want.";
		mes "10 Red Potions, right?";
		mes "I'll sell them to you";
		mes "for the low price of 340 Zeny~";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Maos]";
			mes "Excellent choice!";
			mes "Good products at affordable prices! That's my ethic as a merchant.";
			if(Zeny < 340){
				next;
				mes "[Maos]";
				mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				mes "[Maos]";
				mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
				close;
			} else {
				set Zeny, Zeny - 340;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Maos]";
			mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
			close;
			break;
		}
	}
	if(tu_merchant == 6){
		mes "[Maos]";
		mes "Don't say anything.";
		mes "I know what you want.";
		mes "10 Red Potions, right?";
		mes "I'll sell them to you";
		mes "for the low price of 400 Zeny~";
		next;
		switch(select("Buy:Cancel")){
		case 1:
			mes "[Maos]";
			mes "Excellent choice!";
			mes "Good products at affordable prices! That's my ethic as a merchant.";
			if(Zeny < 400){
				next;
				mes "[Maos]";
				mes "Ooh, but you don't even have enough Zeny to purchase these potions. I'm sorry, but I can't sell these just to lose money, you know?";
				close;
			}
			if(MaxWeight - Weight < 71){
				mes "[Maos]";
				mes "Ooh, but it doesn't look like you've got enough inventory space to carry any more items.";
				close;
			} else {
				set Zeny, Zeny - 400;
				set tu_merchant, 10;
				getitem 501,10; //Red_Potion
				close;
			}
			break;
		case 2:
			mes "[Maos]";
			mes "Well, I can't force you to buy these, but I'm telling you that you're passing up a real bargain!";
			close;
			break;
		}
	}
	mes "[Maos]";
	mes "I see too many people struggling to scrape every penny and put it all into their savings...";
	next;
	mes "[Maos]";
	mes "Now, don't get me wrong. It's a good idea to invest in the future. But money exists to be spent! Enjoy every moment, that's what I say~";
	next;
	mes "[Maos]";
	mes "Besides...";
	mes "You can't take";
	mes "your money with you";
	mes "when your time's up,";
	mes "you know?";
	close;
}