- See also Guide:Bases for Building an NPC Town (or Base)
A House (or Home) is a structure built by the player that Town NPCs require in order to spawn, with one House required per NPC. A structure must meet several requirements in order to function as a House (see details below). You can check if a structure meets the requirements by using the Housing Menu's top button, labeled with a question mark ("?"). NPCs generally retreat to their Houses at night and remain in them until dawn. They will also retreat to their houses during a Solar Eclipse.
The Guide, Angler, Goblin Tinkerer, Mechanic, Stylist and Wizard will each make their initial appearances regardless of available housing. Once initially found, each will require a House in order to respawn subsequently.
Certain naturally-generated structures can serve as Houses and may inadvertently attract NPCs if players have placed light sources within them. These can include Living Tree treasure rooms and Floating Island structures. NPCs can be moved from these to the player's structures using the Housing Menu.
Housing Menu[edit | edit source]
A menu for managing the placement of NPCs, accessed through clicking the small house icon above the armor slots.
The Housing menu allows you to check whether the houses you have built are suitable for use or not, as well as to manually appoint a house for a specific NPC. To access this menu click on the house icon in your inventory. There is no housing menu on the Mobile version, making it impossible to choose a house for your NPC, since any NPC can choose any house.
To check whether a house is suitable for use, click on the "?" housing query mark and then click anywhere inside the house; you will receive a message indicating whether the house is suitable or not. If it is not suitable, you can check the house requirements further down this page to see what the house may be lacking.
Once a house is determined to be suitable you may assign an NPC to it by placing the corresponding NPC Flag in it. Note that only the flags of NPCs whose spawn conditions you have already met will appear. For example, when you first enter a new world only the Guide's NPC Flag is shown. NPC Flags for other NPCs will only be shown when you meet each of their spawn conditions.
When you first meet the spawn conditions for an NPC a random house will be assigned to them from your available empty suitable houses.
Framework[edit | edit source]
A house must be fully enclosed:
- The side walls (vertical blocks) can be made of blocks, Doors, Platforms or Tall Gates.
- The floor and ceiling (horizontal blocks) can be made of blocks, Trap Doors or Platforms.
- The NPC needs at least two solid (non-platform) blocks to stand on at night. These blocks may not be directly adjacent to either of the 2 side walls of the house.
Entrance[edit | edit source]
Size[edit | edit source]
Including the frame (floor, side walls, and ceiling), a House must have at least 60 total tiles, but less than 750.
Therefore, a House's outer frame must meet one of the following minimum dimensional requirements:
|Excluding ceiling, floor and walls||Including ceiling, floor and walls|
|3 tiles wide x 10 tiles high ||5 tiles wide x 12 tiles high|
|4 tiles wide x 8 tiles high||6 tiles wide x 10 tiles high|
|5 tiles wide x 7 tiles high||7 tiles wide x 9 tiles high|
|6 tiles wide x 6 tiles high||8 tiles wide x 8 tiles high|
|7 tiles wide x 5 tiles high||9 tiles wide x 7 tiles high|
|8 tiles wide x 4 tiles high||10 tiles wide x 6 tiles high|
|10 tiles wide x 3 tiles high||12 tiles wide x 5 tiles high|
|13 tiles wide x 2 tiles high ||15 tiles wide x 4 tiles high|
- Only possible when using a Work Bench instead of a table.
- Only possible when using platforms as a ceiling. No longer possible on PC.
Background Walls[edit | edit source]
A house must have a background wall in order to be suitable. Any walls crafted or mined by the player are valid.
- Walls not placed by a player (such as naturally-occurring dirt walls) do not count, with the exception of those generated in Floating Island structures, the Planked Walls found in Underground Cabins, the Living Wood Walls in Living Tree rooms, or the Sandstone Brick Walls found in Pyramid structures. Dirt walls placed by the player do work.
- Background walls may contain holes if the holes are no taller or wider than four tiles. (e.g. 4 background tiles across or tall, so the maximum size allowed is 4x4, 16 tiles in total.). Walls may have multiple holes as long as they are separated by at least a single tile of background walls.
- Having background holes may sometimes allow monsters to spawn within the House. To create windows more safely, place sections of Glass Wall instead.
Furniture[edit | edit source]
A House must have at least one valid Light Source, Flat Surface item, and Comfort item placed within it. The items listed below will fulfill these requirements.
- Not every item that provides light will fulfill a House's light source requirement. You must use one of the items listed below.
- Any type of each item listed below will fulfill the requirement. For example, any color Torch will work, as will any theme of Chairs.
Location[edit | edit source]
If a House is located near Corruption or Crimson, it may become uninhabitable. If these spread near an occupied House, the NPC living there may move out and wander the area until a new House becomes available.
A House is considered corrupted based on its "Corruption/Crimson rating," which calculates all tiles in a 45-block "radius" around the house; a house's Corruption/Crimson rating must be 250 or less. This is about half the blocks in the radius.
- Each tile of Ebonstone/Crimstone, Ebonsand/Crimsand, and Corrupted/Crimson vines/plants increases a House's Corruption/Crimson rating by 1.
- Each tile of Hallowed grass, Pearlsand, and Hallowed vines/plants reduces the rating by 1.
- Each Sunflower reduces a House's Corruption Rating by 5.
Note that Pearlstone does not reduce the corruption rating.
A simple valid house[edit | edit source]
- 25 Dirt Block for floor, wall and ceiling.
- 32 Dirt Wall (8 Dirt Block) for background wall.
- Wooden Door (6 Wood). Can be replaced with one Wood Platform.
- Wooden Chair (4 Wood).
- Wooden Table (8 Wood) or Work Bench (10 Wood).
- Torch (1 Wood, 1 Gel, results 3).
Summary raw materials:
Achievements[edit | edit source]
|No Hobo • "Build a house suitable enough for your first town NPC, such as the guide, to move into."|
|Successfully get an NPC to move into your first House.|
|Real Estate Agent • "Have all possible town NPCs living in your world."|
|All town NPCs are housed in your world.|
|Home Sweet Home • "The Guide has moved into your house"|
|Have the Guide move into a house.|
|All In The Family • "Every NPC has moved into your house"|
|All town NPCs are housed in your world.|
Notes[edit | edit source]
- Houses may be attached together and share common walls, floors, ceilings, and doors.
- If a House with an assigned NPC is destroyed or any of its requirements are invalidated, the NPC will wander the area until a valid House becomes available again. If killed, the NPC will respawn once a valid house is restored.
- An NPC will not spawn within its House if that House is on the visible screen at the time, and may walk around the area outside instead. Quitting and restarting in single-player mode will place the NPC in its house. At night, NPCs will be automatically placed inside their Houses if the player travels several screens away, or if the player uses a Magic Mirror or Teleporter.
- The side, top, and bottom of the world will not count as walls.
- If a stone wall has been converted into Pearlstone Wall, the House will become invalid.
- If building a house at a world's original spawn point, it is best to not place any foreground objects or blocks where characters appear. This will remove the object(s) and place them in the new player's inventory.
Tips[edit | edit source]
- Actuators can be used with Brown, Grey, and Lihzahrd Pressure Plates to allow players entry but prevent enemies from entering or NPCs from leaving. Trap Doors can also be used, as neither enemies nor NPCs can open them.
- Players can build an infinite house. This way, you can hold an unlimited amount of NPCs, and you can save time.
- In Mobile, players can force an NPC into a particular house by destroying all the others.
History[edit | edit source]
- 1.3.1: Removed the "Infinite House" glitch.
- 220.127.116.11: Living Leaf Walls can now be used as a background for houses.
- 18.104.22.168: Blue Slab Walls from the Dungeon are now detected as valid for Houses.
- 22.214.171.124: Opening doors will once again cause a room to be unsuitable, but only if two doors are opened into the same room. (Depends on size of room)
- 1.2: Fixed a bug that would cause a suitable house to be unsuitable.
- 1.1: There is now a Housing Menu (a built in interface) for checking if a house is valid for being moved into and designation the specific house for the specific NPC.
- 1.0.6: Requirements modified; may now use a bed, toilet, throne or bench instead of a chair, and may use a dresser, bathtub or bookcase instead of a table or workbench.