كود:
#region Scoter-A.G.S CODER
case 121314:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hi " + client.Entity.Name + "!, Iam CakeBaker, and I want some things to bake a cake So you can help me?");
dialog.Option("Yes,sure.", 1);
dialog.Option("Give me Awards.", 2);
dialog.Option("Sorry, Ican't.", 255);
dialog.Send();
break;
}
case 1:
{
dialog.Text("Thank you for help" + client.Entity.Name + "!, ok go to FrozenGrottoEnvoy in Desart city and brought me these things [Flour]-FrozenGrotto1 [Egg]-FrozenGrotto2 [Sugar]-FrozenGrotto3 [Water]-FrozenGrotto4"
+"[Fruit]-FrozenGrotto5");
dialog.Option("Lets Go.", 3);
dialog.Option("Sorry, Ican't", 255);
dialog.Send();
break;
}
case 2:
{
dialog.Text("Good job man you are very strong man ,So Give me the things that you have requested.");
dialog.Option("Yes,Sure.", 4);
dialog.Option("I can't brought those things.", 255);
dialog.Send();
break;
}
case 3:
{
client.Entity.Teleport(1762, 61, 257);
break;
}
case 4:
{
if (client.Inventory.Contains(722400, 1))//F
if (client.Inventory.Contains(711026, 1))//E
if (client.Inventory.Contains(722403, 1))//S
if (client.Inventory.Contains(722402, 1))//W
if (client.Inventory.Contains(722405, 1))//U
{
client.Inventory.Remove(722400, 1);
client.Inventory.Remove(711026, 1);
client.Inventory.Remove(722403, 1);
client.Inventory.Remove(722402, 1);
client.Inventory.Remove(722405, 1);
client.Entity.ConquerPoints += 50000;
Conquer_Online_Server.Network.PacketHandler.WorldMessage("Congratulations! " + client.Entity.Name + "! Give Cake Things To CakeBaker In TwinCity And Get 50,000 CPS.");
}
else
{
dialog.Text("You don't have cake things");
dialog.Option("Ahh sorry.", 255);
}
break;
}
}
break;
}
#endregion