Town

A town is a player-created mini-biome where three or more NPCs are present (including the Old Man, Traveling Merchant, and town pets). Towns reduce the spawn rate of enemies, and towns with three or more inhabitants have unique music tracks for both day and night.
When a vendor NPC has a price modifier of 85% or more (see NPC happiness), they will sell the biome-specific pylon. These pylons only require two NPCs (including the Old Man and town pets) to function.
== Contents ==
== Notes ==
* Only NPCs that are within a 240×135-tile rectangle centered on the player are considered inhabitants of the town. If there are fewer than two NPCs in this rectangle, the area is not considered a town.
* Due to NPCs being present while in a town, critters have increased spawn rates.
* Even if a town created in the Underworld has 3 or more NPCs, its enemies will still spawn, but the spawn rates are slightly reduced.
== Gallery ==
File:Jungle Town.png|A town in the Jungle with 3 NPCs living in it: the Witch Doctor, the Dryad, and the Painter.
== History ==
== References ==