Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region MillionaireLee
- case 11275:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Hunting~and~mining~for~the~treasure~is~an~exciting~thing.~However,~they~also~pile~up~in~your~inventories.");
- //dialog.Option("Pack~+1~Stones.", 3);
- //dialog.Option("Pack~+2~Stones.", 4);
- //dialog.Option("Pack~+3~Stones.", 5);
- dialog.Option("Pack~Normal~Gems.", 6);
- dialog.Option("Pack~EXP~Balls~for~me!", 7);
- dialog.Option("pack~meteors.", 1);
- dialog.Option("pack~dragonballs.", 2);
- dialog.Option("Pack~Endurance~Books.", 7);
- dialog.Avatar(7);
- dialog.Send();
- break;
- }
- case 7:
- {
- if (client.Inventory.Contains(723700, 10))
- {
- client.Inventory.Remove(723700, 10);
- client.Inventory.Add(720757, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you, you dont have 10 ExpBalls.");
- dialog.Option("Sorry!", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- case 5:
- {
- if (client.Inventory.Contains(730003, 10, true))
- {
- client.Inventory.Remove(730003, 10);
- client.Inventory.AddBound(729023, 0, 1);
- }
- else if (client.Inventory.Contains(730003, 10))
- {
- client.Inventory.Remove(730003, 10);
- client.Inventory.Add(729023, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you, you dont have 10 +3 Stones.");
- dialog.Option("Sorry!", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- case 4:
- {
- //MsgItemInfo item = new MsgItemInfo(true);
- //if (item.Bound == true)
- if (client.Inventory.Contains(730002, 10, true))
- {
- client.Inventory.Remove(730002, 10);
- client.Inventory.AddBound(729022, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you, you dont have 10 +2 Stones.");
- dialog.Option("Sorry!", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- case 3:
- {
- if (client.Inventory.Contains(730001, 5))
- {
- client.Inventory.Remove(730001, 5);
- client.Inventory.Add(723712, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you, you dont have 5 +1 Stone.");
- dialog.Option("Sorry!", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- case 1:
- {
- if (client.Inventory.Contains(1088001, 10))
- {
- client.Inventory.Remove(1088001, 10);
- client.Inventory.Add(720027, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you.");
- dialog.Option("Why!?", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- case 2:
- {
- if (client.Inventory.Contains(1088000, 10))
- {
- client.Inventory.Remove(1088000, 10);
- client.Inventory.Add(720028, 0, 1);
- }
- else
- {
- dialog.Text("You poor man! I can't help you.");
- dialog.Option("Why!?", 255);
- dialog.Avatar(7);
- dialog.Send();
- }
- break;
- }
- }
- break;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment