/*=========================================================
Lighthalzen Aura Quest
by Zephy
===========================================================
Description:
===========================================================
Simple quest NPC to obtain the Lighthalzen Aura item.
===========================================================
Additional Notes:
===========================================================
Changelog
- Edited line 88. Switched the options.
- Added more dialogue.
- Changed dialogue a little.
=========================================================*/
amatsu,97,121,4 script Maurizio Negrini 408,{
mes .npc_name$;
for(set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1)
{
// Check if current item fails to meet prerequisite
if(countitem(.qitem[.@i]) < .qamt)
{
mes "HUZZAH! It's celebration time! The Queen's dragons are now revived! And everything is back to normal! Hi! I am Maurizio Negrini, and I am the Pink Queen's Royal Baker. Don't ask why am I wearing these let's just say the Pink Queen is really happy and decided to dress up everyone in her kingdom.";
next;
mes .npc_name$;
mes "Everything is jolly and pink! And everyone is happy, smiling and giving out lots and lots of joy! But I was tasked to make the greatest and unforgettable banquet ever. Can you help me in gathering the necessary ingredients needed for the celebration.";
next;
mes .npc_name$;
mes "But mind you, the ingredients needed for the celebration is really difficult to obtain. Are you still up for it?";
next;
if(select("For the Pink Queen! What do I need?:I'm here to party! Not to be your slave!") == 2)
{
mes .npc_name$;
mes "WHAT?! FINE! I DON'T NEED YOU!";
close;
}
mes .npc_name$;
mes "Haha! That's the spirit! Here's the list of what I need.";
// Loop to print out item requirements
for(set .@j,0; .@j < getarraysize(.qitem); set .@j,.@j+1)
{
mes "^FF0000"+ .qamt[.@j] +"x - "+ getitemname(.qitem[.@j]) +"^000000";
}
close;
}
}
// If player meets the required amount of items
mes "This is wonderful! Thanks to you the Pink Queen's grand celebration is possible! ";
next;
mes .npc_name$;
mes "Give me the ingredients!"; // change the dialogue
next;
if(select("No:Yes") == 1)
{
mes .npc_name$;
mes "U-uhmm.. why?"; //change the dialogue LOL
close;
}
mes .npc_name$;
mes "Let us start preparing for this unforgettable banquet!"; //change the dialogue HAHAHA
// Loop to delete all quest items
for (set .@i,0; .@i < getarraysize(.qitem); set .@i,.@i+1)
{
delitem .qitem[.@i], .qamt[.@i];
}
next;
mes .npc_name$;
mes "......."; // change dialogue OFC LOL
next;
mes "*Chop* *Chop*";
next;
mes "......";
next;
specialeffect 100;
mes .npc_name$;
mes "Oh, I almost forgot! Here is your reward, come back if you still have some of those ingredients okay?.";
getitem .pitem, .pamt; // Get prize item
next;
close;
OnInit:
// Configuration
// General
set .npc_name$,"[^008800Maurizio Negrini^000000]"; // NPC's dialogue name
// Items
set .pitem,21605; // Prize item for completing the quest
set .pamt,1; // Prize item amount
setarray .qitem[0], 738, 22012, 22009, 22010; // Quest items (IDs)
setarray .qamt[0], 10, 75, 75, 75; // Quest item amount
end;
}