- 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.
v0.31:Dwarf fortress mode
| This article is about an older version of DF. |
- This is a comprehensive reference guide for Fortress Mode.
If you are looking for a fortress mode tutorial see the Template:L or Template:L.
Fortress mode is the most popular mode of gameplay in Dwarf Fortress and what most people are thinking of when they talk about the game. In fortress mode, you pick a Template:L, then assign your seven initial Template:L some starting Template:L, equipment, provisions, and Template:L to bring along. After preparations are complete and your hardy explorers Template:L, they'll be faced with the fortress site you picked down to every detail, from geologically appropriate stone types to roaring waterfalls to ornery hippopotami. Rather than control individual dwarves, you design everything and your dwarves go about implementing your designs on their own.
Unlike fortress mode, Template:L is a sort of advanced open world version of rogue or nethack taking place in the same worlds used for fortress mode. In adventure mode you control a single adventurer (character) who travels around, takes on quests, fights, dies, possibly visits your abandoned forts, etc, in a turn-based (rather than real-time) manner. See Template:L for more information.
Goals
As a construction and management simulation game, there are few goals imposed upon the player by the programming.
The main goal, if any, is to take your seven initial dwarves and expand them into a thriving community with skilled Template:L, Template:L and Template:L. Make your dwarves Template:L with fine Template:L, valuable Template:L, precious Template:Ls and protect them from Template:L with deadly Template:Ls. Make sure they have plenty of Template:L and Template:L, by way of Template:L above and below ground and keep them Template:L in Template:L and Template:L.
Of course, every dwarf loves precious Template:Ls, but the only way to find them is Template:L down, down, far down. Make sure you don't dig too greedily, or too deep, for many creatures dwell in the Template:L below and not all are friendly to dwarves....
And don't forget the alcohol. Dwarves get very unhappy without a good stiff drink when the urge hits.
Some more specific Template:L are available here, compiled by fun-loving players from all around. There are also a wide variety of player-created game mods which can add new creatures/crops/items/etc, or increase the difficulty of the game.
The World
To play dwarf fortress in fortress mode you must generate a world that includes a dwarven civilization. See Template:L for detailed instructions on generating a world. After at least one world has been generated you will be able to start the game. Only one game may be going on in at world at the same time.
Non-dwarven civilizations can be played in fortress mode if you modify the raws to add the [CIV_CONTROLLABLE] token to other entity definitions. This is not recommended for new players. See the Template:L for information on how to do this.
Geographic Features
The main features of a world are Template:Ls on the surface and Template:L under the surface, some of which may contain Template:Ls. Other surface features that are significant, but which aren't biomes strictly speaking, are Template:Ls, Template:Les, and Template:Ls.
There are also Template:Ls and magma seas everywhere underground which your dwarves will most likely encounter, but you can't see these on the world map and won't see them on the local map until you dig into them. There may also be other fun things underground that you can't see. You will have to find these on your own, if they exist.
Inhabitants
Every playable world will be inhabited by various Template:Ls, Template:Ls, and Template:Ls (including Template:Ls and Template:Ls) in addition to your dwarves. Even if your dwarves are minding their own business they are practically guaranteed to encounter all of these types of inhabitants at some point in the form of wildlife, invaders, or rampaging forces of nature.
History
Given that your world includes creatures and civilizations capable of independent action, it also has a History that is viewable in Template:L mode. Historical events will show up in Template:L and other artwork created by your dwarves. Historical dates are expressed in terms of the Dwarven Template:L.
You will also be making history as events occur in your fortress and these events will be recorded for all time in the annals of your world, even if you'd rather that they not be. These events may later become the subject of various Template:Ls and Template:Ls created by your dwarves or those in a later fortress.
Embarking
- Main article: Template:L
- Also see: Template:L
Before starting to build a fortress you must pick a site, assign skill points to dwarves, and buy starting equipment. This is known as Embarking and is a major subject in and of itself. See the Template:L guide for all of the details. Also see Template:L for more information on outfitting your expedition.
After you embark, the real game begins.
Gameplay User Interface
- Also see: Template:L
Your main view of the in-game world is that of a multi-layered environment which you can move in the four main cardinal directions as well as up and down Template:Ls in elevation. The generated worlds are made of tiles, each representing anything in the world. There is also a command menu that lets you set commands that your dutiful dwarves will attempt to follow.
This section covers most of the screens and user interface elements used after embarking, at least in brief. It does not necessarily tell you how to accomplish every task you might need to, but instead just describes what you see on the screen and what various keystrokes do.
Later sections in this document and many other articles on this wiki help you tie all of this together by describing the sequence of actions needed to accomplish various things in the game; this section is mostly a reference for the UI itself.
Common UI Concepts
About key symbols
This wiki uses symbols that look like t or
t to indicate what keys or interface buttons are used for an operation. Note that keys are case sensitive and to save space, Shift+t is shown as T. So t means "press the 't' key without the shift key" and T means "hold down shift and press the 't' key". Lowercase and uppercase keys will often perform different functions, so it is important to use the correct key. Sequences of keys will be in separate boxes, so abC means "press 'a', then press 'b', then hold shift and press 'c'"; while
b
T means "press 'b', then hold shift and press 'T'. A plus sign '+' between the boxes means to press them all together, so Shift+Enter means to hold shift and press 'Enter'. Other separators, such as ',' or '-', might be used but mean the same as no separator: to press the keys in sequence.
Keybindings can be seen and changed on the Keybindings tab in the Settings menu.
| Esc or right mouse | Go back to the previous screen/menu |
| Mouse wheel | Scroll menu one line |
| Shift+mouse wheel | Scroll menu one page |
| Left mouse | Select menu option |
Esc or right mouse will almost always return to the previous screen until you get to the top level of the UI, at which point Esc will display the options menu.
Pausing and Resuming
| Space | Pause/Unpause the game |
Most of the commands, except for the squads command, will automatically pause the game when you initiate them, but if you want to pause or unpause the game without initiating a command use Space. You will see *PAUSED* appear in the upper left corner of the window when the game is paused. Some announcements will pause the game automatically and you will have to unpause it manually to proceed.
Main Screen
| Zoom in and out | |
| Tab | Toogle mini-map and command menu. |
| F11 | Toggle fullscreen mode |
The screen at the top level of the user interface hierarchy consists of the main map, a command window, and an overview mini-map area along with a few status indicators around the edge. While the main map is always visible at the top level of the UI, you can use the Tab key to show and hide the command window and overview map areas, giving you more space to view the main map if desired.
Options Screen
| Esc | Enter options menu (if at top level) |
| Esc | Move back up one UI level (if not at top level) |
Assuming you are at the top level of the user interface looking at the map, you can hit Esc to enter the options menu. This allows you to do things like save or abandon your game.
- Return to Game - Exit the options menu. You can also just press Esc.
- Save Game - Saves the game and exits to the main menu screen.
- Key Bindings - A UI for changing the Template:L
- Export Local Image - Use this to export each level of your map as .BMP files for use on such things as the Dwarf Fortress Map Archive
- Music and Sound - Options related to the Template:L
- Abandon the Fortress (or Succumb to Invasion) - This Template:Ls the fortress and then saves the map to the world's data files for later use. Once you abandon a fort, all of your dwarves cease to exist, all of your livestock dies, and all items including corpses will be scattered around the map before it is saved. This is how you "give up" on a fortress. You might later Template:L the fortress with a new group of dwarves or visit it with an adventurer in Template:L.
Main Map
| ↑ ↓ ← → ( + shift) | Move map view around |
| 8 2 4 6 7 9 1 3 (keypad) | Move map view around |
| < > | Move one Template:L up or down. |
| F1 | Zoom to starting location (default hotkey) |
The main map window is what you will be looking at the majority of the time. This is where all of the action happens.
While the play area itself is three-dimensional, the window is not; you can only view one Template:L at a time. You can change which Z-Level is currently displayed using < and >.
On the far right side of the screen is the depth bar showing you the approximate depth, below or above ground, of the current Template:L that the map is displaying. This indicator is relative to the surface, so it will change if you move the map around a map with a non-flat surface, even if you don't press < or >.
Map Cursor
| 8 2 4 6 7 9 1 3 (keypad) | Move map cursor 1 tile |
| ↑ ↓ ← → | Move map cursor 1 tile |
| shift + direction key | Move map cursor 10 tiles |
After entering a command that involves the map cursor (X), you can use ↑ ↓ ← → as well as the numeric keypad keys to move the cursor around horizontally and diagonally. If you hold Shift while pressing one of these, the cursor will move 10 tiles instead of one enabling you to move it more quickly.
Examining Map Tiles
| k | Look around |
| v | View units |
| t | Items in buildings |
Like most people you will often find yourself wondering what some symbol on the map represents, and there may also be more than one object on a tile making it impossible to see all objects on the map. This is what makes the Look Around and view Units commands so important. Like most commands, all of these commands autopause the game, and unpause it when exited with Esc. Most of these commands will also allow you to forbid, dump, melt, or hide each item if you want (see Setting Item Properties).
Look Around
Hit k and use the directional keys to move the cursor onto the tile you want information about. The command window will display information about what the tile is along with what objects are present on that tile and whether the tile is Inside or Outside, Dark or Light, and Above Ground or Subterranean (See Template:L.)
You can also use - + to select a specific item from the list and Enter to get a more detailed description of the item. However if the item is a creature then the information you get from this will be limited. For creatures you will probably want to use view Units.
View Units
To get information on a creature beyond what the look command gives you, use the view units command. This works the same way as look around except that more information will be displayed especially if the creature you select is one of your dwarves. In this case you will be able to examine what Template:Ls are enabled and examine/manipulate their inventory in addition to viewing more detailed information about them.
Items in Buildings
Items in a building, such as a workshop, are considered to be "in the building" rather than on a specific tile. To view items inside a building, use View Items In Buildings. Move the cursor onto a building and a list of items will appear in the command window. You can use - + to scroll through this list and set their properties. The material that the building is made of will also appear.
Hotkeys
| h | Define hotkeys |
| F1 - F8 | Zoom to previously saved map location |
| Shift + F1 - F8 | Zoom to previously saved map location |
- Main article: Template:L
Once you have a lot of activities going on in vastly separated areas of the map, you may find it rather cumbersome to move the map view around to all of these areas using only the directional keys. Template:L will make your life much easier by "bookmarking" specific map areas allowing you to instantly jump to those areas at the press of a button. See the full documentation on Template:L for more details.
Points/Routes/Notes
| N | Define Points/Routes/Notes |
- Main article: Template:L
The Points/Routes/Notes command allows you to set notes on individual tiles, set up waypoints, and set up patrol routes for your Template:L. This is an advanced feature that you're not likely to want to use at first. See the full documentation on Template:Ls for more information.
Overview Map
The overview mini-map will show you a compact version of the entire available map area. This can be useful especially if your embark zone is very large. After a while though, you will probably have settled into certain areas of the map and won't need it as much, so use Tab to hide it once you want to reclaim more space for the main map.
A cursor that looks like X on the overview map will show you approximately what part of the map you are viewing in the main map window. Parts of the map inhabited by dwarves will be highlighted in blue.
Status Indicators
In the upper left corner of the screen you may see some report flags indicating that new combat-related Template:L have been generated. The flags are:
C: new Template:L report availableH: new Template:L report availableS: new Template:L report available
Press r to view the new reports in the reports screen and once you do the flags will be reset.
There is also an Idle counter, usually in the upper right, indicating how many dwarves are milling around uselessly, in need of something productive to do.
You may also see a Template:L (Frames Per Second) counter on the screen if it has been enabled. It is disabled by default. See Template:L for more information on what this counter means, as well as how to enable/disable it.
Command Window
This is where key menus and most of the textual information about tiles and buildings is displayed. You can toggle it between single width, double width, and hidden using Tab. The double-width option is particularly useful when lines of text are too long to fit. Once you become very familiar with the UI you may want to hide it completely; it will reappear as needed when you activate a command.
The most important interfaces that use the command window are listed below. Many of these encompass a wide variety of functionality so they will not be fully described here. See the linked articles for more details on how they are used.
Building
| b | Enter Building submenu |
This submenu allows you to place various dwarf-constructed features on the map including furniture, doors, workshops, farm plots, roads, and other buildings. The Template:L menu includes the commands for placing almost any artifice that your dwarves might place on the map, whether it's furniture constructed in a workshop and installed somewhere, or a workshop built in place from raw materials.
This menu allows you to place or build:
Most buildings are removed by using q, placing the cursor on the building, and pressing x to mark the building for removal.
Define Burrows
| w | Define Burrows |
Allows you to define areas to which assigned dwarves will be restricted. This is an advanced feature that you are unlikely to want to use at first. See the Burrows section for more information.
Designations
| d | Enter Designations submenu |
| d-x | Remove/cancel designations |
Allows you to designate:
- Areas to be mined
- Walls and floors to be smoothed or engraved
- Trees and plants to be gathered
- Item properties to be set (en mass)
- Traffic designations
See the appropriate sections for information on each one.
Most designations can be removed/canceled (before the dwarves act on them) by using d-x.
Orders
| o | Enter standing orders submenu |
This submenu allows you to set up standing orders that control some general behavior of dwarves, such as whether or not they gather refuse from outside or automatically render fat into tallow. These are not military-related orders.
Set Building Tasks/Prefs
| q | Queue up workshop tasks or set building preferences |
This allows you to control rooms, buildings, workshops and stockpiles. It is used heavily for setting up manufacturing of various goods. It works much like the look command in that the contents of the command window will depend on which building the cursor is placed.
See the appropriate sections for more information.
q-x is used to remove buildings and cancel their construction if they haven't been built yet.
Squads
| s | Display Squads menu |
Once you have created at least one Template:L in the Template:L screen, you can give them Template:L to move to certain locations and attack certain creatures. See Template:L for more details.
Stockpiles
| p | Define Stockpiles |
This lets you define stockpiles which are areas of floorspace where different types of goods are stored.
Zones
| i | Define Activity Zones |
This lets you define activity zones which are areas reserved for specific purposes such as fishing or pinning up unfortunate creatures.
Other Screens
These are functions which have their own user interfaces that take up the entire contents of the screen.
Announcements
| a | Display Announcements screen |
- Main article: Template:L
An announcement is a message displayed at the bottom of the game screen used to indicate something important. The announcement screen lets you go back through the log of messages to look at ones you may have missed. See the main article on Template:Ls for full details. Some announcements may automatically pause the game, requiring it to manually be resumed.
Artifacts
| l | View Legendary Artifacts screen |
At various points your dwarves will go into Template:Ls which will cause them to create Template:Ls if they have the necessary materials. You can use this screen to view all of the artifacts that dwarves have created, as well as Template:L, which aren't artifacts per se.
Civilizations
| c | View nearby civilizations |
This screen allows you to view information about Template:Ls that are either near your fortress or that you have come into contact with in some manner, be it peaceful or otherwise. You can use directional keys, Enter, Tab, and

