Module:Iteminfo/idSets/data

local Sets = {}

local function BoolSetFactory(IDs) local set = { ['default'] = false} for k, v in pairs(IDs) do		set[v] = true end return set end

local function SetFactory(default, IDs) local set = { ['default'] = default} local key = nil for _, v in pairs(IDs) do		if key then set[key] = v			key = nil else key = v		end end return set end

-- v1.4.4.5

-- bool sets Sets.IgnoresEncumberingStone = BoolSetFactory{ 58, 184, 1734, 1735, 1867, 1868, 3453, 3454, 3455, 4143 } Sets.IsAPickup = BoolSetFactory{ 58, 184, 1734, 1735, 1867, 1868, 3453, 3454, 3455 } Sets.IsDrill = BoolSetFactory{ 388, 1231, 385, 386, 2779, 1196, 1189, 2784, 3464, 1203, 2774, 579 } Sets.IsChainsaw = BoolSetFactory{ 387, 3098, 1232, 383, 384, 2778, 1197, 1190, 2783, 3463, 1204, 2773, 2342, 579 } Sets.IsPaintScraper = BoolSetFactory{ 1100, 1545 } Sets.IsFood = BoolSetFactory{ 353, 357, 1787, 1911, 1912, 1919, 1920, 2266, 2267, 2268, 2425, 2426, 2427, 3195, 3532, 4009, 4010, 4011, 4012, 4013, 4014, 4015, 4016, 4017, 4018, 4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026, 4027, 4028, 4029, 4030, 4031, 4032, 4033, 4034, 4035, 4036, 4037, 967, 969, 4282, 4283, 4284, 4285, 4286, 4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4403, 4411, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 5009, 5042, 5041, 5092, 5093, 5275, 5277, 5278 } Sets.CanFishInLava = BoolSetFactory{ 2422 } Sets.IsLavaBait = BoolSetFactory{ 4849, 4845, 4847 } Sets.SummonerWeaponThatScalesWithAttackSpeed = BoolSetFactory{ 4672, 4679, 4680, 4678, 4913, 4912, 4911, 4914, 5074 } Sets.IsFishingCrate = BoolSetFactory{ 2334, 2335, 2336, 3203, 3204, 3205, 3206, 3207, 3208, 4405, 4407, 4877, 5002, 3979, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987, 4406, 4408, 4878, 5003 } Sets.IsFishingCrateHardmode = BoolSetFactory{ 3979, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987, 4406, 4408, 4878, 5003 } Sets.CanBePlacedOnWeaponRacks = BoolSetFactory{ 3196, 166, 235, 3115, 167, 2896, 3547, 580, 937, 4423, 4824, 4825, 4826, 4827, 4908, 4909, 4094, 4039, 4092, 4093, 4587, 4588, 4589, 4590, 4591, 4592, 4593, 4594, 4595, 4596, 4597, 4598, 905, 1326, 5335, 3225, 2303, 2299, 2290, 2317, 2305, 2304, 2313, 2318, 2312, 2306, 2308, 2319, 2314, 2302, 2315, 2307, 2310, 2301, 2298, 2316, 2309, 2321, 2297, 2300, 2311, 2420, 2438, 2437, 2436, 4401, 4402, 2475, 2476, 2450, 2477, 2478, 2451, 2479, 2480, 2452, 2453, 2481, 2454, 2482, 2483, 2455, 2456, 2457, 2458, 2459, 2460, 2484, 2472, 2461, 2462, 2463, 2485, 2464, 2465, 2486, 2466, 2467, 2468, 2487, 2469, 2488, 2470, 2471, 2473, 2474, 4393, 4394 } Sets.Deprecated = BoolSetFactory{ 2783, 2785, 2782, 2773, 2775, 2772, 2778, 2780, 2777, 3463, 3465, 3462, 2881, 3847, 3848, 3849, 3850, 3851, 3850, 3861, 3862, 4010, 4058, 5013, 4722, 3978 } -- non-native, added 4 unimplement items. Sets.Unused = BoolSetFactory{ 2783, 2785, 2782, 2773, 2775, 2772, 2778, 2780, 2777, 3463, 3465, 3462, 2881, 3847, 3848, 3849, 3850, 3851, 3850, 3861, 3862, 4010, 4058, 5013, 4722, 3978, 3705, 3706, 3853, 4143 } Sets.NeverAppearsAsNewInInventory = BoolSetFactory{ 71, 72, 73, 74 } Sets.CommonCoin = BoolSetFactory{ 71, 72, 73, 74 } Sets.ItemIconPulse = BoolSetFactory{ 520, 521, 575, 549, 548, 547, 3456, 3457, 3458, 3459, 3580, 3581 } Sets.ItemNoGravity = BoolSetFactory{ 520, 521, 575, 549, 548, 547, 3453, 3454, 3455, 3456, 3457, 3458, 3459, 3580, 3581, 4143 } Sets.ExoticPlantsForDyeTrade = BoolSetFactory{ 3385, 3386, 3387, 3388 } Sets.NebulaPickup = BoolSetFactory{ 3453, 3454, 3455 } Sets.AnimatesAsSoul = BoolSetFactory{ 575, 547, 520, 548, 521, 549, 3580, 3581 } Sets.gunProj = BoolSetFactory{ 3475, 3540, 3854, 3930 } Sets.GamepadWholeScreenUseRange = BoolSetFactory{ 1326, 5335, 1256, 1244, 3014, 113, 218, 495, 114, 496, 2796, 494, 3006, 65, 1931, 3570, 2750, 3065, 3029, 3030, 4381, 4956, 5065, 1309, 2364, 2365, 2551, 2535, 2584, 1157, 2749, 1802, 2621, 3249, 3531, 3474, 2366, 1572, 3569, 3571, 4269, 4273, 4281, 3611, 1299, 1254 } Sets.GamepadSmartQuickReach = BoolSetFactory{ 2798, 2797, 3030, 3262, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, 3289, 3290, 3291, 3292, 3315, 3316, 3317, 5294, 3389, 2798, 65, 1931, 3570, 2750, 3065, 3029, 4956, 5065, 1256, 1244, 3014, 113, 218, 495 } Sets.Yoyo = BoolSetFactory{ 3262, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287, 3288, 3289, 3290, 3291, 3292, 3315, 3316, 3317, 3389, 5294 } Sets.AlsoABuildingItem = BoolSetFactory{ 3031, 205, 1128, 207, 206, 3032, 849, 3620, 509, 851, 850, 3625, 510, 1071, 1543, 1072, 1544, 1100, 1545, 4820, 4872, 5303, 5304, 5302, 5364 } Sets.LockOnIgnoresCollision = BoolSetFactory{ 64, 3570, 1327, 3006, 1227, 788, 756, 1228, 65, 3065, 3473, 3051, 5065, 1309, 2364, 2365, 2551, 2535, 2584, 1157, 2749, 1802, 2621, 3249, 3531, 3474, 2366, 1572, 4269, 4273, 4281, 4607, 5069, 5114, 5119, 3014, 3569, 357 } Sets.SingleUseInGamepad = BoolSetFactory{ 8, 427, 3004, 523, 433, 429, 974, 1333, 1245, 3114, 430, 3045, 428, 2274, 431, 432, 4383, 4384, 4385, 4386, 4387, 4388, 5293, 5353 } Sets.Torches = BoolSetFactory{ 8, 427, 3004, 523, 433, 429, 974, 1333, 1245, 3114, 430, 3045, 428, 2274, 431, 432, 4383, 4384, 4385, 4386, 4387, 4388, 5293, 5353 } Sets.WaterTorches = BoolSetFactory{ 523, 1333, 4384 } Sets.Workbenches = BoolSetFactory{ 36, 635, 636, 637, 673, 811, 812, 813, 814, 815, 916, 1145, 1398, 1401, 1404, 1461, 1511, 1795, 1817, 2229, 2251, 2252, 2253, 2534, 2631, 2632, 2633, 2826, 3156, 3157, 3158, 3909, 3910, 3949, 3975, 4163, 4184, 4205, 4226, 4315, 4584 } Sets.BossBag = BoolSetFactory{ 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3860, 3861, 3862, 4782, 4957, 5111 } Sets.OpenableBag = BoolSetFactory{ 3318, 3319, 3320, 3321, 3322, 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330, 3331, 3332, 3860, 3861, 3862, 4782, 4957, 5111, 2334, 2335, 2336, 3203, 3204, 3205, 3206, 3207, 3208, 4405, 4407, 4877, 5002, 3979, 3980, 3981, 3982, 3983, 3984, 3985, 3986, 3987, 4406, 4408, 4878, 5003, 3093, 4345, 4410, 1774, 3085, 4879, 1869, 599, 600, 601 } Sets.TrapSigned = BoolSetFactory{ 3665, 3666, 3667, 3668, 3669, 3670, 3671, 3672, 3673, 3674, 3675, 3676, 3677, 3678, 3679, 3680, 3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692, 3693, 3694, 3695, 3696, 3697, 3698, 3699, 3700, 3701, 3703, 3702, 3704, 3705, 3706, 3886, 3887, 3950, 3976, 4164, 4185, 4206, 4227, 4266, 4268, 4585, 4713, 5167, 5188, 5209 } Sets.ItemsThatAllowRepeatedRightClick = BoolSetFactory{3384, 3858, 3852}; Sets.ItemsThatCountAsBombsForDemolitionistToSpawn = BoolSetFactory{ 168, 2586, 3116, 166, 235, 3115, 167, 2896, 3547, 3196, 4423, 1130, 1168, 4824, 4825, 4826, 4827, 4908, 4909 } Sets.ItemsThatShouldNotBeInInventory = BoolSetFactory{ 58, 184, 1734, 1735, 1867, 1868, 3453, 3454, 3455, 5013 } Sets.DrawUnsafeIndicator = BoolSetFactory{ 5363, 5365, 5366, 5367, 5368, 5369, 5370, 5371, 5372, 5373, 5376, 5375, 5374, 3988, 5384 } Sets.SkipsInitialUseSound = BoolSetFactory{ 2350, 4870 } Sets.UsesCursedByPlanteraTooltip = BoolSetFactory{ 1533, 1534, 1535, 1536, 1537, 4714 } Sets.IsAKite = BoolSetFactory{ 4367, 4368, 4369, 4370, 4371, 4379, 4610, 4611, 4612, 4613, 4648, 4649, 4650, 4651, 4669, 4670, 4671, 4674, 4675, 4676, 4677, 4681, 4683, 4684 } Sets.HasAProjectileThatHasAUsabilityCheck = BoolSetFactory{ 4367, 4368, 4369, 4370, 4371, 4379, 4610, 4611, 4612, 4613, 4648, 4649, 4650, 4651, 4669, 4670, 4671, 4674, 4675, 4676, 4677, 4681, 4683, 4684 } Sets.CanNotGetPrefixes = BoolSetFactory{ 267, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 576, 1307, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610 } Sets.ItemsThatAreProcessedAfterNormalContentSample = BoolSetFactory{ 1533, 1534, 1535, 1536, 1537 }; Sets.IsLavaImmuneRegardlessOfRarity = BoolSetFactory{ 318, 312, 173, 174, 175, 4422, 2701, 205, 206, 207, 1128, 2340, 2739, 2492, 1127, 85 }; Sets.NonColorfulDyeItems = BoolSetFactory{ 3599, 3530, 3534 } Sets.ItemsForStuffCannon = BoolSetFactory{ 2, 3, 61, 836, 409, 593, 664, 169, 370, 1246, 408, 3271, 3277, 3339, 3276, 3272, 3274, 3275, 3338, 176, 172, 424, 1103, 3087, 3066, 9, 2503, 2504, 619, 911, 621, 620, 1727, 276, 4564, 751, 1124, 1125, 824, 129, 131, 607, 594, 883, 414, 413, 609, 4050, 192, 412 }

