Ketos52015

Untitled

Jul 27th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.85 KB | None | 0 0
  1. #region MillionaireLee
  2. case 11275:
  3. {
  4. switch (npcRequest.OptionID)
  5. {
  6. case 0:
  7. {
  8. dialog.Text("Hunting~and~mining~for~the~treasure~is~an~exciting~thing.~However,~they~also~pile~up~in~your~inventories.");
  9. //dialog.Option("Pack~+1~Stones.", 3);
  10. //dialog.Option("Pack~+2~Stones.", 4);
  11. //dialog.Option("Pack~+3~Stones.", 5);
  12. dialog.Option("Pack~Normal~Gems.", 6);
  13. dialog.Option("Pack~EXP~Balls~for~me!", 7);
  14. dialog.Option("pack~meteors.", 1);
  15. dialog.Option("pack~dragonballs.", 2);
  16. dialog.Option("Pack~Endurance~Books.", 7);
  17. dialog.Avatar(7);
  18. dialog.Send();
  19. break;
  20. }
  21. case 7:
  22. {
  23. if (client.Inventory.Contains(723700, 10))
  24. {
  25. client.Inventory.Remove(723700, 10);
  26. client.Inventory.Add(720757, 0, 1);
  27. }
  28. else
  29. {
  30. dialog.Text("You poor man! I can't help you, you dont have 10 ExpBalls.");
  31. dialog.Option("Sorry!", 255);
  32. dialog.Avatar(7);
  33. dialog.Send();
  34. }
  35. break;
  36. }
  37. case 5:
  38. {
  39.  
  40. if (client.Inventory.Contains(730003, 10, true))
  41. {
  42. client.Inventory.Remove(730003, 10);
  43. client.Inventory.AddBound(729023, 0, 1);
  44. }
  45. else if (client.Inventory.Contains(730003, 10))
  46. {
  47. client.Inventory.Remove(730003, 10);
  48. client.Inventory.Add(729023, 0, 1);
  49. }
  50. else
  51. {
  52. dialog.Text("You poor man! I can't help you, you dont have 10 +3 Stones.");
  53. dialog.Option("Sorry!", 255);
  54. dialog.Avatar(7);
  55. dialog.Send();
  56. }
  57. break;
  58. }
  59. case 4:
  60. {
  61. //MsgItemInfo item = new MsgItemInfo(true);
  62.  
  63. //if (item.Bound == true)
  64. if (client.Inventory.Contains(730002, 10, true))
  65. {
  66. client.Inventory.Remove(730002, 10);
  67. client.Inventory.AddBound(729022, 0, 1);
  68. }
  69. else
  70. {
  71. dialog.Text("You poor man! I can't help you, you dont have 10 +2 Stones.");
  72. dialog.Option("Sorry!", 255);
  73. dialog.Avatar(7);
  74. dialog.Send();
  75. }
  76. break;
  77. }
  78. case 3:
  79. {
  80. if (client.Inventory.Contains(730001, 5))
  81. {
  82. client.Inventory.Remove(730001, 5);
  83. client.Inventory.Add(723712, 0, 1);
  84. }
  85. else
  86. {
  87. dialog.Text("You poor man! I can't help you, you dont have 5 +1 Stone.");
  88. dialog.Option("Sorry!", 255);
  89. dialog.Avatar(7);
  90. dialog.Send();
  91. }
  92. break;
  93. }
  94. case 1:
  95. {
  96. if (client.Inventory.Contains(1088001, 10))
  97. {
  98. client.Inventory.Remove(1088001, 10);
  99. client.Inventory.Add(720027, 0, 1);
  100. }
  101. else
  102. {
  103. dialog.Text("You poor man! I can't help you.");
  104. dialog.Option("Why!?", 255);
  105. dialog.Avatar(7);
  106. dialog.Send();
  107. }
  108. break;
  109. }
  110. case 2:
  111. {
  112. if (client.Inventory.Contains(1088000, 10))
  113. {
  114. client.Inventory.Remove(1088000, 10);
  115. client.Inventory.Add(720028, 0, 1);
  116. }
  117. else
  118. {
  119. dialog.Text("You poor man! I can't help you.");
  120. dialog.Option("Why!?", 255);
  121. dialog.Avatar(7);
  122. dialog.Send();
  123. }
  124. break;
  125. }
  126. }
  127. break;
  128. }
  129. #endregion
Advertisement
Add Comment
Please, Sign In to add comment