Town

From Terraria Wiki
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
BiomeBannerTown.png

A town is a player-created mini-biome which is created when three or more NPCs are in close proximity (including the Old Man, Traveling Merchant, and town pets, but excluding the Skeleton Merchant). Towns have the greatest effect on reducing the spawn of enemies[1], though the enemy spawn reduction effect is weaker in the Underworld, and will not have effect when some events are occurring. See effect of friendly town NPCs on spawn rates for details.

The Shadow Candle, when placed and activated or when held, prevents the creation of a town mini-biome, even if enough NPCs are present.

Contents

Notes

  • Only NPCs that are within a 240×135-tile rectangle centered on the player are considered inhabitants of the town.[2]
  • Despite a town having to include at least 3 NPCs, pylons only require two NPCs (including the Old Man and town pets, but excluding the Skeleton Merchant and the Traveling Merchant) to function.

Gallery

History

  • Desktop 1.4.4: Overall spawn rate of Jungle critters in Jungle towns reduced.

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, method SpawnNPC() in Terraria.NPC.cs.
  2. Information taken from the Desktop version Desktop 1.4.4.9 source code, method AddIntoPlayersTownNPCSlots() in Terraria.NPC.cs.