892 {
897 RegisterToNPC(471, ItemDropRule.NormalvsExpertOneFromOptions(2, 1, 3052, 3053, 3054));
899 RegisterToNPC(59,
new LeadingConditionRule(
new Conditions.RemixSeed())).OnSuccess(ItemDropRule.Common(23, 1, 1, 2));
900 RegisterToNPC(59,
new LeadingConditionRule(
new Conditions.RemixSeed())).OnSuccess(ItemDropRule.NormalvsExpert(1309, 8000, 5600));
901 RegisterToNPC(120,
new LeadingConditionRule(
new Conditions.TenthAnniversaryIsUp())).OnSuccess(ItemDropRule.Common(1326, 100));
902 RegisterToNPC(120,
new LeadingConditionRule(
new Conditions.TenthAnniversaryIsNotUp())).OnSuccess(ItemDropRule.NormalvsExpert(1326, 500, 400));
903 RegisterToNPC(49,
new LeadingConditionRule(
new Conditions.NotRemixSeed())).OnSuccess(ItemDropRule.Common(1325, 250));
904 RegisterToNPC(49,
new LeadingConditionRule(
new Conditions.RemixSeed())).OnSuccess(ItemDropRule.Common(1314, 250));
905 RegisterToNPC(109,
new LeadingConditionRule(
new Conditions.NotRemixSeed())).OnSuccess(ItemDropRule.Common(1314, 5));
906 RegisterToNPC(109,
new LeadingConditionRule(
new Conditions.RemixSeed())).OnSuccess(ItemDropRule.Common(1325, 5));
907 RegisterToNPC(156,
new LeadingConditionRule(
new Conditions.NotRemixSeed())).OnSuccess(ItemDropRule.Common(683, 30));
908 RegisterToNPC(156,
new LeadingConditionRule(
new Conditions.RemixSeed())).OnSuccess(ItemDropRule.Common(112, 30));
911 RegisterToNPC(185,
new DropBasedOnExpertMode(ItemDropRule.Common(5070, 1, 1, 2),
new CommonDrop(5070, 1, 1, 3)));
919 int[]
npcNetIds =
new int[2] { 163, 238 };
931 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(4613, 25, 1, 1,
new Conditions.WindyEnoughForKiteDrops()), 170, 180, 171);
932 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5096, 10, 1, 1,
new Conditions.DontStarveIsUp()), 170, 180, 171);
933 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5096, 25, 1, 1,
new Conditions.DontStarveIsNotUp()), 170, 180, 171);
937 RegisterToNPC(155, ItemDropRule.NormalvsExpert(5130, 30, 25));
939 RegisterToNPC(480, ItemDropRule.NormalvsExpert(3781, 40, 20));
940 int[]
npcNetIds2 =
new int[3] { 198, 199, 226 };
944 int[]
npcNetIds3 =
new int[4] { 78, 79, 80, 630 };
948 RegisterToNPC(473, ItemDropRule.OneFromOptions(1, 3008, 3014, 3012, 3015, 3023));
949 RegisterToNPC(474, ItemDropRule.OneFromOptions(1, 3006, 3007, 3013, 3016, 3020));
950 RegisterToNPC(475, ItemDropRule.OneFromOptions(1, 3029, 3030, 3051, 3022));
961 int[]
npcNetIds4 =
new int[3] { 473, 474, 475 };
964 RegisterToNPC(87,
new ItemDropWithConditionRule(4379, 25, 1, 1,
new Conditions.WindyEnoughForKiteDrops()));
965 RegisterToNPC(87,
new DropBasedOnExpertMode(ItemDropRule.Common(575, 1, 5, 10), ItemDropRule.Common(575, 1, 10, 20)));
974 int[]
npcNetIds5 =
new int[3] { 143, 144, 145 };
991 RegisterToNPC(528, ItemDropRule.OneFromOptions(60, 3786, 3785, 3784));
993 RegisterToNPC(529, ItemDropRule.OneFromOptions(40, 3786, 3785, 3784));
995 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5097, 250, 1, 1,
new Conditions.DontStarveIsNotUp()), 49, 51, 150, 93, 634, 151, 60, 137, 152);
996 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5097, 100, 1, 1,
new Conditions.DontStarveIsUp()), 49, 51, 150, 93, 634, 151, 60, 137, 152);
1000 {
1001 494, 495, 496, 497, 498, 499, 500, 501, 502, 503,
1002 504, 505, 506
1003 };
1006 {
1007 21, 201, 202, 203, 322, 323, 324, 635, 449, 450,
1008 451, 452
1009 };
1010 RegisterToMultipleNPCs(ItemDropRule.Common(954, 100),
npcNetIds7).OnFailedRoll(ItemDropRule.Common(955, 200)).OnFailedRoll(ItemDropRule.Common(1166, 200)).OnFailedRoll(ItemDropRule.Common(1274, 500));
1011 RegisterToNPC(6, ItemDropRule.OneFromOptions(175, 956, 957, 958));
1012 int[]
npcNetIds8 =
new int[7] { 42, 43, 231, 232, 233, 234, 235 };
1014 int[]
npcNetIds9 =
new int[5] { 31, 32, 294, 295, 296 };
1017 RegisterToMultipleNPCs(ItemDropRule.Common(996, 200), 174, 179, 182, 183, 98, 83, 94, 81, 101);
1019 RegisterToNPC(98, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4611, 25));
1022 RegisterToNPC(86, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4684, 25));
1025 RegisterToNPC(225, ItemDropRule.Common(1243, 45)).OnFailedRoll(ItemDropRule.Common(23, 1, 2, 6));
1027 RegisterToNPC(537, ItemDropRule.NormalvsExpert(1309, 8000, 5600));
1028 int[]
npcNetIds10 =
new int[4] { 335, 336, 333, 334 };
1031 RegisterToNPC(-4, ItemDropRule.NormalvsExpert(1309, 100, 70));
1033 {
1034 1, 16, 138, 141, 147, 184, 187, 433, 204, 302,
1035 333, 334, 335, 336, 535, 658, 659, 660
1036 };
1037 int[]
npcNetIds12 =
new int[4] { -6, -7, -8, -9 };
1038 int[]
npcNetIds13 =
new int[5] { -6, -7, -8, -9, -4 };
1049 int[]
npcNetIds14 =
new int[9] { 2, 317, 318, 190, 191, 192, 193, 194, 133 };
1051 RegisterToNPC(133, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4683, 25));
1053 RegisterToNPC(58, ItemDropRule.Common(263, 250)).OnFailedRoll(ItemDropRule.Common(118, 30));
1056 {
1057 3, 591, 590, 331, 332, 132, 161, 186, 187, 188,
1058 189, 200, 223, 319, 320, 321, 430, 431, 432, 433,
1059 434, 435, 436
1060 };
1067 RegisterToNPC(223, ItemDropRule.OneFromOptions(20, 1135, 1136));
1085 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5094, 100, 1, 1,
new Conditions.DontStarveIsUp()), 6, 7, 8, 9, 173, 181, 239, 240);
1086 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5094, 525, 1, 1,
new Conditions.DontStarveIsNotUp()), 6, 7, 8, 9, 173, 181, 239, 240);
1087 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5091, 500, 1, 1,
new Conditions.DontStarveIsUp()), 6, 7, 8, 9, 94, 81, 101, 173, 181, 239, 240, 174, 183, 242, 241, 268, 182, 98, 99, 100);
1088 RegisterToMultipleNPCs(
new ItemDropWithConditionRule(5091, 1500, 1, 1,
new Conditions.DontStarveIsNotUp()), 6, 7, 8, 9, 94, 81, 101, 173, 181, 239, 240, 174, 183, 242, 241, 268, 182, 98, 99, 100);
1089 RegisterToMultipleNPCs(
new DropBasedOnExpertMode(ItemDropRule.Common(215, 50), ItemDropRule.WithRerolls(215, 1, 50)), 10, 11, 12, 95, 96, 97);
1092 RegisterToNPC(533, ItemDropRule.Common(3795, 40)).OnFailedRoll(ItemDropRule.Common(3770, 30));
1098 RegisterToNPC(63, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4649, 50));
1099 RegisterToNPC(64, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4650, 50));
1101 RegisterToNPC(481, ItemDropRule.OneFromOptions(7, 3187, 3188, 3189));
1104 {
1105 21, 167, 201, 202, 481, 203, 322, 323, 324, 449,
1106 450, 451, 452
1107 };
1109 RegisterToNPC(44, ItemDropRule.Common(118, 25)).OnFailedRoll(ItemDropRule.OneFromOptions(4, 410, 411)).OnFailedRoll(ItemDropRule.Common(166, 1, 1, 3));
1113 int[]
npcNetIds19 =
new int[6] { 31, 32, 34, 294, 295, 296 };
1114 RegisterToMultipleNPCs(ItemDropRule.Common(932, 250),
npcNetIds19).OnFailedRoll(ItemDropRule.Common(3095, 100)).OnFailedRoll(ItemDropRule.Common(327, 65)).OnFailedRoll(ItemDropRule.ByCondition(
new Conditions.NotExpert(), 154, 1, 1, 3));
1116 int[]
npcNetIds20 =
new int[5] { 26, 27, 28, 29, 111 };
1119 RegisterToNPC(175, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4675, 25));
1120 RegisterToMultipleNPCs(
new DropBasedOnExpertMode(
new CommonDrop(209, 3, 1, 1, 2), ItemDropRule.Common(209)), 42, 231, 232, 233, 234, 235);
1122 RegisterToNPC(177,
new ItemDropWithConditionRule(5089, 100, 1, 1,
new Conditions.DontStarveIsNotUp()));
1123 RegisterToNPC(177,
new ItemDropWithConditionRule(5089, 40, 1, 1,
new Conditions.DontStarveIsUp()));
1126 RegisterToNPC(43, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4648, 25));
1127 RegisterToNPC(39, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4610, 15));
1128 RegisterToNPC(65, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4651, 25));
1129 RegisterToNPC(65, ItemDropRule.Common(268, 20)).OnFailedRoll(ItemDropRule.Common(319));
1133 RegisterToMultipleNPCs(ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4669, 25), 542, 543, 544, 545);
1137 RegisterToNPC(47, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4670, 25));
1138 RegisterToNPC(464, ItemDropRule.ByCondition(
new Conditions.WindyEnoughForKiteDrops(), 4671, 25));
1143 LeadingConditionRule
leadingConditionRule =
new LeadingConditionRule(
new Conditions.NeverTrue());
1146 int chanceDenominator = 9;
1147 rule.OnSuccess(
new CommonDrop(4367, chanceDenominator));
1148 rule.OnSuccess(
new CommonDrop(4368, chanceDenominator));
1149 rule.OnSuccess(
new CommonDrop(4369, chanceDenominator));
1150 rule.OnSuccess(
new CommonDrop(4370, chanceDenominator));
1151 rule.OnSuccess(
new CommonDrop(4371, chanceDenominator));
1152 rule.OnSuccess(
new CommonDrop(4612, chanceDenominator));
1153 rule.OnSuccess(
new CommonDrop(4674, chanceDenominator));
1154 rule.OnSuccess(
new CommonDrop(4343, chanceDenominator, 2, 5));
1155 rule.OnSuccess(
new CommonDrop(4344, chanceDenominator, 2, 5));
1157 }
IItemDropRule RegisterToMultipleNPCs(IItemDropRule entry, params int[] npcNetIds)
IItemDropRule RegisterToNPC(int type, IItemDropRule entry)
IItemDropRule RemoveFromMultipleNPCs(IItemDropRule entry, params int[] npcNetIds)