Модуль:Iteminfo/idSets/data

Матеріал з Terraria Wiki
Перейти до навігації Перейти до пошуку
Дивіться також цей модуль англійською: Module:Iteminfo/idSets/data. Він може містити більш повну чи актуальну інформацію.

Для цього модуля ще не існує підсторінки документації. Створіть її зараз.


--convert rgb to hex. e.g. Color(255,255,255) => #FFFFFF
local function Color(r, g, b, factor)
	if factor then
		r = math.floor(r * factor)
		g = math.floor(g * factor)
		b = math.floor(b * factor)
	end
	return string.format("#%02X%02X%02X", r, g, b)
end

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.9

-- from Terraria.ID.ItemID.Sets.Sets()

Sets.IsLavaImmuneRegardlessOfRarity = BoolSetFactory{ 318, 312, 173, 174, 175, 4422, 2701, 205, 206, 207, 1128, 2340, 2739, 2492, 1127, 85 }
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.UsesBetterMeleeItemLocation = BoolSetFactory{ 426 }
Sets.WorksInVoidBag = BoolSetFactory{ 4346, 5095 }
Sets.GrassSeeds = BoolSetFactory{ 62, 59, 2171, 369, 195, 194, 5214 }
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.CanGetPrefixes = BoolSetFactory{ 267, 1307, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 576, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1963, 1964, 1965, 2742, 3044, 3235, 3236, 3237, 3370, 3371, 3796, 3869, 4077, 4078, 4079, 4080, 4081, 4082, 4237, 4356, 4357, 4358, 4421, 4606, 4979, 4985, 4990, 4991, 4992, 5006, 5014, 5015, 5016, 5017, 5018, 5019, 5020, 5021, 5022, 5023, 5024, 5025, 5026, 5027, 5028, 5029, 5030, 5031, 5032, 5033, 5034, 5035, 5036, 5037, 5038, 5039, 5040, 5044, 5112, 5362 }
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.SummonerWeaponThatScalesWithAttackSpeed = BoolSetFactory{ 4672, 4679, 4680, 4678, 4913, 4912, 4911, 4914, 5074 }
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.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.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.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 }
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, 5119, 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, 3571 }
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.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 }
-- "Unused" is not a set in the source code, it's our custom list of "unimplemented" items
Sets.Unused = BoolSetFactory{ 226, 3705, 3706, 3853, 4143 }
for k, v in pairs(Sets.Deprecated) do
	Sets.Unused[k] = v
end
-- Lists in C# code, as bool sets here
Sets.ItemsThatAreProcessedAfterNormalContentSample = BoolSetFactory{ 1533, 1534, 1535, 1536, 1537 }
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 }
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, 5166, 5187, 5208 };


