Definition at line 22448 of file Player.cs.
22449 {
22450 int num = Item.buyPrice(0, 0, 0, 50);
22451 int num2 = Item.buyPrice(0, 25);
22452 if (Main.tenthAnniversaryWorld)
22453 {
22456 }
22458 {
22459 return;
22460 }
22462 for (int i = 0; i < 200; i++)
22463 {
22464 if (Main.npc[i].active && !Main.npc[i].homeless && !
NPCID.
Sets.
IsTownPet[Main.npc[i].type] &&
NPC.TypeToDefaultHeadIndex(Main.npc[i].type) > 0)
22465 {
22467 }
22468 }
22471 {
22473 }
22474 }
static bool[] IsTownPet
If true for a given NPC type (F:Terraria.NPC.type), then that NPC is categorized as a town pet....
References Terraria.Item.buyPrice(), Terraria.ID.NPCID.Sets.IsTownPet, Terraria.Main.npc, Terraria.NPC.taxCollector, Terraria.Player.taxMoney, Terraria.Main.tenthAnniversaryWorld, and Terraria.NPC.TypeToDefaultHeadIndex().