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.

Nemesis

From Dwarf Fortress Wiki
Revision as of 12:26, 1 February 2024 by Silverwing235 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

A nemesis is a record that links historical figure identifiers to unit identifiers, in other words, it keeps track of what abstractly happens to an off-map historical figure, and takes it into account when you encounter it on a map (in both fortress and adventure mode), and vice-versa. Nemesis records will, for instance, keep track of a creature's relationship links like parenthood. Creatures that aren't historical figures, obviously, don't have a nemesis record.

When historical units are offloaded (e.g. when visitors leave the map in Fortress mode or when you walk away from a settlement in Adventurer mode), they are saved to files named "unit-N.dat" in your world's region folder. In versions 0.34.11 and earlier, corruption of these files could lead to the game crashing with the error "Nemesis Unit Load Failed" - newer versions presumably handle this situation gracefully by generating new unit data.