Terraria NPC Happiness Calculator
Exact 1.4.5 price modifiers, pylon checks and the game's own happiness tiers for any biome and neighbor combination. All 26 town NPCs, wiki-accurate.
Best pairingsone click, all 79 to 89%
1. Pick the biome they live in
2. Add residentsup to 4 within 25 tiles, 3 of 4 picked
A count, not a checkbox, because two rules read it in opposite directions. 4 or more cancels the solitude bonus, while the Princess needs 2 or more here (or 2 or more within 25 tiles) to avoid being locked at 150%.
3 residents in ForestAverage price 84%
- Guidenot a vendor
84%A · good
- Likes the Forest×0.94
- Likes Zoologist×0.94
- Neutral about Golfer×1.00
- Solitude, plenty of space×0.95
No shop, so this NPC can never sell a pylon.
- Zoologistvendor
84%A · good
- Likes the Forest×0.94
- Neutral about Guide×1.00
- Likes Golfer×0.94
- Solitude, plenty of space×0.95
Sells the Forest Pylon. 1.4.5 dropped the happiness requirement.
- Golfervendor
84%A · good
- Likes the Forest×0.94
- Neutral about Guide×1.00
- Likes Zoologist×0.94
- Solitude, plenty of space×0.95
Sells the Forest Pylon. 1.4.5 dropped the happiness requirement.
The 1.4.5 rules this uses
Every factor the calculator applies, and the four tiers the game itself shows.
| Factor | Price effect |
|---|---|
| Loved biome, or each loved neighbor | ×0.88 |
| Liked biome, or each liked neighbor | ×0.94 |
| Disliked biome, or each disliked neighbor | ×1.06 |
| Hated biome, or each hated neighbor | ×1.12 |
| Lovestruck, the Love Potion buff (new in 1.4.5) | ×0.90 |
| Solitude: 2 or fewer others within 25 tiles, and 3 or fewer at 25 to 120 tiles | ×0.95 |
| Crowding: each neighbor past the 3rd within 25 tiles | ×1.05 each |
| Final price | clamped 75% to 150%, rounded to the nearest 1% |
| Changed in 1.4.5? | only the Lovestruck row. Every other number is 1.4.4 |
- Scheapest82% or less
- Agood83% to 100%
- Bpoor101% to 110%
- Cworstabove 110%
- What 1.4.5 actually changed: not the maths. Every multiplier, both clamps, the rounding, the 25-tile radius and the 25 to 120 ring are identical to 1.4.4. The real changes are the new Lovestruck factor, the removal of the pylon happiness gate, and the arrival of the Underworld and Aether Pylons.
- Pylons in 1.4.5: happiness no longer matters. A vendor sells their biome's pylon as long as 2 or more NPCs live nearby. The Tavernkeep never sells pylons; the Guide, Nurse, Angler and Tax Collector have no shop. Sources disagree on whether "2 or more nearby" means two NPCs in total or two besides the vendor. The wiki's Pylons and NPCs pages say two in total, the 1.4.5.0 changelog says two others. This page uses two in total and will not claim more than that.
- Happiness tiers: 1.4.5 shows an icon and the exact price modifier next to a vendor's shop. Its four tiers are 82% or less, 100% or less, 110% or less, and above 110%, and the S / A / B / C badges here are exactly those four. No cut point is invented in between. That also means this calculator is for planning a town before you build it, not for reading a number the game already shows you.
- Princess: no biome preferences, loves up to 3 nearby NPCs, and everyone likes her back. She is locked at 150% unless 2 or more other NPCs live within 25 tiles, or 2 or more live 25 to 120 tiles away.
- Town pets and Town Slimes do not count as neighbors for happiness at all, even though they do count toward pylon requirements and do reduce enemy spawns. 1.4.5 raised the Party Girl's move-in requirement from 14 NPCs to 20 to account for them, which invites exactly the wrong guess.
- A quirk: the game checks the biome you stand in while talking, not the NPC's house. Shop at their home for the prices shown here.
- Underground, Cavern and Underworld still count as one biome group for preferences. That grouping did not change. The Underworld gained its own pylon in 1.4.5 but keeps sharing the Cavern's happiness preferences.
- The Aether is not offered as a biome here. It gained a pylon in 1.4.5, but no town NPC has any documented Aether preference on the wiki, so listing it would be an all-neutral no-op that implies a preference exists.
- Not modelled: sell prices, which run on a separate 114 / 106 / 94 / 89 scale that is not the exact inverse of the buy side, and the homeless override. An NPC with no valid house, more than 120 tiles from it, or living in the Dungeon, Corruption or Crimson is locked to 150% regardless of every factor above.
- Where this data comes from: the biome preferences and the 26-NPC roster were re-checked against the wiki for 1.4.5 and are unchanged. The per-NPC neighbor lists are the same ones the 1.4.4 build of this page used. The 1.4.5 changelog contains no preference change at all, and a spot check of five NPCs against the live wiki matched exactly, but all 26 were not re-transcribed this round.
All 26 town NPCs and what they want
The whole preference table. Loves and likes cut prices, dislikes and hates raise them.
| NPC | Shop | Biomes | Loves | Likes | Dislikes | Hates |
|---|---|---|---|---|---|---|
| Guide | No shop | Likes Forest · Dislikes Ocean | None | Clothier, Zoologist | Steampunker | Painter |
| Merchant | Vendor | Likes Forest · Dislikes Desert | None | Golfer, Nurse | Tax Collector | Angler |
| Zoologist | Vendor | Likes Forest · Dislikes Desert | Witch Doctor | Golfer | Angler | Arms Dealer |
| Golfer | Vendor | Likes Forest · Dislikes Underground / Cavern, The Underworld | Angler | Painter, Zoologist | Pirate | Merchant |
| Nurse | No shop | Likes The Hallow · Dislikes Snow | Arms Dealer | Wizard | Dryad, Party Girl | Zoologist |
| Arms Dealer | Vendor | Likes Desert · Dislikes Snow | Nurse | Steampunker | Golfer | Demolitionist |
| Dye Trader | Vendor | Likes Desert · Dislikes Forest | None | Arms Dealer, Painter | Steampunker | Pirate |
| Dryad | Vendor | Likes Jungle · Dislikes Desert | None | Witch Doctor, Truffle | Angler | Golfer |
| Painter | Vendor | Likes Jungle · Dislikes Forest | Dryad | Party Girl | Truffle, Cyborg | None |
| Angler | No shop | Likes Ocean · Dislikes Desert | None | Demolitionist, Party Girl, Tax Collector | None | Tavernkeep |
| Stylist | Vendor | Likes Ocean · Dislikes Snow | Dye Trader | Pirate | Tavernkeep | Goblin Tinkerer |
| Demolitionist | Vendor | Likes Underground / Cavern, The Underworld · Dislikes Ocean | Tavernkeep | Mechanic | Arms Dealer, Goblin Tinkerer | None |
| Tavernkeep | Vendor, no pylons | Likes The Hallow · Dislikes Snow | Demolitionist | Goblin Tinkerer | Guide | Dye Trader |
| Goblin Tinkerer | Vendor | Likes Underground / Cavern, The Underworld · Dislikes Jungle | Mechanic | Dye Trader | Clothier | Stylist |
| Witch Doctor | Vendor | Likes Jungle · Dislikes The Hallow | None | Dryad, Guide | Nurse | Truffle |
| Clothier | Vendor | Likes Underground / Cavern, The Underworld · Dislikes The Hallow | Truffle | Tax Collector | Nurse | Mechanic |
| Mechanic | Vendor | Likes Snow · Dislikes Underground / Cavern, The Underworld | Goblin Tinkerer | Cyborg | Arms Dealer | Clothier |
| Party Girl | Vendor | Likes The Hallow · Dislikes Underground / Cavern, The Underworld | Wizard, Zoologist | Stylist | Merchant | Tax Collector |
| Wizard | Vendor | Likes The Hallow · Dislikes Ocean | Golfer | Merchant | Witch Doctor | Cyborg |
| Tax Collector | No shop | Likes Snow · Dislikes The Hallow | Merchant | Party Girl | Demolitionist, Mechanic | Santa Claus |
| Truffle | Vendor | Likes Glowing Mushroom | Guide | Dryad | Clothier | Witch Doctor |
| Pirate | Vendor | Likes Ocean · Dislikes Underground / Cavern, The Underworld | Angler | Tavernkeep | Stylist | Guide |
| Steampunker | Vendor | Likes Desert · Dislikes Jungle | Cyborg | Painter | Dryad, Wizard, Party Girl | None |
| Cyborg | Vendor | Likes Snow · Dislikes Jungle | None | Steampunker, Pirate, Stylist | Zoologist | Wizard |
| Santa Claus | Vendor | Loves Snow · Hates Desert | None | None | None | Tax Collector |
| Princess | Vendor | No biome preference | None | None | None | None |
- Truffle: Can only be housed in a surface Glowing Mushroom biome
- Santa Claus: Only around during Christmas (Dec 15–31)
- Princess: Moves in once every other town NPC has been housed; needs 2+ NPCs within 25 tiles or 2+ at 25–120 tiles, or she is lonely
How it works
What happiness does
Every town NPC has opinions: a biome they like or dislike, and neighbors they love, like, dislike or hate. Each opinion multiplies their shop prices. Stack good ones and prices fall toward the 75% floor; stack bad ones and they climb toward 150%. Prices shown are what they charge you. A happier NPC also pays more for what you sell, and the Nurse's healing fee and the Goblin Tinkerer's reforge costs scale the same way.
Since 1.4.5 pylons no longer care how happy anyone is. A vendor sells their biome's pylon at any price, as long as 2 or more NPCs live nearby.
Using the calculator
Pick a biome, then click NPCs to move them in. Everyone you add is treated as one cluster inside 25 tiles. The calculator runs the exact 1.4.5 formula for each of them and itemises every factor, so you can see why a price is what it is. The address bar updates as you build, so the link you copy rebuilds the same town.
Questions
Which Terraria happiness rules does this calculator use?
The 1.4.5 (Bigger and Boulder) system: each loved biome or neighbor multiplies prices by 0.88, liked by 0.94, disliked by 1.06 and hated by 1.12. An NPC with 2 or fewer neighbors within 25 tiles and no more than 3 between 25 and 120 tiles gets a 0.95 solitude bonus, every neighbor past the third within 25 tiles adds a 1.05 crowding penalty, the new Lovestruck buff from a Love Potion multiplies by 0.90, and the final price is clamped between 75% and 150%, rounded to the nearest 1%. The arithmetic itself did not change in 1.4.5: Lovestruck is the only new factor.
What does an NPC need to sell a pylon in 1.4.5?
Nothing, as far as happiness goes: 1.4.5 removed that requirement entirely. A vendor sells the pylon of the biome they are in as long as 2+ NPCs live nearby; the old 90%-or-lower threshold is gone. The Tavernkeep still never sells pylons, and non-vendors like the Guide, Nurse, Angler and Tax Collector cannot either. 1.4.5 also added Underworld and Aether Pylons, so the Underworld finally has one of its own.
What are the best NPC pairings for happiness?
Wiki-verified favorites: Goblin Tinkerer + Mechanic in Snow, Nurse + Arms Dealer in the Hallow, Dryad + Witch Doctor in the Jungle, Pirate + Angler at the Ocean, Demolitionist + Tavernkeep in the Cavern, Steampunker + Cyborg in the Desert, Guide + Zoologist + Golfer in the Forest and Truffle + Dryad in a Glowing Mushroom biome. Every one of those setups lands between 79% and 89% prices with no Love Potion involved, and they are all one click away in the presets above.
How does the Princess's happiness work?
The Princess has no biome preferences, loves up to three NPCs living nearby (×0.88 each) and is liked by every other NPC. She is locked at maximum unhappiness, 150% prices, unless at least two other NPCs live within 25 tiles, or at least two live between 25 and 120 tiles away. House her in a group of three or more.
What is the lowest price modifier an NPC can reach?
75%, the hard floor. A liked biome plus a loved neighbor plus the solitude bonus (0.94 × 0.88 × 0.95 ≈ 79%) gets close, and stacking one more liked neighbor usually hits it. A Love Potion cannot get you past it either: the game clamps the result, so Lovestruck never takes an NPC below 75%.