House



A Home is a structure built by the player from Blocks, Walls, Furniture, and other items, that can serve as a spawn point for NPCs. An NPC requires an unoccupied Home in order to appear (with the exception of the Guide), and will not appear otherwise. A structure must meet specific Requirements in order for the game to recognize it as a proper Home and spawn NPC's. Also, if you are trying to change an NPC's house, (by using the housing setting in the inventory screen), you must have at least one door closed, or else the game seems to think it doesn't have any at all.

Requirements
'''Housing Requirements have changed with the 1.1 update. The requirements listed below are not necessarily correct, though they still provide a rough guideline.'''

A structure must meet the following requirements in order to function as a Home:
 * The house must be fully enclosed:
 * The side walls can be made of blocks, doors or wood platforms.
 * The floor and ceiling can be made of blocks or wood platforms.
 * A background wall must be placed. Walls not placed by a player (such as naturally-occurring dirt) do not count, with the exception of those behind Floating Island structures, Dungeon Walls or the Planked Walls found in naturally occurring structures in caverns. Any wall that drops when mined is valid, and vice-versa.
 * The NPC needs at least one block to stand on at night; that block cannot be a wood platform.
 * Has at least one placed Comfort item.
 * Has at least one placed Flat Surface item, which is not entirely on a wooden platform.
 * Has at least one entrance, which can be a Wooden Door in a wall or a Wood Platform in the ceiling or floor.
 * Has at least one light source. A Furnace, Lamp Post, Disco Ball or Glowstick will not work for this purpose.
 * Is at least 6 blocks tall and 8 blocks wide, or 5 blocks tall and 7 blocks wide, not including walls, floor or ceiling.

Comfort items
At least one Comfort item must be placed in a Home. Currently the following items may function as Comfort items:
 * Chair
 * Throne
 * Bench
 * Bed
 * Toilet

Flat Surface items
At least one Flat Surface item must be placed in a Home. The Flat Surface item cannot be entirely placed on wooden platforms. Currently the following items may function as Flat Surface items:
 * Table
 * Dresser
 * Workbench
 * Bathtub
 * Bookcase
 * Piano

Simplest valid option
Materials required:
 * 25 Dirt Block for floor, wall and ceiling.
 * 32 Dirt Wall (8 Dirt Block) for background wall.
 * Wooden Door (6 Wood).
 * Wooden Chair (4 Wood).
 * Wooden Table (8 Wood).
 * Torch (1 Wood, 1 Gel, results 3).

Summary raw materials:
 * 33 Dirt Block
 * 19 Wood
 * 1 Gel

This works, but if you don't want house to be occupied by vines it's recommended to replace dirt by wood, stone or mud, or just clear the walls from grass.

While this is the simplest option, it's very susceptible to corruption.