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.

Tile attributes

From Dwarf Fortress Wiki
(Redirected from Underground)
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

Underground and above ground. Simple as that.

Every tile in Dwarf Fortress is described as Outside or Inside, Light or Dark, and Above Ground or Subterranean. Unlike in versions prior to v50, these attributes can no longer be observed from the k menu, when the cursor is located over any single tile.

These attributes do not change what tiles look like. DFHack's Rendermax plugin implements a lighting system into the game, but this is only an aesthetic change, and does not affect tile attributes.

There are eight different combinations, and only four of them occur naturally:

  • Outside Light Above Ground - Outdoors, or within outdoor-like conditions (such as being indoors, but with no roof above the tile, providing direct access to sunlight.)
  • Outside Light Subterranean - Impossible
  • Outside Dark Above Ground - Impossible
  • Outside Dark Subterranean - Impossible
  • Inside Light Above Ground - Constructed buildings on the surface, below-ground-level chambers with constructed floors or buildings only (possibly walls also[Verify]) above them. Also tiles beneath branches of some trees.
  • Inside Light Subterranean - Impossible
  • Inside Dark Above Ground - Possible in arena, does not occur in Adventure mode. It can occur in Fortress mode, e.g: after unretiring on stockpile tiles (biome becoming embark tile level biome).
  • Inside Dark Subterranean - Underground tunnels, including most of your fortress

Being in the dark increases cave adaptation, and being outside causes it to be triggered.

The entire fortress site starts out as Inside Dark Subterranean. After that, a ray for Outside and a ray for Light Above Ground falls straight down from the highest z-level for every (x,y) position on the local map, changing each tile's modifiers until something that blocks that particular "ray" is encountered. Due to this behavior, any of the previous three tile combinations will never be encountered in the same (x,y) position on a lower z-level than a higher-numbered combination.

Outside vs. Inside[edit]

This attribute is determined by whether there is a roof of some kind over a tile. Weather only affects tiles which are Outside. Almost any kind of geometry will block the Outside ray including natural and constructed walls, floors, stairs, and fortifications, and bridges, floor grates, floor bars, and hatches. A tile which is Outside will always be Light Above Ground, but an Inside tile may be either Light Above Ground or Dark Subterranean.

Tiles under a lever-opened bridge, hatch, grate or floor bars will keep counting as inside until any tile in that 1×1 column is built, constructed or dug on to force an update; remaining so after closing until another update.

Light vs. Dark and Above Ground vs. Subterranean[edit]

These two attributes are determined in exactly the same way. Once an area is exposed to the outside world, it is Above Ground and Light (and thus channelling this tile will make the tile below it also Above Ground and Light). Even after being covered up again, it will remain this way. This allows growing outdoor crops inside safely.