/*=========================================================
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,265,236,4 script Winslow 922,{
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 .npc_name$;
mes "I am William Marshal, the right hand of the Almighty Red Queen. The Queen's dragon had been slain and I was ordered to gather warriors to help us avenge the Queen's dragon.";
next;
mes .npc_name$;
mes "Defeat the Monsters and you will receive a great prize.";
next;
mes .npc_name$;
mes "are you up for it?";
next;
if(select("Yes, I'm ready!:Sorry, I need more time.") == 2)
{
mes .npc_name$;
mes "Then go home while you're at it. I don't need cowards like you.";
close;
}
mes .npc_name$;
mes "I am amazed young one, you showed great spirits and dedication... Now, we must put it into the ultimate test.";
next;
mes .npc_name$;
mes "Bring me these materials as a proof you have avenged our Red Queen's dragon.";
// 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 "EXCELLENT! The Red Queen will be pleased! Your hard work will not be in vain.";
next;
mes .npc_name$;
mes "May I have them?"; // change the dialogue
next;
if(select("No:Yes") == 1)
{
mes .npc_name$;
mes "WHAT YOU PRICK?"; //change the dialogue LOL
close;
}
mes .npc_name$;
mes "HOLD ON IMA GET YO EVENT PASS!"; //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 "YO, RQUEEN WHERES DA EVENT PASS AT?!"; // change dialogue OFC LOL
next;
mes "*rummage, rummage*";
next;
mes "......";
mes "AHA! FOUND IT INSIDE YOUR PANTY'S DRAWER";
close2;
sleep2 1000;
specialeffect 100;
sleep2 500;
mes .npc_name$;
mes "COME BACK ANYTIME! test123";
getitem .pitem, .pamt; // Get prize item
next;
mes .npc_name$;
mes "Check the other npc yo!";
next;
close;
OnInit:
// Configuration
// General
set .npc_name$,"[^008800Winslow^000000]"; // NPC's dialogue name
// Items
set .pitem,21605; // Prize item for completing the quest
set .pamt,1; // Prize item amount
setarray .qitem[0], 21606, 21607, 21608, 21609, 738, 7754, 7293, 7294, 7513, 7036, 6022, 626, 7008, 701, 4376; // Quest items (IDs)
setarray .qamt[0], 5, 5, 5, 5, 10, 5, 50, 30, 50, 80, 50, 50, 45, 100, 1; // Quest item amount
end;
}