//===== eAthena Script =======================================
//= Hat Seller (New Hat Quests)
//===== By: ==================================================
//= Halca (1.0)
//= Mass Zero (1.1)
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= Any eAthena Version.
//===== Description: =========================================
//= Seperate New Hat quests.
//===== Additional Comments: =================================
//=
//============================================================
xmas_in.gat,123,131,4 script Hat Seller 806,{
mes "[Hat Seller]";
mes "What hat would you like information on?";
mes "I can make all the hats I mention here";
next;
menu "Pointy Cap",M1,"Straw Hat",M2,"Cowboy Hat",M3,"Sombrero",M4,"Furry Hat",M5;
M1:
mes "[Hat Seller]";
mes "Okay well, for this item I require:";
mes "1 Santa Hat,";
mes "100 Waxed/Slick paper,";
mes "100 Oily Paper.";
next;
mes "[Hat Seller]";
mes "You got these items?";
next;
menu "Yes.",-,"No.",EXT;
if ((Countitem(2236) < 1) || (countitem(7111) < 100) || (countitem(7151) < 100)) GOTO EXT_NI;
delitem 2236,1;
delitem 7111,100;
delitem 7151,100;
getitem 5060,1;
mes "[Hat Seller]";
mes "Thanks! Bye.";
close;
EX_NI:
mes "[Hat Seller]";
mes "Not enough items, bye.";
close;
EXT:
mes "[Hat Seller]";
mes "Bye!";
close;
M2:
mes "[Hat Seller]";
mes "For this item I require:";
mes "1 Sakkat,";
mes "300 Tough Branches,";
mes "300 Bamboo Pieces.";
next;
mes "[Hat Seller]";
mes "Bring those, and we got a deal.";
mes "You got them?";
next;
menu "Yes.",-,"No.",EXT;
if ((countitem(2280) < 1) || (countitem(7203) < 300) || (countitem(7150) < 300)) GOTO EX_NI;
delitem 2280,1;
delitem 7203,300;
delitem 7150,300;
getitem 5062,1;
mes "[Hat Seller]";
mes "There you go... bye.";
close;
M3:
mes "[Hat Seller]";
mes "For this item I require:";
mes "1 Western Grace,";
mes "108 Desert Wolf Claws,";
mes "108 Soft Grass,";
mes "and 4 Burning Horseshoes.";
next;
mes "[Hat Seller]";
mes "Bring those, and we got a deal.";
mes "You got them?";
next;
menu "Yes.",-,"No.",EXT;
if ((countitem(2248) < 1) || (countitem(7030) < 108) || (countitem(7194) < 108) || (countitem(7120) < 4)) GOTO EX_NI;
delitem 2248,1;
delitem 7030,108;
delitem 7194,108;
getitem 5075,1;
mes "[Hat Seller]";
mes "There you go... bye.";
close;
M4:
mes "[Hat Seller]";
mes "For this item I require:";
mes "1 Straw Hat,";
mes "1 Guitar,";
mes "50 Cactus Needle.";
next;
mes "[Hat Seller]";
mes "Bring those, and we got a deal.";
mes "You got them?";
next;
menu "Yes.",-,"No.",EXT;
if ((countitem(5062) < 1) || (countitem(1907) < 1) || (countitem(952) < 50)) GOTO EX_NI;
delitem 5062,1;
delitem 1907,1;
delitem 952,300;
getitem 5067,1;
mes "[Hat Seller]";
mes "There you go... bye.";
close;
M5:
mes "[Hat Seller]";
mes "For this item I require:";
mes "1 Cap,";
mes "500 Bear Fur.";
next;
mes "[Hat Seller]";
mes "Bring those, and we got a deal.";
mes "You got them?";
next;
menu "Yes.",-,"No.",EXT;
if ((countitem(2227) < 1) || (countitem(7161) < 300)) GOTO EX_NI;
delitem 2227,1;
delitem 7161,300;
getitem 5076,1;
mes "[Hat Seller]";
mes "There you go... bye.";
close;
}