The sum of the F:Terraria.NPC.npcSlots of all town NPCs near this player. If F:Terraria.Player.townNPCs > 2f, then this player is in a town.
F:Terraria.Player.townNPCs > 2f
Definition at line 1570 of file Player.cs.