summaryrefslogtreecommitdiff
path: root/npc/quests/custom/event_32_new_hats.txt
blob: 5ad0c66f47d9c0ee15395ec9f45dfdc23c0c1f95 (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
//===== eAthena Script =======================================
//= Quest For Slotted Sunglasses
//===== By: ==================================================
//= RedxSwordxHero 
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= eAthena 1.0
//===== Description: =========================================
//= 4 brothers give you quests to get 32 new hats
//===== Additional Comments: =================================
//= Event New Hats by RedxSwordxHero 
//= Ported and improved with timers [Lupus]
//= Thanks to x[tsk],fixed all item requirments to iRO specs exept
//= for hats which cannot be made on the real server. [Lupus]
//============================================================



prontera.gat,140,172,5	script	Zac	704,{
	mes "[Zac]";
	mes "I am the oldest and strongest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Zac]";
	mes "I provide 8 hats and my brothers provides the other 24.";
	next;
	menu "Join",L1,"Information",L2,"Cancel",L3;
L1:	
	mes "[Zac]";
	mes "What hat do you want me to make?";
	next;
	menu "Angel Helm",L1_1,"Apple Hat",L1_2,"Blue Bandana",L1_3,"Bongun Hat",L1_4,"Cake Hat",L1_5,"Candle Hat",L1_6,"Chef's Hat",L1_7,"Colored Egg Shell",L1_8;
L1_1:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2254) < 1)) goto L_ITEM_1;
	if((countitem(2229) < 1)) goto L_ITEM_2;
	if((countitem(7036) < 5)) goto L_ITEM_3;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Angel Helm for you right away. Please Wait a Moment.";
	delitem 2254,1;
	delitem 2229,1;
	delitem 7036,5;
	next;
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Angel Helm^000000...! Please Take it!";
	getitem 5025,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1:
	mes "[Zac]";
	mes "Oh dear, you need 1 Angel Hairband...";
	close;
L_ITEM_2:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Slotted Helm...";
	close;
L_ITEM_3:
	mes "[Zac]";
	mes "Oh, dear. You need 5 Fangs of Garm...";
	close;
L1_2:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(748) < 1)) goto L_ITEM_1a;
	if((countitem(512) < 300)) goto L_ITEM_2a;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Apple Hat for you right away. Please Wait a Moment.";
	delitem 748,1;
	delitem 512,300;
	next;
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Apple Hat^000000...! Please Take it!";
	getitem 5037,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1a:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Witherless Rose...";
	close;
L_ITEM_2a:
	mes "[Zac]";
	mes "Oh, dear. You need 300 Apples...";
	close;
L1_3:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7003) < 300)) goto L_ITEM_1b;
	if((countitem(2211) < 1)) goto L_ITEM_2b;
	if((countitem(978) < 1)) goto L_ITEM_3b;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Blue Bandana for you right away. Please Wait a Moment.";
   	next;
	delitem 7003,300;
	delitem 2211,1;
	delitem 978,1;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Blue Bandana^000000...! Please Take it!";
	getitem 5052,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1b:
	mes "[Zac]";
	mes "Oh, dear. You need 300 Anolian Skins...";
	close;
L_ITEM_2b:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Bandana...";
	close;
L_ITEM_3b:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Cobaltblue Dyestuff...";
	close;
L1_4:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(609) < 10)) goto L_ITEM_1c;
	if((countitem(978) < 1)) goto L_ITEM_2c;
	if((countitem(2264) < 1)) goto L_ITEM_3c;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Bongun Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 609,100;
	delitem 978,1;
	delitem 2264,1;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Bongun Hat^000000...! Please Take it!";
	getitem 5046,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1c:
	mes "[Zac]";
	mes "Oh, dear. You need 10 Amulets...";
	close;
L_ITEM_2c:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Cobaltblue Dyestuff...";
	close;
L_ITEM_3c:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Munak Hat...";
	close;
L1_5:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(529) < 10)) goto L_ITEM_1d;
	if((countitem(530) < 5)) goto L_ITEM_2d;
	if((countitem(538) < 15)) goto L_ITEM_3d;
	if((countitem(539) < 20)) goto L_ITEM_4d;
	if((countitem(999) < 10)) goto L_ITEM_5d;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Cake Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 529,10;
	delitem 530,5;
	delitem 538,15;
	delitem 539,20;
	delitem 999,10;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Cake Hat^000000...! Please Take it!";
	getitem 5024,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1d:
	mes "[Zac]";
	mes "Oh, dear. You need 10 Candys...";
	close;
