Door

== Acquisition ==
Note that in addition to the normal architect menu, doors can be selected for construction via a gizmo that appears when walls are selected.
== Summary ==
Doors mostly act like walls. Doors are valid structures for supporting roofs and creating rooms. Opening a door will allow access and make heat transfer faster. Note that the room is still considered enclosed for temperature mechanics. So, unlike a hole in the wall, an open door will not equalize temperature instantly with the outdoors. Floor under a door does not count towards a rooms' stats, but filth on that tile does count. Doors do not block the interaction spots of buildings.
Opening a door take a small amount of time, dependent on the material. Doors can be opened by colonists, slaves, friendly mechanoids, revenants and prisoners during prison breaks. Doors cannot be opened by raiders, manhunter animals, or prisoners that are not participating in a prison break. 
Doors can be held open by selecting the door and toggling the gizmo marked as such. The door will not open or close automatically. Instead, a held open door will simply not close after the next friendly pawn opens it, and a held open door toggled off will close after the next pawn walks through it. 
Doors can also be forbidden, again by selecting the door. Colonists and other colony-controlled pawns will not pass through it, even if open. However, colonists under a mental break will ignore restrictions, as do visitors, traders, and enemies.
=== Enemy behavior ===
In general, humanoid and mechanoid raiders treat a closed door like a wall. Most raiders will only try and break one if there are no other paths to their target. Sappers and breachers can break doors intentionally. Doors have less than walls, so tend to be prioritized. Retreating enemies will often break down doors in their path out, even if they have higher HP than the surrounding walls. The exact mechanics behind this are unknown. Manhunter animals will only try and break doors if they see something go inside it. Prisoners who have gone berserk will try and break out, while those in a prison break "have broken the locks" and can just open them.
Revenants can always open doors, revealing their location, as the door can still be seen opening and closing.
Unclaimed doors, like those in ruins, can be opened by any non-animal until they are claimed. Doors owned by an enemy must be claimed (which requires defeating said enemy) in order for colonists to open them.
== Analysis ==
=== Material choice ===
Wood is plentiful in most biomes, easy to construct, and quick to open, so a newer colony will typically make all of their doors out of it. However, it is both flammable and not especially durable, so are prone to destruction. Later on, wood is still useful for internal structures, where their health doesn't really matter.
Steel doors are moderately expensive. They are still vulnerable to fire, but have more health and open reasonably quickly. Once you can afford them, they are a decent upgrade to wood. Uranium and then plasteel have even more health, but are expensive materials, so should be reserved for prisons and active combat zones.
Stone doors open very slowly. However, they are cheap, durable and have 0% flammability. Use stone doors in places where colonists won't travel a lot or where high durability is needed, such as a burning room, battery compartment, a geothermal generator room, or a Containment Cell. Granite blocks is the hardiest stone material, and no slower than any other stone.
Once autodoors have been researched, and you have the power and component supplies to reliably operate them, standard doors can be replaced with alternative materials and not slow down traffic at all, or at least slow it far less.
=== Temperature regulation ===
When creating temperature controlled spaces, such as freezers, two doors can be used to create an 'airlock' to improve insulation and reduce temperature equalization, similar to double thick walls. The two doors should be placed in the path of travel, not side by side, and ideally a single tile space is placed between the doors. If they are placed directly adjacent to each other both doors will be open at the same time as a pawn walks through them, allowing more heat to get out, though it will still perform better than a single door on average. 
On the other hand, open doors can increase temperature equalization, either with another room or the outdoors. Equalization through open doors is less potent than vents.
=== Mini-rooms ===
Because doors do not block the interaction spots of buildings, it's possible to build "mini-rooms" that are only large enough for the building itself, with the door at the interaction spot. Mini-rooms are best used for buildings that don't damage pawn mood when used in cramped quarters, such as cryptosleep caskets and biosculpter pods, or buildings that see only very brief use, such as a comms console outside of Biotech since Children will frequently use it to fill their learning need.
These rooms are especially useful for biosculpter pods: mini-rooms only require 6 tiles of sterile tile per pod for maximum cleanliness. Note that while the door's tile does not need to be sterile tile itself, it does need to be kept free of dirt for the best bonus to apply. The door can be held open to maximize speed of access for nutritional loading or emergency medic cycles while still maintaining the cleanliness bonus
== Version history ==
* 0.3.410 - Added.
* 0.7.581 - Now lockable.
* 1.3.3066 - Doors not owned by the player can be forbidden.
* 1.3.3117 - Added a "build door" gizmo that displays when a wall or wall blueprint is selected.
Category:Structure Category:Door