NPCs
Type | |
---|---|
Damage | Varies (Desktop, Console and Mobile versions) |
Max Life | 250 |
Defense | Varies (Desktop, Console and Mobile versions) 15 (Old-gen console and 3DS versions) |
KB Resist | 50% |
Immune to | ![]() |
Purchase & Sell items | |
---|---|
Open chat menu |
NPCs are friendly automated non-player characters that provide services to players.[1]
Standing near an NPC and pressing the ⚷ Open / Activate button on them will open a dialogue window with one or more options for the player to select. Most NPCs are vendors, displaying a shop inventory when the "Shop" option is selected. They sell items to players in exchange for coins, and can be sold items by a player to obtain coins. Some NPCs also have other options that perform other functions.
Most NPCs are town NPCs, appearing after various milestones are achieved in game advancement. They move into structures the player must provide, known as houses, which are generally required for town NPCs to remain available. Each NPC will need their own house.
NPCs can reduce enemy spawn rates in the area, the effectiveness of which will increase as more NPCs are present, capped at 3 NPCs.[2] However, this enemy spawn reduction effect will be weaker in the Underworld, and is negated in some circumstances (see Town § Notes for details). Players tend to utilize this effect by building large structures (e.g. bases) with several integrated houses, to serve as their safe area.
Town NPCs generally walk around during the day. They remain still in their assigned houses at night and during certain events. NPCs have limited health and can take damage, and ultimately die from enemies, traps, lava, or (Desktop, Console and Mobile versions) by drowning in water; however, they cannot be attacked directly by players (outside of special Voodoo Doll accessories, Rotten Eggs, or the Flymeal(Desktop, Console and Mobile versions)). They do not suffer from fall damage and their health regenerates over time. The Nurse can furthermore heal herself and other nearby NPCs. Additionally:
- (Desktop, Console and Mobile versions) Town NPCs will attack nearby enemies, each NPC having their own unique form of attack. They will not actively pursue combat, however, but rather attack in an act of self-defense.
- (Desktop, Console and Mobile versions) Town NPCs gain defense and damage boosts based on which bosses have been defeated in the current world.
- (Desktop, Console and Mobile versions) Occasionally, NPCs sit in chairs and randomly "talk" to other NPCs or the player (shown as mouth movement and speech bubbles).
If an NPC is killed, they will respawn after a delay, as long as a suitable vacant house is still available. (Old-gen console and 3DS versions) If the NPC has an inventory or population requirement for their initial spawn (e.g. the 50 SC requirement for the Merchant), that has to be met again for the respawn. However, a rescued NPC will stay rescued, and respawn without needing to be found again.
There are currently (Desktop, Console and Mobile versions) 26 / (Old-gen console version) 21 / 19 Town NPCs, (Desktop, Console and Mobile versions) 8 / (Old-gen console and 3DS versions) 6 of whom normally appear in Hardmode. An additional (Desktop, Console and Mobile versions) 3 / (Old-gen console version) 2 /
1 NPC(s) can be encountered that do not move into houses.
Housing
Each town NPC requires a suitable, vacant house. A house is a room of a certain size enclosed by a frame of blocks, with player-placed background walls, along with a valid light source, flat surface item, and comfort item. Two town NPCs cannot live in the same house at the same time. 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.
Town NPC home assignments can be rearranged using NPC flags from the housing menu, where players can also check whether a room is a suitable house.
If both a town NPC and their house is offscreen, they will teleport to their house during night, rain, Solar Eclipse, or Slime Rain(Desktop, Console and Mobile versions). The Old Man(Desktop, Console and Mobile versions) / all NPCs(Old-gen console and 3DS versions) will also teleport to their house if they are standing on Dungeon Bricks, regardless of time. The Old Man will consider the Dungeon point (the spawn point of the Old Man, i.e. the left of the two tiles on which he stands during night) as his home.[3][4]
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. If the NPC gets killed and does not have a home, they will not respawn until a new house becomes available.
Buying and selling
Selecting the "Shop" option from the dialogue window, opened by pressing the ⚷ Open / Activate button on a vendor NPC, will display a shop inventory similar to the player's own inventory. Items can be bought by moving them from the shop inventory into the player's inventory; the cost in coins will be subtracted from the player's storage as soon as the item is picked up from the shop inventory. An item can only be bought if their coin cost is available in the player's inventory ((Desktop, Console and Mobile versions) or in the combined player's savings). Holding the ⚷ Open / Activate button on stackable items allows the player to buy the item in bulk; the buy speed increases the longer the button is held.
Some NPCs sell biome-specific items when they are spoken to in certain biomes. They can be transported there by housing them there and waiting for the night (they will be teleported to their house at night once off-screen) or by using a King or Queen Statue. Note that the NPC does not need to live in the biome; talking to them while the player is in the biome is sufficient.
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 1/5 of their purchase price. Not all items have a sell value (very common items such as Dirt or Wood have no value). Placing the item in the NPC's shop inventory will sell it, granting the player the sell value into their inventory. Sales to ((Desktop, Console and Mobile versions) and purchases from) NPCs can be cancelled while the NPC's inventory screen is still open: Sold items can be taken back in exchange for the amount they were sold for (and on Desktop,
Console, and
Mobile, purchased items can be sold back in exchange for the amount they were purchased for).
All NPC vendors have the same base buying and selling price. Item prices can be decreased by equipping a Discount Card, which is a rare drop from Pirate Invasions. On Desktop,
Console, and
Mobile, prices can also be higher or lower based on the NPC's happiness level.
All NPC vendors will sell pylons(Desktop, Console and Mobile versions) when their happiness level is above a certain threshold.
Town NPCs
The NPCs are listed in the order in which they are generally likely to be acquired. See Living preferences below for Desktop,
Console, and
Mobile biome and neighbor preferences. The term "other town NPCs" always includes the Old Man, Traveling Merchant, and town pets(Desktop, Console and Mobile versions), but not the Skeleton Merchant(Desktop, Console and Mobile versions).
Pre-Hardmode
NPC | Description | Spawn requirement | Defending weapon ((Desktop, Console and Mobile versions)) | Drops upon death | |
---|---|---|---|---|---|
![]() |
Guide | Provides tips and a general guide on how to acquire other NPCs. (Desktop, Console and Mobile versions) Provides recipes that include an item that is shown to him. |
Always already present when starting a new world. | ![]() (with Wooden Arrows / HM: Flaming Arrows) |
![]() 100%; ![]() ![]() ![]() ![]() |
![]() |
Merchant | Sells basic tools and supplies. | All players combined have more than 50 SC in their inventories. Replaces the Guide as the starting NPC when starting a new Not the bees(Desktop, Console and Mobile versions) world. |
![]() |
n/a |
![]() |
Nurse | Heals players and cancels debuffs in exchange for coins. | A player has more than 100 health and the Merchant is present. | ![]() ![]() (Ranged attack; inflicts Poisoned to enemies; can also target and heal NPCs) |
n/a |
![]() |
Demolitionist | Sells explosives. | A player has an explosive in their inventory and the Merchant is present. Replaces the Guide as the starting NPC when starting a new For the worthy(Desktop, Console and Mobile versions) world. |
![]() |
n/a |
![]() |
Dye Trader(Desktop, Console, Old-gen console and Mobile versions) | Sells the Dye Vat crafting station. (Desktop, Console and Mobile versions) Provides rare dyes in exchange for Strange Plants. |
A player has a dye item or any item used to craft dye in their inventory, (Desktop, Console and Mobile versions) in addition to certain other conditions. | ![]() |
![]() 1/8 (12.5%) |
![]() |
Angler | Gives fishing quests and rewards players for completing them. | Found and spoken to in an Ocean biome (or an underground Forest in a Don't dig up and Get fixed boi seed). | ![]() |
n/a |
![]() |
Zoologist(Desktop, Console and Mobile versions) | Sells vanity, mount, pet, and critter-themed items. | At least 10% of the Bestiary (54 entries) has been filled. | ![]() ![]() (Melee attack) |
n/a |
![]() |
Dryad | Sells nature/Corruption/Crimson items, and can report the percentage of Corruption/Crimson and Hallow in the world. | The Eye of Cthulhu, Eater of Worlds/Brain of Cthulhu, or Skeletron has been defeated. | ![]() (Area of effect; gives Dryad's Blessing to players and Dryad's Bane to enemies) |
n/a |
![]() |
Painter | Sells paint, painting tools, and paintings. | (Desktop, Console and Mobile versions) 8 / (Old-gen console and 3DS versions) 4 other town NPCs are in the world. | ![]() |
![]() 1/10 (10%) ![]() 100%; only when named Jim |
![]() |
Golfer(Desktop, Console and Mobile versions) | Sells Golf Clubs, Balls, and other golfing items. | Found and spoken to in the Underground Desert. | ![]() (Ranged attack) |
n/a |
![]() |
Arms Dealer | Sells guns, bullets, and other ammunition. | A player has bullets or a gun that shoots bullets in their inventory. | ![]() HM: ![]() |
n/a |
![]() |
Tavernkeep(Desktop, Console and Mobile versions) | Sells items that summon and help with fighting the Old One's Army, most of them only in exchange for Defender Medals. | Found and spoken to after the Eater of Worlds or Brain of Cthulhu has been defeated. | ![]() (Ranged area of effect attack) |
![]() 1/8 (12.5%) |
![]() |
Stylist(Desktop, Console, Old-gen console and Mobile versions) | Can change the player's hairstyle and sells Hair Dyes. | Found and spoken to in a Spider Nest. | ![]() |
![]() 1/8 (12.5%) |
![]() |
Goblin Tinkerer | Sells items such as the Tinkerer's Workshop, and can reforge items. | Found and spoken to in the Cavern layer, after a Goblin Invasion has been defeated. | ![]() |
n/a |
![]() |
Witch Doctor | Sells the Blowgun, the Imbuing Station, summoner equipment, Fountains, and Leaf Wings. | The Queen Bee has been defeated. | ![]() (With Poison Darts; inflicts Poisoned) |
n/a |
![]() |
Clothier | Sells some vanity items, including the Familiar set. | Skeletron has been defeated. | ![]() (Ranged attack; inflicts Shadowflame) |
![]() 100% |
![]() |
Mechanic | Sells the Wrench, Wire, and other mechanism-related items. | Found and spoken to in the Dungeon. | ![]() (Ranged area of effect attack) |
![]() 1/8 (12.5%) |
![]() |
Party Girl | Sells novelty items that create colorful visual effects. | 1/40 chance of spawning after (Desktop, Console, Mobile and 3DS versions) 14 / (Old-gen console version) 8 other town NPCs are in the world. Replaces the Guide as the starting NPC when starting a new Drunk world(Desktop, Console and Mobile versions). |
![]() |
![]() 1/4 (25%); in stacks of 30–60 |
Hardmode
NPC | Description | Spawn requirement | Defending weapon ((Desktop, Console and Mobile versions)) | Drops upon death | |
---|---|---|---|---|---|
![]() |
Wizard | Sells magic-related items. | Found and spoken to in the Cavern layer. | ![]() (Ranged attack; similar to the Flower of Fire; inflicts On Fire!) |
n/a |
![]() |
Tax Collector(Desktop, Console and Mobile versions) | Collects property taxes from other NPCs. Earns 50 CC per NPC present, collectable by the player. | A Tortured Soul is transformed with Purification Powder in the Underworld. Replaces the Guide as the starting NPC when starting a new Don't dig up(Desktop, Console and Mobile versions) world. |
![]() |
![]() 1/8 (12.5%) |
![]() |
Truffle | Sells the Autohammer, Mushroom Spear, and other mushroom-themed items. | A house is available in an above-ground Glowing Mushroom biome during Hardmode. | ![]() (Summons projectiles around Truffle; damages enemies on contact) |
n/a |
![]() |
Pirate | Sells the Cannon and other pirate-themed items. | A Pirate Invasion has been defeated. | ![]() (Ranged attack; similar to the attack of the Pirate Captain enemy) |
n/a |
![]() |
Steampunker | Sells the Clentaminator, Jetpack, and other items. | A mechanical boss has been defeated. | ![]() |
![]() 100%; only when named Whitney |
![]() |
Cyborg | Sells the Proximity Mine Launcher, Rockets, and Nanites. | Plantera has been defeated. | ![]() ![]() ![]() (Ranged area of effect attack; randomly chosen among Grenade Launcher, Rocket Launcher, and Proximity Mine Launcher.) |
n/a |
![]() |
Santa Claus | Sells the Santa set, colored lights, Christmas trees and their respective decorations. | The Frost Legion has been defeated and it is Christmas. | ![]() (Ranged attack) |
n/a |
![]() |
Princess(Desktop, Console and Mobile versions) | Sells several vanity and furniture items. | All other town NPCs are in the world (except for town pets and Santa Claus). | ![]() (Ranged area of effect attack; swiftly contracts out of sight after attacking target) |
![]() 1/8 (12.5%) |
Town pets
Town pets are special town NPCs that have distinctive housing assignment banners, and can share houses with another non-town pet NPC. They count as NPCs for pylon requirements and for decreasing enemy spawn rates in an area, but are not counted as neighboring NPCs in other NPCs' happiness calculations, and indeed do not positively or negatively affect the happiness of other NPCs in any way. Unlike other NPCs, town pets have no means of self-defense.
Like other NPCs, town pets also require a valid standing point in the house (a home tile). They may not be able to share a house with another NPC if the house is too small.
Town pets offer a unique "Pet" option, which places the player directly in front of the pet when selected, and displays a petting animation. The effect is purely visual.
There are currently four types of town pets.
Zoologist town pets
These town pets are obtained by using a pet license sold by the Zoologist. They will appear at dawn (4:30 AM) the day after a pet license item is used, and only one of each kind of pet can exist at a time. The type of the pet can be changed by using another pet license.
Pet | License item | Sell requirement | |
---|---|---|---|
![]() |
Town Cat | ![]() |
n/a |
![]() |
Town Dog | ![]() |
25% Bestiary completion (135 entries) |
![]() |
Town Bunny | ![]() |
45% Bestiary completion (243 entries) |
Town Slimes
Town Slimes are town pets that will move in after certain requirements are met for each specific type. Unlike town pets from the Zoologist, all types of Town Slimes can exist at the same time.
This content is transcluded from Town Slimes § Types.
Image | Name | Condition | Map Icon |
---|---|---|---|
![]() |
Nerdy SlimeInternal NPC ID: 670 | Moves in upon the defeat of King Slime. | ![]() |
![]() |
Cool SlimeInternal NPC ID: 678 | Moves in when there is a natural active Party. | ![]() |
![]() |
Elder SlimeInternal NPC ID: 679 | Moves in after unlocking an Old Shaking Chest with a Golden Key after defeating Skeletron. | ![]() |
![]() |
Clumsy SlimeInternal NPC ID: 680 | Moves in after breaking the balloon of a Clumsy Balloon Slime. | ![]() |
![]() |
Diva SlimeInternal NPC ID: 681 | Moves in after throwing or discarding a Sparkle Slime Balloon into Shimmer. | ![]() |
![]() |
Surly SlimeInternal NPC ID: 682 | Moves in when fished up during a Blood Moon. | ![]() |
![]() |
Mystic SlimeInternal NPC ID: 683 | Moves in after using Purification Powder on a Mystic Frog in the Jungle. | ![]() |
![]() |
Squire SlimeInternal NPC ID: 684 | Moves in after dropping a Copper Helmet or a Copper Shortsword on a slime. | ![]() |
Other NPCs
The following NPCs are not considered town NPCs because they do not move into houses.
NPC | Description | Spawn requirement | Defending weapon ((Desktop, Console and Mobile versions)) | Drops upon death | |
---|---|---|---|---|---|
![]() |
Traveling Merchant(Desktop, Console, Old-gen console and Mobile versions) | Stays until the evening, sells a random selection of unique items each day. | 22.12% spawn chance during morning hours (4:30 AM – 12:00 PM) once two other NPCs are present. | Revolver / HM: Pulse Bow (Ranged) |
![]() 100% |
![]() |
Old Man | Found at the entrance to the Dungeon. Summons Skeletron when spoken to, but only at night. Once Skeletron is defeated, the Old Man moves into town as the Clothier. | Starting a new world. | n/a | n/a |
![]() |
Skeleton Merchant(Desktop, Console and Mobile versions) | Sells Counterweights, Spelunker Glowsticks, Magic Lantern, 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. | Rarely found in the Caverns. | Bone (Thrown) |
n/a |
Stat boosts
All NPCs have a base defense stat of 15 (except for the Skeleton Merchant, who has 30), and their base attack stats vary from one NPC to another. They also gain a damage multiplier based on the difficulty of the world: 1× / 1.5× / 1.75×, respectively. In a Journey Mode world, the damage multiplier is 1× when the difficulty is lower than Expert (2×), and is set to 2× when the difficulty is no less than Expert (2×).[5]
In addition, all NPCs gain specific defense and damage boosts based on the bosses that have been defeated so far in the current world. These boosts are completely independent of each other (e.g. the "Hardmode entered" boost can potentially be gained without first attaining the "Eye of Cthulhu is defeated" boost, and vice-versa). The boosts are also permanent for a given world, and are applied instantly to all town NPCs, including all Town pets and all other NPCs. The damage boost stack multiplicatively with the difficulty damage multiplier.[5]
As the Dryad does not deal damage directly, she gains damage boosts to her Dryad's Bane debuff on enemies. These boosts to the Dryad's Bane debuff are not quite the same as those damage-stat boosts, however, so both kinds of boosts are listed in the following table. Just as with the stat boosts, the Dryad's Bane boosts are independent of each other, are permanent for a given world, and are applied instantly to all enemies inflicted with the debuff.[6]
Defeating Deerclops(Desktop, Console and Mobile versions) will not give stat boosts to NPCs.
Event | Defense bonus |
Damage boost[7] | |
---|---|---|---|
Attack | ![]() | ||
![]() |
+6 | +20% | n/a |
Eye of Cthulhu is defeated | +3 | +10% | |
Eater of Worlds / Brain of Cthulhu is defeated | +3 | +10% | |
Queen Bee is defeated | +3 | +10% | |
Skeletron is defeated | +3 | +10% | |
Hardmode entered | +12 | +40% | |
![]() |
+6 | +20% | n/a |
Queen Slime(Desktop, Console and Mobile versions) is defeated | +6 | +15% | n/a |
The Twins are defeated | +6 | +15% | |
The Destroyer is defeated | +6 | +15% | |
Skeletron Prime is defeated | +6 | +15% | |
Plantera is defeated | +8 | +15% | |
Golem is defeated | +8 | +15% | |
Empress of Light(Desktop, Console and Mobile versions) is defeated | +8 | +15% | n/a |
Lunatic Cultist is defeated | +8 | +15% |
Happiness
NPCs have individual preferences about other NPCs or the biome they live in which in turn affects their prices. When selecting " Happiness" in an NPC's dialogue window, the NPC will tell the player if any factors make them currently happy or unhappy, although they will not say what could make them happier or unhappier. For example, if the Guide is located alone in a Forest, he will praise the lack of other NPCs around and the fact he is in a Forest, but he will not hint at the fact he would prefer to live near the Clothier or Zoologist. One can, however, find an NPC's preferred biome from the background of the portrait in their Bestiary entry, with the exception of the Princess, who has no biome preference but has a portrait background of The Hallow.
Factors that make an NPC happy will lower their prices for goods purchased from them, down to a minimum of 3/4 (75%), and increase the value of goods sold to them by the inverse of the same modifier, up to a maximum of 4/3 (133%). Conversely, factors that make an NPC unhappy will raise their prices for goods purchased from them, up to a maximum of 3/2 (150%), and decrease the value of goods sold to them, down to a minimum 2/3 (67%). Price modifiers are rounded to the nearest 1% increment. When an NPC that sells items, other than the Skeleton Merchant or Traveling Merchant, has a price modifier at or below 90%, they will allow the player to purchase the pylon for their current biome. The Tax Collector's current tax funds and tax collection limit are both divided by his happiness factor, such that at maximum happiness he will store up to 33 GC33 SC33 CC, and at maximum unhappiness he will only store up to 16 GC66 SC66 CC; the amount of taxes that he collects per minute also scales at the same rate.[8][9]
For the purpose of calculating distances below, the position of an NPC's home tile is considered instead of the NPC itself, unless the NPC is homeless in which case their actual position is considered. The home tile is the block where NPCs stand on during nights and events. NPC's flag will "hook" directly above the home tile. One can easily find the home tile by locating the central column of the 3×3-tile area that the NPC's flag occupies, and then moving all the way down to the tile in the floor of the house. For more detailed definition of a home tile, see House § Home tile score.
![](/images/thumb/8/8c/Terraria_housing_distance.png/300px-Terraria_housing_distance.png)
Biome-related preferences will reference the primary biome where the player is, rather than where the NPC or their home is. If the player is in a hybrid biome, and the NPC loves/likes one of the biomes, but hates/dislikes one of the others, the loved/liked biome will take priority. Biomes that the NPC is neutral to are ignored.
An NPC's happiness is computed the moment their chat window is opened,[10] which means that their happiness can be altered very quickly (e.g. by closing their chat window, adding or removing nearby NPC flags, and re-opening the chat window).
Factors affecting happiness
The below price modifiers are multiplicative. The price multiplier will always be set to the maximum of 150% (purchasing) and 67% (selling) if the NPC is homeless, more than 120 tiles from their house, or located in the Dungeon, Corruption, or Crimson.[11]
Criteria[12] | Price modifier (purchasing)[12] | Price modifier (selling)[12] |
---|---|---|
Solitude Bonus: There are no more than two other NPCs within 25 tiles, and no more than three other NPCs between 25 and 120 tiles away. |
95% | 105% |
Crowded Penalty: For the fourth, fifth, etc. NPC within 25 tiles, each. This equates to a maximum of three other NPCs within 25 tiles to avoid this penalty.
|
105% | 95% |
Located in a Loved biome | 88% | 114% |
Located in a Liked biome | 94% | 106% |
Located in a Disliked biome | 106% | 94% |
Located in a Hated biome | 112% | 89% |
For each Loved NPC within 25 tiles | 88% | 114% |
For each Liked NPC within 25 tiles | 94% | 106% |
For each Disliked NPC within 25 tiles | 106% | 94% |
For each Hated NPC within 25 tiles | 112% | 89% |
Living preferences
The Princess is liked by all NPCs, and therefore is not put in every column for the sake of less clutter.
Emotes
Although it may seem to be random, NPCs "emote" about things depending on their environment. This content is transcluded from NPCs/emotes.
Emote | Condition |
---|---|
Combat | |
![]() ![]() ![]() ![]() ![]() ![]() |
If the speaking NPC is near an enemy. |
Weather | |
![]() |
When cloudy. |
![]() |
When raining. |
![]() ![]() |
When nighttime and raining. |
![]() |
In a blizzard. |
![]() |
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 an 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 |
![]() |
If the player is below half health. |
Other NPCs | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
If the respective 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. |
![]() ![]() ![]() |
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. |
![]() |
If the Empress of Light has been defeated. |
![]() |
If the Queen Slime has been defeated. |
NPC-specific 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. |
![]() |
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. |
![]() ![]() ![]() |
Used more often by Goblin Tinkerer when not speaking to Mechanic. |
![]() ![]() ![]() ![]() Never uses ![]() |
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 Traveling 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 | |
![]() ![]() ![]() ![]() ![]() ![]() |
Shimmered forms
When submerged in Shimmer, any NPC will transform into their Shimmered form. This has no impact on gameplay or dialogue and is only a visual change. They can be returned to their classic looks by being submerged in Shimmer again.
Notes
- NPCs will not spawn during an active event (the Lunar Events are an exception) or at night.
- An NPC takes about 2 minutes to spawn after another NPC has spawned or dawn passes.
- If valid housing is off-screen during spawning, the NPC will spawn directly into the house.
- NPCs will not move and always face the player as long as their dialogue window is open.
- 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).
- NPC vendors who have biome requirements to sell certain items need to be spoken to with the player being in said biome to fulfill the requirement. It is not sufficient to have their home located in the specific biome.
- (Desktop, Console and Mobile versions) NPC Behavior as of 1.3.0.1:
- NPCs are known to "visit" other NPCs, talk, and play three rounds of rock paper scissors.
- NPCs are able to walk up stairs.
- NPCs can drown in water that is 2 tiles deep, whereas players require 3 tiles of water depth in order to drown.
- All NPCs have a base attack damage stat of 10, but the details of their attacks vary significantly. Their defense generally starts at 15.
- As of 1.4.0.1(Desktop, Console and Mobile versions) (
Desktop,
Console, and
Mobile versions), their attack and defense will increase throughout the game. NPCs are stronger in Expert Mode so they can defend themselves against early game enemies.
- As of 1.4.0.1(Desktop, Console and Mobile versions) (
- The Oasis mini-biome counts as a Desert in terms of an NPC's preferred biome.
- Similarly, a Graveyard counts as the host biome, and (dialogue aside) being in a Graveyard does not affect NPC happiness.
Achievements
![Achievement Real Estate Agent.png](/images/f/fc/Achievement_Real_Estate_Agent.png)
![Challenger Challenger](/images/thumb/9/95/Challenger_Achievement_Category.png/21px-Challenger_Achievement_Category.png)
![Achievement Leading Landlord.png](/images/2/27/Achievement_Leading_Landlord.png)
![Challenger Challenger](/images/thumb/9/95/Challenger_Achievement_Category.png/21px-Challenger_Achievement_Category.png)
![Achievement Feeling Petty.png](/images/e/ef/Achievement_Feeling_Petty.png)
![Challenger Challenger](/images/thumb/9/95/Challenger_Achievement_Category.png/21px-Challenger_Achievement_Category.png)
![Achievement The Great Slime Mitosis.png](/images/f/fc/Achievement_The_Great_Slime_Mitosis.png)
![Challenger Challenger](/images/thumb/9/95/Challenger_Achievement_Category.png/21px-Challenger_Achievement_Category.png)
![Achievement All in the Family.png](/images/e/e9/Achievement_All_in_the_Family.png)
Tips
- Each time the Traveling Merchant spawns, he will have a random shop inventory. If the player leaves the world between 4:30 AM and 12:00 PM, 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 at night 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: (Desktop, Console and Mobile versions) 1500 / (Old-gen console and 3DS versions) 300 Pink Ice Blocks, (Desktop, Console and Mobile versions) 101 / (Old-gen console and 3DS versions) 100 Mushroom grass, (Desktop, Console and Mobile versions) 140 / (Old-gen console and 3DS versions) 80 Lihzahrd Bricks, (Desktop, Console and Mobile versions) 1500 / (Old-gen console and 3DS versions) 1000 Sand Blocks and (Desktop, Console and Mobile versions) 7 Gravestone at the (Desktop, Console and Mobile versions) space layer in one screen where the houses are located.
- (Desktop, Console and Mobile versions) Drowning an NPC in water is an easy way to get NPC drops (safer than lava and quicker than Rotten Eggs).
- (Desktop, Console and Mobile versions) In For the worthy and Get fixed boi worlds, the player's tombstone may also be used to get NPC drops.
- (Desktop, Console and Mobile versions) A vendor NPC alone in a preferred biome is sufficiently happy enough to sell a pylon. However, there must be another NPC near them for them to sell a pylon.
- For this reason, it is possible when starting a town in another biome to move that NPC there before any others and buy the pylon, then move them back to their original housing if so desired. Note that to use a pylon there must be at least two NPCs nearby, but none of them have to be the same NPC the pylon was purchased from, nor do any have to be happy.
- The Advanced Combat Techniques(Desktop, Console and Mobile versions) book, obtained by fishing during a Blood Moon, can be used to permanently increase the stats of all NPCs.
- To open a Chest behind an NPC, press the ⚷ Open / Activate button twice. The first press will open the NPC's dialogue box, the second one will open the Chest.
Trivia
- During a Blood Moon, all female NPCs except the Party Girl and Princess have dialogue that is more irritable or aggressive than normal. This references premenstrual syndrome, which may cause mood swings and irritability in some people. Both the menstrual cycle and the real-world moon cycle occur approximately every 28 days.
- The only NPC interactions required to reach the defeat of the Moon Lord(Desktop, Console and Mobile versions) are talking to the Old Man to summon Skeletron and allow the Cultists to spawn, and killing the Guide with the Guide Voodoo Doll to fight the Wall of Flesh.
- Skeletons will not attack the Skeleton Merchant, and vice versa.
- The Party Girl is the only NPC to "love" two NPCs as one of their living preference(s).
- The Skeleton Merchant and the Traveling Merchant originally had special price modifiers, depending on the moon phase and distance from the world's edges, respectively. These modifiers were deactivated quickly after their introduction, in 1.4.0.4, but still remain in the code.
- The price modifier for the Skeleton Merchant would depend on the moon phase:[13] 110% during gibbous moons
, 120% during quarter moons
, 130% during crescent moons
, and 140% during new moons
. Additionally, his price modifier would be increased by another +10% during the day.
- The price modifier for the Traveling Merchant would range between 115% (at the world spawn point) and 85% (at the world's borders).[14]
- The price modifier for the Skeleton Merchant would depend on the moon phase:[13] 110% during gibbous moons
- The Guide and Old Man are unique in that they always spawn upon creating a world. 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 has not yet been defeated).
- (Desktop, Console and Mobile versions) NPCs will emit bubble particles when underwater. The location of where the particles are emitted from is lower for the Angler (8 pixels lower than other NPCs), possibly due to him being a child. However, this does not apply to the Princess despite her also being a child.[15]
See also
Mc MoneyPants, a removed, formerly
Mobile version-exclusive NPC
History
- Desktop 1.4.4.4: Fixed an issue where NPCs who's names were translated would not drop name-based special drops.
- Desktop 1.4.4:
- Added Shimmered forms for all town NPCs.
- NPCs who die will now respawn freely, ignoring the original unique conditions which were required to spawn in the first place.
- NPCs (except the Old Man) that are standing on Dungeon Bricks will no longer be immediately teleported back to their home.
- Desktop 1.4.3.3:
- The minimum required happiness for NPCs to sell pylons has been decreased from 0.85 to 0.9. This means that it is now easier to make NPCs happy enough to sell a pylon.
- If an NPC is present in a hybrid biome (e.g. the Hallowed Desert), and they like at least one of those biomes, then they will gain positive happiness from the biome they like.
- The maximum number of NPCs in a town before Crowded penalties begin to take effect has been increased from 4 to 5. However, 4-NPC towns will have neither a bonus nor a penalty.
- The maximum number of NPCs in a town before "hate crowded" quotes begin to appear has been increased from 7 to 8.
- Desktop 1.4.1.2:
- Happiness price modifiers are now rounded to the nearest 1% increment instead of the nearest 5% increment.
- Reverted the change to the distances to compute happiness made in 1.4.1.
- NPC Happiness now gives the "Solitude" bonus for 3-NPC towns. Previously, there was neither a bonus nor a penalty at 3 NPCs.
- Desktop 1.4.1.1:
- Fixed several grammatical/spelling issues in NPC dialogue.
- Fixed an issue where Town NPCs would try to sit on Dynasty Chairs (they should not be able to).
- Desktop 1.4.1:
- Added the Princess NPC.
- Doubled the distances to compute happiness, from 25 tiles / 26-120 tiles to 50 tiles / 51-240 tiles.
- The boost from the "Solitude" factor is reduced by half.
- The boost/penalty for Like/Dislike/Love/Hate factors have been increased by 20%.
- The maximum number of NPCs in a town before "hate crowded" quotes begin to appear has been increased from 6 to 7. Note that this did not change the thresholds of crowded penalty.
- Desktop 1.4.0.5: The Truffle now likes living in the Mushroom biome (instead of being neutral).
- Desktop 1.4.0.4:
- Will no longer let the player pet a town pet if slopes are interfering and would cause them to float.
- Fixed Traveling Merchant and Skeleton Merchant accidentally having NPC Happiness.
- Fixed NPCs sitting incorrectly in Dynasty Chairs.
- Desktop 1.4.0.3: Fixed erroneously huge dislike modifiers to happiness.
- Desktop 1.4.0.1:
- Zoologist and Golfer added.
- Now sell pylons.
- Now have a Happiness system depending on where they live and who they live with.
- NPCs will now drop Tombstones when they die in Hardcore mode.
- Dye Traders requirements changed to only require a Dye item or material to craft a dye item.
- Town NPCs now get a little stronger each time the player defeats a boss.
- 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.4:
- Tavernkeep added.
- Added 4 new emotes: Tavernkeep, Old One's Army, Beer, and Defender Medal.
- Beer and Defender Medal are unused, but appear in the game files.
- Desktop 1.3.0.1:
- 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 a 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 the player could buy and sell stackable items for profit.
- Desktop 1.2.3.1: 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 the player 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 1.2.2: NPCs now go back to their houses during Solar Eclipses.
- Desktop 1.2.1.2: Added some checks to ensure multiple NPCs of the same type do not spawn.
- Desktop 1.2.1.1: Rotten Eggs now correctly damage friendly NPCs.
- Desktop 1.2.1: Several friendly NPCs will sell vanity items.
- Desktop 1.2.0.3:
- NPCs that require Plantera to be defeated to sell things now do so correctly in multiplayer.
- King and Queen Statues will correctly summon the new NPCs.
- Desktop 1.2:
- 8 new NPCs added: Steampunker, Truffle, Cyborg, Pirate, Witch Doctor, Party Girl, Dye Trader and Painter.
- Fixed bug where attempting to move NPCs with reversed gravity used the opposite screen height position.
- Increased speed at which the player buys stacks of things.
- Desktop 1.1.1:
- Bound NPCs now can be untied with Autopause enabled.
- Santa Claus added.
- 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 it 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 1.0.6.1: NPCs now look at the character.
- Desktop 1.0.6:
- Shops now sell items back to the player. Shift-clicking items will automatically sell them.
- New sound for initiating a conversation to an NPC.
- Desktop 1.0.4:
- Added Clothier.
- Added an option that will pause the game while talking to an NPC in single player. It defaults to off.
- Desktop-Release: Introduced. The original NPCs were the Guide, the Nurse, the Merchant, the Arms Dealer, the Demolitionist, the Dryad and the Old Man.
- Console 1.19: NPCs who are manually assigned to a room will now have their successor attempt to move in when the original is killed.
- Console 1.17: Made changes from Desktop 1.3.2 to 1.3.4.
- Console-Release: Introduced.
- Switch 1.0.1096.2: Made changes from Desktop 1.3.2 to 1.3.5.
- Switch 1.0.711.6: Introduced.
- Mobile-Release: Introduced.
- 3DS-Release: Introduced.
References
- ↑ 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.
- ↑ Information taken from the
Desktop 1.4.3.6 source code, method
SpawnNPC()
inTerraria.NPC.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ Information taken from the
Desktop 1.4.4.9 source code, method
AI_007_TownEntities()
inTerraria.NPC.cs
. - ↑ Information taken from the
Desktop 1.2.4.1 source code, method
AI()
inTerraria.NPC.cs
. - ↑ 5.0 5.1 Information taken from the
Desktop 1.4.4.9 source code, method
AI_007_TownEntities()
inTerraria.NPC.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
UpdateNPC_BuffApplyDOTs()
inTerraria.NPC.cs
. - ↑ Damage bonuses are computed by first adding all applicable damage boosts to obtain a boost factor, then multiplying the NPC's base attack damage (or, for the Dryad, the Dryad's Bane base debuff damage) by that total factor. Thus, "+10%" and "+15%" and "+40%" combined give an increase of +65%.
- ↑ Information taken from the
Desktop 1.4.0.5 source code, method
GUIChatDrawInner()
inTerraria.Main.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ Note that tax amounts are converted to a floating-point number, then divided by the current happiness price adjustment, then truncated to an integer; hence, e.g. 25 GC divided by a 150% price modifier gives 16 GC66 SC66 CC due to the truncation.
- ↑ Information taken from the
Desktop 1.4.2.2 source code, method
SetTalkNPC()
inTerraria.Player.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ Information taken from the
Desktop 1.4.3.6 source code, method
ProcessMood()
inTerraria.GameContent.ShopHelper.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ 12.0 12.1 12.2 Information taken from the
Desktop 1.4.3.6 source code, method
ProcessMood()
inTerraria.GameContent.ShopHelper.cs
. There may be inaccuracies, as the currentDesktop version is 1.4.4.9.
- ↑ Information taken from the
Desktop 1.4.0.1 source code, method
GetSkeletonMerchantPrices()
inTerraria.GameContent.ShopHelper.cs
. - ↑ Information taken from the
Desktop 1.4.0.1 source code, method
GetTravelingMerchantPrices()
inTerraria.GameContent.ShopHelper.cs
. - ↑ Information taken from the
Desktop 1.4.4.9 source code, method
CheckDrowning()
inTerraria.NPC.cs
.