NPC Happiness & Pylons Explained
How the price multiplier works
An NPC's shop starts at a 100% price multiplier. Each thing they love, like, dislike or hate about their home nudges that number, and every nudge stacks:
- Loved biome or neighbor → ×0.88
- Liked biome or neighbor → ×0.94
- Disliked biome or neighbor → ×1.06
- Hated biome or neighbor → ×1.12
Space matters too: an NPC with two or fewer neighbors nearby loves the room (×0.95), while packing more than three together makes it crowded (×1.05 for each extra). The final figure is clamped between 75% and 150%.
Buying a Pylon
An NPC sells the Pylon for whatever biome they live in, as long as at least two other town NPCs live nearby. Happiness no longer gates the sale — any villager in the right biome with enough neighbors stocks their local Pylon, and Town Pets and Town Slimes now count toward that neighbor total.
Place two Pylons in different biomes and you can teleport between them. Happiness still matters for your wallet, though: a well-placed NPC sells everything — that Pylon included — at a lower price. The optimizer does the arithmetic for you across a whole town.
Open the Happiness OptimizerPractical setups
- Pair NPCs that like each other and share a liked biome — e.g. the Goblin Tinkerer and Mechanic both prefer the underground/snow and get along.
- Keep groups to two or three. A giant apartment block looks tidy but everyone ends up crowded and overcharging.
- Move the Truffle to the surface Glowing Mushroom biome — it's the only way to house him, and it doubles as his liked biome.
Happiness only changes shop prices — it never affects what an NPC sells or how they fight, so there's no penalty to experimenting.
FAQ
What makes an NPC happy in Terraria?
Living in a biome they like, having a neighbor or two they like nearby, and not being crowded by more than three NPCs in the same area. Each liked factor lowers their shop prices; disliked and hated factors raise them.
How do I unlock a Pylon?
House a town NPC in the biome you want the Pylon for, with at least two other town NPCs (Town Pets and Slimes count) living nearby, then buy the Pylon from their shop. In the current version there's no happiness requirement — any NPC in the right biome with enough neighbors sells that biome's Pylon. Keeping them happy just makes it, and everything else they stock, cheaper.
Does happiness affect anything besides prices?
No — in the current version it only changes shop prices, both what you pay and what NPCs pay you for your loot. It no longer gates Pylons, and it never touches combat or what an NPC stocks, so you can rearrange your town freely.