//===== eAthena Script =======================================
//= 2006 Headgear
//===== By: ==================================================
//= DiviniaRO members, cleaned by reddozen
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= SVN eA
//===== Description: =========================================
//= Anonymous Mask, Feather Beret, Valk. Helm, Smiling Mask,
//= Lion Mask, Bride Mask, Judge Hat and A-yam Hat
//===== Additional Comments: =================================
//= NPC id's and dialog are custom, please replace
//============================================================
//===================== Anonymous Mask =====================================================
rachel.gat,91,273,4 script Masked Man 880,{
mes "Psssst....";
next;
mes "Shhhh...";
mes "Come here, but keep quiet";
next;
mes "I have something that might intrest you";
switch(select("I think you know what i want...","Huh? Sorry, I'm Just looking around."))
{
case 1:
mes "I only need a few things in return";
mes "100 Slick paper";
mes "99 Sticky Mucus";
mes "1 Black Dysetuff";
mes "100,000 zeny";
next;
if ( (countitem(983)<1) || (countitem(7111)<100) || (countitem(938)<99) || (Zeny < 100000) ) {
mes "Come back when you have what I need...";
close;
}
mes "I see you came prepared.";
delitem 7111,100;
delitem 938,99;
delitem 983,1;
set Zeny, Zeny-100000;
getitem 5175,1;
mes "You didnt get this from me by the way...";
close;
case 2:
mes "Yeah... I knew that.";
close;
}
}
//======================== Feather Beret ================================================
rachel.gat,135,121,4 script Sakyul 933,{
mes "Mumble mumble..";
mes "Stupid Arunafelz Military!";
mes "I lost the use of my legs during the Rune-Midgard!";
mes "I was in a special unit.. we even had our own beret!";
mes "Wingmen, they called us..";
next;
mes "If you really want one, I can make a replica for you.";
switch(select("Of course i do!","No way man, you creep me out!"))
{
case 1:
mes "Alright then, I just need a few things:";
mes "1 Beret";
mes "100 Soft Feathers";
mes "1 White Dyestuff";
next;
if ( (countitem(5172)<1) || (countitem(982)<1) || (countitem(7063)<100) ) {
mes "Eh.. I'm old, not Senile..Bring me the rest of the stuff I asked for!";
close;
}
mes "Nice to see a well prepared youngster!";
next;
delitem 5172,1;
delitem 7063,100;
delitem 982,1;
getitem 5170,1;
mes "Here.. This takes me back.. Have fun with it!";
close;
case 2:
mes "Fine then! Leave an old man at peace! Git! Go!";
close;
}
}
//============================ Valkyrie Helm =====================================================
hugel.gat,146,105,4 script Genirhimin 897,{
mes "Eh?";
if (Zeny < 10000000) goto poor;
next;
mes "In days long past us mortals were permitted";
mes "to serve Odin and the Valkyries in battle..";
mes "So that maybe we would have the cahnce to die";
mes "honorably in battle and return to Val Halla";
next;
mes "The bravest of Warriors were rewarded with";
mes "the Heml of the Valkyries";
mes "But.. those days are long since passed..";
mes "I suppose i could make you one, if you can";
mes "gather what i need.";
next;
switch(select("Really? I'd love one.","I'm not one for fairy tales old man."))
{
case 1:
mes "Here is what i need:";
mes "1 sageworm card";
mes "1 argiope card";
mes "1 dryad card";
mes "1 wooden golem card";
mes "1 bongun card";
mes "1 pirate skel card";
mes "1 marduk card";
next;
mes "1 hode card";
mes "1 elder card";
mes "1 nightmare terror card";
mes "1000 rune of darkness";
mes "1000 rune of bloody color";
next;
if ( (countitem(4219)<1) || (countitem(4114)<1) || (countitem(4711)<1) || (countitem(4259)<1) || (countitem(4212)<1) || (countitem(4073)<1) || (countitem(4112)<1) || (countitem(4081)<1) || (countitem(4251)<1) || (countitem(4166)<1) || (countitem(7511)<1000) || (countitem(7563)<1000) ) {
mes "I'm sorry, but I need more to make the helm.";
close;
}
mes "Give me a minute and i'll work my magic..."
next;
delitem 4219,1;
delitem 4114,1;
delitem 4711,1;
delitem 4259,1;
delitem 4212,1;
delitem 4073,1;
delitem 4112,1;
delitem 4081,1;
delitem 4251,1;
delitem 4166,1;
delitem 7511,1000;
delitem 7563,1000;
getitem 5171,1;
mes "This is a serious honor.. You have proven yourself a brave and honorable Warrior, Wear this with Pride";
close;
case 2:
mes "So be it, suit yourself..";
close;
}
poor:
mes "My time is worth more than the fortunes of Rune-Midgard and Arunafelz combined..";
close;
}
//======================= Smiling Mask / Lion Mask / Bride Mask ===============================
payon.gat,135,231,5 script Chung-Wol-Mang 907,{
set @npcname$,"[Chung-Wol-Mang]";
mes @npcname$;
mes "Hey, I can make you three rare masks if you bring me all of the items needed to make them.";
next;
mes @npcname$;
mes "So, which one will it be?";
next;
switch(select("Smiling Mask","Lion Mask","Bride Mask","I changed my mind."))
{
case 1:
mes @npcname$;
mes "Okay, for the Smiling Mask I need:";
mes "1 Four-Leaf Clover";
mes "500 Trunks";
mes "10 Elastic Band";
mes "20 Memory Bookmark";
mes "1 Cigarette";
mes "100 Cactus Needle";
mes "100 Mane";
next;
if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(7015) < 20) || (countitem(2267) < 1) || (countitem(952) < 100) || (countitem(1028) < 100) || (countitem(1028) < 100) ){
mes @npcname$;
mes "Come back and talk to me when you've gathered all the items.";
close;
}
mes @npcname$;
mes "You brought all the items, thanks. Here give them to me.";
delitem 706,1;
delitem 1019,500;
delitem 7200,10;
delitem 7015,20;
delitem 2267,1;
delitem 952,100;
delitem 1028,100;
next;
getitem 5176,1;
mes @npcname$;
mes "Thanks, you can have your mask now.";
close;
case 2:
mes @npcname$;
mes "Okay, for the Lion Mask I need:";
mes "1 Four-Leaf Clover";
mes "500 Trunks";
mes "10 Elastic Band";
mes "500 Horrendous Hair";
mes "2 Ancient Tooth";
mes "1 Orange Dyestuff";
next;
if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1048) < 500) || (countitem(1053) < 2) || (countitem(980) < 1) ) {
mes @npcname$;
mes "Come back and talk to me when you've gathered all the items.";
close;
}
mes @npcname$;
mes "You brought all the items, thanks. Here give them to me.";
delitem 706,1;
delitem 1019,500;
delitem 7200,10;
delitem 1048,500;
delitem 1053,2;
delitem 980,1;
next;
getitem 5130,1;
mes @npcname$;
mes "Thanks, you can have your mask now.";
close;
case 3:
mes @npcname$;
mes "Okay, for the Bride Mask I need:";
mes "1 Four-Leaf Clover";
mes "500 Trunks";
mes "10 Elastic Band";
mes "20 Skirt of Virgin";
mes "500 Transparent Cloth";
mes "2 Ancient Lips";
mes "100 Squid Ink";
next;
if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1049) < 20) || (countitem(7165) < 500) || (countitem(1054) < 2) || (countitem(1024) < 100) ) {
mes @npcname$;
mes "Come back and talk to me when you've gathered all the items.";
close;
}
mes @npcname$;
mes "You brought all the items, thanks. Here give them to me.";
delitem 706,1;
delitem 1019,500;
delitem 7200,10;
delitem 1049,20;
delitem 7165,500;
delitem 1054,2;
delitem 1024,100;
next;
getitem 5169,1;
mes @npcname$;
mes "Thanks, you can have your mask now.";
close;
case 4:
mes @npcname$;
mes "Okay, come back if you feel up to it later.";
close;
}
}
//====================== Judge Hat / A-yam Hat =============================================
payon.gat,137,123,5 script Hangaram 740,{
mes "[Hangaram]";
mes "Hello adventurer!";
mes "Our life is complicated";
next;
mes "[Hangaram Quest]";
mes "But if you want I can help you by making 2 Hats.";
next;
mes "[Hangaram]";
mes "My creations are the Judge Hat and the A-Yam Hat";
mes "Which Hat do you want?";
next;
switch(select("Judge Hat","A-yam Hat","No thanks"))
{
case 1:
mes "[Hangaram]";
mes "^3355FFJudge Hat^000000";
mes "7 Red Orb"
mes "7 Blue Orb";
mes "7 Yellow Orb"
mes "7 Green Orb"
mes "300 Shining Scale";
next;
mes "1 Black Dyestuff";
mes "5 Cracked Diamond";
mes "1 Slotted Hat";
next;
if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(983)<1) || (countitem(733)<5) || (countitem(2221)<1) ){
mes "please return when you have everythin I need";
close;
}
mes "[Hangaram]";
mes "Ok you seem to have all the items";
next;
mes "[Hangaram]";
mes "Hmmm.. We now make this... mm ";
emotion 9;
next;
mes "[Hangaram]";
mes "Now we use the Dyestuff like this";
emotion 23;
next;
mes "[Hangaram]";
mes "OMG!!! this is'nt meant to be like this";
emotion 28;
next;
mes "[Hangaram]";
mes "....";
next;
mes "[Hangaram]";
mes "Sorry, it did'nt work.";
next;
mes "[Hangaram]";
mes "Well that's the way life is";
next;
mes "[Hangaram]";
mes "JAJAJAJA... I was just kidding here is your item !!";
emotion 29;
next;
delitem 7445,7;
delitem 954,300;
delitem 983,1;
delitem 733,5;
delitem 2221,1;
delitem 7446,7;
delitem 7447,7;
delitem 7448,7;
getitem 5173,1;
mes "[Hangaram Quest]";
mes "Good Work";
close;
mes "^3355FF[A-Yam Hat]^000000 : 7 Red,Blue,Yellow and Green Orbs - 300 Shining Scale - 1 Scarlet Dyestuff - 5 Cracked Diamond - 50 Soft Silk";
next;
case 2:
mes "[Hangaram]";
mes "^3355FFA-Yam Hat^000000";
mes "7 Red Orb"
mes "7 Blue Orb";
mes "7 Yellow Orb"
mes "7 Green Orb"
mes "300 Shining Scale";
next;
mes "1 Scarlet Dyestuff";
mes "5 Cracked Diamond";
mes "50 Soft Silk";
next;
if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(975)<1) || (countitem(733)<5) || (countitem(7166)<50) ){
mes "please return when you have everythin I need";
close;
}
mes "[Hangaram]";
mes "Well, you have everything";
next;
mes "[Hangaram]";
mes "Mmm now we just split this part...";
emotion 9;
next;
mes "[Hangaram]";
mes "We throw this ... mmm";
emotion 23;
next;
mes "[Hangaram]";
mes "this is'nt meant to be like this";
emotion 28;
next;
mes "[Hangaram]";
mes "... ready!!!";
emotion 21;
next;
delitem 7445,7;
delitem 954,300;
delitem 975,1;
delitem 733,5;
delitem 7166,50;
delitem 7446,7;
delitem 7447,7;
delitem 7448,7;
getitem 5174,1;
mes "[Hangaram]";
mes "Here you have my young fella !";
close;
case 3:
mes "[Hangaram Quest]";
mes "Good bye then.";
close;
}
}