NPC

An NPC or Non-Player Character is an automated character that provides a service to players. Most NPCs are vendors, providing items in exchange for coins, and vice versa. Exceptions are the Guide, who provides information, the Nurse, who doesn't sell items, but instead provides health restoration in exchange for coins. A player can utilize NPCs by standing near them and right-clicking on them.

NPCs have randomly generated names as of 1.1.

400px

Conditions
For all but two of the 20 NPCs (excluding the Old Man and the Guide at the start of the map) to spawn you must build them a home, which consists of a light source, a flat surface item, a comfort item, as well as meeting one other unique requirement for each NPC, which are listed below (more information in the home page). This doesn't exclude the guide, who still requires the same to respawn. NPCs will not spawn if a Goblin Army is present, or if your house is on an area affected by corruption. NPCs will only spawn at daytime.