Dwarf Fortress
   HOME

TheInfoList



OR:

''Dwarf Fortress'' (officially called ''Slaves to Armok: God of Blood Chapter II: Dwarf Fortress'') is a
construction and management simulation Construction and management simulation (CMS), sometimes also called management sim or building sim, is a subgenre of simulation game in which players build, expand or manage fictional communities or projects with limited resources. Strategy vide ...
and
roguelike Roguelike (or rogue-like) is a subgenre of role-playing computer games traditionally characterized by a dungeon crawl through procedurally generated levels, turn-based gameplay, grid-based movement, and permanent death of the player characte ...
indie video game An indie game, short for independent video game, is a video game typically created by individuals or smaller development teams without the financial and technical support of a large Video game publisher, game publisher, in contrast to most AAA ...
created by Bay 12 Games. Available as
freeware Freeware is software, most often proprietary, that is distributed at no monetary cost to the end user. There is no agreed-upon set of rights, license, or EULA that defines ''freeware'' unambiguously; every publisher defines its own rules for the f ...
and in development since 2002, its first
alpha version A software release life cycle is the sum of the stages of development and maturity for a piece of computer software ranging from its initial development to its eventual release, and including updated versions of the released version to help impro ...
was released in 2006 and received attention for being a two-member project surviving solely on donations. The primary game mode is set in a
procedurally generated In computing, procedural generation is a method of creating data algorithmically as opposed to manually, typically through a combination of human-generated assets and algorithms coupled with computer-generated randomness and processing power. In ...
fantasy world in which the player indirectly controls a group of dwarves, and attempts to construct a successful and wealthy fortress. Critics praised its complex and
emergent gameplay Emergent gameplay refers to complex situations in video games, board games, or table top role-playing games that emerge from the interaction of relatively simple game mechanics. Designers have attempted to encourage emergent play by providing to ...
but had mixed reactions to its difficulty. The game influenced ''
Minecraft ''Minecraft'' is a sandbox game developed by Mojang Studios. The game was created by Markus "Notch" Persson in the Java programming language. Following several early private testing versions, it was first made public in May 2009 before being ...
'', ''
Rimworld ''RimWorld'' is a construction and management simulation video game developed and published by Montreal-based developer Ludeon Studios. Originally called ''Eclipse Colony'', it was initially released as a Kickstarter crowdfunding project in earl ...
'', and others, and was selected among other games to be featured in the
Museum of Modern Art The Museum of Modern Art (MoMA) is an art museum located in Midtown Manhattan, New York City, on 53rd Street between Fifth and Sixth Avenues. It plays a major role in developing and collecting modern art, and is often identified as one of ...
to show the history of video gaming in 2012. The game has
text-based In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals and not just text), is a retronym describing a type of user interface (UI) common as an ear ...
graphics (using the CP437 character set) and is open-ended with no main objectives. Before playing, the player has to set in motion a process which generates a fantasy world with continents, oceans, and islands, produced via generative
geology Geology () is a branch of natural science concerned with Earth and other astronomical objects, the features or rocks of which it is composed, and the processes by which they change over time. Modern geology significantly overlaps all other Ear ...
and
hydrogeology Hydrogeology (''hydro-'' meaning water, and ''-geology'' meaning the study of the Earth) is the area of geology that deals with the distribution and movement of groundwater in the soil and rocks of the Earth's crust (commonly in aquif ...
,
meteorology Meteorology is a branch of the atmospheric sciences (which include atmospheric chemistry and physics) with a major focus on weather forecasting. The study of meteorology dates back millennia, though significant progress in meteorology did not ...
, and
biogeography Biogeography is the study of the distribution of species and ecosystems in geographic space and through geological time. Organisms and biological communities often vary in a regular fashion along geographic gradients of latitude, elevation, ...
, and then fully simulates the evolution of all civilizations down to the lives of their inhabitants in order to yield a coherent world with internally consistent lore and history. The main game mode, Dwarf Fortress mode, is a colony management game that starts with selecting a suitable site from the generated world, establishing a successful colony or fortress, combating threats like goblin invasions, monster sieges, or undead hordes, generating economic wealth and taking care of the dwarves. Each creature, from animal to dwarf, is modeled down to its body parts, bodily fluids, organs, bones, teeth, hair, and tissues (which, depending on the creature, can be made of more unusual fantastic materials such as metal or stone, or even mist, fire, or moss) each of which can be injured or lost. Each creature has a discrete mind and individual personality, including likes and dislikes, and possesses specific trainable or innate skills in various labors and abilities, as well as short and long term memories to facilitate all this, as well as influencing its current emotional state. The second main game mode, Adventurer mode, is a
turn-based In video and other games, the passage of time must be handled in a way that players find fair and easy to understand. This is usually done in one of the two ways: real-time and turn-based. Real-time Real-time games have game time progress cont ...
, open-ended, open world
roguelike Roguelike (or rogue-like) is a subgenre of role-playing computer games traditionally characterized by a dungeon crawl through procedurally generated levels, turn-based gameplay, grid-based movement, and permanent death of the player characte ...
where the player starts off as a player made adventurer in the world and is free to explore, complete quests, or visit old abandoned fortresses. The combat system in both modes is anatomically detailed with combat logs describing events like organs getting pierced, fat getting bruised and limbs getting severed. Creatures have no
hit point Health is an attribute in a video game or tabletop game that determines the maximum amount of damage or loss of stamina that a character or object can take before dying or losing consciousness. In role-playing games, this typically takes the f ...
s, and instead death occurs as a result of the impairment or disruption of vital functions. Prior to ''Dwarf Fortress'', Tarn Adams was working on a project called ''Slaves to Armok: God of Blood'' which was a
role-playing game A role-playing game (sometimes spelled roleplaying game, RPG) is a game in which players assume the roles of player character, characters in a fictional Setting (narrative), setting. Players take responsibility for acting out these roles within ...
. By 2004, Adams decided to shift from the original ''Armok'' to ''Dwarf Fortress'' after the former became difficult to maintain. Adams calls it his life's work and said in 2011 that version 1.0 will not be ready for at least another 20 years, and even after that he would continue to work on it. The game has a
cult following A cult following refers to a group of fans who are highly dedicated to some person, idea, object, movement, or work, often an artist, in particular a performing artist, or an artwork in some medium. The lattermost is often called a cult classic. ...
and an active online community. As there are no win conditions, every fortress or adventurer that isn't "retired", no matter how successful, is usually destroyed or defeated somehow. This prompted the community motto: "Losing is Fun!"


Gameplay


Overview and game modes

''Dwarf Fortress'' has three primary game modes which take place in worlds created by the player, where most of the elements are randomly generated. * Dwarf Fortress mode, a
construction and management simulation Construction and management simulation (CMS), sometimes also called management sim or building sim, is a subgenre of simulation game in which players build, expand or manage fictional communities or projects with limited resources. Strategy vide ...
of a colony of dwarves. There are no objectives, with the player being free to decide how to go about managing the colony and making them interact with the environment, thus making it an open-ended and sandbox-style game. Since there is no way to win, it only ends when the entire colony is defeated by the various possible threats, or the player decides to abandon or retire the fortress. The visuals are
text-based In computing, text-based user interfaces (TUI) (alternately terminal user interfaces, to reflect a dependence upon the properties of computer terminals and not just text), is a retronym describing a type of user interface (UI) common as an ear ...
using slightly modified code page 437 characters in various colors as graphics. Thus, it is full of letters, numbers,
Box-drawing character Box-drawing characters, also known as line-drawing characters, are a form of semigraphics widely used in text user interfaces to draw various geometric frames and boxes. Box-drawing characters typically only work well with monospaced fonts. In ...
s and symbols; for example, a dwarf is represented by the character (which is changed in the game's version of CP437 to resemble a dwarf), a cat is a dark grey "c", a dog is a brown "d", and a giant spider is a light grey "S". * Adventurer mode, a
turn-based In video and other games, the passage of time must be handled in a way that players find fair and easy to understand. This is usually done in one of the two ways: real-time and turn-based. Real-time Real-time games have game time progress cont ...
, open-ended
roguelike Roguelike (or rogue-like) is a subgenre of role-playing computer games traditionally characterized by a dungeon crawl through procedurally generated levels, turn-based gameplay, grid-based movement, and permanent death of the player characte ...
where the player starts off as an adventurer. * In Legends mode, players can view maps, histories of each civilization and any figure who has lived or died in the generated world. Any noticeable achievement made by the player in any of the two game modes is recorded and is viewable in Legends mode. * An object testing arena is present, where players can simulate battles between selected units in various conditions. It is also used for testing mods.


World generation

The first step in ''Dwarf Fortress'' is generating a playable world; only one game can be played per world at a time. The player can adjust certain parameters governing size, savagery, mineral occurrences and the length of history. The map shows symbols representing roads, hills, towns and cities of the various civilizations, and it changes as the generation progresses. The process involves
procedurally generated In computing, procedural generation is a method of creating data algorithmically as opposed to manually, typically through a combination of human-generated assets and algorithms coupled with computer-generated randomness and processing power. In ...
basic elements like elevation, rainfall, mineral distribution, drainage and temperature. For example, a high-rainfall and low-drainage area would make a swamp. Areas are thus categorized into
biome A biome () is a biogeographical unit consisting of a biological community that has formed in response to the physical environment in which they are found and a shared regional climate. Biomes may span more than one continent. Biome is a broader ...
s, which also have two variables: savagery and
alignment Alignment may refer to: Archaeology * Alignment (archaeology), a co-linear arrangement of features or structures with external landmarks * Stone alignment, a linear arrangement of upright, parallel megalithic standing stones Biology * Structu ...
. They have their own specific type of plant and animal populations. The next phase is erosion—which the drainage simulates. Rivers are created by tracing their paths from the mountains (which get eroded) to its end which is usually an ocean; some form into lakes. The salinity field defines oceans,
mangrove A mangrove is a shrub or tree that grows in coastal saline water, saline or brackish water. The term is also used for tropical coastal vegetation consisting of such species. Mangroves are taxonomically diverse, as a result of convergent evoluti ...
s or
alluvial Alluvium (from Latin ''alluvius'', from ''alluere'' 'to wash against') is loose clay, silt, sand, or gravel that has been deposited by running water in a stream bed, on a floodplain, in an alluvial fan or beach, or in similar settings. Alluv ...
plains. Names are generated for the biomes and rivers. The names depend on the area's good/evil variable (the alignment) and though in English, they are originally in one of the four in-game languages of dwarves,
elves An elf () is a type of humanoid supernatural being in Germanic mythology and folklore. Elves appear especially in North Germanic mythology. They are subsequently mentioned in Snorri Sturluson's Icelandic Prose Edda. He distinguishes " ...
, humans and
goblin A goblin is a small, grotesque, monstrous creature that appears in the folklore of multiple European cultures. First attested in stories from the Middle Ages, they are ascribed conflicting abilities, temperaments, and appearances depending on t ...
s; these are the four main races in any generated world. After a few minutes the world is populated and its history develops for the number of in-game years selected in the history parameter. Civilizations, races and religions spread and wars occur, with the "population" and "deaths" counters increasing. The ticker stops at the designated "years" value, at which point the world can be saved for use in any game mode. Should the player choose to retire a fortress or adventure mode character, or should they be defeated, this world will persist and will become available for further games.


Dwarf Fortress mode


Basics

When Dwarf Fortress mode is selected, the player is given the option to choose the embark location in the world. The player can consider the environment, elevations, biome, soil types and mineral concentrations which can pose significant challenges to the development or survival of the fortress. Customizing the colony's supplies, domestic animals and skills are available, but each dwarf's mental and physical attributes are randomly generated. The game describes in detail each dwarf's physical appearance, like hair and facial features. The mental abilities, individual preferences and desires are also randomly generated. Each dwarf's relationships with others and the deities they worship can be viewed. The player embarks with the expedition team (seven dwarves, their livestock and supplies), and does not have direct control over them. In order to construct and operate the fortress, the player has to designate specific tasks to be performed and the dwarves will go about it. They can be assigned any labors, but their work still depends on their relative skill with it, which can increase as they perform said task. Some task categories are stone-working, woodworking, metalworking, farming, and crafting; there are further combat-related skills. They are categorized further, such as
leatherworking Leather crafting or simply leathercraft is the practice of making leather into craft objects or works of art, using shaping techniques, coloring techniques or both. Techniques Dyeing The application of pigments carried by solvents or water in ...
,
butchery A butcher is a person who may slaughter animals, dress their flesh, sell their meat, or participate within any combination of these three tasks. They may prepare standard cuts of meat and poultry for sale in retail or wholesale food establishm ...
, clothesmaking,
gem cutting Lapidary (from the Latin ) is the practice of shaping stone, minerals, or gemstones into decorative items such as cabochons, engraved gems (including cameos), and faceted designs. A person who practices lapidary is known as a lapidarist. A lap ...
,
glassmaking Glass production involves two main methods – the float glass process that produces sheet glass, and glassblowing that produces bottles and other containers. It has been done in a variety of ways during the history of glass. Glass container ...
, and
pottery Pottery is the process and the products of forming vessels and other objects with clay and other ceramic materials, which are fired at high temperatures to give them a hard and durable form. Major types include earthenware, stoneware and por ...
. Activities take place in workshops which need to be constructed; for example,
still A still is an apparatus used to distill liquid mixtures by heating to selectively boil and then cooling to condense the vapor. A still uses the same concepts as a basic distillation apparatus, but on a much larger scale. Stills have been used ...
s for brewing alcohol. The
metal industry Metalworking is the process of shaping and reshaping metals to create useful objects, parts, assemblies, and large scale structures. As a term it covers a wide and diverse range of processes, skills, and tools for producing objects on every scale ...
has a very important role because it produces weapons and armor for the military, trap components for defense, and high-value furniture and decorations.


Functional mechanics

The player initially can see a
top-down view A variety of Computer graphics, computer graphic techniques have been used to display video game content throughout the history of video games. The predominance of individual techniques have evolved over time, primarily due to Graphics hardware, ...
of the surface-level of the fortress site; each layer of a
z-axis Underground Development, Ltd. (formerly Z-Axis, Ltd.) was an American video game developer based in Foster City, California. The company was founded in 1994 by David Luntz and sold to Activision in May 2002. Following a rebranding to Undergroun ...
level can be viewed when the player changes it. An entire underground level would be seen as its entire section of terrain while a mountain at the surface level would have only its section visible with the remaining surface landscape. Thus, for digging, the player can designate, for every z-level starting from the surface, staircases to be carved, and, at the final designated level, end the staircase by having it dug into a room. The
geology Geology () is a branch of natural science concerned with Earth and other astronomical objects, the features or rocks of which it is composed, and the processes by which they change over time. Modern geology significantly overlaps all other Ear ...
in ''Dwarf Fortress'' is fairly accurate. Rocks like
olivine The mineral olivine () is a magnesium iron silicate with the chemical formula . It is a type of nesosilicate or orthosilicate. The primary component of the Earth's upper mantle, it is a common mineral in Earth's subsurface, but weathers quickl ...
and
gabbro Gabbro () is a phaneritic (coarse-grained), mafic intrusive igneous rock formed from the slow cooling of magnesium-rich and iron-rich magma into a holocrystalline mass deep beneath the Earth's surface. Slow-cooling, coarse-grained gabbro is che ...
can be dug up. The topmost layer usually consists of sand, clay or plain soil—this can be used for underground farming. Deeper levels will be layers of rock; minerals appear in layers or clusters around the right depth. Gems like
tourmaline Tourmaline ( ) is a crystalline silicate mineral group in which boron is compounded with elements such as aluminium, iron, magnesium, sodium, lithium, or potassium. Tourmaline is a gemstone and can be found in a wide variety of colors. The ...
s appear in rare clusters. Water is simulated like falling sand, every space can contain up to seven levels of it. A tile having one level of water is the lowest, while a tile with seven is full. There is a system for simulating temperature and heat. Fires can spread and burn dwarves and furniture. There are four basic seasons in an in-game year: spring, summer, autumn and winter.
Mineral ores Ore is natural rock or sediment that contains one or more valuable minerals, typically containing metals, that can be mined, treated and sold at a profit.Encyclopædia Britannica. "Ore". Encyclopædia Britannica Online. Retrieved 7 April ...
can be mined just like normal stone and the raw ore can be
smelted Smelting is a process of applying heat to ore, to extract a base metal. It is a form of extractive metallurgy. It is used to extract many metals from their ores, including silver, iron, copper, and other base metals. Smelting uses heat and a c ...
to produce their corresponding metal bars. Different ores or metal bars can be
alloy An alloy is a mixture of chemical elements of which at least one is a metal. Unlike chemical compounds with metallic bases, an alloy will retain all the properties of a metal in the resulting material, such as electrical conductivity, ductility, ...
ed together for higher quality materials. For
steel Steel is an alloy made up of iron with added carbon to improve its strength and fracture resistance compared to other forms of iron. Many other elements may be present or added. Stainless steels that are corrosion- and oxidation-resistant ty ...
production,
flux Flux describes any effect that appears to pass or travel (whether it actually moves or not) through a surface or substance. Flux is a concept in applied mathematics and vector calculus which has many applications to physics. For transport ph ...
stones are used to make
pig iron Pig iron, also known as crude iron, is an intermediate product of the iron industry in the production of steel which is obtained by smelting iron ore in a blast furnace. Pig iron has a high carbon content, typically 3.8–4.7%, along with silic ...
bars and smelt it with regular
iron Iron () is a chemical element with symbol Fe (from la, ferrum) and atomic number 26. It is a metal that belongs to the first transition series and group 8 of the periodic table. It is, by mass, the most common element on Earth, right in f ...
and
coal Coal is a combustible black or brownish-black sedimentary rock, formed as rock strata called coal seams. Coal is mostly carbon with variable amounts of other elements, chiefly hydrogen, sulfur, oxygen, and nitrogen. Coal is formed when dea ...
(or
charcoal Charcoal is a lightweight black carbon residue produced by strongly heating wood (or other animal and plant materials) in minimal oxygen to remove all water and volatile constituents. In the traditional version of this pyrolysis process, cal ...
). Specific metal items can be melted back to their respective bars. Without steel, the alloy
bronze Bronze is an alloy consisting primarily of copper, commonly with about 12–12.5% tin and often with the addition of other metals (including aluminium, manganese, nickel, or zinc) and sometimes non-metals, such as phosphorus, or metalloids such ...
or regular iron are the next best suitable metals to use. Bronze requires two ores or bars of
tin Tin is a chemical element with the symbol Sn (from la, stannum) and atomic number 50. Tin is a silvery-coloured metal. Tin is soft enough to be cut with little force and a bar of tin can be bent by hand with little effort. When bent, t ...
and
copper Copper is a chemical element with the symbol Cu (from la, cuprum) and atomic number 29. It is a soft, malleable, and ductile metal with very high thermal and electrical conductivity. A freshly exposed surface of pure copper has a pinkis ...
. The metal
adamant Adamant in classical mythology is an archaic form of diamond. In fact, the English word ''diamond'' is ultimately derived from ''adamas'', via Late Latin and Old French . In ancient Greek (), genitive (), literally 'unconquerable, untameable'. ...
ine, found deep below, is extremely light but very strong, making it excellent for sharp weapons and armor. Raw adamantine can be extracted into strands and can further be either woven in cloth or smelted into wafers.


Fortress management and growth

Underground farming has customized crops like "plump helmet" mushrooms, which can be brewed to make dwarven wine. As the fortress prospers, migrants come in larger numbers from the mountainhome (the colony's home civilization) and will need further accommodation. Trading caravans, which can be from the various neighboring civilizations including the home civilization, visit the fortress on a yearly basis and are useful for getting supplies not available in the player's fortress area. The role of bookkeeper, manager and
broker A broker is a person or firm who arranges transactions between a buyer and a seller for a commission when the deal is executed. A broker who also acts as a seller or as a buyer becomes a principal party to the deal. Neither role should be confu ...
can be assigned to any dwarf during early game. The bookkeeper maintains records of every item present in the fort, the manager auto-assigns jobs and the broker deals with trading caravans. The production of crafts from any material are useful for trading. The caravans come from civilizations of elves and humans but depending on the embark region and history, they may be absent or sometimes even hostile. Dwarves need to be provided with food and drink (mostly in the form of alcohol). A dwarf will get negative thoughts for drinking plain water and even for drinking the same type of alcohol, making it necessary to grow different crops for producing different drinks. Things like not having a separate bedroom can upset a dwarf. They may make friends and sometimes marry; females give birth. Dwarves can get upset by sustaining injuries, having poor clothing, losing their pets, friends or relatives; interacting with or seeing their corpses can aggravate this. A frustrated dwarf may break furniture or attack others. Continuous stress will cause them to throw
tantrum A tantrum, temper tantrum, lash out, meltdown, fit or hissy fit is an emotional outburst, usually associated with those in emotional distress, that is typically characterized by stubbornness, crying, screaming, violence, defiance, angry ranting ...
s and eventually go ''insane'', whether going berserk and attacking their comrades in a homicidal rage, becoming suicidally depressed and jumping off a cliff, or simply going "stark raving mad" and stumbling around randomly until their untimely death. Their quality of life can be improved by giving them luxurious personal bedrooms and a well-decorated dining room, medical care, and providing them with a variety of drinks and well-cooked meals. A chain reaction where a single dwarf's unhappiness causes the entire fortress's population to start throwing tantrums can begin when one dwarf throws a tantrum, attacks and kills another one with many friends, which drastically affects the happiness of many more. As the fortress expands and develops, new noble positions become available. While regular dwarves will be happy with simple rooms provided to them, dwarves appointed or elected to noble positions will need more luxurious accommodation. Nobles will even make demands and mandates, getting negative thoughts if they are not fulfilled. A justice system is present to punish criminals, for example, dwarves who injure or kill another dwarf or destroy furniture. Occasionally, a
vampire A vampire is a mythical creature that subsists by feeding on the Vitalism, vital essence (generally in the form of blood) of the living. In European folklore, vampires are undead, undead creatures that often visited loved ones and caused mi ...
dwarf, with a fake background history, may arrive with a migrant wave and start killing and feeding on the other citizens without being noticed. Inspired dwarves will occasionally get into a "Strange Mood". They will take over a workshop and go searching for the required materials to begin construction of an artifact. If they cannot find the materials, the dwarf will wait at the workshop, demanding it until it is available. After a few in-game weeks, the work results in a legendary artifact, an item so masterfully crafted that it is usually worth more than a beginning fortress' total wealth put together. These artifacts will be added to the world's records and its exact description can be viewed. Through this entire period of being in a strange mood, a dwarf will not eat, drink or sleep and will eventually go insane if they are unable to complete the artifact due to any reason (such as unavailability of materials).


Threats, defense and delving deeper

The first in-game year will usually consist of
kobold A kobold (occasionally cobold) is a mythical sprite. Having spread into Europe with various spellings including "goblin" and "hobgoblin", and later taking root and stemming from Germanic mythology, the concept survived into modern times in Ger ...
thieves and goblin snatchers trying to infiltrate the fortress. Thieves try to steal valuables, while snatchers try to kidnap dwarven children to raise them as future soldiers.
Goblin A goblin is a small, grotesque, monstrous creature that appears in the folklore of multiple European cultures. First attested in stories from the Middle Ages, they are ascribed conflicting abilities, temperaments, and appearances depending on t ...
and kobold civilizations near the fortress will always be hostile and a source of frequent attacks. Wildlife is usually harmless, but depending on the fortress' location, more fierce elephants, bears,
unicorn The unicorn is a legendary creature that has been described since antiquity as a beast with a single large, pointed, spiraling horn projecting from its forehead. In European literature and art, the unicorn has for the last thousand years o ...
s, giant spiders and wolves may be a threat. Wealthier and more populated fortresses will get ambushes and sieges from neighboring goblin (or other enemy) civilizations. A thriving fortress will attract certain "megabeasts" like
hydras ''Hydra'' ( ) is a genus of small, freshwater organisms of the phylum Cnidaria and class Hydrozoa. They are native to the temperate and tropical regions. The genus was named by Linnaeus in 1758 after the Hydra, which was the many-headed b ...
,
titans In Greek mythology, the Titans ( grc, οἱ Τῑτᾶνες, ''hoi Tītânes'', , ''ho Tītân'') were the pre-Olympian gods. According to the ''Theogony'' of Hesiod, they were the twelve children of the primordial parents Uranus (Sky) and Ga ...
or dragons, and randomly generated creatures called "Forgotten Beasts". These unique creatures have randomized physical qualities and abilities, thus giving them the potential to be very powerful.
Undead The undead are beings in mythology, legend, or fiction that are deceased but behave as if alive. Most commonly the term refers to corporeal forms of formerly-alive humans, such as mummies, vampires, and zombies, who have been reanimated by super ...
attack mainly in evil biomes or if the player embarks with a
Necromancer Necromancy () is the practice of magic or black magic involving communication with the dead by summoning their spirits as apparitions or visions, or by resurrection for the purpose of divination; imparting the means to foretell future events ...
Tower being near the site. Undead are harder to kill, and often reanimate once they are defeated, with their body parts being separate units to fight. Military squads can be assigned to barracks to train and be equipped with a uniform (armor and a weapon). Squads can be directly commanded to attack enemies. Crossbows can be made for ranged attacks and a range with targets can be constructed for training. Walls can be carved into
fortification A fortification is a military construction or building designed for the defense of territories in warfare, and is also used to establish rule in a region during peacetime. The term is derived from Latin ''fortis'' ("strong") and ''facere'' ...
s and be used by ranged-units during attacks. Training areas can be made to train war animals, such as dogs. Players can use traps and engineering in addition to training an army. Traps can be made by constructing mechanisms and using metal or wood to construct large weapons like spikes, axe blades or cages. More complex lever-operated and pressure plate-triggering trap components are available. The combat system in ''Dwarf Fortress'' is anatomically detailed. Combat is displayed by viewing the log which describes each weapon striking a specific part of the character's body. Internal organs can get punctured, combatants can fall to the ground,
vomit Vomiting (also known as emesis and throwing up) is the involuntary, forceful expulsion of the contents of one's stomach through the mouth and sometimes the nose. Vomiting can be the result of ailments like food poisoning, gastroenterit ...
, and lose body parts. Each dwarf has individually detailed limbs, each with damageable bone, fat, nerves, muscle and skin. Fat can be bruised without breaking bones and vice versa. Injuries sometimes can be permanent. There is a medical system where a hospital can be set up, where crutches for disabled dwarves, traction benches, plasters and cloth for casts and bandages, thread for
suturing A surgical suture, also known as a stitch or stitches, is a medical device used to hold body tissues together and approximate wound edges after an injury or surgery. Application generally involves using a needle with an attached length of threa ...
, soap for preventing
infection An infection is the invasion of tissues by pathogens, their multiplication, and the reaction of host tissues to the infectious agent and the toxins they produce. An infectious disease, also known as a transmissible disease or communicable dise ...
, and splints can be provided to help with the healing process. Digging deeper is usually done for finding
magma Magma () is the molten or semi-molten natural material from which all igneous rocks are formed. Magma is found beneath the surface of the Earth, and evidence of magmatism has also been discovered on other terrestrial planets and some natural sa ...
, which, as a fuel source, removes the player's dependence on coal or wood. Another reason to dig deeper is for searching for specific raw materials, ores or gems. Magma pools or the even bigger, world-spanning, magma sea are found while digging into warm rock. Near the magma sea, raw adamantine
strata In geology and related fields, a stratum ( : strata) is a layer of rock or sediment characterized by certain lithologic properties or attributes that distinguish it from adjacent layers from which it is separated by visible surfaces known as ei ...
can be found. They are shaped like columns, which pass down through the entire magma sea. These columns are hollow and can be broken, revealing an entire shaft leading deeper into the underworld or hell. Underworld creatures are countless and nearly always bring a fortress to ruin.


Adventurer mode

Adventurer is the secondary game mode in ''Dwarf Fortress''. Unlike Fortress mode, Adventurer mode has the player control a single character. In Adventurer mode,
character creation Character creation (also character generation or character design) is the process of defining a game character or other character. Typically, a character's individual strengths and weaknesses are represented by a set of statistics. Games with a ...
works similar to other
role-playing game A role-playing game (sometimes spelled roleplaying game, RPG) is a game in which players assume the roles of player character, characters in a fictional Setting (narrative), setting. Players take responsibility for acting out these roles within ...
s, with the player choosing the name, gender, race and personality of the character. Players also select from a choice of various skills and attributes, such as strength and agility. Like in Fortress mode, these skills further improve normally through exercised use unlike regular
experience Experience refers to conscious events in general, more specifically to perceptions, or to the practical knowledge and familiarity that is produced by these conscious processes. Understood as a conscious event in the widest sense, experience involv ...
. They play in the same generated worlds, and these worlds continue to develop and advance while time passes as in Fortress mode. The character starts off in a town of their choosing, depending on the character's chosen civilization, and can interact with the various
non-player character A non-player character (NPC), or non-playable character, is any character in a game that is not controlled by a player. The term originated in traditional tabletop role-playing games where it applies to characters controlled by the gamemaster o ...
s (NPCs). NPCs can speak about the surrounding areas or offer to follow and help the player. Quests are given via a "rumor" system, where rumors can spread among the NPCs, or players can decide to serve a leader and attain more traditional quests from them via an "Agreement". Characters can also write poems, books and music compositions, based on procedurally generated forms and styles. The player can choose to form a site and build using materials they collect. Players can use the quick travel mode to quickly travel between geographical regions. Like regular characters in Fortress mode, characters have thirst, hunger and exhaustion levels. To survive, they must eat, drink and sleep. They need to take shelter at night when evil creatures like bogeymen come out. In addition to the regular combat mechanism, in this mode, the player can also choose which body parts to strike. A player can visit their retired or ruined fortresses made in Fortress mode. Instead of quitting, the character can be retired, and depending on the player's achievements, their life events will be documented in the Legends mode among the historical figures.


Legends mode

Legends is the third way of interacting with a generated world, a listing of the events of historical figures, sites such as towns or fortresses, regions and civilizations. Legends also includes a "historical map" tool in which players can examine conflicts and other activities between civilizations. These generally take the form of sentences describing the actions of the characters, as well as notable completed events. Some historical entries also include notable kills, megabeasts, and allies and enemies within the game world. The character referenced in these details generally have their own historical entries alongside. At any time, the player can create an
XML Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing arbitrary data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable ...
dump in which players can examine history outside of the game. Similarly, players can export detailed maps that show world details such as biome boundaries, rainfall and drainage. These XML files and map images can be used in third party software to view the generated world and its history in a more user friendly and comprehensive interface.


History


Early development (2002–2006)

One of Tarn and Zach Adams' early works was a text based adventure game called ''dragslay'', written in the
BASIC BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
language and influenced by ''
Dungeons and Dragons ''Dungeons & Dragons'' (commonly abbreviated as ''D&D'' or ''DnD'') is a fantasy tabletop role-playing game (RPG) originally designed by Gary Gygax and Dave Arneson. The game was first published in 1974 by Tactical Studies Rules, Inc. (TSR). ...
''. This was the brothers' first fantasy project. In high school, Tarn Adams taught himself the
C programming language ''The C Programming Language'' (sometimes termed ''K&R'', after its authors' initials) is a computer programming book written by Brian Kernighan and Dennis Ritchie, the latter of whom originally designed and implemented the language, as well as ...
and developed it further. ''dragslay'' would later have an important influence on ''Dwarf Fortress''. Adams explained his interest in
fantasy games Fantasy is a genre of speculative fiction involving magical elements, typically set in a fictional universe and sometimes inspired by mythology and folklore. Its roots are in oral traditions, which then became fantasy literature and drama. ...
, that he had grown up "surrounded by that sort of thing...along with generic sci-fi, generic fantasy is part of our heritage." Years later, before entering graduate school in mathematics, Adams began working on a project he called ''Slaves to Armok: God of Blood''. It was named after a deity in ''dragslay'', originally named for a variable "arm_ok"—which counted the limbs the player still had attached. This new project was a two-dimensional (would later have 3D graphics) isometric fantasy role-playing game in which the player encountered and fought goblins. Adams took some time off ''Armok'' to work on small side-projects, and another one which would inspire ''Dwarf Fortress'' was ''Mutant Miner''. It was
turn-based In video and other games, the passage of time must be handled in a way that players find fair and easy to understand. This is usually done in one of the two ways: real-time and turn-based. Real-time Real-time games have game time progress cont ...
loosely inspired by a game called ''Miner VGA''. ''Mutant Miner'' involved the player digging underneath buildings, searching for ores and fighting monsters, and carrying radioactive "goo" back to the surface for application in growing extra limbs and gaining other abilities. Adams was dissatisfied with only having a single miner, and the game began to lag because it was turn-based. Adams said:
stead of rewriting the game, I thought, well maybe it should be dwarves instead. And it should be real-time to combat the agproblem. Now, you'd be digging out minerals in a mountain, combating threats inside, and making little workshops. Then I thought, well, how should the high score list work? We really like to keep records of plays. Not just high score lists, but expansive logs. So we'll often try to think of ways to play with the idea. This time, the idea was to let your adventurer come into the fortress after you lose and find the goblets you've made, and journals it generates.


First release (2006)

Adams began working on ''Dwarf Fortress'' in October 2002, estimating that the project would take two months, but suspended development soon after, in order to finish his previous work, ''Armok''. He explained that it began like the 1982 arcade game ''
Dig Dug is a maze arcade game developed by Namco in 1981 and released in 1982, distributed in North America by Atari, Inc. The player controls Dig Dug to defeat all enemies per stage, by either inflating them to bursting or crushing them underneath rock ...
''. The Adams brothers started the Bay 12 Games company, launching its website and releasing their games online. ''Armok'' became harder to maintain due to him focusing on adding features to ''Dwarf Fortress'' instead, in addition to its inferior code and 3D graphics. By 2004, Adams announced on his website that he would be switching his main project to ''Dwarf Fortress'' after he struggled to continue working on it. Adams explained that it would be a
simulation game Simulation video games are a diverse super-category of video games, generally designed to closely simulate real world activities. A simulation game attempts to copy various activities from real life in the form of a game for various purposes such ...
with dwarves but kept Adventurer mode as a surprise feature, which was revealed during its release. At that time, his fan base consisted of a few dozen people and more came in when he made this announcement. He put up a
PayPal PayPal Holdings, Inc. is an American multinational financial technology company operating an online payments system in the majority of countries that support online money transfers, and serves as an electronic alternative to traditional paper ...
button after a request from a fan; similarly, a subscriber system was added later. In the next five months, they made around $300, which brought in only enough to cover the site's $20 hosting cost. He dubbed the game ''Slaves to Armok, God of Blood II: Dwarf Fortress''; Adams explained that it was a sequel because it continued to work on much of ''Armok's'' code but said its cumbersome name was mostly "for kicks." Adams decided to focus on the game's development full-time during his first year of his math post-doctorate at
Texas A&M Texas A&M University (Texas A&M, A&M, or TAMU) is a public, land-grant, research university in College Station, Texas. It was founded in 1876 and became the flagship institution of the Texas A&M University System in 1948. As of late 2021, T ...
in 2006. The university offered him $50,000 if he would stay another year. Adams agreed and commented on this, "I woke up the morning after I gave notice, like, I can actually make this work." Later, Adams expected he would use his $15,000 savings for a year and then have to get a job in order to support himself because the game had not been released yet. Development continued until 8 August 2006, when the first
alpha version A software release life cycle is the sum of the stages of development and maturity for a piece of computer software ranging from its initial development to its eventual release, and including updated versions of the released version to help impro ...
(version 0.21.93.19a) was released. Donations reached $800–1,000 in the following months, this average increased gradually until they were financially stable. He then decided to solely rely on donations.


Development (2007–present)

According to Adams, ''Dwarf Fortress'' is written in an "unsanctioned messy combination" of C and
C++ C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
using a free edition of
Microsoft Visual Studio Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs including websites, web apps, web services and mobile apps. Visual Studio uses Microsoft software development platforms such a ...
as the IDE. Adams did not use the 3D graphics which ''Armok'' had since its development was hampered because of it. He cited the ease in development of features like
fluid simulation Fluid animation refers to computer graphics techniques for generating realistic animations of fluids such as water and smoke. Fluid animations are typically focused on emulating the qualitative visual behavior of a fluid, with less emphasis place ...
, copyright issues with the art and more unhindered possibilities as further reasons for not using it. Being used to the text-based graphics in roguelikes, he did not want graphical tilesets. The story-generation originated first from ''Armok'', although present to some extent in ''dragslay''. Tarn and Zach would write different chapters of events they would like to see, mix it together and try to implement it. Most of this story writing is managed by Zach, who has a role in the game's development. He graduated in ancient history and books like ''
The Twelve Caesars ''De vita Caesarum'' (Latin; "About the Life of the Caesars"), commonly known as ''The Twelve Caesars'', is a set of twelve biographies of Julius Caesar and the first 11 emperors of the Roman Empire written by Gaius Suetonius Tranquillus. The g ...
'' and the writings of
Assyria Assyria (Neo-Assyrian cuneiform: , romanized: ''māt Aššur''; syc, ܐܬܘܪ, ʾāthor) was a major ancient Mesopotamian civilization which existed as a city-state at times controlling regional territories in the indigenous lands of the A ...
n kings influenced the game. ''
Hack Hack may refer to: Arts, entertainment, and media Games * ''Hack'' (Unix video game), a 1984 roguelike video game * ''.hack'' (video game series), a series of video games by the multimedia franchise ''.hack'' Music * ''Hack'' (album), a 199 ...
'', ''
Starflight ''Starflight'' is a space exploration, combat, and trading role-playing video game created by Binary Systems and published by Electronic Arts in 1986. Originally developed for IBM PC compatibles, it was later ported to the Amiga, Atari ST, ...
'' and the ''Ultima'' series were Adams' main influences. The 1985 roguelike ''Hack'' inspired Adams because of its randomly generated levels, deceased character persistence and detailed mechanics. Adams cited ''Ultima'' series as the inspiration for his generated worlds. The body part and wound system was inspired by 1990 role-playing game ''
Cyberpunk 2020 ''Cyberpunk'' is a tabletop role-playing game in the dystopian science fiction genre, written by Mike Pondsmith and first published by R. Talsorian Games in 1988. It is typically referred to by its second or fourth edition names, ''Cyberpunk 2 ...
''. He prefers modeling on individual elements, rather than entire systems, for better simulations with the outcomes being under his control. He said
midpoint displacement In mathematics, the blancmange curve is a self-affinity, self-affine curve constructible by midpoint subdivision. It is also known as the Takagi curve, after Teiji Takagi who described it in 1901, or as the Takagi–Landsberg curve, a generalizati ...
generates the elevation of the world and its initial basic elements use
fractal In mathematics, a fractal is a geometric shape containing detailed structure at arbitrarily small scales, usually having a fractal dimension strictly exceeding the topological dimension. Many fractals appear similar at various scales, as illu ...
s, which give it an overall natural look. He further explained that he made an algorithm to simulate
rain shadow A rain shadow is an area of significantly reduced rainfall behind a mountainous region, on the side facing away from prevailing winds, known as its leeward side. Evaporated moisture from water bodies (such as oceans and large lakes) is carrie ...
s which occur in areas at the side of mountain deserts. For the distinct personalities of each unit, he took it from NEO PI-R test of which he admitted knowing little about. The feature of
carp Carp are various species of oily freshwater fish from the family Cyprinidae, a very large group of fish native to Europe and Asia. While carp is consumed in many parts of the world, they are generally considered an invasive species in parts of ...
s eating dwarves was unexpected when the game was released. He had written them having the same size and carps were designed to be carnivorous. A tough part of the game for him to implement was the
A* search algorithm A* (pronounced "A-star") is a graph traversal and path search algorithm, which is used in many fields of computer science due to its completeness, optimality, and optimal efficiency. One major practical drawback is its O(b^d) space complexity, ...
for in-game character's pathfinding which, depending on their numbers and complexity of the path, can cause a heavy load on a computer. Adams composed the game's flamenco-inspired music. A z-axis was introduced in the 2008 release because he felt the limitations with a single plane increasing; the feature of making various constructions like walls was also added at this time. In the earlier version, players could dig only into a mountainside and not underground because of having only one "z-level", thus it was considered " 2D". This was significantly easier to maintain due to the limited playable area. Adams commented that this major change was further difficult to implement because of considering details like
fluid mechanics Fluid mechanics is the branch of physics concerned with the mechanics of fluids ( liquids, gases, and plasmas) and the forces on them. It has applications in a wide range of disciplines, including mechanical, aerospace, civil, chemical and bio ...
and cave-ins. Vampiric and
lycanthropic In folklore, a werewolf (), or occasionally lycanthrope (; ; uk, Вовкулака, Vovkulaka), is an individual that can shapeshift into a wolf (or, especially in modern film, a therianthropic hybrid wolf-like creature), either purposely or ...
infections with necromancers and undead were added in 2012. On his reliance on PayPal donations, Adams says he is content since he feels that people really like his work or they would not pay. Adams said that donations remain stable except during a new version update, where there is a sudden increase. Their expenses being low, he has maintained that he is happy as long as the game is self-sustaining and will not charge for it. In 2011, Adams refused a job offer from an unspecified major game developer and a $300,000 deal to license the name ''Dwarf Fortress'' from another company. Adams felt that this amount would not equate to long-term donations and that he prefers working on his own—not being part of the gaming industry. Adams said, "Barely in the black one month, a little in the red another month. ... It's a risk I'm willing to take, and really I couldn't have it any other way." He has spent no money on advertising and was happy when bloggers, reviewers like former game journalist
Kieron Gillen Kieron Michael Gillen (; born 30 September 1975) is a British comic book writer and former video game and music journalist. In comics, Gillen is known for ''Phonogram'' and ''The Wicked + The Divine'', both co-created with artist Jamie McKelvie ...
from ''
PC Gamer ''PC Gamer'' is a magazine and website founded in the United Kingdom in 1993 devoted to PC gaming and published monthly by Future plc. The magazine has several regional editions, with the UK and US editions becoming the best selling PC games ma ...
'' and ''
Games for Windows Games for Windows is a discontinued brand owned by Microsoft and introduced in 2006 to coincide with the release of the Windows Vista operating system. The brand itself represents a standardized technical certification program and online service ...
'', wrote about his game. In 2015, Bay 12 Games set up a
Patreon Patreon (, ) is a membership platform that provides business tools for content creators to run a subscription service. It helps creators and artists earn a monthly income by providing rewards and perks to their subscribers. Patreon charges a co ...
account to help fund it.


Enhanced release

In March 2019, the Adams brothers announced they will be releasing a paid-for enhanced version of ''Dwarf Fortress'' for Windows, featuring a graphical tileset and other improvements through
Steam Steam is a substance containing water in the gas phase, and sometimes also an aerosol of liquid water droplets, or air. This may occur due to evaporation or due to boiling, where heat is applied until water reaches the enthalpy of vaporization ...
and itch.io, published by
Kitfox Games Kitfox Games is an indie game development studio based in Montreal, Canada. It was co-founded by Tanya X. Short, Jongwoo Kim, Xin Ran Liu, and Mike Ditchburn in June 2013. History According to Short, the founders never worked together before ...
. Adams stated this will not affect the ongoing free version of ''Dwarf Fortress'', but due to family situations at the time and the waning income from Patreon, they wanted to find another way to monetize the game. The Steam version includes support for Steam Workshop, which allows users to provide modifications to the game. The enhanced version was released on December 6, 2022. Kitfox Games enlisted the help of an economist to perform an analysis of the game's projected sales, using the number of wishlists and sales data of games Kitfox had previously published as a reference. The initial estimate was that ''Dwarf Fortress'' would sell around 160,000 units within two months, but that goal was exceeded within the first day. The game was the best-selling title on Steam upon release. One Steam user expressed incredulity at the amount of positive reviews the game garnered in such a short amount of time, and took to the Steam forums to ask if people had "been playing free DF for 25 years icand just waiting for an opportunity to pay $30?", to which over 3000 people replied "Yes".


Further updates

the latest update was version 0.47.05, with it completing years in development despite being an alpha version. Adams and his brother have a to-do list of features the game should have before version 1.0 and the version number is the percentage progress of its completion. He says he has been able to maintain focus by shifting his attention to different aspects of the game, given its large coverage. While regular game development aim to perfect their work for release, he considers that a drawback since he continues exploring and learning while adding new features. ''
Wired ''Wired'' (stylized as ''WIRED'') is a monthly American magazine, published in print and online editions, that focuses on how emerging technologies affect culture, the economy, and politics. Owned by Condé Nast, it is headquartered in San Fra ...
'' and
Rock, Paper, Shotgun ''Rock Paper Shotgun'' (also rendered ''Rock, Paper, Shotgun''; short ''RPS'') is a UK-based website for reporting on video games, primarily for PC. Originally launched on 13 July 2007 as an independent site, ''Rock Paper Shotgun'' was acquir ...
called some of its bug fixes unintentional and funny, with ''PC Gamer'' saying it makes an entertaining
RSS feed RSS ( RDF Site Summary or Really Simple Syndication) is a web feed that allows users and applications to access updates to websites in a standardized, computer-readable format. Subscribing to RSS feeds can allow a user to keep track of many di ...
to subscribe to. Adams has two favorite bugs. One is about a farmer dwarf planting his own bed, and the other involves a dwarven executioner, with broken arms, thus unable to use his hammer, delivering punishments by biting his victims and tearing off their limbs, keeping one in his mouth for years. Adams considers ''Dwarf Fortress'' his life's work, and has stated in 2011 that he does not expect version 1.0 to be released for at least another twenty years, and even after that, he would still continue to update it. Adams calls his game an open-ended "story generator". The game's code base is
proprietary {{Short pages monitor
The Dwarf Fortress Wiki

"You Should Be Watching: Matul Remrit"
at Rock, Paper, Shotgun

from IndieGames.com (archived)
"Boatmurdered"
from the Let's Play Archives {{Kitfox Games 2006 video games Construction and management simulation games Fantasy video games Freeware games Indie video games Linux games MacOS games Open-world video games Retro-style video games Roguelike video games Single-player video games Video games developed in the United States Windows games Proprietary cross-platform software Video games using procedural generation Dwarves in popular culture Kitfox Games games