L_ITEM_2d:
	mes "[Zac]";
	mes "Oh, dear. You need 5 Candy Canes...";
	close;
L_ITEM_3d:
	mes "[Zac]";
	mes "Oh, dear. You need 15 Well Baked Cookies...";
	close;
L_ITEM_4d:
	mes "[Zac]";
	mes "Oh, dear. You need 20 Pieces of Cake...";
	close;
L_ITEM_5d:
	mes "[Zac]";
	mes "Oh, dear. You need 10 Steels...";
	close;
L1_6:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2279) < 1)) goto L_ITEM_1e;
	if((countitem(518) < 100)) goto L_ITEM_2e;
	if((countitem(7035) < 50)) goto L_ITEM_3e;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Candle Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 2279,1;
	delitem 518,100;
	delitem 7035,50;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Candle Hat^000000...! Please Take it!";
	getitem 5028,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1e:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Bomb Wick...";
	close;
L_ITEM_2e:
	mes "[Zac]";
	mes "Oh, dear. You need 100 Honeys...";
	close;
L_ITEM_3e:
	mes "[Zac]";
	mes "Oh, dear. You need 50 MatchSticks...";
	close;
L1_7:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(539) < 120)) goto L_ITEM_1f;
	if((countitem(1036) < 450)) goto L_ITEM_2f;
	if((countitem(982) < 1)) goto L_ITEM_3f;
	if((countitem(949) < 330)) goto L_ITEM_4f;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Chef's Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 539,120;
	delitem 1036,450;
	delitem 982,1;
	delitem 949,330;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Chef's Hat^000000...! Please Take it!";
	getitem 5026,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1f:
	mes "[Zac]";
	mes "Oh, dear. You need 120 Pieces of Cake...";
	close;
L_ITEM_2f:
	mes "[Zac]";
	mes "Oh, dear. You need 450 Dragon Scales...";
	close;
L_ITEM_3f:
	mes "[Zac]";
	mes "Oh, dear. You need 1 White Dyestuff...";
	close;
L_ITEM_4f:
	mes "[Zac]";
	mes "Oh, dear. You need 330 Feathers...";
	close;
L1_8:
	mes "[Zac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(5015) < 1)) goto L_ITEM_1g;
	if((countitem(978) < 1)) goto L_ITEM_2g;
	if((countitem(7030) < 50)) goto L_ITEM_3g;
	mes "[Zac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Colored Egg Shell for you right away. Please Wait a Moment.";
   	next;
	delitem 5015,1;
	delitem 978,1;
	delitem 7030,50;	
	mes "[Zac]";
	mes "Tah Dah! ^FF0000Colored Egg Shell^000000...! Please Take it!";
	getitem 5039,1;
	next;
	mes "[Zac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1g:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Egg Shell...";
	close;
L_ITEM_2g:
	mes "[Zac]";
	mes "Oh, dear. You need 1 Cobaltblue Dyestuff...";
	close;
L_ITEM_3g:
	mes "[Zac]";
	mes "Oh, dear. You need 50 Claws of Desert Wolf...";
	close;
L2:	
	mes "[Zac]";
	mes "Which hat materials do you wish to know?";
	next;
	menu "Angel Helm",L2_1,"Apple Hat",L2_2,"Blue Bandana",L2_3,"Bongun Hat", L2_4,"Cake Hat",L2_5,"Candle Hat",L2_6,"Chef's Hat",L2_7,"Colored Egg Shell",L2_8;
L2_1:
	mes "[Zac]";
	mes "You need 1 Angel Wing, 1 Slotted Helm and 5 Fangs of Garm for Angel Helm.";
	close;
L2_2:
	mes "[Zac]";
	mes "You need 1 Witherless Rose and 300 Apples for Apple Hat.";
	close;
L2_3:
	mes "[Zac]";
	mes "You need 300 Anolian Skins, 1 Bandana and 1 Cobaltblue Dyestuff for Blue Bandana.";
	close;
L2_4:
	mes "[Zac]";
	mes "You need 10 Amulets, 1 Cobaltblue Dyestuff and 1 Munak Hat for Bongun Hat.";
	close;
