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.


From Dwarf Fortress Wiki
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.

Stocks on the status bar; different UI size settings allow for more or fewer categories to be shown.

The Stocks window, accessible via a button on the top status bar or k, is a record of your fort's entire inventory, managed by the bookkeeper, who, periodically, must update the stockpile records depending on how quickly your fort's wealth is growing or being depleted.


Stocks window; showing accurate counts and contents of the Barrels category.

The Stocks window displays a list of item categories on the left side of the window, and after selecting a category, a list of items on the right. At the top of the right side is a filter input to only show items that match a string and the categories that contain those items.


Bookkeeping & precision[edit]

Precision determines how accurately your bookkeeper is keeping count of all your items. Items are grouped into general categories - for instance, all hand weapons, crossbows and picks are "weapons". The biggest is typically "stones" - all stones you have mined out are included in one category.

The precision of the Stocks window depends on the settings of the bookkeeper noble. (Use n to access that window.) Precision affects two factors - the time spent at that labor (more precision takes more time), the number of significant figures (see immediately below).[Verify]

There are five possible settings:

1 Lowest Precision
This is the default setting, precise only to one significant figure. It's only fine for your initial embark until you feel you need accurate counts, below, and have time to designate a chair (perhaps in your first dining room, at least to start) as an office/study.
  • Any number from 0 to 9 will be exact.
  • A number from 10 to 99 will be rounded to the nearest 10.
  • A number from 100 to 999 will be rounded to the nearest 100.
  • A number from 1,000 to 9,999 will be rounded to the nearest 1,000.
  • A number equal to 10,000 or more will be rounded to the nearest 10,000.
2 Low Precision
This setting is precise to two significant figures. This is fine for a starting fortress, since few will have over 99 of most items, stone being the usual first exception.
  • Any number from 0 to 99 will be exact.
  • A number from 100 to 999 will be rounded to the nearest 10.
  • A number from 1,000 to 9,999 will be rounded to the nearest 100.
  • A number equal to 10,000 or more will be rounded to the nearest 1,000.
3 Medium Precision
This setting is precise to three significant figures. This is a good and practical level to maintain stockpile records at for an early fort, since typically stones are the only item that will number over 999 in the first years. (Note that although you have many types of stone, it is the total that matters for any one such category.)
  • Any number from 0 to 999 will be exact.
  • A number from 1,000 to 9,999 will be rounded to the nearest 10.
  • A number equal to 10,000 or more will be rounded to the nearest 100.
4 High Precision
This setting is precise to four significant figures, ample for most needs. This setting is most useful for managing stone (like forbidding one type entirely). Eventually other items, like food or drink, could grow to be in this range as well, depending on play style.
  • Any number from 0 to 9,999 will be exact.
  • A number equal to 10,000 or more will be rounded to the nearest 10.
5 Highest Precision
This setting is perfectly and completely precise for any number of items in any category. All stockpile records will be exact.
Maintaining stockpile records at this level starts out as a full-time job but becomes easier to maintain once that level is achieved.

If a number has been rounded, it will appear with a trailing question mark, for example, "20?" instead of "17". Above the lowest precision, your bookkeeper requires a meager office, and for every level of precision, he or she will spend more time there updating the stock record.


The left side of the window shows categories of items and the quantity of items in that category; if you do not have enough bookkeeper precision, it only shows approximate amounts. Numbers in white indicate how many are available for use, while numbers in orange indicate those already in use.

When you select a category you will see an inventory display on the right side of the window. No matter the level of precision[Verify], this shows all items in that category with buttons to interact with them; hovering over a button shows its function in the mini-map.

The items on the right side are further grouped by type, click the first line of any group to collapse or expand that group. The first line also provides buttons to interact with the entire group. Items in each group are listed by value not including any contents.


In addition to items being bracketed to indicate their quality, there are certain symbols that will bracket an item to indicate that it's different from normal.

  • Bracketing with (round brackets) indicates that the item was not produced by your dwarves. This includes all items you start the game with, all items immigrants bring with them, and all items belonging to traders and invaders. You can make an item count as being produced by your dwarves either by transforming it into something else (like turning a log into a bed) or by decorating it.
  • Bracketing with {curly brackets} indicates that the item is forbidden.
  • Bracketing with xcrossesx or Xcapital crossesX or XXdouble capital crossesXX indicates that the item is partially worn out. This applies mainly to clothing that's wearing out, food that's going rotten, and buildings that are being attacked by building destroyers.
  • Bracketing with ‼double exclamation marks‼ indicates that the item is on fire.

Item counts[edit]

Items fall into two groups for the numbers shown on the categories:

  • Available Items (white number): includes items ready to be used.
    • In-transit items count to stock levels, but are not usable to build with. (i.e. a bed in transit shows as available in the stock menu, but is not usable when trying to place a bed)
  • Restricted Items (orange number): includes items not available, such as:
    • Dump / Melt items
    • Forbidden items:
      • These are marked with curly braces {}
      • Built Items: almost everything shown in cyan when pointed at, or everything that was used to create a building:
      • Built Furniture: doors, beds, thrones, chairs, tables, floodgates, cages, etc.
      • Traps
      • Building materials: stones, blocks, anvils, buckets, barrels, etc.
    • Construction Materials: used in walls, floors, etc.
    • Unclaimed Items:
      • Unharvested Crops: plants grown in a farm plot.
      • Planted Seeds: these are put into a farm plot.
      • Contents of a Hive with an installed colony of honey bees: the royal jelly and the honeycomb until collected, the bees themselves. All these "items" will be counted with orange numbers on the category.
    • Not Owned by fort:
      • Uncollected webs in caverns

Marking items as forbidden or for dumping from this window does not update the counts until the window is closed and reopened.

Interacting with items[edit]

Interaction buttons on an item type group and an individual item.

Items can be forbidden, dumped, melted, or hidden from this window, either individually or en masse for every item of the same type. The melt button is only shown for items that can be melted. When using the group buttons, items currently built in buildings/constructions are not marked. Individual items can also be zoomed to or viewed.

Due to a bug, a group of items cannot be forbidden if any one of the items is both built in a building/construction and forbidden.Bug:5734 If you unforbid the group, then manually unforbid the remaining items you should be able to forbid the entire group again.[Verify]

Lag warning[edit]

Warning: A mature fort with large numbers of individual items (5,000+) in any particular category (e.g. Stones) can experience significant lag when that category is selected.Bug:10025