NPCs/es


 * Para una lista completa de los nombres de los NPC, véase Nombres de NPCs.

Un NPC (por sus siglas en inglés Non-Player Character, Personaje no jugador en español) es un personaje automatizado amistoso que le provee algunos servicios al jugador. Los jugadores pueden usar los NPCs situándose cerca de ellos y usando el botón en ellos. La mayoría de los NPCs son vendedores, vendiéndole objetos a los jugadores a cambio de monedas, y el jugador puede vender objetos para obtener monedas. La mayoría de los NPCs también tienen un método de ataque que usarán para defenderse contra enemigos cuando están cerca de ellos. Algunos NPCs también realizan otras funciones.

La mayoría de los NPCs son ciudadanos, quienes aparecen después de ciertas condiciones. Ellos se mudan a casas hechas por el jugador. Cuando algunos NPCs viven en grupos, los enemigos no aparecerán en la ciudad, excepto durante eventos como la Luna sangrienta. Los ciudadanos pueden pasear durante el día, y a veces se sentarán en sillas. Regresarán a sus casas al anochecer, y se quedaran allí hasta el día siguiente.

Los NPCs tienen puntos de vida limitados y pueden morir a causa de enemigos, trampas o lava. Su vida regenera lentamente, y si un ciudadano muere, reaparecerá en un corto período de tiempo si hay una casa disponible.

Actualmente hay 22 ciudadanos, 7 de los cuales sólo aparecen en el Modo Difícil. Hay 3 NPCs que no pueden mudarse a casas.

Housing
Town NPCs require a suitable, vacant House. A House is a confined room enclosed by a frame of blocks(4 high 10 long),and a table and chair. Certain types of furniture are required, as well as certain room dimensions (see House for details). Houses must not be located near Corruption or Crimson, and if those spread too close to an occupied House, the NPC living there may move out.

Town NPCs' home assignments can be re-arranged using NPC Flags from the Housing Menu, where you can also check whether a room is a suitable House.

The Guide and Old Man are unique in that they always spawn upon creating a world. The Guide will also move into the first House you build. If he dies, he will need a proper House to respawn. The Old Man does not move into a House, but always appears near the Dungeon's entrance, and respawns the following day if killed.

If a House occupied by an NPC is damaged in a way that makes it invalid, the NPC will move out and walk around the area until a suitable House is restored. If killed, the NPC will respawn again whenever a new House becomes available. A house submerged in water remains valid housing for an NPC.

Buying and Selling
Items can be bought simply by right-clicking an NPC and taking items from their inventory while their cost in coins is available in the player's inventory. Holding the right mouse button will allow the player to buy an item in bulk, so long as the item is stackable. The buy speed increases the longer the right-click button is held. Certain NPCs will sell Biome-specific items if their House is located within a specific biome.

All NPC vendors can also be used to sell your unwanted or surplus items to gain coins, simply by placing your unwanted item(s) in their inventory. Items are always sold to vendors at one-fifth their purchase price. Not all items have a sell value (very common items such as Dirt or Wood have no value). Hovering over your item while the NPC's inventory is open will show its sell value. Should you change your mind about a sale, sold items can be taken back in exchange for the amount you sold them for, as long you haven't yet closed the NPC's inventory screen. This does not hold true for returning bought items, which must be sold back at their standard sell rate of one-fifth the purchase price.

All NPC vendors buy and sell at the same price.

You can decrease prices of some items if you use a Discount Card, which is a rare drop from the Pirate Invasion.

Town NPCs
Listed in the order in which they are likely to be acquired.

Pre-Hardmode

 * *Sells additional items during Halloween,Christmas,and during the Blood Moon Event.

Hardmode

 * *Sells additional items during Halloween

Other NPCs
The following NPCs are not considered town NPCs because they do not move into houses.

History
PNJ