An NPC is a friendly automated Non Player Character that provides a service to players.
Players can utilize NPCs by standing near them and using the ⚷ Open / Activate button on them. Most NPCs are vendors, selling items to players in exchange for coins, and can be sold items by a player in order to obtain coins. Some NPCs also perform other functions.
Most NPCs are "Town" NPCs, appearing after various milestones are achieved in game advancement (details below). They move into structures the player must generally build, known as houses, which are generally required for Town NPCs to remain available. Each NPC will need its own house.
Town NPCs that have moved into houses reduce enemy spawn rates in the area, an effect that increases the more of them are present. With four or more Town NPCs in close proximity, enemies generally stop spawning on or near the visible screen altogether. Players tend to utilize this effect by building large structures ("Towns" or "Bases") with several integrated houses, to serve as their safe haven. These reductions are usually overridden by Events like Blood Moons or Goblin Invasions, during which spawn rates return to normal, or are elevated, and enemies will once again attack players and NPCs in the area.
Town NPCs generally walk around during the day. They remain still in their assigned houses at night. NPCs have limited health and can take damage, and ultimately die from enemies, Traps, Lava, or by drowning in Water ( ); though they cannot be attacked directly by players (outside of special Voodoo Doll accessories or Rotten Eggs). They do not suffer from fall damage and their health regenerates over time. If killed, they will also respawn after a delay, as long as a suitable vacant house is still available.
Occasionally, NPCs sit in Chairs. They also randomly "talk" to each other, or to the player (shown as mouth movement and speech bubbles). Most NPCs also have an attack method, which they will use to defend themselves against enemies in the vicinity.
There are currently 23 / 22 / 21 / 19 Town NPCs, 7 / 6 of whom normally appear in Hardmode. An additional 3 / 2 / 1 NPCs can be encountered that don't move into houses.
Housing[edit | edit source]
Each Town NPC requires a suitable, vacant house. A house is a room enclosed by a frame of blocks, with user-placed background walls, along with a valid light source, flat surface item, and comfort item (see House § Furniture). Certain room dimensions are also required (see House for full details). Houses must not be located near Corruption or Crimson, and if those biomes spread too close to an occupied house, the NPC living there may move out from that house.
- On the Mobile version, there is no housing menu, however you can always see the banners, unlike the Desktop version, Console version, and . version
The Guide and Old Man are unique in that they always spawn upon creating a world. The Guide will usually move into the first house built. The Old Man does not move into a house, but rather remains near the Dungeon's entrance, and respawns the following day if killed (while Skeletron hasn't yet been defeated).
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 there are vacant houses available in the world, the NPC may move into one of them.
Buying and selling[edit | edit source]
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. (Or, on the Desktop version and Console version, when the required number of coins is in the players savings.) Holding the right mouse button on stackable items allows the player to buy the item in bulk. The buy speed increases the longer the right-click button is held.
All NPC vendors can also be used to sell unwanted or surplus items to gain coins. The unwanted item(s) must be in the player's inventory. Hovering over the item while the NPC's inventory screen is open will display its sell value. 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). To sell the item, move it into the NPC's inventory.
Sales to NPCs can be canceled while the NPC's inventory screen is still open: Sold items can be taken back in exchange for the amount they were sold for. 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.
Town NPCs[edit | edit source]
Listed in the order in which they are generally likely to be acquired.
Pre-Hardmode[edit | edit source]
|NPC||Acquired When||Description||Drops||Defending Weapon|
|Starting a new world.||Provides tips, a general guide on how to get other NPCs. guide on crafting recipes.||
(100%, only when named Andrew / always)
Wooden Bow (with Wooden Arrows)
Wooden Bow (with Flaming Arrows)
|All players combined have more than 50 in their inventories.||Sells basic tools and supplies.||n/a||Throwing Knife|
|A player has more than 100 health.||Heals players and cancels debuffs in exchange for coins.||n/a||Syringes|
(Thrown, targets NPCs and players, Heals)
|A player has an explosive in their inventory.||Sells explosive items.||n/a||Grenades|
|A player acquires a Dye item, or any item used to craft Dye, in addition to either defeating a pre-Hardmode boss or acquiring one Strange Plant .||Sells the Dye Vat crafting station.
provides reward dyes in exchange for rare plants.
|A Boss is defeated other than King Slime, Lepus or the Wall of Flesh.||Sells nature/Corruption/Crimson items, and can report the percentage of Corruption/Crimson and Hallow in the world.||n/a||Dryad's Blessing |
(Area Effect, Buffs Players & Harms Enemies)
|Eater of Worlds or Brain of Cthulhu is defeated, and he is found and spoken to.||Sells items that summon and help fight the Old One's Army. Most cost Defender Medals, except for Eternia Crystals, the Eternia Crystal Stand, and Ale, which costs ordinary coins.||
|A player has bullets, or a gun that shoots bullets, in their inventory.||Sells guns, bullets, and other ammunition.||n/a||Pre-Hardmode:|
|Found and spoken to in a Spider Nest.||Can change the player's hair style, and sells Hair Dyes.||
|After 7 / 4 other town NPCs are acquired including the guide.||Sells paints, painting tools, and Paintings.||
|Found and spoken to in an Ocean Biome.||Gives Fishing quests and rewards players for completing them.||n/a||Frost Daggerfish|
|Found and spoken to in the cavern layer, after defeating a Goblin Invasion.||Sells items such as the Tinkerer's Workshop, and can reforge items.||n/a||Spiky Balls|
|Queen Bee is defeated.||Sells the Blowgun, the Imbuing Station, summoner equipment and Fountains.||n/a||Blowgun|
|Skeletron is defeated.||Sells some Vanity items, including the Familiar set.||
|Book of Skulls|
(Magic, Shadowflame version)
|Found and spoken to in the Dungeon.||Sells the Wrench, Wire, and other Mechanism-related items, in addition to the Mechanic's Rod under certain conditions.||n/a||Wrench|
|Chance of spawning after acquiring 13 / 8 town NPCs.||Sells items that create colorful visual effects. If killed, she does not always respawn the following day as other NPCs do, rather starting over with a random chance of re-spawning each dawn.||
(30-60, 25% chance)
|NPC||Acquired When||Description||Drops||Defending Weapon|
|Found and spoken to in the Cavern layer in Hardmode.||Sells magical items.||n/a||Flower of Fire|
(Magic, inflicts On Fire!)
|A Tortured Soul is transformed with Purification Powder in the Underworld.||Collects property taxes from other NPCs. Earns 50 per NPC present, collectible by the player.||
|A house is built in an above-ground Mushroom Biome during Hardmode.||Sells the Autohammer, Mushroom Spear, and other mushroom-themed items.||n/a||Mushroom Spore|
(Magic, stationary until touched)
|A Pirate Invasion is defeated.||Sells the Cannon and other Pirate-related items.||n/a||Gun and Cannon|
|Once a Mechanical Boss is defeated.||Sells the Clentaminator, Teleporter, Jetpack, and other items.||n/a||Clockwork Assault Rifle|
|Plantera is defeated.||Sells the Proximity Mine Launcher, Rockets and Nanites.||n/a||Rocket|
|The Frost Legion is defeated, appearing only from December 15–31.||Sells the Santa costume, colored lights, Christmas trees and their decorations.||n/a||Bauble|
Other NPCs[edit | edit source]
The following NPCs are not considered town NPCs because they do not move into houses.
|NPC||Acquired When||Description||Drops||Defending Weapon|
|22.12% spawn chance during morning hours (04:30-12:00 in-game time) once two other NPCs are present.||Stays until the evening, sells a random selection of unique items each day.||
|Starting a new world.||Found at the entrance to the Dungeon. Summons Skeletron, but only at night. Once Skeletron is defeated, the Old Man moves into town as the Clothier.||n/a||n/a|
|Found randomly in the Caverns||Sells Counterweights, Spelunker Glowsticks, Magic Lanterns, the Yoyo Glove and some other items based on the lunar cycle. Some items such as the Slap Hand can only be obtained from him.||n/a||Bone|
Unspawnable NPCs[edit | edit source]
|Chinese New Year||Has only 1 quote (which is used by the Merchant). Has a "help" button similar to the Guide's, but pressing it will sometimes crash the game.|
Notes[edit | edit source]
- All NPCs have an attack damage stat of 10.
- NPCs will not spawn during an active Event or at night.
- An NPC takes about 2 minutes to spawn after another NPC has spawned or dawn passes.
- If valid housing is offscreen during spawning, the NPC will spawn directly into its house.
- NPCs will teleport home during the night if the NPC and their home are off-screen.
- Unlike chests and structures generated on world creation, bound NPCs spawn around the player's position on-the-fly, similar to enemy spawns. They are temporary, and can respawn elsewhere if missed (see NPC spawning).
- NPCs who have an inventory requirement to spawn (Merchant, Demolitionist, Arms Dealer, Dye Trader) still need to have the respective requirement fulfilled again in order to respawn after they die.
- NPCs are known to "visit" other NPCs, talk, and play three rounds of rock, paper, scissors.
- NPCs can drown in water 2 tiles deep, whereas players require 3 tiles of water depth in order to drown.
- NPC vendors who have biome requirements to sell certain items need to be present in that biome in order to fulfill the requirement. It is not sufficient to have their home located in the specific biome.
- As the Mobile version currently has no housing interface, it is not possible to assign NPCs to certain houses, except through making any other possible houses (besides the desired one) not suitable for housing.
Tips[edit | edit source]
- Each time the Traveling Merchant spawns, he will have a random shop inventory. If the player leaves the world during 4:30-12:00 in-game time, and enters again, there is a 22% chance he will re-spawn (with a new shop inventory).
- Bound NPCs found underground can be freed by talking to them, after which they will always respawn whenever a vacant house is available. Having an empty room ready for them beforehand will cause them to move in as soon as they are off-screen.
- Bound NPCs can be found by listening to their "hurt" sounds, especially the Mechanic, as the Dungeon is teeming with enemies.
- A Housing area can be created where all the NPCs can have their biome-specific items: 300 Pink Ice Block, 100 mushroom grass, and 80 Lihzahrd brick in one screen where the houses are located.
- Drowning an NPC in water is an easy way to get NPC drops (safer than lava, and quicker than Rotten Eggs).
Emotes[edit | edit source]
- Although it may seem to be random, NPCs "emote" about things depending on their environment.
Type Condition Emote Combat (Only if NPC speaking is near an enemy) Weather When cloudy: When raining: When nighttime and raining: In a Snowstorm: When sunny: In the Hallow: Events During a Party: During a Blood Moon or rarely at night: During a Solar Eclipse or rarely in Hardmode: If a Shadow Orb has been smashed or a Meteorite has fallen: While Pumpkin Moon event is active or it is night and Pumpking or Mourning Wood has been defeated: While Frost Moon event is active or it is night and a Ice Queen or Santa-NK1 has been defeated: During an Old One's Army event or after it has been defeated once: Debuffs If the player is On Fire!, has a Cursed Flames, is in the Underworld, or the NPC being spoken to is on fire: n/a If the player is Poisoned, the NPC being spoken to is poisoned, or the player is in the Jungle: If the player currently does not have the Whoopie Cushion selected in their hotbar: Items n/a n/a n/a n/a n/a n/a Player is below half health: NPCs (Only if NPC is alive in the world) Biomes If the player is near Space: If the player is Underground: If the player is in the Underworld: If the player is in the Hallow: If the player is in the Corruption: If the player is in the Crimson: If the player is in the Jungle: If the player is in a Snow biome: If the player is at an Ocean: If the player is in the Desert: If the player is in a Forest: Critters/Enemies If it is daytime: If the sun has not risen (includes some areas of sunrise/sunset): If the Goblin Army has been defeated: If the Frost Legion has been defeated: If a Pirate Invasion has been defeated: If the Martian Madness event has been defeated: If the world generated with Crimson: If the NPC is Underground Emotions n/a More common during night or a Blood Moon Bosses More common if only up to Eye of Cthulhu has been defeated, less common if future bosses have been defeated:
More common if only up to Eater of Worlds or Brain of Cthulhu has been defeated, less common if future bosses have been defeated: More common if only up to Wall of Flesh has been defeated, less common if future bosses have been defeated: More common if only up to one Mechanical Boss has been defeated, less common if future bosses have been defeated:
(if not defeated):
(if not defeated):
(if not defeated):
More common if only up to Plantera has been defeated, less common if future bosses have been defeated: More common if only up to Golem has been defeated, less common if future bosses have been defeated: More common if only up to the Lunatic Cultist has been defeated, less common if future bosses have been defeated: If the Pirate Invasion has been defeated and the world is in Expert mode: If the Martian Invasion has been defeated: If an Ice Queen has been defeated: If an Everscream has been defeated: If a Santa-NK1 has been defeated: If a Pumpking has been defeated: If a Mourning Wood has been defeated: Specific NPC Behavior Used more often by Merchant: Used more often by Nurse: More common when the Arms Dealer is talking to the Guide: Used more often by the Arms Dealer: Used more often by Dryad: (if alive): Used more often by Guide if night: Used more often by Guide if not a Blood Moon: More common when the Guide is talking to the Arms Dealer: Used more often by Old Man: Used more often by Demolitionist: Used even more often by Demolitionist during a blood moon: Used more often by Clothier during a blood moon: Used more often by Clothier when not during a blood moon: (if alive): Used more often by Goblin Tinkerer when not speaking to Mechanic: More common when the Goblin Tinkerer is talking to Mechanic:
Used more often by Wizard: Used more often by Mechanic:
More common when the Mechanic is talking to Goblin Tinkerer:
Used more often by Santa Claus: Used more often by Truffle: Used more often by Steampunker: Used more often by Dye Trader: Used more often by Party Girl: Used more often by Cyborg: Used more often by Painter: Used more often by Witch Doctor: Used more often by Pirate: Used more often by Stylist:
Used more often by Travelling Merchant: Used more often by Angler if not a Blood Moon: Used more often by Angler if not Underground: Used more often by Skeleton Merchant: Used more often by Tax Collector: Rock-Paper-Scissors
Achievements[edit | edit source]
Trivia[edit | edit source]
- During a Blood Moon, most female NPCs use more irritable or aggressive dialogue than normal.
- The Mechanic is only one block wide while bound, whereas she is two blocks wide once talked to. This can be used to force her into a one block wide space. You can also find her on a 2 block space.
- The Cake emote strongly resembles the Slice of Cake unimplemented item.
- There are two unused emotes in the game code: Beer and Defender Medal.
- NPCs house the most references of any subject in Terraria.
- "NPC" is an abbreviation for "Non-Playable Character" as well.
References[edit | edit source]
- In video game development lingo, the term "NPC" technically includes any character not controlled by a player, including enemies. However, Terraria, along with its developers and fan community, generally use the term "NPC" to refer only to friendly automated characters that provide a service to players. This page is therefore only about those friendly NPCs.
History[edit | edit source]
- Desktop 1.3.5: NPCs who are manually assigned to a room will have their successor attempt to move in when the original is killed.
- Desktop 1.3.2:
- Party event added.
- NPCs now try to avoid falling into cliffs away from their home area.
- Desktop 18.104.22.168:
- 2 new NPCs added: Skeleton Merchant and Tax Collector.
- Improved the sprites of some NPCs.
- NPCs now avoid enemies and fight back if necessary.
- NPCs now talk to each other, sit in chairs, and avoid blocking chests.
- Having all possible NPCs living in your world now unlocks the Real Estate Agent achievement.
- Changed the spawn order for Town NPCs so that the more important ones spawn first.
- NPCs can now drown in water.
- Desktop 1.2.4:
- Added the Angler NPC.
- Fixed bugs with the sign / NPC chat display again.
- Fixed exploit where you could buy and sell stackable items for profit.
- Desktop 22.214.171.124: Fixed problems with rescued NPCs not having any names.
- Desktop 1.2.3:
- 2 new NPCs added: Stylist and Traveling Merchant.
- Names are now decided on spawn rather than World Creation.
- Fixed a bug where numerous NPCs could spawn if you beat a hardmode boss in a non-hardmode world.
- Invasions can now spawn enemies anywhere near friendly NPCs instead of just the middle of the world.
- Enemy attacks no longer trigger Spectre set healing from hitting friendly NPCs.
- Desktop 126.96.36.199: Added some checks to ensure multiple NPCs of the same type don’t spawn.
- Desktop 1.2.1: Several friendly NPCs will sell costumes.
- Desktop 188.8.131.52:
- Desktop 1.2:
- Desktop 1.1:
- 3 new NPCs added: Goblin Tinkerer, Mechanic and Wizard.
- NPCs now have random names given to them on World Creation. Their deaths will be reported with these names. Also other NPCs will use them in their quotes. Upon respawning after Death will be given a new random name.
- NPCs now may be told where to live using the new Housing Menu feature.
- Two NPCs of the same type can no longer spawn, even in a multiplayer world. (Previously that was two additional merchants and second nurse. They had multiplayer conditions.)
- Desktop 184.108.40.206: NPCs now look at the character.
- Desktop 1.0.6:
- Shops now sell items back to you. Shift-clicking items will automatically sell them.
- New sound for initiating a conversation to an NPC.
- Desktop 1.0.4: Added an option that will pause the game while talking to an NPC in single player. It defaults to off.
- Desktop-Release: Introduced.
- Console-Release: Introduced.
- Mobile-Release: Introduced.
- 3DS-Release: Introduced.