
Happiness meters matter because it affects each NPCs price range from unhappy and.

Can also report on percentages of hallow, corruption, and. What they do: Sell nature items and corruption or crimson items.
#NPC HAPPINESS TERRARIA HOW TO#
Running the programĭownload the repository (Clone or download) and run python3 npc.py (you need to have Python 3 installed!). The task was to imagine a some kind of orb, an NPC, which will be helping a player in. How to get them: Kill a boss other than King Slime or Wall of Flesh. For example, the Nurse/Dye Trader/Arms Dealer/Stylist are all in the desert together with happiness values 0.84/0.84/0.79/0.84.

It internally uses Dijkstra (and some smaller optimizations) to find the optimum. The 'Newer Strategy' section of the NPC happiness guide doesn't seem accurate or reflective of the calculator, though. This script simulates the happiness of various groups of NPCs and finds the best possible layout for where they all should live (given the provided restrictions). The 1.4 Terraria update made it so that NPCs have preferences regarding their location, who they are near, etc.