-- value sets
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, 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, 857, 848, 866, 934, 934, 866, 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, 906, 1322, 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 })
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, 150, 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, 30135, 3106, 0.33, 757, 0.75 })
Sets.LockOnAimAbove = SetFactory(0, { 1256, 15, 1244, 15, 3014, 15, 3569, 15, 3571, 15 })
Sets.FoodParticleColors = SetFactory({}, { 357, { Color(253, 209, 77), Color(253, 178, 78) }, 1787, { Color(215, 146, 96), Color(250, 160, 15), Color(226, 130, 33) }, 1911, { Color(219, 219, 213), Color(255, 228, 133), Color(237, 159, 85), Color(207, 32, 51) }, 1919, { Color(206, 168, 119), Color(73, 182, 126), Color(230, 89, 92), Color(228, 238, 241) }, 1920, { Color(218, 167, 69), Color(204, 209, 219), Color(204, 22, 40), Color(0, 212, 47) }, 2267, { Color(229, 129, 82), Color(255, 223, 126), Color(190, 226, 65) }, 2268, { Color(250, 232, 220), Color(216, 189, 157), Color(190, 226, 65) }, 2425, { Color(199, 166, 129), Color(127, 105, 81), Color(128, 151, 43), Color(193, 14, 7) }, 2426, { Color(246, 187, 165), Color(255, 134, 86) }, 2427, { Color(235, 122, 128), Color(216, 193, 186), Color(252, 108, 40) }, 3195, { Color(139, 86, 218), Color(218, 86, 104), Color(218, 182, 86), Color(36, 203, 185) }, 3532, { Color(218, 113, 90), Color(183, 65, 68) }, 4009, { Color(221, 67, 87), Color(255, 252, 217) }, 4011, { Color(224, 143, 91), Color(214, 170, 105) }, 4012, { Color(255, 236, 184), Color(242, 183, 236), Color(215, 137, 122), Color(242, 70, 88) }, 4013, { Color(216, 93, 61), Color(159, 48, 28) }, 4014, { Color(216, 93, 61), Color(205, 150, 71), Color(123, 72, 27) }, 4015, { Color(197, 136, 85), Color(143, 86, 59), Color(100, 156, 58), Color(216, 93, 61) }, 4016, { Color(241, 167, 70), Color(215, 121, 64) }, 4017, { Color(200, 133, 84), Color(141, 71, 19), Color(103, 54, 18) }, 4019, { Color(248, 234, 196), Color(121, 92, 18), Color(128, 151, 43) }, 4020, { Color(237, 243, 248), Color(255, 200, 82) }, 4021, { Color(255, 221, 119), Color(241, 167, 70), Color(215, 121, 64) }, 4022, { Color(255, 249, 181), Color(203, 179, 73), Color(216, 93, 61) }, 4023, { Color(189, 0, 107, 0.5), Color(123, 0, 57, 0.5) }, 4024, { Color(217, 134, 83), Color(179, 80, 54) }, 4025, { Color(229, 114, 63), Color(255, 184, 51), Color(197, 136, 85) }, 4026, { Color(245, 247, 250), Color(142, 96, 60), Color(204, 209, 219), Color(234, 85, 79) }, 4028, { Color(255, 250, 184), Color(217, 123, 0), Color(209, 146, 33) }, 4029, { Color(255, 250, 184), Color(167, 57, 68), Color(209, 146, 33), Color(220, 185, 152) }, 4030, { Color(247, 237, 127), Color(215, 187, 59), Color(174, 139, 43) }, 4031, { Color(255, 198, 134), Color(219, 109, 68), Color(160, 83, 63) }, 4032, { Color(228, 152, 107), Color(170, 81, 57), Color(128, 49, 49) }, 4033, { Color(190, 226, 65), Color(63, 69, 15), Color(173, 50, 37) }, 4034, { Color(255, 134, 86), Color(193, 57, 37), Color(186, 155, 130), Color(178, 206, 46) }, 4035, { Color(234, 244, 82), Color(255, 182, 121), Color(205, 89, 0), Color(240, 157, 81) }, 4036, { Color(223, 207, 74), Color(189, 158, 36), Color(226, 45, 38), Color(131, 9, 0) }, 4037, { Color(195, 109, 68), Color(162, 69, 59), Color(209, 194, 189) }, 4282, { Color(237, 169, 78), Color(211, 106, 62) }, 4283, { Color(242, 235, 172), Color(254, 247, 177), Color(255, 230, 122) }, 4284, { Color(59, 81, 114), Color(105, 62, 118), Color(35, 22, 57) }, 4285, { Color(231, 115, 68), Color(212, 42, 55), Color(168, 16, 37) }, 4286, { Color(185, 27, 68), Color(124, 17, 53) }, 4287, { Color(199, 163, 121), Color(250, 245, 218), Color(252, 250, 235) }, 4288, { Color(209, 44, 90), Color(83, 83, 83), Color(245, 245, 245), Color(250, 250, 250) }, 4289, { Color(59, 81, 114), Color(105, 62, 118), Color(35, 22, 57) }, 4290, { Color(247, 178, 52), Color(221, 60, 96), Color(225, 83, 115) }, 4291, { Color(254, 231, 67), Color(253, 239, 117) }, 4292, { Color(231, 121, 68), Color(216, 139, 33), Color(251, 220, 77) }, 4293, { Color(242, 153, 80), Color(248, 208, 52) }, 4294, { Color(253, 208, 17), Color(253, 239, 117) }, 4295, { Color(192, 47, 129), Color(247, 178, 52), Color(251, 220, 77) }, 4296, { Color(212, 42, 55), Color(250, 245, 218), Color(252, 250, 235) }, 4297, { Color(253, 239, 117), Color(254, 247, 177) }, 4403, { Color(255, 134, 86), Color(193, 57, 37), Color(242, 202, 174), Color(128, 151, 43) }, 4411, { Color(191, 157, 174), Color(222, 196, 197) }, 4625, { Color(255, 230, 122), Color(216, 69, 33), Color(128, 151, 43) }, 5092, { Color(247, 178, 52), Color(221, 60, 96), Color(225, 83, 115) }, 5093, { Color(197, 136, 85), Color(143, 86, 59), Color(100, 156, 58), Color(216, 93, 61), Color(255, 200, 40), Color(50, 160, 30) }, 5277, { Color(255, 204, 130), Color(238, 102, 70), Color(206, 47, 47) }, 5278, { Color(255, 204, 130), Color(215, 67, 51), Color(150, 30, 84) } })
Sets.DrinkParticleColors = SetFactory({}, { 28, { Color(164, 16, 47), Color(246, 34, 79), Color(255, 95, 129) }, 110, { Color(16, 45, 152), Color(11, 61, 245), Color(93, 127, 255) }, 126, { Color(9, 61, 191), Color(30, 84, 220), Color(51, 107, 249) }, 188, { Color(164, 16, 47), Color(246, 34, 79), Color(255, 95, 129) }, 189, { Color(16, 45, 152), Color(11, 61, 245), Color(93, 127, 255) }, 226, { Color(200, 25, 116), Color(229, 30, 202), Color(254, 149, 210) }, 227, { Color(200, 25, 116), Color(229, 30, 202), Color(254, 149, 210) }, 288, { Color(58, 48, 102), Color(90, 72, 168), Color(132, 116, 199) }, 289, { Color(174, 13, 97), Color(255, 156, 209), Color(255, 56, 162) }, 290, { Color(83, 137, 13), Color(100, 164, 16), Color(134, 230, 10) }, 291, { Color(13, 74, 137), Color(16, 89, 164), Color(10, 119, 230) }, 292, { Color(164, 159, 16), Color(230, 222, 10), Color(255, 252, 159) }, 293, { Color(137, 13, 86), Color(230, 10, 139), Color(255, 144, 210) }, 294, { Color(66, 13, 137), Color(103, 10, 230), Color(163, 95, 255) }, 295, { Color(13, 106, 137), Color(10, 176, 230), Color(146, 229, 255) }, 296, { Color(146, 102, 14), Color(225, 185, 22), Color(250, 213, 64) }, 297, { Color(9, 101, 110), Color(15, 164, 177), Color(34, 229, 246) }, 298, { Color(133, 137, 13), Color(222, 230, 10), Color(252, 254, 161) }, 299, { Color(92, 137, 13), Color(121, 184, 11), Color(189, 255, 73) }, 300, { Color(81, 60, 120), Color(127, 96, 184), Color(165, 142, 208) }, 301, { Color(112, 137, 13), Color(163, 202, 7), Color(204, 246, 34) }, 302, { Color(12, 63, 131), Color(16, 79, 164), Color(34, 124, 246) }, 303, { Color(164, 96, 16), Color(230, 129, 10), Color(255, 200, 134) }, 304, { Color(137, 63, 13), Color(197, 87, 13), Color(230, 98, 10) }, 305, { Color(69, 13, 131), Color(134, 34, 246), Color(170, 95, 255) }, 499, { Color(164, 16, 47), Color(246, 34, 79), Color(255, 95, 129) }, 500, { Color(16, 45, 152), Color(11, 61, 245), Color(93, 127, 255) }, 678, { Color(254, 0, 38), Color(199, 29, 15) }, 967, { Color(221, 226, 229), Color(180, 189, 194) }, 969, { Color(150, 99, 69), Color(219, 170, 132), Color(251, 244, 240) }, 1134, { Color(235, 144, 10), Color(254, 194, 20), Color(254, 246, 37) }, 1340, { Color(151, 79, 162), Color(185, 128, 193), Color(240, 185, 217) }, 1353, { Color(77, 227, 45), Color(218, 253, 9), Color(96, 248, 2) }, 1354, { Color(235, 36, 1), Color(255, 127, 39), Color(255, 203, 83) }, 1355, { Color(148, 126, 24), Color(233, 207, 137), Color(255, 249, 183) }, 1356, { Color(253, 152, 0), Color(254, 202, 80), Color(255, 251, 166) }, 1357, { Color(106, 107, 134), Color(118, 134, 207), Color(120, 200, 226) }, 1358, { Color(202, 0, 147), Color(255, 66, 222), Color(255, 170, 253) }, 1359, { Color(45, 174, 76), Color(112, 218, 138), Color(182, 236, 195) }, 1977, { Color(221, 0, 0), Color(146, 17, 17), Color(51, 21, 21) }, 1978, { Color(24, 92, 248), Color(97, 112, 169), Color(228, 228, 228) }, 1979, { Color(128, 128, 128), Color(151, 107, 75), Color(13, 101, 36), Color(28, 216, 94) }, 1980, { Color(122, 92, 10), Color(185, 164, 23), Color(241, 227, 75) }, 1981, { Color(255, 186, 0), Color(87, 20, 170) }, 1982, { Color(218, 183, 59), Color(59, 218, 85), Color(59, 149, 218), Color(218, 59, 59) }, 1983, { Color(208, 80, 80), Color(109, 106, 174), Color(143, 215, 29), Color(30, 150, 72) }, 1984, { Color(255, 9, 172), Color(219, 4, 121), Color(111, 218, 171), Color(72, 175, 130) }, 1985, { Color(176, 101, 239), Color(101, 238, 239), Color(221, 0, 0), Color(62, 235, 137) }, 1986, { Color(55, 246, 211), Color(20, 223, 168), Color(0, 181, 128) }, 1990, { Color(254, 254, 254), Color(214, 232, 240), Color(234, 242, 246) }, 2209, { Color(16, 45, 152), Color(11, 61, 245), Color(93, 127, 255) }, 2322, { Color(55, 92, 95), Color(84, 149, 154), Color(149, 196, 200) }, 2323, { Color(91, 8, 106), Color(184, 9, 131), Color(250, 64, 188) }, 2324, { Color(21, 40, 138), Color(102, 101, 201), Color(122, 147, 196) }, 2325, { Color(100, 67, 50), Color(141, 93, 68), Color(182, 126, 97) }, 2326, { Color(159, 224, 124), Color(92, 175, 46), Color(51, 95, 27) }, 2327, { Color(95, 194, 255), Color(12, 109, 167), Color(13, 76, 115) }, 2328, { Color(215, 241, 109), Color(150, 178, 31), Color(105, 124, 25) }, 2329, { Color(251, 105, 29), Color(220, 73, 4), Color(140, 33, 10) }, 2344, { Color(166, 166, 166), Color(255, 186, 0), Color(165, 58, 0) }, 2345, { Color(239, 17, 0), Color(209, 15, 0), Color(136, 9, 0) }, 2346, { Color(156, 157, 153), Color(99, 99, 99), Color(63, 62, 58) }, 2347, { Color(243, 11, 11), Color(255, 188, 55), Color(252, 136, 58) }, 2348, { Color(255, 227, 0), Color(255, 135, 0), Color(226, 56, 0) }, 2349, { Color(120, 36, 30), Color(216, 73, 63), Color(233, 125, 117) }, 2351, { Color(255, 95, 252), Color(147, 0, 240), Color(67, 0, 150) }, 2354, { Color(117, 233, 164), Color(40, 199, 103), Color(30, 120, 66) }, 2355, { Color(217, 254, 161), Color(69, 110, 9), Color(135, 219, 11) }, 2356, { Color(233, 175, 117), Color(199, 120, 40), Color(143, 89, 36) }, 2359, { Color(255, 51, 0), Color(248, 184, 0), Color(255, 215, 0) }, 2756, { Color(178, 236, 255), Color(92, 214, 255), Color(184, 96, 163), Color(255, 78, 178) }, 2863, { Color(97, 199, 224), Color(98, 152, 177), Color(26, 232, 249) }, 3001, { Color(104, 25, 103), Color(155, 32, 154), Color(190, 138, 223) }, 3259, { Color(40, 20, 66), Color(186, 68, 255), Color(26, 8, 49), Color(255, 122, 255) }, 3544, { Color(164, 16, 47), Color(246, 34, 79), Color(255, 95, 129) }, 353, { Color(205, 152, 2, 0.5), Color(240, 208, 88, 0.5), Color(251, 243, 215, 0.5) }, 1912, { Color(237, 159, 85), Color(255, 228, 133), Color(149, 97, 45) }, 2266, { Color(233, 233, 218, 0.3) }, 4018, { Color(214, 170, 105, 0.5), Color(180, 132, 73, 0.5) }, 4027, { Color(242, 183, 236), Color(245, 242, 193), Color(226, 133, 217), Color(242, 70, 88) }, 4477, { Color(161, 192, 220), Color(143, 154, 201) }, 4478, { Color(40, 60, 70), Color(26, 27, 36) }, 4479, { Color(224, 0, 152), Color(137, 13, 126) }, 4614, { Color(153, 62, 2), Color(208, 166, 59) }, 4615, { Color(164, 88, 178), Color(124, 64, 152) }, 4616, { Color(255, 245, 109), Color(235, 210, 89) }, 4617, { Color(245, 247, 250), Color(255, 250, 133) }, 4618, { Color(255, 175, 133), Color(237, 93, 85) }, 4619, { Color(247, 245, 224), Color(232, 214, 179) }, 4620, { Color(181, 215, 0), Color(255, 112, 4) }, 4621, { Color(242, 134, 81), Color(153, 2, 42) }, 4622, { Color(90, 62, 123), Color(59, 49, 104) }, 4623, { Color(255, 175, 152), Color(147, 255, 228), Color(231, 247, 150) }, 4624, { Color(155, 0, 67), Color(208, 124, 59) }, 5009, { Color(210, 130, 10), Color(255, 195, 20) }, 5041, { Color(221, 226, 229), Color(180, 189, 194) }, 5042, { Color(70, 43, 21), Color(142, 96, 60) }, 5275, { Color(70, 43, 21), Color(142, 96, 60) } })
-- the values are used as the argument of Terraria.ID.ItemID.BannerEffect.BannerEffect(float strength = 1)
Sets.BannerStrength = SetFactory(1, { 3838, 0.2, 3845, 0.2, 3837, 0.2, 3844, 0.2, 3843, 0.2, 3839, 0.2, 3840, 0.2, 3842, 0.2, 3841, 0.2, 3846, 0.2 })
-- nullable
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 })
Sets.LockOnAimCompensation = SetFactory(nil, { 1336, 1579, 2590, 0.4, 3821, 0.4, 160, 0.4 })

