v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "40d:Building"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (link "construction")
(Clean up, simplify, remove assumptions about Toady's motivations and state of mind.)
Line 1: Line 1:
A '''building''' is a structure that can be placed from the {{k|b}}uild menu. Some buildings are made with [[furniture]] from a [[workshop]], which can then be made into [[room]]s. Building tasks and preferences are changed with the building tasks/prefs command {{k|q}}.
+
A '''building''' is a structure that can be placed from the {{k|b}}uild menu and then interacted with by the Set Building Tasks/Prefs command {{k|q}}, and the View Items in Buildings command {{k|t}}. Included in this are workshops, doors, trade depots, beds, cabinets, bridges, and traps -- most of the interesting stuff your dwarves will build!
  
Buildings are distinct from [[construction]]s.
+
Most buildings are made from raw materials and/or other finished items. Some buildings are placed [[furniture]]; a cage or alunite throne sitting in a stockpile is just furniture and can be washed away, burnt, bled upon, etc., but when {{k|b}}uilt becomes a building that can be interacted with. (Or, what seems more accurate to say, a new building is created and the original piece of furniture whisked away to its inventory.) Some buildings can be used to define [[room]]s.
  
==Building Technicalities==
+
Buildings are often considered distinct from [[construction]]s. While both are built via the {{k|b}} build menu, constructions are inert to {{k|q}} and {{k|t}}, are removed by [[designation]], and are generally more similar to terrain features. Furthermore, dwarves can place buildings on constructed floors, but buildings cannot overlap other buildings, nor can constructions overlap other constructions. Also constructions provide support while buildings do not.
 +
 
 +
==Overlap of Buildings and Constructions==
 
:''This section is valid as of version {{version|0.28.181.40d}}
 
:''This section is valid as of version {{version|0.28.181.40d}}
  
The current system works something like this: Tiles can have one of three states, wall, floor, and empty space, along with some attributes, like what items, buildings and constructions are in them, as well as their material. Toady hasn't implemented constructions that actually act as terrain, they are merely part of a "construction" attribute.{{verify}} When you build a down stair over a terrain down stair, for example, the down stair is added as a "construction" attribute. Tiles with a construction attribute of a tile type (as in wall/floor/empty space) identical to their terrain counterpart will hide the terrain counterpart, both in the view tile screen and when building something like a workshop over it, otherwise the construction simply imitates it's terrain counterpart.
+
Most tiles have one of these simple states: wall, empty space, or floor.
  
The reason you can't build a wall on a constructed floor is that though the constructed floor is supposed to only overlap it's terrain counterpart, DF doesn't allow for having more than one construction in a tile, hence there's a conflict. Walls are a special case, you simply can't build anything in them, and you can only build floors, walls, and a few other buildings like wells in empty space. Constructed walls have some kind of floor on top of them which is linked to the wall, it seems that the wall-floors ARE constructions, but they don't overlap anything and don't conflict with other structures. It was likely a quick hack by Toady.{{verify}} Up/Down Stairs are identical to Down Stairs, as far as what can be built on them is concerned.
+
Nothing can be built or constructed inside a wall. Constructions and some furniture (wells, grates, bridges) can be built over empty space. So almost all building occurs on floor tiles, whether carved naturally, or constructed. Note that a tile that would otherwise be empty space behaves as a floored space if over a constructed wall.
  
The table below details which building and constructions will prevent the construction of certain other buildings and constructions, since the system isn't always consistent. This table isn't necessarily complete, there's probably more buildings which are inconsistent.
+
When it comes to stairs and ramps, the behavior is not very intuitive.  The table below details which building and constructions will prevent the construction of certain other buildings and constructions, since the system isn't always consistent. This table isn't necessarily complete, there's probably more buildings which are inconsistent.
  
Legend
 
{|{{prettytable}}
 
|Yes||Constructions can coexist
 
|-
 
|No||Constructions conflict
 
|-
 
|!!||Construction conflict, building in the tile will completely overwrite it
 
|-
 
|X||Not vertically supported by construction/terrain
 
|-
 
|Z||Not horizontally supported by construction/terrain
 
|-
 
|?||Untested, undetermined, or not applicable
 
|}
 
  
 
{| {{prettytable}}
 
{| {{prettytable}}
Line 37: Line 25:
 
! Floor
 
! Floor
 
! Up Stair
 
! Up Stair
! Down Stair
+
! Down or Up/Down Stair
 
! Up Slope
 
! Up Slope
 
! Down Slope
 
! Down Slope
Line 47: Line 35:
 
|-
 
|-
 
! Workshop
 
! Workshop
|{{No}}(XZ)||{{No}}(XZ)||{{Yes}}(X?)||{{No}}(XZ)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)
+
|{{No}}||{{No}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}
 
|-
 
|-
 
!Other Buildings
 
!Other Buildings
|{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)
+
|{{No}}||{{No}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||Some
 
|-
 
|-
 
!Constructed Floor
 
!Constructed Floor
|{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(XZ)||{{Yes}}(??)
+
|{{No}}||{{No}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{Yes}}
 
|-
 
|-
 
!Constructed Wall
 
!Constructed Wall
|{{No}}(??)||{{Yes}}(??)||{{Yes}}(??)||!!(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(XZ)||{{Yes}}(??)
+
|{{No}}||{{Yes}}||{{Yes}}||{{Yes|Yes¹}}||{{Yes}}||{{Yes}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{Yes}}
 
|-
 
|-
 
!Constructed Up Stair
 
!Constructed Up Stair
|{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(XZ)||{{Yes}}(??)
+
|{{No}}||{{No}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{Yes}}
 
|-
 
|-
 
!Constructed Down Stair
 
!Constructed Down Stair
|{{No}}(??)||{{No}}(??)||{{Yes}}(Z)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(??)*
+
|{{No}}||{{No}}||{{Yes}}||{{No}}||{{Yes}}¹||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}²
 
|-
 
|-
 
!Up/Down Stair
 
!Up/Down Stair
|{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(??)*
+
|{{No}}||{{No}}||{{Yes}}||{{No}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}²
 
|-
 
|-
 
!Ramp
 
!Ramp
|{{No}}(??)||{{No}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{Yes}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{No}}(??)||{{Yes}}(XZ)||{{Yes}}(??)
+
|{{No}}||{{No}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{Yes}}||{{No}}||{{No}}||{{No}}||{{No}}||{{Yes}}||{{Yes}}
 
|}
 
|}
  
*note that constructed down and up/down stairs must be constructed 1 z-level above an existing up stair if you wish to build them in open space.
+
¹Destroys natural up stairs on the tile.
 +
 
 +
²Down and up/down stairs must be constructed 1 z-level above an existing up stair if you wish to build them in open space.
  
 
== List of buildings ==
 
== List of buildings ==

Revision as of 21:57, 25 September 2009

A building is a structure that can be placed from the build menu and then interacted with by the Set Building Tasks/Prefs command q, and the View Items in Buildings command t. Included in this are workshops, doors, trade depots, beds, cabinets, bridges, and traps -- most of the interesting stuff your dwarves will build!

Most buildings are made from raw materials and/or other finished items. Some buildings are placed furniture; a cage or alunite throne sitting in a stockpile is just furniture and can be washed away, burnt, bled upon, etc., but when built becomes a building that can be interacted with. (Or, what seems more accurate to say, a new building is created and the original piece of furniture whisked away to its inventory.) Some buildings can be used to define rooms.

Buildings are often considered distinct from constructions. While both are built via the b build menu, constructions are inert to q and t, are removed by designation, and are generally more similar to terrain features. Furthermore, dwarves can place buildings on constructed floors, but buildings cannot overlap other buildings, nor can constructions overlap other constructions. Also constructions provide support while buildings do not.

Overlap of Buildings and Constructions

This section is valid as of version v0.28.181.40d

Most tiles have one of these simple states: wall, empty space, or floor.

Nothing can be built or constructed inside a wall. Constructions and some furniture (wells, grates, bridges) can be built over empty space. So almost all building occurs on floor tiles, whether carved naturally, or constructed. Note that a tile that would otherwise be empty space behaves as a floored space if over a constructed wall.

When it comes to stairs and ramps, the behavior is not very intuitive. The table below details which building and constructions will prevent the construction of certain other buildings and constructions, since the system isn't always consistent. This table isn't necessarily complete, there's probably more buildings which are inconsistent.


Workshop Other buildings Natural Constructed Open Space
Floor Up Stair Down or Up/Down Stair Up Slope Down Slope Floor Up Stair Down Stair Up Ramp Down Ramp
Workshop No No Yes No No No No Yes No No No No No
Other Buildings No No Yes No No No No Yes No No No No Some
Constructed Floor No No Yes Yes Yes Yes Yes No No No No Yes Yes
Constructed Wall No Yes Yes Yes¹ Yes Yes Yes No No No No Yes Yes
Constructed Up Stair No No Yes Yes Yes Yes Yes No No No No Yes Yes
Constructed Down Stair No No Yes No Yes¹ No No No No No No No Yes²
Up/Down Stair No No Yes No Yes No No No No No No No Yes²
Ramp No No Yes Yes Yes Yes Yes No No No No Yes Yes

¹Destroys natural up stairs on the tile.

²Down and up/down stairs must be constructed 1 z-level above an existing up stair if you wish to build them in open space.

List of buildings


Rooms
Furniture
Animal trapAnvilArmor standBedBinBucketCabinetCageCoffinContainerRestraintSeatStatueTableWeapon rack

Access
DoorFloodgateBarsGrateFloor hatchBridgeRoadWindow
Constructions
Machine & Trap parts
Other Buildings
Related Articles