L2_5:
	mes "[Zac]";
	mes "You need 10 Candys, 5 Candy Canes, 15 Well Baked Cookies, 20 Pieces Of Cake and 10 Steels for Cake Hat.";
	close;
L2_6:
	mes "[Zac]";
	mes "You need 1 Bomb Wick, 100 Honeys and 50 Matchsticks for Candle Hat.";
	close;
L2_7:
	mes "[Zac]";
	mes "You need 120 Pieces of Cake, 450 Dragon Scales, 1 White Dyestuff and 330 Feathers for Chef's Hat.";
	close;
L2_8:
	mes "[Zac]";
	mes "You need 1 Egg Shell, 1 Cobaltblue Dyestuff and 50 Claws of Desert Wolf for Colored Egg Shell.";
	close;		
L3:
	mes "[Zac]";
	mes "Stop by some other time with the right materials, so I can make the hats for you.";
	close;
}

prontera.gat,143,172,5	script	Blac	732,{
	mes "[Blac]";
	mes "I am the youngest and sexiest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Blac]";
	mes "I provide 8 hats and my brothers provides the other 24.";
	next;
	menu "Join",L1,"Information",L2,"Cancel",L3;
L1:	
	mes "[Blac]";
	mes "What hat do you want me to make?";
	next;
	menu "Crescent Moon Hairpin",L1_9,"Cross Hairband",L1_10,"Deviruchi Hat",L1_11,"Dumpling Decoration",L1_12,"Fashion Sunglasses",L1_13,"HandkerChief",L1_14,"Magic Instructor's Hat",L1_15,"Heart Hairpin",L1_16;
L1_9:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(5041) < 1)) goto L_ITEM_1;
	if((countitem(999) < 10)) goto L_ITEM_2;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Crescent Moon Hairpin for you right away. Please Wait a Moment.";
   	next;
	delitem 5041,1;
	delitem 999,10;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Crescent Moon Hairpin^000000...! Please Take it!";
	getitem 5048,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Heart Hairpin...";
	close;
L_ITEM_2:
	mes "[Blac]";
	mes "Oh, dear. You need 10 Steels...";
	close;
L1_10:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2608) < 1)) goto L_ITEM_1a;
	if((countitem(7069) < 500)) goto L_ITEM_2a;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Cross Hairband for you right away. Please Wait a Moment.";
   	next;
	delitem 2608,1;
	delitem 7069,500;
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Cross Hairband^000000...! Please Take it!";
	getitem 5036,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1a:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Rosary...";
	close;
L_ITEM_2a:
	mes "[Blac]";
	mes "Oh, dear. You need 500 Destroyed Armors...";
	close;
L1_11:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7048) < 40)) goto L_ITEM_1b;
	if((countitem(1038) < 600)) goto L_ITEM_2b;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Deviruchi Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 7048,40;
	delitem 1038,600;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Deviruchi Hat^000000...! Please Take it!";
	getitem 5038,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1b:
	mes "[Blac]";
	mes "Oh, dear. You need 40 Talons of Griffin...";
	close;
L_ITEM_2b:
	mes "[Blac]";
	mes "Oh, dear. You need 600 Little Evil Horns...";
	close;
L1_12:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(10007) < 1)) goto L_ITEM_1c;
	if((countitem(968) < 50)) goto L_ITEM_2c;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Dumpling Decoration for you right away. Please Wait a Moment.";
   	next;
	delitem 10007,1;
	delitem 968,50;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Dumpling Decoration^000000...! Please Take it!";
	getitem 5042,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1c:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Silk Ribbon...";
	close;
L_ITEM_2c:
	mes "[Blac]";
	mes "Oh, dear. You need 50 Heroic Emblems...";
	close;
L1_13:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2271) < 1)) goto L_ITEM_1d;
	if((countitem(975) < 1)) goto L_ITEM_2d;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Fashion Sunglasses for you right away. Please Wait a Moment.";
   	next;
	delitem 2271,1;
	delitem 975,1;
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Fashion Sunglasses^000000...! Please Take it!";
	getitem 5047,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1d:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Jack a Dandy...";
	close;
L_ITEM_2d:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Scarlet Dyestuff...";
	close;
L1_14:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(1059) < 150)) goto L_ITEM_1e;
	if((countitem(978) < 1)) goto L_ITEM_2e;
	if((countitem(907) < 100)) goto L_ITEM_3e;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Handkerchief for you right away. Please Wait a Moment.";
   	next;
	delitem 1059,150;
	delitem 978,1;
	delitem 907,100;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Handkerchief^000000...! Please Take it!";
	getitem 5023,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1e:
	mes "[Blac]";
	mes "Oh, dear. You need 150 Fabrics...";
	close;
L_ITEM_2e:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Cobaltblue Dyestuff...";
	close;
L_ITEM_3e:
	mes "[Blac]";
	mes "Oh, dear. You need 100 Resins...";
	close;
L1_15:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2251) < 1)) goto L_ITEM_1f;
	if((countitem(4052) < 1)) goto L_ITEM_2f;
	if((countitem(1036) < 400)) goto L_ITEM_3f;
	if((countitem(7001) < 50)) goto L_ITEM_4f;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Magic Instructor's Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 2251,1;
	delitem 4052,1;
	delitem 1036,400;
	delitem 7001,50;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Magic Instructor's Hat^000000...! Please Take it!";
	getitem 5027,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1f:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Wizard's Hat...";
	close;
L_ITEM_2f:
	mes "[Blac]";
	mes "Oh, dear. You need 1 Elder Willow Card...";
	close;
L_ITEM_3f:
	mes "[Blac]";
	mes "Oh, dear. You need 400 Dragon Scales...";
	close;
L_ITEM_4f:
	mes "[Blac]";
	mes "Oh, dear. You need 50 Mould Powders...";
	close;
L1_16:
	mes "[Blac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7013) < 1200)) goto L_ITEM_1g;
	mes "[Blac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Heart Hairpin for you right away. Please Wait a Moment.";
   	next;
	delitem 7013,1200;	
	mes "[Blac]";
	mes "Tah Dah! ^FF0000Heart Hairpin^000000...! Please Take it!";
	getitem 5041,1;
	next;
	mes "[Blac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1g:
	mes "[Blac]";
	mes "Oh, dear. You need 1200 Coral Reef's...";
	close;
L2:	
	mes "[Blac]";
	mes "Which hat materials do you wish to know?";
	next;
	menu "Crescent Moon Hairpin",L2_9,"Cross Hairband",L2_10,"Deviruchi Hat",L2_11,"Dumpling Decoration/Chun Li Hat",L2_12,"Fashion Sunglasses",L2_13,"HandkerChief",L2_14,"Magic Instructor's Hat",L2_15,"Heart Hairpin",L2_16;
L2_9:
	mes "[Blac]";
	mes "You need 1 Heart Hairpin and 10 Steels for Crescent Moon Hairpin.";
	close;
L2_10:
	mes "[Blac]";
	mes "You need 1 Rosary and 500 Destroyed Armors for Cross Hairband.";
	close;
L2_11:
	mes "[Blac]";
	mes "You need 40 Talon's of Griffin and 600 Little Evil Horns for Deviruchi Hat.";
	close;
L2_12:
	mes "[Blac]";
	mes "You need 1 Silk Ribbon and 50 Heroic Emblems for Dumping Decoration.";
	close;
L2_13:
	mes "[Blac]";
	mes "You need 1 Jack a Dandy and 1 Scarlet Dyestuff for Fashion Sunglasses.";
	close;
L2_14:
	mes "[Blac]";
	mes "You need 150 Fabrics, 1 Cobaltblue Dyestuff and 100 Resins for Handkerchief.";
	close;
L2_15:
	mes "[Blac]";
	mes "You need 1 Wizard's Hat, 1 Elder Willow Card, 400 Dragon Scales and 50 Mould Powders for Magic Instructor's Hat.";
	close;
L2_16:
	mes "[Blac]";
	mes "You need 1200 Coral Reef's for Heart Hairpin.";
	close;
L3:
	mes "[Blac]";
	mes "Stop by some other time with the right materials, so I can make the hats for you.";
	close;
}

prontera.gat,141,172,5	script	Jac	107,{
	mes "[Jac]";
	mes "I am the 2nd oldest and calmest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat, so I can make them.";
	next;
	mes "[Jac]";
	mes "I provide 8 hats and my brothers provides the other 24.";
	next;
	menu "Join",L1,"Information",L2,"Cancel",L3;
L1:	
	mes "[Jac]";
	mes "What hat do you want me to make?";
	next;
	menu "Heart of Merchant",L1_17,"Innocence of Maiden",L1_18,"Kafra Band",L1_19,"Lightbulb Hairband",L1_20,"Magic Hat",L1_21,"Miner's Helm",L1_22,"Mysterious Apple Hat",L1_23,"Panda Hat",L1_24;
L1_17:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2233) < 1)) goto L_ITEM_1;
	if((countitem(969) < 1)) goto L_ITEM_2;
	if((countitem(949) < 80)) goto L_ITEM_3;
	if((countitem(938) < 100)) goto L_ITEM_4;
	if((countitem(999) < 20)) goto L_ITEM_5;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Heart of Merchant for you right away. Please Wait a Moment.";
   	next;
	delitem 2233,1;
	delitem 969,1;
	delitem 949,80;
	delitem 999,20;
	delitem 938,800;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Heart of Merchant^000000...! Please Take it!";
	getitem 5021,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Slotted Circlet...";
	close;
L_ITEM_2:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Gold...";
	close;
L_ITEM_3:
	mes "[Jac]";
	mes "Oh, dear. You need 80 Feather...";
	close;
L_ITEM_4:
	mes "[Jac]";
	mes "Oh, dear. You need 800 Sticky Muscus...";
	close;
L_ITEM_5:
	mes "[Jac]";
	mes "Oh, dear. You need 20 Steels...";
	close;
L1_18:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7047) < 100)) goto L_ITEM_1a;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Innocence of Maiden for you right away. Please Wait a Moment.";
   	next;
	delitem 7047,100;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Innocence of Maiden^000000...! Please Take it!";
	getitem 5040,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1a:
	mes "[Jac]";
	mes "Oh, dear. You need 100 Alice's Apron...";
	close;
L1_19:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(10007) < 1)) goto L_ITEM_1b;
	if((countitem(10009) < 1)) goto L_ITEM_2b;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Kafra Band for you right away. Please Wait a Moment.";
   	next;
	delitem 10007,1;
	delitem 10009,1;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Kafra Band^000000...! Please Take it!";
	getitem 5020,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1b:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Silk Ribbon...";
	close;
L_ITEM_2b:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Wild Flower...";
	close;
L1_20:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2233) < 1)) goto L_ITEM_1c;
	if((countitem(746) < 20)) goto L_ITEM_2c;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Lightbulb Hairband for you right away. Please Wait a Moment.";
   	next;
	delitem 2233,1;
	delitem 746,20;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Lightbulb Hairband^000000...! Please Take it!";
	getitem 5034,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1c:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Slotted Criclet...";
	close;
L_ITEM_2c:
	mes "[Jac]";
	mes "Oh, dear. You need 20 Glass Bead...";
	close;
L1_21:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2252) < 1)) goto L_ITEM_1d;
	if((countitem(943) < 1200)) goto L_ITEM_2d;
	if((countitem(1054) < 450)) goto L_ITEM_3d;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Magic Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 2252,1;
	delitem 943,1200;
	delitem 1054,450;		
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Magic Hat^000000...! Please Take it!";
	getitem 5045,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1d:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Wizard's Hat...";
	close;
L_ITEM_2d:
	mes "[Jac]";
	mes "Oh, dear. You need 1200 Solid Shells...";
	close;
L_ITEM_3d:
	mes "[Jac]";
	mes "Oh, dear. You need 450 Ancient Lips...";
	close;
L1_22:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(5009) < 1)) goto L_ITEM_1e;
	if((countitem(999) < 25)) goto L_ITEM_2e;
	if((countitem(747) < 1)) goto L_ITEM_3e;
	if((countitem(5028) < 1)) goto L_ITEM_4e;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Miner's Helm for you right away. Please Wait a Moment.";
   	next;
	delitem 5009,1;
	delitem 999,25;
	delitem 747,1;
	delitem 5028,1;
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Miner's Helm^000000...! Please Take it!";
	getitem 5031,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1e:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Safety Helmet...";
	close;
L_ITEM_2e:
	mes "[Jac]";
	mes "Oh, dear. You need 25 Steels...";
	close;
L_ITEM_3e:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Crystal Mirror...";
	close;
L_ITEM_4e:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Candle...";
	close;
L1_23:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(5037) < 1)) goto L_ITEM_1f;
	if((countitem(7064) < 500)) goto L_ITEM_2f;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Mysterious Apple Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 5037,1;
	delitem 7064,500;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Mysterious Apple Hat^000000...! Please Take it!";
	getitem 5050,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1f:
	mes "[Jac]";
	mes "Oh, dear. You need 1 Apple Hat...";
	close;
L_ITEM_2f:
	mes "[Jac]";
	mes "Oh, dear. You need 500 Wings of Dragonfly...";
	close;
L1_24:
	mes "[Jac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(999) < 10)) goto L_ITEM_1g;
	if((countitem(948) < 200)) goto L_ITEM_2g;
	mes "[Jac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Panda Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 999,10;
	delitem 948,200;	
	mes "[Jac]";
	mes "Tah Dah! ^FF0000Panda Hat^000000...! Please Take it!";
	getitem 5030,1;
	next;
	mes "[Jac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1g:
	mes "[Jac]";
	mes "Oh, dear. You need 10 Steels...";
	close;
L_ITEM_2g:
	mes "[Jac]";
	mes "Oh, dear. You need 200 Bear Footskins...";
	close;	
L2:	
	mes "[Jac]";
	mes "Which hat materials do you wish to know?";
	next;
	menu "Heart of Merchant",L2_17,"Innocence of Maiden",L2_18,"Kafra Band",L2_19,"Lightbulb Hairband",L2_20,"Magic Hat",L2_21,"Miner's Helm",L2_22,"Mysterious Apple Hat",L2_23,"Panda Hat",L2_24;
L2_17:
	mes "[Jac]";
	mes "You need 1 Slotted Circlet, 1 Gold Bar, 80 Feathers, 20 Steels and 800 Sticky Muscus for Heart of Merchant";
	close;
L2_18:
	mes "[Jac]";
	mes "You need 100 Alice's Aprons for Innocence of Maiden.";
	close;
L2_19:
	mes "[Jac]";
	mes "You need 1 Silk Ribbon and 1 Wild Flower for Kafra Band.";
	close;
L2_20:
	mes "[Jac]";
	mes "You need 1 Slotted Circlet and 20 Glass Beads for Lightbulb Hairband.";
	close;
L2_21:
	mes "[Jac]";
	mes "You need 1 Wizard's Hat, 1200 Solid Shells and 450 Ancient Lips for Magic Hat.";
	close;
L2_22:
	mes "[Jac]";
	mes "You need 1 Safety Helmet, 25 Steels, 1 Crystal Mirror and 1 Candle for Miner's Helm.";
	close;
L2_23:
	mes "[Jac]";
	mes "You need 1 Apple Hat and 500 Wings of Dragonfly for Mysterious Apple Hat.";
	close;
L2_24:
	mes "[Jac]";
	mes "You need 10 Steels and 200 Bear Footskins for Panda Hat.";
	close;		
L3:
	mes "[Jac]";
	mes "Stop by some other time with the right materials, so I can make the hats for you.";
	close;
}

prontera.gat,142,172,5	script	Pac	705,{
	mes "[Pac]";
	mes "I am 3rd oldest and wisest of the 4 brothers that makes all the newer hats. You will need to bring me the correct items for each hat so I can make them.";
	next;
	mes "[Pac]";
	mes "I provide 8 hats and my brothers provides the other 24.";
	next;
	menu "Join",L1,"Information",L2,"Cancel",L3;
L1:	
	mes "[Pac]";
	mes "What hat do you want me to make?";
	next;
	menu "Phantom of the Opera",L1_25,"Poring Hat",L1_26,"Smokie Hat",L1_27,"Solar God Helm",L1_28,"Sphinx Hat",L1_29,"Spore Hat",L1_30,"Striped Bandana",L1_31,"Sunday Hat",L1_32;
L1_25:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2281) < 1)) goto L_ITEM_1;
	if((countitem(1048) < 50)) goto L_ITEM_2;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Phantom of the Opera for you right away. Please Wait a Moment.";
   	next;
	delitem 2281,1;
	delitem 1048,50;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Phatom of the Opera^000000...! Please Take it!";
	getitem 5043,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Opera Mask...";
	close;
L_ITEM_2:
	mes "[Pac]";
	mes "Oh, dear. You need 50 Horrendous Hairs...";
	close;
L1_26:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(741) < 1)) goto L_ITEM_1a;
	if((countitem(909) < 300)) goto L_ITEM_2a;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Poring Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 741,1;
	delitem 909,300;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Poring Hat^000000...! Please Take it!";
	getitem 5035,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1a:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Poring Doll...";
	close;
L_ITEM_2a:
	mes "[Pac]";
	mes "Oh, dear. You need 300 Jellopys...";
	close;
L1_27:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2213) < 1)) goto L_ITEM_1b;
	if((countitem(1036) < 20)) goto L_ITEM_2b;
	if((countitem(7012) < 200)) goto L_ITEM_3b;
	if((countitem(7065) < 300)) goto L_ITEM_4b;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Smokie Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 2213,1;
	delitem 1036,20;
	delitem 7012,200;
	delitem 7065,300;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Smokie Hat^000000...! Please Take it!";
	getitem 5033,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1b:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Kitty Band...";
	close;
L_ITEM_2b:
	mes "[Pac]";
	mes "Oh, dear. You need 20 Dragon Scales...";
	close;
L_ITEM_3b:
	mes "[Pac]";
	mes "Oh, dear. You need 200 Tough Scalelike Stems...";
	close;
L_ITEM_4b:
	mes "[Pac]";
	mes "Oh, dear. You need 300 Fur's of Sea Otter...";
	close;
L1_28:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7086) < 1)) goto L_ITEM_1c;
	if((countitem(999) < 40)) goto L_ITEM_2c;
	if((countitem(984) < 2)) goto L_ITEM_3c;
	if((countitem(969) < 10)) goto L_ITEM_4c;
	if((countitem(1003) < 50)) goto L_ITEM_5c;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Solar God Helm for you right away. Please Wait a Moment.";
   	next;
	delitem 7086,1;
	delitem 999,40;
	delitem 984,2;
	delitem 969,10;
	delitem 1003,50;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Solar God Helm^000000...! Please Take it!";
	getitem 5022,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1c:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Emblem of the Sun God...";
	close;
L_ITEM_2c:
	mes "[Pac]";
	mes "Oh, dear. You need 40 Steels...";
	close;
L_ITEM_3c:
	mes "[Pac]";
	mes "Oh, dear. You need 2 Oridecons...";
	close;
L_ITEM_4c:
	mes "[Pac]";
	mes "Oh, dear. You need 10 Gold Bar's...";
	close;
L_ITEM_5c:
	mes "[Pac]";
	mes "Oh, dear. You need 50 Coals...";
	close;
L1_29:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(999) < 25)) goto L_ITEM_1d;
	if((countitem(979) < 1)) goto L_ITEM_2d;
	if((countitem(976) < 1)) goto L_ITEM_3d;
	if((countitem(1059) < 150)) goto L_ITEM_4d;
	if((countitem(969) < 2)) goto L_ITEM_5d;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Sphinx Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 999,1;
	delitem 979,1;
	delitem 976,1;
	delitem 1059,150;
	delitem 969,2; 	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Sphinx Hat^000000...! Please Take it!";
	getitem 5053,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1d:
	mes "[Pac]";
	mes "Oh, dear. You need 25 Steels...";
	close;
L_ITEM_2d:
	mes "[Pac]";
	mes "Oh, dear. You need 1 DarkGreen Dyestuff...";
	close;
L_ITEM_3d:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Lemon Dyestuff...";
	close;
L_ITEM_4d:
	mes "[Pac]";
	mes "Oh, dear. You need 150 Fabric...";
	close;
L_ITEM_5d:
	mes "[Pac]";
	mes "Oh, dear. You need 2 Gold Bar's...";
	close;
L1_30:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(7033) < 850)) goto L_ITEM_1e;
	if((countitem(7068) < 300)) goto L_ITEM_2e;
	if((countitem(1015) < 1)) goto L_ITEM_3e;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Spore Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 7033,850;
	delitem 7068,300;
	delitem 1015,1;		
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Spore Hat^000000...! Please Take it!";
	getitem 5029,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1e:
	mes "[Pac]";
	mes "Oh, dear. You need 850 Poison Spores...";
	close;
L_ITEM_2e:
	mes "[Pac]";
	mes "Oh, dear. You need 300 Half Burnt Logs...";
	close;
L_ITEM_3e:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Tongue...";
	close;
