Hub / Terraria / NPC Happiness Calculator

Last updated: 5 September 2026

NPCsPylonsTools✓ Verified for Terraria 1.4.5.8

Terraria NPC Happiness Calculator Price Modifier & Pylon Status (1.4.5)

Updated September 20267 min readBy

Pick any town NPC, choose their biome, and toggle neighbors to instantly see the exact shop price modifier — plus whether they sell a Pylon. All 26 town NPC preferences are verified against terraria.wiki.gg for version 1.4.5. Key 1.4.5 change: pylons no longer require a happiness threshold — any vendor NPC (except the Tavernkeep) sells their biome's Pylon as long as at least one other NPC lives nearby.

Official screenshot from Terraria
Official screenshot — Terraria (Re-Logic) · source

01NPC Happiness Calculator

NPC Happiness Calculator Terraria 1.4.5 — price modifier + pylon status
1 Select NPC
2 Current Biome
3 Neighbors within 25 tiles click to add / remove
Loved ×0.88 Liked ×0.94 Neutral ×1.00 Disliked ×1.06 Hated ×1.12
4 Extra NPCs at 25–120 tiles for solitude check

02How the Happiness System Works

Every town NPC has a preferred biome and opinions about their neighbors. These preferences combine multiplicatively into a price modifier: a 94% modifier means items cost 6% less; an 88% modifier means 12% off; a hated biome or neighbor can push prices above 100%.

All modifiers multiply together. The result is hard-capped at a minimum of 67% (maximum discount possible) and a maximum of 150% (maximum surcharge). The Princess is a special case: she has no biome or neighbor preferences of her own, is liked (×0.94) by every other NPC around her, and she dynamically loves (×0.88) up to three of the NPCs nearest to her.

03Pylon Changes in 1.4.5

Version 1.4.5 removed the happiness threshold for pylon sales entirely. Before this patch, an NPC needed a price modifier at or below 90% to stock their biome's Pylon. Now any vendor NPC sells the Pylon for their current biome as long as at least one other NPC lives nearby:

04Best NPC Pairings for Maximum Discount

The single best discount in the game doesn't need a biome at all: the Princess loves the first three NPCs placed next to her, and three inner neighbors sit exactly at the crowding threshold (neutral — the penalty only starts at a 4th). Everywhere else, the best combinations stack a loved or liked biome with a loved neighbor, keeping the cluster to 2 NPCs to preserve the solitude bonus (×0.95). Space each cluster at least 120 tiles from the next to maintain the outer-ring condition:

  1. Princess with any 3 neighbors nearby — she loves her first three neighbors (×0.88 each) and has no biome preference (×1.00); with exactly 3 inner neighbors the crowding penalty hasn't started yet: 1.00 × 0.88 × 0.88 × 0.88 ≈ 68% — the closest anyone gets to the 67% floor outside a holiday event.
  2. Santa Claus + Princess in Snow — Santa loves Snow (×0.88) and loves the Princess as a neighbor (×0.88), plus the solitude bonus (×0.95): 0.88 × 0.88 × 0.95 ≈ 73.6% (December only — Santa Claus disappears after the holiday event ends).
  3. Arms Dealer + Nurse in Desert — Desert is liked (×0.94), Nurse is loved (×0.88): 0.94 × 0.88 × 0.95 ≈ 79%.
  4. Mechanic + Goblin Tinkerer in Snow — Snow is liked (×0.94), Goblin Tinkerer is loved (×0.88): 79%.
  5. Goblin Tinkerer + Mechanic in Underground / Cavern — Underground is liked (×0.94), Mechanic is loved (×0.88): 79%.

FAQ

Does NPC happiness still affect pylon availability in Terraria 1.4.5?

No. As of version 1.4.5.0, the happiness threshold for pylon sales was removed entirely. Any vendor NPC (except the Tavernkeep and non-town merchants) will sell their biome's Pylon as long as at least one other NPC lives nearby. Happiness still affects shop prices — a happier NPC sells items cheaper — but pylons are no longer gated behind a discount threshold.

What is the maximum discount in Terraria NPC happiness?

The hard-coded minimum price is 67% of base (a 33% maximum discount) — but almost nothing in the game actually reaches it. The closest realistic combo is the Princess with three neighbors placed next to her: three ×0.88 loved multipliers with no biome preference and no crowding penalty yet (it only starts at a 4th neighbor) works out to about 68%. The best normal (non-Princess) pairing — a loved neighbor plus a liked biome plus the solitude bonus — lands around 78–79%.

How many NPCs can live within 25 tiles before crowding applies?

Up to three other NPCs within 25 tiles avoids the crowding penalty outright. Dropping to 2 or fewer (and at most 3 more in the 25–120 tile ring) also unlocks the ×0.95 solitude bonus on top; exactly 3 inner neighbors is a neutral zone — no bonus, no penalty. A 4th NPC in the inner ring, and each one after it, adds a ×1.05 penalty. Town Pets (Cat, Dog, Bunny) do NOT count toward crowding or solitude — they have no effect on other NPCs' happiness at all.

What biomes make NPCs unhappy in Terraria?

The Corruption/Crimson and Dungeon biomes apply unhappiness penalties for a couple of specific NPCs — most notably the Truffle and the Party Girl, both of whom hate them outright (×1.12 each) — while most other NPCs are simply neutral or dislike them via their normal Underground/Underworld preference. Always verify on terraria.wiki.gg for your patch version, as NPC preferences can shift across updates.

Which NPCs don't sell Pylons in Terraria 1.4.5?

Three NPC types cannot sell Pylons: the Tavernkeep (removed in patch 1.4.5.4 because his shop is full after Golem), the Skeleton Merchant (not a permanent town NPC), and the Traveling Merchant (not a town NPC). Every other vendor can sell the Pylon corresponding to their current biome when at least one other NPC lives nearby — no happiness threshold required.

What are the two new Pylons added in Terraria 1.4.5?

Terraria 1.4.5 added the Underworld Pylon and the Aether Pylon. The Underworld Pylon is obtained from any vendor NPC (except the Tavernkeep) housed in The Underworld biome. The Aether Pylon requires housing an NPC in the Aether biome (the Shimmer liquid area, typically found in the Cavern layer near the center of the world). Both follow the same rule as other Pylons: no happiness threshold, just a neighbor NPC nearby.

Sources

Where the facts on this page were checked. If one of them now says something different, we want to know — tell us and we will fix the guide.

  1. NPCs — Happiness Official Terraria Wiki (wiki.gg)
  2. Pylon Official Terraria Wiki (wiki.gg)
  3. Princess Official Terraria Wiki (wiki.gg)
  4. Zoologist Official Terraria Wiki (wiki.gg)
  5. Arms Dealer Official Terraria Wiki (wiki.gg)
  6. Mechanic Official Terraria Wiki (wiki.gg)
  7. Goblin Tinkerer Official Terraria Wiki (wiki.gg)
  8. Santa Claus Official Terraria Wiki (wiki.gg)
Stay in the loop

New & updated guides ship every week. Follow the Atom feed or get notified when new Terraria guides land.

Note: Terraria receives content updates that can change items, recipes, and balance — cross-check details with the official Terraria Wiki for the version you are playing.
Was this guide helpful?