summaryrefslogtreecommitdiff
path: root/npc/custom/quests/event_6_new_hats.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/quests/event_6_new_hats.txt')
-rw-r--r--npc/custom/quests/event_6_new_hats.txt548
1 files changed, 284 insertions, 264 deletions
diff --git a/npc/custom/quests/event_6_new_hats.txt b/npc/custom/quests/event_6_new_hats.txt
index d53427f14..593293a69 100644
--- a/npc/custom/quests/event_6_new_hats.txt
+++ b/npc/custom/quests/event_6_new_hats.txt
@@ -29,57 +29,62 @@ prt_in,130,66,5 script Zac 4_M_BIBI,{
mes "[Zac]";
mes "I provide 1 hat and my brothers provides the other 5.";
next;
- menu "Join",L1,"Information",L2,"Cancel",L3;
-L1:
- mes "[Zac]";
- mes "What hat do you want me to make?";
- next;
- menu "Bongun Hat",L1_4;
-L1_4:
- mes "[Zac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Amulet) < 10) goto L_ITEM_1c;//Items: Amulet,
- if(countitem(Cobaltblue_Dyestuffs) < 1) goto L_ITEM_2c;//Items: Cobaltblue Dyestuff,
- if(countitem(Munak_Turban) < 1) goto L_ITEM_3c;//Items: Munak Hat,
- delitem Amulet,10;//Items: Amulet,
- delitem Cobaltblue_Dyestuffs,1;//Items: Cobaltblue Dyestuff,
- delitem Munak_Turban,1; //Items: Munak Hat,
- 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;
- mes "[Zac]";
- mes "Tah Dah! ^FF0000Bongun Hat^000000...! Please Take it!";
- getitem Bongun_Hat,1;//Items: Bongun Hat,
- 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 Dyestuffs...";
- close;
-L_ITEM_3c:
- mes "[Zac]";
- mes "Oh, dear. You need 1 Munak Hat...";
- close;
-L2:
- mes "[Zac]";
- mes "Which hat materials do you wish to know?";
- next;
- menu "Bongun Hat",L2_4;
-L2_4:
- mes "[Zac]";
- mes "You need 10 Amulets, 1 Cobaltblue Dyestuffs and 1 Munak Hat for Bongun Hat.";
- close;
-L3:
- mes "[Zac]";
- mes "Stop by some other time with the right materials, so I can make the hats for you.";
- close;
+ switch (select("Join", "Information", "Cancel")) {
+ case 1:
+ mes "[Zac]";
+ mes "What hat do you want me to make?";
+ next;
+ switch (select("Bongun Hat")) {
+ case 1:
+ mes "[Zac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Amulet) < 10) {
+ mes "[Zac]";
+ mes "Oh, dear. You need 10 Amulets...";
+ close;
+ }
+ if (countitem(Cobaltblue_Dyestuffs) < 1) {
+ mes "[Zac]";
+ mes "Oh, dear. You need 1 Cobaltblue Dyestuffs...";
+ close;
+ }
+ if (countitem(Munak_Turban) < 1) {
+ mes "[Zac]";
+ mes "Oh, dear. You need 1 Munak Hat...";
+ close;
+ }
+ delitem Amulet,10;//Items: Amulet,
+ delitem Cobaltblue_Dyestuffs,1;//Items: Cobaltblue Dyestuff,
+ delitem Munak_Turban,1; //Items: Munak Hat,
+ 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;
+ mes "[Zac]";
+ mes "Tah Dah! ^FF0000Bongun Hat^000000...! Please Take it!";
+ getitem Bongun_Hat,1;//Items: Bongun Hat,
+ next;
+ mes "[Zac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ }
+ break;
+ case 2:
+ mes "[Zac]";
+ mes "Which hat materials do you wish to know?";
+ next;
+ switch (select("Bongun Hat")) {
+ case 1:
+ mes "[Zac]";
+ mes "You need 10 Amulets, 1 Cobaltblue Dyestuffs and 1 Munak Hat for Bongun Hat.";
+ close;
+ }
+ break;
+ case 3:
+ mes "[Zac]";
+ mes "Stop by some other time with the right materials, so I can make the hats for you.";
+ close;
+ }
}
prt_in,162,131,5 script Blac 4_M_JOB_HUNTER,{
@@ -89,51 +94,56 @@ prt_in,162,131,5 script Blac 4_M_JOB_HUNTER,{
mes "[Blac]";
mes "I provide 1 hat and my brothers provides the other 5.";
next;
- menu "Join",L1,"Information",L2,"Cancel",L3;
-L1:
- mes "[Blac]";
- mes "What hat do you want me to make?";
- next;
- menu "Crescent Hairpin",L1_9;
-L1_9:
- mes "[Blac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Heart_Hair_Pin) < 1) goto L_ITEM_1;//Items: Heart Hairpin,
- if(countitem(Steel) < 10) goto L_ITEM_2;//Items: Steel,
- delitem Heart_Hair_Pin,1;//Items: Heart Hairpin,
- delitem Steel,10; //Items: Steel,
- mes "[Blac]";
- mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Crescent Hairpin for you right away. Please Wait a Moment.";
- next;
- mes "[Blac]";
- mes "Tah Dah! ^FF0000Crescent Hairpin^000000...! Please Take it!";
- getitem First_Moon_Hair_Pin,1;//Items: Cresent Hairpin,
- 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;
-L2:
- mes "[Blac]";
- mes "Which hat materials do you wish to know?";
- next;
- menu "Crescent Hairpin",L2_9;
-L2_9:
- mes "[Blac]";
- mes "You need 1 Heart Hairpin and 10 Steels for Crescent Hairpin.";
- close;
-L3:
- mes "[Blac]";
- mes "Stop by some other time with the right materials, so I can make the hats for you.";
- close;
+ switch (select("Join", "Information", "Cancel")) {
+ case 1:
+ mes "[Blac]";
+ mes "What hat do you want me to make?";
+ next;
+ switch (select("Crescent Hairpin")) {
+ case 1:
+ mes "[Blac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Heart_Hair_Pin) < 1) {
+ mes "[Blac]";
+ mes "Oh, dear. You need 1 Heart Hairpin...";
+ close;
+ }
+ if (countitem(Steel) < 10) {
+ mes "[Blac]";
+ mes "Oh, dear. You need 10 Steels...";
+ close;
+ }
+ delitem Heart_Hair_Pin,1;//Items: Heart Hairpin,
+ delitem Steel,10; //Items: Steel,
+ mes "[Blac]";
+ mes "Wow!! Well done! Finally you have gathered all items needed! We will make the Crescent Hairpin for you right away. Please Wait a Moment.";
+ next;
+ mes "[Blac]";
+ mes "Tah Dah! ^FF0000Crescent Hairpin^000000...! Please Take it!";
+ getitem First_Moon_Hair_Pin,1;//Items: Cresent Hairpin,
+ next;
+ mes "[Blac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ }
+ break;
+ case 2:
+ mes "[Blac]";
+ mes "Which hat materials do you wish to know?";
+ next;
+ switch (select("Crescent Hairpin")) {
+ case 1:
+ mes "[Blac]";
+ mes "You need 1 Heart Hairpin and 10 Steels for Crescent Hairpin.";
+ close;
+ }
+ break;
+ case 3:
+ mes "[Blac]";
+ mes "Stop by some other time with the right materials, so I can make the hats for you.";
+ close;
+ }
}
prt_in,53,56,5 script Jac 1_M_PAY_ELDER,{
@@ -143,81 +153,86 @@ prt_in,53,56,5 script Jac 1_M_PAY_ELDER,{
mes "[Jac]";
mes "I provide 2 hats and my brothers provides the other 4.";
next;
- menu "Join",L1,"Information",L2,"Cancel",L3;
-L1:
- mes "[Jac]";
- mes "What hat do you want me to make?";
- next;
- menu "Kafra Band",L1_19,"Panda Hat",L1_24;
-L1_19:
- mes "[Jac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Silk_Ribbon) < 1) goto L_ITEM_1b;//Items: Silk Ribbon,
- if(countitem(Wild_Flower) < 1) goto L_ITEM_2b;//Items: Wild Flower,
- delitem Silk_Ribbon,1;//Items: Silk Ribbon,
- delitem Wild_Flower,1; //Items: Wild Flower,
- 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;
- mes "[Jac]";
- mes "Tah Dah! ^FF0000Kafra Band^000000...! Please Take it!";
- getitem Kafra_Band,1;//Items: Kafra's Band,
- 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_24:
- mes "[Jac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Steel) < 10) goto L_ITEM_1g;//Items: Steel,
- if(countitem(Bear's_Foot) < 200) goto L_ITEM_2g;//Items: Bears Footskin,
- delitem Steel,10;//Items: Steel,
- delitem Bear's_Foot,200; //Items: Bears Footskin,
- 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;
- mes "[Jac]";
- mes "Tah Dah! ^FF0000Panda Hat^000000...! Please Take it!";
- getitem Panda_Cap,1;//Items: Panda Hat,
- 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 "Kafra Band",L2_19,"Panda Hat",L2_24;
-L2_19:
- mes "[Jac]";
- mes "You need 1 Silk Ribbon and 1 Wild Flower for Kafra Band.";
- 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;
+ switch (select("Join", "Information", "Cancel")) {
+ case 1:
+ mes "[Jac]";
+ mes "What hat do you want me to make?";
+ next;
+ switch (select("Kafra Band", "Panda Hat")) {
+ case 1:
+ mes "[Jac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Silk_Ribbon) < 1) {
+ mes "[Jac]";
+ mes "Oh, dear. You need 1 Silk Ribbon...";
+ close;
+ }
+ if (countitem(Wild_Flower) < 1) {
+ mes "[Jac]";
+ mes "Oh, dear. You need 1 Wild Flower...";
+ close;
+ }
+ delitem Silk_Ribbon,1;//Items: Silk Ribbon,
+ delitem Wild_Flower,1; //Items: Wild Flower,
+ 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;
+ mes "[Jac]";
+ mes "Tah Dah! ^FF0000Kafra Band^000000...! Please Take it!";
+ getitem Kafra_Band,1;//Items: Kafra's Band,
+ next;
+ mes "[Jac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ case 2:
+ mes "[Jac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Steel) < 10) {
+ mes "[Jac]";
+ mes "Oh, dear. You need 10 Steels...";
+ close;
+ }
+ if (countitem(Bear's_Foot) < 200) {
+ mes "[Jac]";
+ mes "Oh, dear. You need 200 Bear Footskins...";
+ close;
+ }
+ delitem Steel,10;//Items: Steel,
+ delitem Bear's_Foot,200; //Items: Bears Footskin,
+ 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;
+ mes "[Jac]";
+ mes "Tah Dah! ^FF0000Panda Hat^000000...! Please Take it!";
+ getitem Panda_Cap,1;//Items: Panda Hat,
+ next;
+ mes "[Jac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ }
+ break;
+ case 2:
+ mes "[Jac]";
+ mes "Which hat materials do you wish to know?";
+ next;
+ switch (select("Kafra Band", "Panda Hat")) {
+ case 1:
+ mes "[Jac]";
+ mes "You need 1 Silk Ribbon and 1 Wild Flower for Kafra Band.";
+ close;
+ case 2:
+ mes "[Jac]";
+ mes "You need 10 Steels and 200 Bear Footskins for Panda Hat.";
+ close;
+ }
+ break;
+ case 3:
+ mes "[Jac]";
+ mes "Stop by some other time with the right materials, so I can make the hats for you.";
+ close;
+ }
}
prt_in,45,113,5 script Pac 4_M_GEF_SOLDIER,{
@@ -227,99 +242,104 @@ prt_in,45,113,5 script Pac 4_M_GEF_SOLDIER,{
mes "[Pac]";
mes "I provide 2 hats and my brothers provides the other 4.";
next;
- menu "Join",L1,"Information",L2,"Cancel",L3;
-L1:
- mes "[Pac]";
- mes "What hat do you want me to make?";
- next;
- menu "Poring Hat",L1_26,"Sphinx Hat",L1_29;
-L1_26:
- mes "[Pac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Poring_Doll) < 1) goto L_ITEM_1a;//Items: Poring Doll,
- if(countitem(Jellopy) < 300) goto L_ITEM_2a;//Items: Jellopy,
- delitem Poring_Doll,1;//Items: Poring Doll,
- delitem Jellopy,300;//Items: Jellopy,
- 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;
- mes "[Pac]";
- mes "Tah Dah! ^FF0000Poring Hat^000000...! Please Take it!";
- getitem Poring_Hat,1;//Items: Poring Hat,
- 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_29:
- mes "[Pac]";
- mes "Let me check the items you have brought here.";
- next;
- if(countitem(Steel) < 25) goto L_ITEM_1d;//Items: Steel,
- if(countitem(Darkgreen_Dyestuffs) < 1) goto L_ITEM_2d;//Items: Darkgreen Dyestuff,
- if(countitem(Lemon_Dyestuffs) < 1) goto L_ITEM_3d;//Items: Lemon Dyestuffs,
- if(countitem(Transparent_Cloth) < 150) goto L_ITEM_4d;//Items: Fabric,
- if(countitem(Gold) < 2) goto L_ITEM_5d;//Items: Gold,
- delitem Steel,25;//Items: Steel,
- delitem Darkgreen_Dyestuffs,1;//Items: Darkgreen Dyestuff,
- delitem Lemon_Dyestuffs,1;//Items: Lemon Dyestuffs,
- delitem Transparent_Cloth,150;//Items: Fabric,
- delitem Gold,2; //Items: Gold,
- 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;
- mes "[Pac]";
- mes "Tah Dah! ^FF0000Sphinx Hat^000000...! Please Take it!";
- getitem Spinx_Helm,1;//Items: Sphinx Hat,
- 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 Dyestuffs...";
- close;
-L_ITEM_3d:
- mes "[Pac]";
- mes "Oh, dear. You need 1 Lemon Dyestuffs...";
- 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;
-L2:
- mes "[Pac]";
- mes "Which hat materials do you wish to know?";
- next;
- menu "Poring Hat",L2_26,"Sphinx Hat",L2_29;
-L2_26:
- mes "[Pac]";
- mes "You need 1 Poring Doll and 300 Jellopys for Poring Hat.";
- close;
-L2_29:
- mes "[Pac]";
- mes "You need 25 Steels, 1 DarkGreen Dyestuffs, 1 Lemon Dyestuffs, 150 Fabric and 2 Gold Bar's for Sphinx Hat.";
- close;
-L3:
- mes "[Pac]";
- mes "Stop by some other time with the right materials, so I can make the hats for you.";
- close;
+ switch (select("Join", "Information", "Cancel")) {
+ case 1:
+ mes "[Pac]";
+ mes "What hat do you want me to make?";
+ next;
+ switch (select("Poring Hat", "Sphinx Hat")) {
+ case 1:
+ mes "[Pac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Poring_Doll) < 1) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 1 Poring Doll...";
+ close;
+ }
+ if (countitem(Jellopy) < 300) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 300 Jellopys...";
+ close;
+ }
+ delitem Poring_Doll,1;//Items: Poring Doll,
+ delitem Jellopy,300;//Items: Jellopy,
+ 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;
+ mes "[Pac]";
+ mes "Tah Dah! ^FF0000Poring Hat^000000...! Please Take it!";
+ getitem Poring_Hat,1;//Items: Poring Hat,
+ next;
+ mes "[Pac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ case 2:
+ mes "[Pac]";
+ mes "Let me check the items you have brought here.";
+ next;
+ if (countitem(Steel) < 25) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 25 Steels...";
+ close;
+ }
+ if (countitem(Darkgreen_Dyestuffs) < 1) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 1 DarkGreen Dyestuffs...";
+ close;
+ }
+ if (countitem(Lemon_Dyestuffs) < 1) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 1 Lemon Dyestuffs...";
+ close;
+ }
+ if (countitem(Transparent_Cloth) < 150) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 150 Fabric...";
+ close;
+ }
+ if (countitem(Gold) < 2) {
+ mes "[Pac]";
+ mes "Oh, dear. You need 2 Gold Bar's...";
+ close;
+ }
+ delitem Steel,25;//Items: Steel,
+ delitem Darkgreen_Dyestuffs,1;//Items: Darkgreen Dyestuff,
+ delitem Lemon_Dyestuffs,1;//Items: Lemon Dyestuffs,
+ delitem Transparent_Cloth,150;//Items: Fabric,
+ delitem Gold,2; //Items: Gold,
+ 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;
+ mes "[Pac]";
+ mes "Tah Dah! ^FF0000Sphinx Hat^000000...! Please Take it!";
+ getitem Spinx_Helm,1;//Items: Sphinx Hat,
+ next;
+ mes "[Pac]";
+ mes "I liked that, I look forward to making more. Thank you.";
+ close;
+ }
+ break;
+ case 2:
+ mes "[Pac]";
+ mes "Which hat materials do you wish to know?";
+ next;
+ switch (select("Poring Hat", "Sphinx Hat")) {
+ case 1:
+ mes "[Pac]";
+ mes "You need 1 Poring Doll and 300 Jellopys for Poring Hat.";
+ close;
+ case 2:
+ mes "[Pac]";
+ mes "You need 25 Steels, 1 DarkGreen Dyestuffs, 1 Lemon Dyestuffs, 150 Fabric and 2 Gold Bar's for Sphinx Hat.";
+ close;
+ }
+ break;
+ case 3:
+ mes "[Pac]";
+ mes "Stop by some other time with the right materials, so I can make the hats for you.";
+ close;
+ }
}