L1_31:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(1099) < 1500)) goto L_ITEM_1f;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Striped Bandana for you right away. Please Wait a Moment.";
   	next;
	delitem 1099,1500;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Striped Bandana^000000...! Please Take it!";
	getitem 5049,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1f:
	mes "[Pac]";
	mes "Oh, dear. You need 1500 Worn-out Prisoner Uniforms...";
	close;
L1_32:
	mes "[Pac]";
	mes "Let me check the items you have brought here.";
	next;
	if((countitem(2221) < 1)) goto L_ITEM_1g;
	if((countitem(2227) < 1)) goto L_ITEM_2g;
	if((countitem(1059) < 250)) goto L_ITEM_3g;
	if((countitem(7063) < 600)) goto L_ITEM_4g;
	mes "[Pac]";
	mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Sunday Hat for you right away. Please Wait a Moment.";
   	next;
	delitem 2221,1;
	delitem 2227,1;
	delitem 1059,250;
	delitem 7063,600;	
	mes "[Pac]";
	mes "Tah Dah! ^FF0000Sunday Hat^000000...! Please Take it!";
	getitem 5032,1;
	next;
	mes "[Pac]";
	mes "I liked that, I look forward to making more. Thank you.";
	close;
L_ITEM_1g:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Slotted Hat...";
	close;
L_ITEM_2g:
	mes "[Pac]";
	mes "Oh, dear. You need 1 Slotted Cap...";
	close;
L_ITEM_3g:
	mes "[Pac]";
	mes "Oh, dear. You need 250 Fabrics...";
	close;
L_ITEM_4g:
	mes "[Pac]";
	mes "Oh, dear. You need 600 Soft Feathers...";
	close;
L2:	
	mes "[Pac]";
	mes "Which hat materials do you wish to know?";
	next;
	menu "Phantom of the Opera",L2_25,"Poring Hat",L2_26,"Smokie Hat",L2_27,"Solar God Helm",L2_28,"Sphinx Hat",L2_29,"Spore Hat",L2_30,"Striped Bandana",L2_31,"Sunday Hat",L2_32;
L2_25:
	mes "[Pac]";
	mes "You need 1 Opera Mask and 50 Horrendous Hairs for Phantom of the Opera.";
	close;
L2_26:
	mes "[Pac]";
	mes "You need 1 Poring Doll and 300 Jellopys for Poring Hat.";
	close;
L2_27:
	mes "[Pac]";
	mes "You need 1 Kitty Band, 20 Dragon Scale, 200 Tough Scalelike Stem and 300 Fur's of Sea Otter for Smokie Hat.";
	close;
L2_28:
	mes "[Pac]";
	mes "You need 1 Emblem of the Sun God, 40 Steels, 2 Oridecons, 10 Gold Bar's and 50 Coals for Solar God Helm.";
	close;
L2_29:
	mes "[Pac]";
	mes "You need 25 Steels, 1 DarkGreen Dyestuff, 1 Lemon Dyestuff, 150 Fabric and 2 Gold Bar's for Sphinx Hat.";
	close;
L2_30:
	mes "[Pac]";
	mes "You need 850 Poison Spores, 300 Half Burnt Logs and 1 Tongue for Spore Hat.";
	close;
L2_31:
	mes "[Pac]";
	mes "You need 1500 Worn-out Prisoner Uniforms for Striped Bandana.";
	close;
L2_32:
	mes "[Pac]";
	mes "You need 1 Slotted Hat, 1 Slotted Cap, 250 Fabrics and 600 Soft Feathers for Sunday Hat.";
	close;
L3:
	mes "[Pac]";
	mes "Stop by some other time with the right materials, so I can make the hats for you.";
	close;
}


//these scripts make our brothers to appear and disappear in order
-	script	EDZac	-1,{
OnInit:
OnMinute15:
	disablenpc "Zac";
	end;
OnMinute01:
	enablenpc "Zac";
	end;
}

-	script	EDJac	-1,{
OnInit:
OnMinute30:
	disablenpc "Jac";
	end;
OnMinute16:
	enablenpc "Jac";
	end;
}

-	script	EDPac	-1,{
OnInit:
OnMinute45:
	disablenpc "Pac";
	end;
OnMinute31:
	enablenpc "Pac";
	end;
}

-	script	EDBlac	-1,{
OnInit:
OnMinute00:
	disablenpc "Blac";
	end;
OnMinute46:
	enablenpc "Blac";
	end;
}