Is there a way to see all the contents of a stockpile in Dwarf Fortress?

I'd like to get an inventory of my Metal Bar stock.

  • 4
    Another (possibly faster, possibly exploit) method is to almost build a wall. Of course if you have 100+ bars you can't tell exactly how many, but if you just want to know if you've got enough steel to make the 15 pieces of armor this is a quick way to find out.
    – aslum
    Commented Dec 27, 2011 at 3:03

2 Answers 2


The z stock screen can indeed break it down by bar type. Make sure you actually have your "Bars" section selected, and your tab mode set to group items. In addition, make sure that your bookkeeper is working with adequate precision to view individual items. Here is an example from the DF Magma Wiki showing a breakdown of seed types:

enter image description here

Other than this, there is no way to view all contents of a given stockpile.

  • 5
    I just have 'Bars', and it does not break it down. However, after further research, I have learned about Precision: df.magmawiki.com/index.php/Stock Thank you, your answer led me there.
    – mxmissile
    Commented Dec 26, 2011 at 3:38
  • 2
    Ah, I had forgotten that precision hides more precise breakdowns! I'll incorporate that into my answer for future readers.
    – dlras2
    Commented Dec 26, 2011 at 20:08

This function is implemented in the latest versions of DfHack, just q the stockpile and you get an i option that will give you the inventory of the stockpile, "Show inventory" at the bottom right.

enter image description here

Stockpile inventory: enter image description here

You can find DfHack on Github: https://github.com/DFHack/dfhack/releases

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .