107 43, 560, 70, 1331, 1133, 5120, 1307, 267, 3828, 4988,
108 5334, 544, 557, 556, 1293, 2673, 4961, 3601
113 33, 35, 716, 221, 524, 1221, 525, 1220, 3549, 398,
114 1120, 1430, 1551, 345, 1791, 5008, 332, 352, 487, 995,
115 363, 2172, 2196, 2194, 2198, 2204, 998, 2197, 996, 4142,
116 2193, 2192, 2203, 2195
121 4095, 4596, 4597, 4595, 4598, 4592, 4593, 4591, 4594, 4092,
122 4093, 4039, 4094, 4588, 4589, 4587, 4590, 3989, 4242, 4243,
123 4244, 4245, 4246, 4247, 4248, 4249, 4250, 4251, 4252, 4253,
124 4254, 4255, 4040, 4086, 4085, 4088, 4084, 4083, 4087
148 if (item.type == 3620)
152 if (item.type == 327 || item.type == 329 || item.type == 1141 || item.type == 1533 || item.type == 1537 || item.type == 1536 || item.type == 1534 || item.type == 1535 || item.type == 3092 || item.type == 3091 || item.type == 4714)
157 if (item.type == 985 || item.type == 3079 || item.type == 3005 || item.type == 3080)
161 if (item.type == 781 || item.type == 783 || item.type == 780 || item.type == 782 || item.type == 784)
165 if (item.type == 282 || item.type == 3112 || item.type == 4776 || item.type == 3002 || item.type == 286)
167 if (item.type == 282)
173 if (item.type == 166 || item.type == 3115 || item.type == 235 || item.type == 167 || item.type == 3547 || item.type == 2896 || item.type == 3196 || item.type == 4908 || item.type == 4909 || item.type == 4827 || item.type == 4826 || item.type == 4825 || item.type == 4423 || item.type == 4824)
177 if (item.createTile == 376)
181 if (item.type == 1774 || item.type == 1869 || item.type == 4345 || item.type == 3093 || item.type == 4410)
189 if (item.type == 1115 || item.type == 1114 || item.type == 1110 || item.type == 1112 || item.type == 1108 || item.type == 1107 || item.type == 1116 || item.type == 1109 || item.type == 1111 || item.type == 1118 || item.type == 1117 || item.type == 1113 || item.type == 1119)
193 if (item.type == 3385 || item.type == 3386 || item.type == 3387 || item.type == 3388)
202 if (item.hairDye != -1)
212 else if (item.type == 72)
216 else if (item.type == 73)
220 else if (item.type == 74)
226 if (item.createWall > 0)
230 if (item.createTile == 82)
234 if (item.type == 315 || item.type == 313 || item.type == 316 || item.type == 318 || item.type == 314 || item.type == 2358 || item.type == 317)
238 if (item.createTile == 30 || item.createTile == 321 || item.createTile == 322 || item.createTile == 157 || item.createTile == 158 || item.createTile == 208 || item.createTile == 159 || item.createTile == 253 || item.createTile == 311 || item.createTile == 635)
240 if (item.createTile == 30)
244 else if (item.createTile == 311)
254 if (item.createTile >= 0)
256 if (item.type == 213)
261 if (item.tileWand >= 0)
265 if (item.createTile == 213 || item.createTile == 353 || item.createTile == 365 || item.createTile == 366 || item.createTile == 214)
277 if (item.createTile == 4)
279 if (item.placeStyle == 0)
289 if (item.createTile == 178)
293 else if (item.createTile == 239)
297 else if (item.type == 27 || item.type == 4857 || item.type == 4852 || item.type == 4856 || item.type == 4854 || item.type == 4855 || item.type == 4853 || item.type == 4851)
303 if (item.placeStyle == 0)
312 else if (item.createTile == 18)
314 if (item.placeStyle == 0)
323 else if (item.createTile == 16 || item.createTile == 134)
325 if (item.placeStyle == 0)
334 else if (item.createTile == 133 || item.createTile == 17)
336 if (item.placeStyle == 0)
345 else if (item.createTile == 10)
347 if (item.placeStyle == 0)
356 else if (item.createTile == 15)
358 if (item.placeStyle == 0)
367 else if (item.createTile == 497)
371 else if (item.createTile == 79)
373 if (item.placeStyle == 0)
382 else if (item.createTile == 14)
384 if (item.placeStyle == 0)
393 else if (item.createTile == 469)
397 else if (item.createTile == 21)
399 if (item.placeStyle == 0)
408 else if (item.createTile == 467)
412 else if (item.createTile == 441)
416 else if (item.createTile == 468)
438 else if (item.type == 3)
442 else if (item.type == 133)
446 else if (item.type == 424)
450 else if (item.type == 1103)
454 else if (item.type == 169)
458 else if (item.type == 170)
462 else if (item.type == 176)
466 else if (item.type == 276)
472 if (item.mountType != -1)
485 if (item.makeNPC > 0)
489 if (item.fishingPole > 1)
498 if ((item.type >= 2297 && item.type <= 2321) || item.type == 4402 || item.type == 4401 || item.type == 2290)
504 if (
num5 != -1 || item.PaintOrCoating)
519 if (item.type == 2756 || item.type == 2351 || item.type == 4870 || item.type == 2350 || item.type == 2997 || item.type == 2352 || item.type == 2353)
523 if (item.buffType != 0)
527 orderInGroup = -item.buffType * 10000000 - item.buffTime;
542 if (item.damage == -1)
547 if (item.headSlot >= 0)
557 if (item.bodySlot >= 0)
567 if (item.legSlot >= 0)
579 orderInGroup = item.vanity.ToInt() - item.expert.ToInt();
580 if (item.type >= 3293 && item.type <= 3308)
584 else if (item.type >= 3309 && item.type <= 3314)
610 if (item.healLife > 0)
612 if (item.type == 3544)
616 else if (item.type == 499)
620 else if (item.type == 188)
624 else if (item.type == 28)
634 if (item.healMana > 0)
639 if (item.ammo !=
AmmoID.
None && !item.notAmmo && item.type != 23 && item.type != 75)
649 if (item.type == 422 || item.type == 423 || item.type == 3477)
659 if (item.type == 4910 || item.type == 4829 || item.type == 4830)
663 else if (item.type == 66 || item.type == 2886 || item.type == 67)
667 else if (item.type >= 1874 && item.type <= 1905)
671 return ItemGroup.ConsumableThatDoesNotDamage;
694 if (item.useStyle > 0)
741 orderby GetBestiaryTownPriority(x.Value), !x.Value.isLikeATownNPC,
GetBestiaryNormalGoldCritterPriority(x.Value), !x.Value.CountsAsACritter,
GetBestiaryBossPriority(x.Value), x.Value.boss ||
NPCID.
Sets.
ShouldBeCountedAsBoss[x.Value.type],
GetLowestBiomeGroupIndex(x.Value,
database,
commonFilters), x.Value.aiStyle,
GetBestiaryPowerLevel(x.Value),
GetBestiaryStarsPriority(x.Value)
771 return npc.damage + npc.defense + npc.lifeMax / 4;
979 for (
int i = 498; i <= 506; i++)
1201 num += (float)npc.
rarity;
1206 else if (npc.
rarity == 2)
1210 else if (npc.
rarity == 3)
1214 else if (npc.
rarity == 4)
1218 else if (npc.
rarity == 5)
1230 int num2 = npc.damage + npc.defense + npc.lifeMax / 4;
1235 else if (
num2 > 5000)
1239 else if (
num2 > 1000)
1243 else if (
num2 > 500)
1247 else if (
num2 > 150)
static List< IBestiaryInfoElement > GetCommonInfoElementsForFilters()
static HairShaderDataSet Hair
static ArmorShaderDataSet Armor
static bool[] IsAFlaskBuff
static List< KeyValuePair< int, NPC > > GetSortedBestiaryEntriesList(BestiaryDatabase database)
static int GetBestiaryTownPriority(NPC npc)
static float GetBestiaryPowerLevel(NPC npc)
static int GetBestiaryBossPriority(NPC npc)
static int GetLowestBiomeGroupIndex(NPC npc, BestiaryDatabase database, List< IBestiaryInfoElement > commonElements)
static int GetBestiaryStarsPriority(NPC npc)
static bool ShouldHideBestiaryEntry(NPC npc)
static int GetBestiaryNormalGoldCritterPriority(NPC npc)
static void PrepareAfterEverythingElseLoaded()
static int ColorOnlyShaderIndex
static int TeamDyeShaderIndex
static void SetCreativeMenuOrder()
static List< int > _manualEventItemsOrder
@ ConsumableThatDoesNotDamage
static List< int > _manualBossSpawnItemsOrder
static bool ShouldRemoveFromList(Item item)
static List< int > _manualGolfItemsOrder
static List< int > _manualCraftingStations
static ItemGroup GetItemGroup(Item item, out int orderInGroup)
static int GetNPCBestiaryRarityStarsCount(NPC npc)
static Dictionary< int, string > NpcBestiaryCreditIdsByNpcNetIds
static void RebuildItemCreativeSortingIDsAfterRecipesAreSetUp()
static void ModifyNPCIds()
static void AddItemResearchOverride_Inner(int itemTypeToSacrifice, int itemTypeToUnlock)
static Dictionary< int, string > NpcPersistentIdsByNetIds
static void CreateCreativeItemSortingIds()
static void FixItemsAfterRecipesAreAdded()
static void RebuildBestiarySortingIDsByBestiaryDatabaseContents(BestiaryDatabase database)
static void CreateBestiarySortingIds(BestiaryDatabase database)
static Dictionary< string, int > NpcNetIdsByPersistentIds
static Dictionary< int, int > NpcBestiaryRarityStars
static Dictionary< int, Item > ItemsByType
static Dictionary< int, CreativeHelper.ItemGroupAndOrderInGroup > ItemCreativeSortingId
static Dictionary< int, NPC > NpcsByNetId
static Dictionary< int, string > ItemPersistentIdsByNetIds
static void FillResearchItemOverrides()
static Dictionary< int, int > CreativeResearchItemPersistentIdOverride
static Dictionary< int, Projectile > ProjectilesByType
static void AddItemResearchOverride(int itemTypeToUnlock, params int[] itemsThatWillResearchTheItemToUnlock)
static Dictionary< string, int > ItemNetIdsByPersistentIds
static Dictionary< int, int > NpcBestiarySortingId
static void FillNpcRarities()
static bool[] IsAMaterial
static List< int > ItemsThatAreProcessedAfterNormalContentSample
static int[] SortingPriorityPainting
static int[] SortingPriorityWiring
static readonly short Count
static readonly IdDictionary Search
static Dictionary< int, NPCBestiaryDrawModifiers > NPCBestiaryDrawOffset
static List< int > NormalGoldCritterBestiaryPriority
static List< int > TownNPCBestiaryPriority
static List< int > BossBestiaryPriority
static bool[] ShouldBeCountedAsBoss
static readonly short Count
static readonly IdDictionary Search
static readonly short Count
static bool[] tileSolidTop
static Dictionary< int, GameModeData > RegisteredGameModes
void SetDefaults(int Type)
ItemGroupAndOrderInGroup(Item item)