-- the data structure of FlowerPacketInfo see Terraria.DataStructures.FlowerPacketInfo
local function new_FlowerPacketInfo()
	return { stylesOnPurity={}, stylesOnCorruption={}, stylesOnCrimson={}, stylesOnHallow={} }
end
local objArray = {};
objArray[#objArray+1] = 4041;
local flowerPacketInfo = new_FlowerPacketInfo();
table.insert(flowerPacketInfo.stylesOnPurity, 9);
table.insert(flowerPacketInfo.stylesOnPurity, 16);
table.insert(flowerPacketInfo.stylesOnPurity, 20);
objArray[#objArray+1] = flowerPacketInfo;
objArray[#objArray+1] = 4042;
local flowerPacketInfo1 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo1.stylesOnPurity, 6);
table.insert(flowerPacketInfo1.stylesOnPurity, 30);
table.insert(flowerPacketInfo1.stylesOnPurity, 31);
table.insert(flowerPacketInfo1.stylesOnPurity, 32);
objArray[#objArray+1] = flowerPacketInfo1;
objArray[#objArray+1] = 4043;
local flowerPacketInfo2 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo2.stylesOnPurity, 7);
table.insert(flowerPacketInfo2.stylesOnPurity, 17);
table.insert(flowerPacketInfo2.stylesOnPurity, 33);
table.insert(flowerPacketInfo2.stylesOnPurity, 34);
table.insert(flowerPacketInfo2.stylesOnPurity, 35);
objArray[#objArray+1] = flowerPacketInfo2;
objArray[#objArray+1] = 4044;
local flowerPacketInfo3 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo3.stylesOnPurity, 19);
table.insert(flowerPacketInfo3.stylesOnPurity, 21);
table.insert(flowerPacketInfo3.stylesOnPurity, 22);
table.insert(flowerPacketInfo3.stylesOnPurity, 23);
table.insert(flowerPacketInfo3.stylesOnPurity, 39);
table.insert(flowerPacketInfo3.stylesOnPurity, 40);
table.insert(flowerPacketInfo3.stylesOnPurity, 41);
objArray[#objArray+1] = flowerPacketInfo3;
objArray[#objArray+1] = 4045;
local flowerPacketInfo4 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo4.stylesOnPurity, 10);
table.insert(flowerPacketInfo4.stylesOnPurity, 11);
table.insert(flowerPacketInfo4.stylesOnPurity, 13);
table.insert(flowerPacketInfo4.stylesOnPurity, 18);
table.insert(flowerPacketInfo4.stylesOnPurity, 24);
table.insert(flowerPacketInfo4.stylesOnPurity, 25);
table.insert(flowerPacketInfo4.stylesOnPurity, 26);
objArray[#objArray+1] = flowerPacketInfo4;
objArray[#objArray+1] = 4046;
local flowerPacketInfo5 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo5.stylesOnPurity, 12);
table.insert(flowerPacketInfo5.stylesOnPurity, 42);
table.insert(flowerPacketInfo5.stylesOnPurity, 43);
table.insert(flowerPacketInfo5.stylesOnPurity, 44);
objArray[#objArray+1] = flowerPacketInfo5;
objArray[#objArray+1] = 4047;
local flowerPacketInfo6 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo6.stylesOnPurity, 14);
table.insert(flowerPacketInfo6.stylesOnPurity, 15);
table.insert(flowerPacketInfo6.stylesOnPurity, 27);
table.insert(flowerPacketInfo6.stylesOnPurity, 28);
table.insert(flowerPacketInfo6.stylesOnPurity, 29);
table.insert(flowerPacketInfo6.stylesOnPurity, 36);
table.insert(flowerPacketInfo6.stylesOnPurity, 37);
table.insert(flowerPacketInfo6.stylesOnPurity, 38);
objArray[#objArray+1] = flowerPacketInfo6;
objArray[#objArray+1] = 4241;
local flowerPacketInfo7 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo7.stylesOnPurity, 6);
table.insert(flowerPacketInfo7.stylesOnPurity, 7);
table.insert(flowerPacketInfo7.stylesOnPurity, 9);
table.insert(flowerPacketInfo7.stylesOnPurity, 10);
table.insert(flowerPacketInfo7.stylesOnPurity, 11);
table.insert(flowerPacketInfo7.stylesOnPurity, 12);
table.insert(flowerPacketInfo7.stylesOnPurity, 13);
table.insert(flowerPacketInfo7.stylesOnPurity, 14);
table.insert(flowerPacketInfo7.stylesOnPurity, 15);
table.insert(flowerPacketInfo7.stylesOnPurity, 16);
table.insert(flowerPacketInfo7.stylesOnPurity, 17);
table.insert(flowerPacketInfo7.stylesOnPurity, 18);
table.insert(flowerPacketInfo7.stylesOnPurity, 19);
table.insert(flowerPacketInfo7.stylesOnPurity, 20);
table.insert(flowerPacketInfo7.stylesOnPurity, 21);
table.insert(flowerPacketInfo7.stylesOnPurity, 22);
table.insert(flowerPacketInfo7.stylesOnPurity, 23);
table.insert(flowerPacketInfo7.stylesOnPurity, 24);
table.insert(flowerPacketInfo7.stylesOnPurity, 25);
table.insert(flowerPacketInfo7.stylesOnPurity, 26);
table.insert(flowerPacketInfo7.stylesOnPurity, 27);
table.insert(flowerPacketInfo7.stylesOnPurity, 28);
table.insert(flowerPacketInfo7.stylesOnPurity, 29);
table.insert(flowerPacketInfo7.stylesOnPurity, 30);
table.insert(flowerPacketInfo7.stylesOnPurity, 31);
table.insert(flowerPacketInfo7.stylesOnPurity, 32);
table.insert(flowerPacketInfo7.stylesOnPurity, 33);
table.insert(flowerPacketInfo7.stylesOnPurity, 34);
table.insert(flowerPacketInfo7.stylesOnPurity, 35);
table.insert(flowerPacketInfo7.stylesOnPurity, 36);
table.insert(flowerPacketInfo7.stylesOnPurity, 37);
table.insert(flowerPacketInfo7.stylesOnPurity, 38);
table.insert(flowerPacketInfo7.stylesOnPurity, 39);
table.insert(flowerPacketInfo7.stylesOnPurity, 40);
table.insert(flowerPacketInfo7.stylesOnPurity, 41);
table.insert(flowerPacketInfo7.stylesOnPurity, 42);
table.insert(flowerPacketInfo7.stylesOnPurity, 43);
table.insert(flowerPacketInfo7.stylesOnPurity, 44);
objArray[#objArray+1] = flowerPacketInfo7;
objArray[#objArray+1] = 4048;
local flowerPacketInfo8 = new_FlowerPacketInfo();
table.insert(flowerPacketInfo8.stylesOnPurity, 0);
table.insert(flowerPacketInfo8.stylesOnPurity, 1);
table.insert(flowerPacketInfo8.stylesOnPurity, 2);
table.insert(flowerPacketInfo8.stylesOnPurity, 3);
table.insert(flowerPacketInfo8.stylesOnPurity, 4);
table.insert(flowerPacketInfo8.stylesOnPurity, 5);
objArray[#objArray+1] = flowerPacketInfo8;
Sets.flowerPacketInfo = SetFactory(nil, objArray);


--Sets.IsAMaterial = ItemID.Sets.Factory.CreateBoolSet(new int[0]);  --see {{recipes}}
--ItemID.Sets.IsCrafted = ItemID.Sets.Factory.CreateIntSet(new int[0]); --see {{recipes}}
--ItemID.Sets.ColorfulDyeValues = new bool[0]; -- all dyes not in NonColorfulDyeItems
--ItemID.Sets.StaffMinionSlotsRequired = ItemID.Sets.Factory.CreateIntSet(1, new int[0]); -- no use
--ItemID.Sets.IsCraftedCrimson = ItemID.Sets.Factory.CreateIntSet(new int[0]);
--ItemID.Sets.IsCraftedCorruption = ItemID.Sets.Factory.CreateIntSet(new int[0]);


-- dyes, from Terraria.Initializers.DyeInitializer
local function LoadBasicColorDyes(dyes) -- Terraria.Initializers.DyeInitializer.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
	return dyes
end
local function LoadArmorDyes(dyes) --Terraria.Initializers.DyeInitializer.LoadArmorDyes()
	dyes = LoadBasicColorDyes(dyes)
	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
	return dyes
end
Sets.dyes = LoadArmorDyes({ ['default'] = false })

-- hair dyes
Sets.hairDyes = { ['default'] = -1 }
-- from Terraria.Initializers.DyeInitializer.LoadHairDyes()
Sets.hairDyes[1977] = 1
Sets.hairDyes[1978] = 1
Sets.hairDyes[1979] = 1
Sets.hairDyes[1980] = 1
Sets.hairDyes[1981] = 1
Sets.hairDyes[1982] = 1
Sets.hairDyes[1983] = 1
Sets.hairDyes[1984] = 1
Sets.hairDyes[1985] = 1
Sets.hairDyes[1986] = 1
Sets.hairDyes[2863] = 1
Sets.hairDyes[3259] = 1
-- added:
Sets.hairDyes[1990] = 0 --Hair Dye Remover




return Sets