Beds



Beds are furniture items which allow the player to set a new spawn point or to allow time to pass 5 times faster by sleeping  and get a boost on health regeneration, same as chairs. Beds fulfill the chair requirement for the purposes of housing. Beds have two separate sections which can be interacted with via. Interacting with the head of a bed causes the player to enter the bed and sleep. Interacting with the foot half of a bed, when it is placed in a valid House, changes the player's spawn point.

Like most other furniture, the direction a bed is placed in depends on the direction the player is facing when placing it.

There are currently 35 /  27 craftable beds and 5 that can be acquired from the environment. All beds are functionally identical, and differ only in appearance.

Sleeping
Pressing on the head of a bed causes the player to enter the bed and "sleep," which accelerates time by five times its normal rate (1 hour of in-game time, which would usually take 1 minute of real-life time, takes only 12 seconds while sleeping). This affects game time, including watches, the sun and moon, and background animations (but not buff timers, NPC movement or other animations).


 * Sleeping has no effect during invasion events, including Blood Moons and Lunar Events, or when an Enchanted Sundial is advancing time.
 * While sleeping, a player can hold items like a Torch or Umbrella, but using items will cause the player to wake up.
 * If an item that can aim like a bow or gun is used, the player can attack while asleep. Doing so will revert to normal time for a couple of seconds. Using items that do not aim or using any item while the cursor is beneath the bed will cause the player to wake up.
 * The player will also wake up if attacked.
 * Time acceleration in multiplayer requires that all players be asleep.
 * Sleeping does not affect potion cooldowns or durations. However, it does give a boost on health regeneration. The latter effect is shared with chairs and sofas.

Setting player spawn point
Pressing on the foot of a bed, when it is placed in a valid room, sets the player's spawn point to that bed. This is signified by the status message "" When the same is done on a bed that has already been set as the player's spawn point, the status message "" is shown, and the player's spawn point is set back to the world's default.

For a bed to function properly as a spawn point, it must be in a valid room. Other than the bed itself, no other furniture or lighting is required. There must also be clear space at the head of the bed for the player to stand. A bed may be placed in a non-rectangular room, as long as the leftmost 3 tiles immediately above it are left clear.

For example: There may be a bed (4×2) surrounded by blocks on the left, right, and bottom, and above the foot of the bed, as long as there is space for the player to spawn at the head of the bed.


 * [[File:Valid bed.png]]

The top-left 3 tiles just above the bed are clear. The mirror image of this arrangement is also valid.

Tips

 * It is advisable to place and activate a bed in the same house the Nurse is living in, so immediate healing is available after recalling or respawning. Be careful not to reset the spawn point by accidentally hitting the bed upon pressing the Nurse's "heal" button, in case she is standing in front of the bed.
 * There are many naturally-generated structures which can serve as suitable locations for a bed, such as Underground Cabins or the houses on Floating Islands. Some might require minor modifications, e.g. to fill background wall holes.

Trivia

 * The Pink Dungeon Bed was previously called Red Dungeon Bed. It still is on the.

History
Betten Lits