First define this in character.cs.
NOTE:May be a bit of bracket mixup, sure you can fix that yourself.
If you want this quest to be done once a day only, you can put in a check.
Now for the npc dialog.
Code:
case 12343:
{
switch (Control)
{
case 0:
{
if (!GC.MyChar.InventoryContains(PeaceJaceID, 1)
{
GC.AddSend(Packets.NPCSay("Can you kill these BladeGhosts and retrieve my Jade Kylin please?");
GC.AddSend(Packets.NPCLink("If I find one I'll let you know." 255);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else
{
GC.AddSend(Packets.NPCSay("Oh thank you thank you!!!");
GC.AddSend(Packets.NPCLink("No problem!", 255);
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.MyChar.CPs += 20000;
}
break;
}
}
break;
}