//===== eAthena Script =======================================
//= ReverieRO Headgear Quests
//===== Current Version: =====================================
//= 1.1
//===== Description: =========================================
//= Headgear quests for our added headgears.
//===== Additional Comments: =================================
//= 1.0 Added Well-Chewed Pencil.
//= 1.1 Added Holy Marcher Hat.
//============================================================
// Well-Chewed Pencil Quest
// ===========================================================
geffen_in,177,108,3 script Troubled Wizard 735,{
if (checkquest(70002)!= 0) {
if ((countitem(604) >= 500) && (countitem(2621) >= 5) && (countitem(6020) >= 300)) {
mes "[Troubled Wizard]";
mes "Oh, thank you, thank you! You're an absolute life saver, I can't thank you enough!";
next;
mes "[Troubled Wizard]";
mes "I wish I had something to give you for your kindness but I have to get straight to work now! ...at least have my old pencil.";
next;
mes "[Troubled Wizard]";
mes "It might be on it's last limb, but I hope you can make use of it somehow.";
delitem 604,500; // Branch_Of_Dead_Tree
delitem 2621,5; // Ring_
delitem 6020,300; // Fur
getitem 5574,1; // Pencil_in_Mouth
erasequest 70002;
close;
}
else {
mes "[Troubled Wizard]";
mes "I think you might be missing some of the stuff, I can't make a new pencil out of this.";
next;
mes "[Troubled Wizard]";
mes "I wish I had the time to go out and grab the stuff myself but I just can't! Please, if you have the time I'll be waiting for you to bring me these.";
close;
}
}
else {
if (checkquest(70001) != 0) {
mes "[Troubled Wizard]";
mes "Sigh...";
next;
if(countitem(2285) >= 5) goto L_PartZero;
mes "[Troubled Wizard]";
mes "...";
close;
L_PartZero:
mes "[Troubled Wizard]";
mes "...";
menu "You know, I have some Apples...",L_PartOne,"Good luck with your work!",-;
mes "[Troubled Wizard]";
mes "Thanks, thanks... I just hope I can get this finished in time.";
close;
L_PartOne:
mes "[Troubled Wizard]";
mes "...really? It was a figure of speech really, what you think I can eat the arrow?";
next;
mes "[Troubled Wizard]";
mes "No, no, don't get me wrong, apples are great thinking food, I'd love them if I can have them.";
next;
menu "Go right ahead.",L_PartTwo,"I was joking too.",-;
mes "[Troubled Wizard]";
mes "Well if it's alright, I need to focus on my work now. Thanks for the laugh though.";
close;
L_PartTwo:
delitem 2285,5; // Apple_Of_Archer
mes "[Troubled Wizard]";
mes "Oh man, thanks! You know, I haven't eaten anything all day, I've just been so excited about getting this paper done.";
next;
mes "[Troubled Wizard]";
mes "It's not so easy to get recognition in the world of mages. I'm hoping with this I'll be able to show what I've learned with my peers, and learn from them aswell.";
next;
mes "[Troubled Wizard]";
mes "Magic really is a continually growing thing, I'm hoping that one day I- what? Oh no!";
next;
menu "What is it?",-;
mes "[Troubled Wizard]";
mes "Oh it's just this old pencil, I think it's finally giving out on me. If only I haven't been so wound up working on this...";
next;
mes "[Troubled Wizard]";
mes "I've been chewing on it for so long that now it just wants to fall apart on me. Ah, this is terrible, I can't finish my report like this!";
next;
mes "[Troubled Wizard]";
mes "Can you please help me? I'm sure I can make a new pencil, I just need some things to put it together.";
next;
mes "[Troubled Wizard]";
mes "If you can bring me ^FF0000500 Dead Branch, 5 Ring[1]^000000 and ^FF0000300 Fur^000000 I'm sure I can put together a new one!";
next;
mes "[Troubled Wizard]";
mes "I wish I had the time to get the items together but I might not meet my deadline by then! Please if you have the time can you bring me these? Ahhh, this is so fustrating!";
changequest 70001,70002;
close;
}
else {
mes "[Troubled Wizard]";
mes "Gah, I don't know what to do, I just can't focus! Oh...?";
next;
mes "[Troubled Wizard]";
mes "I'm sorry, it's this report I'm writing for the guild, I wanted to present it today but I just don't think I'll have it finished in time.";
next;
mes "[Troubled Wizard]";
mes "I'm starving, I wish I had a moment to get something to eat but I don't have the time! Man...";
mes "I bet I could eat ^FF00005 Apple of Archers^000000 right about now...";
next;
mes "[Troubled Wizard]";
mes "If you manage to find any, could you bring me some, please? It would help a lot!";
setquest 70001;
close;
}
}
}
// Holy Marcher Hat Quest
// ===========================================================
prontera,52,344,5 script Guard Captain 105,{
if(HG_QUEST2 == 1) goto L_HG_Q2_Done;
mes "[Guard Captain]";
mes "You there! What are you doing out of uniform? Don't you remember today is King Tristan III's banquet?";
next;
menu "Huh..?",-,"I'm sorry, sir!",L_PartZero1;
mes "[Guard Captain]";
mes "What? ...oh! I'm very sorry! I thought you were in my platoon! We've been having an incredibly hectic day today. Please, carry on.";
close;
L_PartZero1:
mes "[Guard Captain]";
mes "You better be, this is not a time to be goofing around! Our platoon is to be present at the banquet and I expect us to be at our very best!";
next;
mes "[Guard Captain]";
mes "What? You don't even know where your hat is? Don't think I won't overlook this, I'll deal with your incompetence later.";
next;
mes "[Guard Captain]";
mes "For now we just need to get ready, bring me a ^FF0000Boy's Cap, 3 Cobaltblue Dyestuff, 100 Elastic Band, 300 Yarn^000000 and a ^FF0000Critical Ring^000000 so we can make you a new hat right away.";
setquest 70003;
set HG_QUEST2,1;
close;
L_HG_Q2_Done:
if ((countitem(5016) >= 1) && (countitem(978) >= 3) && (countitem(7200) >= 100) && (countitem(7038) >= 300) && (countitem(2616) >= 1)) goto L_HG_Q2_Create;
mes "[Guard Captain]";
mes "Don't tell me that you have forgotten it already? Gosh...";
next;
mes "[Guard Captain]";
mes "It's a ^FF0000Boy's Cap, 3 Cobaltblue Dyestuff, 100 Elastic Band, 300 Yarn^000000 and a ^FF0000Critical Ring^000000. This is an order soldier, make haste!";
close;
L_HG_Q2_Create:
mes "[Guard Captain]";
mes "That looks like everything we need, give me one moment here.";
next;
mes "^0000FFThe captain puts the ingredients together, raises his hands above the items and closes his eyes. After some seconds, you notice that his body starts to glow with pure, white light...^000000";
next;
mes "^0000FFFwoosh!^000000";
misceffect 226;
next;
mes "[Guard Captain]";
mes "...alright, here's your hat. And please don't forget to be present at the banquet, I don't have time to baby sit each of you like this.";
next;
delitem 5016,1; // Boy's_Cap
delitem 978,3; // Cobaltblue_Dyestuffs
delitem 7200,100; // Flexible_String
delitem 7038,300; // Yarn
delitem 2616,1; // Critical_Ring
getitem 5225,1; // Marcher_Hat
erasequest 70003;
set HG_QUEST2,0;
mes "["+ strcharinfo(0) +"]";
mes "Woah, I couldn't even imagine he can use such kind of magic...";
close;
}