-- value sets Sets.ToolTipDamageMultiplier = SetFactory(1, { 162, 2, 801, 2, 163, 2, 220, 2, 389, 2, 1259, 2, 4272, 2, 5011, 2, 5012, 2 }) Sets.KillsToBanner = SetFactory(50, { 3838, 1000, 3845, 200, 3837, 500, 3844, 200, 3843, 50, 3839, 150, 3840, 100, 3842, 200, 3841, 100, 3846, 50, 2971, 200, 2982, 150, 2931, 100, 2961, 100, 2994, 100, 2985, 10, 4541, 10, 2969, 10, 2986, 10, 2915, 10, 4602, 10, 4542, 25, 4543, 25, 4546, 25, 4545, 25, 2901, 25, 2902, 25, 1631, 25, 2913, 25, 4688, 25, 3390, 25, 4973, 25, 4974, 25, 4975, 25, 2934, 25, 1670, 25, 1694, 25, 2958, 25, 2960, 25, 3441, 25, 3780, 25, 3397, 25, 3403, 25 }) Sets.ItemSpawnDecaySpeed = SetFactory(1, { 58, 4, 184, 4, 1867, 4, 1868, 4, 1734, 4, 1735, 4 }) Sets.TextureCopyLoad = SetFactory(-1, { 3665, 48, 3666, 306, 3667, 328, 3668, 625, 3669, 626, 3670, 627, 3671, 680, 3672, 681, 3673, 831, 3674, 838, 3675, 914, 3676, 952, 3677, 1142, 3678, 1298, 3679, 1528, 3680, 1529, 3681, 1530, 3682, 1531, 3683, 1532, 3684, 2230, 3685, 2249, 3686, 2250, 3687, 2526, 3688, 2544, 3689, 2559, 3690, 2574, 3691, 2612, 3692, 2613, 3693, 2614, 3694, 2615, 3695, 2616, 3696, 2617, 3697, 2618, 3698, 2619, 3699, 2620, 3700, 2748, 3701, 2814, 3703, 3125, 3702, 3180, 3704, 3181, 3705, 3665, 3706, 3665, 4713, 4712, 5167, 5156, 5188, 5177, 5209, 5198 }) Sets.ExtractinatorMode = SetFactory(-1, { 424, 0, 1103, 0, 3347, 1, 2339, 2, 2338, 2, 2337, 2, 4354, 3, 4389, 3, 4377, 3, 4378, 3, 5127, 3, 5128, 3 }) Sets.SortingPriorityBossSpawns = SetFactory(-1, { 43, 1, 560, 2, 70, 3, 1331, 3, 361, 4, 5120, 5, 1133, 5, 4988, 6, 5334, 7, 544, 8, 556, 9, 557, 10, 2495, 11, 2673, 12, 602, 13, 1844, 14, 1958, 15, 1293, 16, 2767, 17, 4271, 18, 3601, 19, 1291, 20, 109, 21, 29, 22, 50, 23, 3199, 24, 3124, 25, 5437, 26, 5358, 27, 5359, 28, 5360, 29, 5361, 30, 4263, 31, 4819, 32 }) Sets.SortingPriorityWiring = SetFactory(-1, { 510, 103, 3625, 102, 509, 101, 851, 100, 850, 99, 3612, 98, 849, 97, 4485, 96, 4484, 95, 583, 94, 584, 93, 585, 92, 538, 91, 513, 90, 3545, 90, 853, 89, 541, 88, 529, 88, 1151, 87, 852, 87, 543, 87, 542, 87, 3707, 87, 2492, 86, 530, 85, 581, 84, 582, 84, 1263, 83 }) Sets.SortingPriorityMaterials = SetFactory(-1, { 3467, 100, 3460, 99, 3458, 98, 3456, 97, 3457, 96, 3459, 95, 3261, 94, 1508, 93, 1552, 92, 1006, 91, 947, 90, 1225, 89, 1198, 88, 1106, 87, 391, 86, 366, 85, 1191, 84, 1105, 83, 382, 82, 365, 81, 1184, 80, 1104, 79, 381, 78, 364, 77, 548, 76, 547, 75, 549, 74, 575, 73, 521, 72, 520, 71, 175, 70, 174, 69, 3380, 68, 1329, 67, 1257, 66, 880, 65, 86, 64, 57, 63, 56, 62, 117, 61, 116, 60, 706, 59, 702, 58, 19, 57, 13, 56, 705, 55, 701, 54, 21, 53, 14, 52, 704, 51, 700, 50, 22, 49, 11, 48, 703, 47, 699, 46, 20, 45, 12, 44, 999, 43, 182, 42, 178, 41, 179, 40, 177, 39, 180, 38, 181, 37 }) Sets.SortingPriorityExtractibles = SetFactory(-1, { 997, 4, 3347, 3, 1103, 2, 424, 1 }) Sets.SortingPriorityRopes = SetFactory(-1, { 965, 1, 85, 1, 210, 1, 3077, 1, 3078, 1 }) Sets.SortingPriorityPainting = SetFactory(-1, { 1543, 100, 1544, 99, 1545, 98, 1071, 97, 1072, 96, 1100, 95 }) Sets.SortingPriorityTerraforming = SetFactory(-1, { 5134, 100, 779, 99, 780, 98, 783, 97, 781, 96, 782, 95, 784, 94, 5392, 93, 5393, 92, 5394, 91, 422, 90, 423, 89, 3477, 88, 66, 67, 67, 86, 2886, 85 }) Sets.GamepadExtraRange = SetFactory(0, { 2797, 20, 3278, 4, 3285, 6, 3279, 8, 3280, 8, 3281, 9, 3262, 10, 3317, 10, 5294, 10, 3282, 10, 3315, 10, 3316, 11, 3283, 12, 3290, 13, 3289, 11, 3284, 13, 3286, 13, 3287, 18, 3288, 18, 3291, 17, 3292, 18, 3389, 21 }) Sets.BonusMeleeSpeedMultiplier = SetFactory(1, { 1827, 0.5, 3013, 0.25, 3106, 0.33 }) Sets.LockOnAimAbove = SetFactory(0, { 1256, 15, 1244, 15, 3014, 15, 3569, 15, 3571, 15 }) Sets.NewItemSpawnPriority = SetFactory(0, { 2, 200, 3, 150, 61, 150, 836, 150, 409, 150, 593, 200, 664, 100, 834, 100, 833, 100, 835, 100, 169, 100, 370, 100, 1246, 100, 408, 100, 3271, 150, 3277, 150, 3339, 150, 3276, 150, 3272, 150, 3274, 150, 3275, 150, 3338, 150, 176, 100, 172, 200, 424, 50, 1103, 50, 3087, 100, 3066, 100}) Sets.WorksInVoidBag = SetFactory(true, { 4346, true, 5095, true }) Sets.ShimmerTransformToItem = SetFactory(-1, { 3460, 947, 947, 1106, 1106, 366, 366, 1105, 1105, 365, 365, 1104, 1104, 364, 364, 702, 702, 13, 13, 701, 701, 14, 14, 700, 700, 11, 11, 699, 699, 12, 12, 3, 3, 2, 182, 178, 178, 179, 179, 177, 177, 180, 180, 181, 181, 3, 4843, 182, 4836, 182, 4842, 178, 4835, 178, 4841, 179, 4834, 179, 4840, 177, 4833, 177, 4832, 180, 4839, 180, 4838, 181, 4831, 181, 4844, 999, 4837, 999, 620, 9, 619, 9, 911, 9, 621, 9, 2503, 9, 2504, 9, 2260, 9, 1729, 9, 5215, 9, 9, 2, 3271, 169, 3272, 169, 3276, 370, 3274, 370, 3339, 408, 3338, 408, 3277, 1246, 3275, 1246, 1127, 1124, 1125, 1124, 4503, 5363, 134, 5417, 137, 5419, 139, 5421, 141, 5423, 143, 5425, 145, 5427, 415, 5429, 416, 5431, 192, 5433, 214, 5435, 135, 5365, 1379, 5367, 1378, 5366, 140, 5368, 1381, 5370, 1380, 5369, 138, 5371, 1383, 5373, 1382, 5372, 1102, 5376, 3340, 5375, 3273, 5374, 664, 593, 3982, 3203, 3983, 3204, 3984, 3205, 3985, 3206, 4406, 4405, 3981, 2336, 3986, 3207, 3980, 2335, 3987, 3208, 4878, 4877, 4408, 4407, 5003, 5002, 3979, 2334, 3064, 5381, 3086, 3081, 3081, 3086, 1534, 1529, 1535, 1530, 1536, 1531, 1537, 1532, 4714, 4712, 1533, 1528, 206, 207, 207, 1128, 1128, 206, 832, 4281, 3818, 3824, 3824, 3832, 3832, 3829, 3829, 3818, 3819, 3825, 3825, 3833, 3833, 3830, 3830, 3819, 3820, 3826, 3826, 3834, 3834, 3831, 3831, 3820, 960, 228, 961, 229, 962, 230, 228, 960, 229, 961, 230, 962, 956, 102, 957, 101, 958, 100, 102, 956, 101, 957, 100, 958, 4897, 553, 4898, 558, 4896, 559, 4899, 4873, 4900, 551, 4901, 552, 553, 4897, 558, 4898, 559, 4896, 4873, 4899, 551, 4900, 552, 4901, 959, 151, 151, 959, 955, 92, 92, 955, 954, 90, 90, 954, 3093, 4345, 4345, 3093, 215, 5346, 5356, 5346, 3000, 2999, 2999, 3000, 411, 410, 410, 411, 1725, 276, 276, 1725, 2886, 66, 67, 66, 195, 194, 194, 195, 4389, 5128, 4377, 5128, 4378, 5128, 4354, 5128, 5127, 5128, 8, 5353, 427, 5353, 3004, 5353, 523, 5353, 433, 5353, 429, 5353, 974, 5353, 1333, 5353, 1245, 5353, 3114, 5353, 430, 5353, 3045, 5353, 428, 5353, 2274, 5353, 431, 5353, 432, 5353, 4383, 5353, 4384, 5353, 4385, 5353, 4386, 5353, 4387, 5353, 4388, 5353, 5293, 5353, 966, 5357, 52, 5347, 280, 277, 1304, 215, 40, 5348, 265, 5348, 931, 5380, 1614, 5380, 848, 857, 866, 934, 532, 5355, 3225, 159, 3120, 3096, 3096, 3037, 3037, 3120, 2373, 2374, 2374, 2375, 2375, 2373, 855, 3033, 854, 855, 3033, 854, 490, 491, 491, 489, 489, 2998, 2998, 490, 892, 886, 886, 892, 885, 887, 887, 885, 891, 890, 890, 891, 893, 889, 889, 893, 888, 3781, 3781, 888, 1322, 906, 531, 5336, 29, 5337, 1291, 5338, 109, 5339, 4414, 5340, 2895, 5341, 2222, 5343, 4009, 5342, 4282, 5342, 4290, 5342, 4291, 5342, 4293, 5342, 4286, 5342, 4295, 5342, 4284, 5342, 4289, 5342, 4285, 5342, 4296, 5342, 4292, 5342, 4294, 5342, 4283, 5342, 4287, 5342, 4288, 5342, 4297, 5342, 5278, 5342, 5277, 5342 }) Sets.ShimmerCountsAsItem = SetFactory(-1, { 5358, 5437, 5361, 5437, 5360, 5437, 5359, 5437, 5455, 5323 }) Sets.OverflowProtectionTimeOffset = SetFactory(0, { 2, 200, 3, 150, 61, 150, 836, 150, 409, 150, 593, 200, 664, 100, 834, 100, 833, 100, 835, 100, 169, 100, 370, 100, 1246, 100, 408, 100, 3271, 150, 3277, 150, 3339, 150, 3276, 150, 3272, 150, 3274, 150, 3275, 150, 3338, 150, 176, 100, 172, 200, 424, 50, 1103, 50, 3087, 100, 3066, 100 }) -- public BannerEffect(float strength = 1f)            {                this.NormalDamageDealt = 1f + strength * 0.5f;                this.ExpertDamageDealt = 1f + strength;                this.ExpertDamageReceived = 1f / (strength + 1f);                this.NormalDamageReceived = 1f - (1f - this.ExpertDamageReceived) * 0.5f;                this.Enabled = strength != 0f;            } -- --Sets.DD2BannerEffect = ItemID.BannerEffect.None; // ItemID.BannerEffect.None = new ItemID.BannerEffect(0f); --ItemID.Sets.BannerStrength = ItemID.Sets.Factory.CreateCustomSet(new ItemID.BannerEffect(1f), new object[] { (short)3838, ItemID.Sets.DD2BannerEffect, (short)3845, ItemID.Sets.DD2BannerEffect, (short)3837, ItemID.Sets.DD2BannerEffect, (short)3844, ItemID.Sets.DD2BannerEffect, (short)3843, ItemID.Sets.DD2BannerEffect, (short)3839, ItemID.Sets.DD2BannerEffect, (short)3840, ItemID.Sets.DD2BannerEffect, (short)3842, ItemID.Sets.DD2BannerEffect, (short)3841, ItemID.Sets.DD2BannerEffect, (short)3846, ItemID.Sets.DD2BannerEffect }); Sets.BannerStrength = SetFactory(1, { 3838, 0, 3845, 0, 3837, 0, 3844, 0, 3843, 0, 3839, 0, 3840, 0, 3842, 0, 3841, 0, 3846, 0 })

-- nullable Sets.LockOnAimCompensation = SetFactory(nil, { 1336, 0.2, 157, 0.29, 2590, 0.4, 3821, 0.4, 160, 0.4 }) Sets.CanBeQuickusedOnGamepad = SetFactory(nil, { 50, true, 3199, true, 3124, true, 2350, true, 2351, true, 29, true, 109, true, 1291, true, 4870, true, 5358, true, 5359, true, 5360, true, 5361, true, 4263, true, 4819, true }) Sets.ForcesBreaksSleeping = SetFactory(nil, { 1991, true, 4821, true, 3183, true }) Sets.ForceConsumption = SetFactory(nil, { 2350, false, 4870, false, 2351, false, 2756, false, 4343, true, 4344, true })

-- dyes local dyes = { ['default'] = false } local function LoadBasicColorDyes for itemid = 1007, 1018 do		dyes[itemid] = true dyes[itemid+12] = true dyes[itemid+31] = true dyes[itemid+44] = true end dyes[2874] = true dyes[2875] = true dyes[2876] = true dyes[2877] = true end local function LoadArmorDyes LoadBasicColorDyes dyes[1050] = true dyes[1037] = true dyes[3558] = true dyes[2871] = true dyes[3559] = true dyes[1031] = true dyes[1032] = true dyes[3550] = true dyes[1063] = true dyes[1035] = true dyes[1036] = true dyes[3552] = true dyes[1065] = true dyes[1033] = true dyes[1034] = true dyes[3551] = true dyes[1064] = true dyes[1068] = true dyes[1069] = true dyes[1070] = true dyes[1066] = true dyes[1067] = true dyes[3556] = true dyes[2869] = true dyes[2870] = true dyes[2873] = true dyes[3026] = true dyes[3027] = true dyes[3553] = true dyes[3554] = true dyes[3555] = true dyes[3190] = true dyes[1969] = true dyes[2864] = true dyes[2872] = true dyes[2878] = true dyes[2879] = true dyes[2885] = true dyes[2884] = true dyes[2883] = true dyes[3025] = true dyes[3039] = true dyes[3040] = true dyes[3041] = true dyes[3042] = true dyes[3560] = true dyes[3561] = true dyes[3562] = true dyes[3024] = true dyes[4663] = true dyes[4662] = true dyes[4778] = true dyes[3534] = true dyes[3028] = true dyes[3557] = true dyes[3978] = true dyes[3038] = true dyes[3600] = true dyes[3597] = true dyes[3598] = true dyes[3599] = true dyes[3533] = true dyes[3535] = true dyes[3526] = true dyes[3527] = true dyes[3528] = true dyes[3529] = true dyes[3530] = true end LoadArmorDyes Sets.dyes = dyes

-- hair dyes local hairDyes = { ['default'] = -1 } hairDyes[1990] = 0 hairDyes[1977] = 1 hairDyes[1978] = 1 hairDyes[1979] = 1 hairDyes[1980] = 1 hairDyes[1981] = 1 hairDyes[1982] = 1 hairDyes[1983] = 1 hairDyes[1984] = 1 hairDyes[1985] = 1 hairDyes[1986] = 1 hairDyes[2863] = 1 hairDyes[3259] = 1 Sets.hairDyes = hairDyes

--?? Sets.IsAMaterial = ItemID.Sets.Factory.CreateBoolSet(new int[0]); see --Sets.StaffMinionSlotsRequired = SetFactory(1, new int[0]); no use. --??? Sets.ColorfulDyeValues = new bool[0]; all dyes not in NonColorfulDyeItems

return Sets