Advertisement
Seuss_CZ

Untitled

Jan 17th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Xml.Serialization;
  4.  
  5. using Rocket.API;
  6.  
  7. namespace ZaupFeast
  8. {
  9. public class FeastConfiguration : IRocketPluginConfiguration
  10. {
  11. public bool Enabled;
  12. public int MinDropTime;
  13. public int MaxDropTime;
  14. public byte DropRadius;
  15. public byte MinItemsDrop;
  16. public byte MaxItemsDrop;
  17. public bool SkyDrop;
  18. public ushort PlaneEffectId;
  19. public ushort SkydropEffectId;
  20. public string MessageColor;
  21. public List<FeastItem> Items;
  22. public List<FeastItem2> Items2;
  23.  
  24. public void LoadDefaults()
  25. {
  26. Enabled = false;
  27. MinDropTime = 60;
  28. MaxDropTime = 70;
  29. DropRadius = 1;
  30. MinItemsDrop = 1;
  31. MaxItemsDrop = 1;
  32. MessageColor = "yellow";
  33. Items = new List<FeastItem>
  34. {
  35. new FeastItem(66, "Cloth", 10, new List<string>
  36. {
  37. "all"
  38. }),
  39. new FeastItem(43, "Military Ammunition Box", 10, new List<string>
  40. {
  41. "all"
  42. }),
  43. new FeastItem(44, "Civilian Ammunition Box", 10, new List<string>
  44. {
  45. "all"
  46. }),
  47. new FeastItem(13, "Canned Beans", 10, new List<string>
  48. {
  49. "all"
  50. }),
  51. new FeastItem(129, "Snayperskya", 10, new List<string>
  52. {
  53. "all"
  54. }),
  55. new FeastItem(1018, "Sabertooth", 10, new List<string>
  56. {
  57. "all"
  58. }),
  59. new FeastItem(4, "Eaglefire", 10, new List<string>
  60. {
  61. "all"
  62. }),
  63. new FeastItem(1382, "Ekho", 10, new List<string>
  64. {
  65. "all"
  66. }),
  67. new FeastItem(297, "Grizzly", 10, new List<string>
  68. {
  69. "all"
  70. }),
  71. new FeastItem(18, "Timberwolf", 10, new List<string>
  72. {
  73. "all"
  74. })
  75. };
  76. Items2 = new List<FeastItem2>
  77. {
  78. new FeastItem2(66, "Cloth", 10, new List<string>
  79. {
  80. "all"
  81. }),
  82. new FeastItem2(43, "Military Ammunition Box", 10, new List<string>
  83. {
  84. "all"
  85. }),
  86. new FeastItem2(44, "Civilian Ammunition Box", 10, new List<string>
  87. {
  88. "all"
  89. }),
  90. new FeastItem2(13, "Canned Beans", 10, new List<string>
  91. {
  92. "all"
  93. }),
  94. new FeastItem2(14, "Bottled Water", 10, new List<string>
  95. {
  96. "all"
  97. }),
  98. new FeastItem2(10, "Police Vest", 10, new List<string>
  99. {
  100. "all"
  101. }),
  102. new FeastItem2(251, "White Travelpack", 10, new List<string>
  103. {
  104. "all"
  105. }),
  106. new FeastItem2(223, "Police Top", 10, new List<string>
  107. {
  108. "all"
  109. }),
  110. new FeastItem2(224, "Police Bottom", 10, new List<string>
  111. {
  112. "all"
  113. }),
  114. new FeastItem2(366, "Maple Crate", 10, new List<string>
  115. {
  116. "all"
  117. })
  118. };
  119. }
  120. }
  121. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement