|This article is about an older version of DF.|
Stockpiles are where dwarves will store items of various types. Dwarves with the corresponding "hauling" job on will seek out items that aren't already on a stockpile that accepts them and carry them to the appropriate stockpile. It's important to place your stockpiles carefully to minimize the amount of time spent carrying items to and from them. Items in a stockpile may be stored in bags, barrels, or bins (see Using bins and barrels).
 Allocating stockpiles
To allocate an area as a stockpile, use the workshop, or an already existing stockpile, a stockpile will be created but they will not be part of it.menu. The right-hand menu pane will list all the stockpile categories, and the appropriate key to press to begin allocating that type. Allocating an area works exactly the same as designating an area. Press to specify the first corner of the stockpile, use the primary movement keys to move the cursor to the opposite corner, and press again. This will create a stockpile of the chosen type that occupies the area between the two corners specified. If the chosen area has parts that cannot be made into a stockpile, like a wall, a
Removing a stockpile works exactly the same, but choose: Remove Designation. This will unallocate the area specified. It is possible to create a single stockpile with a shape other than a rectangle by using the Remove Designation tool to remove only part of the stockpile.
 Using stockpiles
Once a stockpile has been allocated, dwarves will automatically move items to the stockpile when they are available, and as long as the stockpile has available space. Note that the dwarves will place the item into the empty spot that is nearest to the item, not counting any obstructions. Additional behaviour also includes the fact that dwarves will stockpile the newest item first, which may not necessarily be the nearest item to the stockpile.
When dwarves need an item for a particular task, they will head to the nearest (again, not counting any obstructions that may lie in the way) item of the correct type, regardless of whether it is in a stockpile or not. Apart from some exceptions, items do not have to be stockpiled at all. Players are generally advised to avoid stone stockpiles, because stone hauling jobs take an extreme amount of time for unskilled dwarves, due to the weight hauled.
One method to ensure a workshop has raw material on hand is to place a small stockpile next to the workshop. This will speed up production as the crafter in question only has to take a few steps to obtain the material. It also has a useful side-effect, in that as soon as the crafter picks up the piece of material, the stockpile will issue a new task to fetch another piece of that material. Because that crafter is busy, that hauling job will be taken by another dwarf. This speeds up a queue of jobs, as other dwarves perform the time-consuming distant haul whilst the crafter actually makes the items.
It's not necessary to place stockpiles for all types of objects. If no storage is available for a certain item type, dwarves will seek out items wherever they might lie as mentioned earlier. This can be advantageous -- if you don't have a stockpile for gems, your jeweler will go pick up fresh gems without waiting for them to be carried to a pile first. However, this also means your jeweler has to spend a lot of time fetching the gems. If you have enough haulers available, it's generally more advantageous to designate stockpiles than not. Also remember that your workshops will get cluttered and suffer production slowdowns if you let items pile up in them, so it's important to regularly clear out workshops when they get cluttered. This can be done either by having a stockpile available so that haulers will remove the items or by removing and rebuilding the workshop, which will empty its contents onto the ground.
 Take from a stockpile
Another feature of stockpiles, currently in a limited form, allows you to tell dwarves to fill one stockpile not only with unstockpiled items, but also those located on another stockpile that accepts those items. To specify such a flow, use themenu, and highlight the destination stockpile. Press , and, using the cursor, highlight another stockpile and press . Your chosen stockpile will now list the stockpile it will take from. This will cause items in the second stockpile to be hauled to the first stockpile. To stop first stockpile taking items from second use menu on first, highlight the unneeded stockpile in the list using and and press elete Selected
Each stockpile can take from any number of other stockpiles, but can only have one stockpile taking from it in turn. This limit applies even if the two stockpiles you want it to feed into don't share a single material that can be stored in both of them. Additionally, you can't make two stockpiles feed into each other, although larger loops (e.g. 3 stockpiles that feed into each other in a circle) are allowed.
However, despite these limitations, enough micromanagement will allow for effective and (relatively) streamlined supply chains. For example, you can speed up lumber harvesting, carpentry, and ash and charcoal production by putting several wood stockpiles near the various tree-felling areas, then one large "primary" stockpile near the carpenter's workshop that takes from those small ones, and then finally, a small stockpile near the wood furnace that takes from the primary one.
 Stockpile categories
This stockpile contains ammo for all forms of ammunition-requiring weaponry (except siege engines). It can use bins to consolidate up to 100 units of ammo.
Armor of all types is stored here. This kind of stockpile can use bins to consolidate up to 10 items. There is no preference for specific body parts. All types of armor can be stored in bins.
Bars of smelted metal and blocks of cut stone and glass are kept here after being processed by the smelter, mason's workshops, and glass furnaces, before being used for other purposes. Weirdly, ashes, potash, soap, charcoal, and coke from the wood furnace, ashery, alchemist's laboratory and smelter will also be stored here. Like with all stockpiles, this can be changed to allow for specific blocks and bars to be stored with custom settings. Bins can be used to consolidate up to 10 bars and blocks.
Minted coins are kept here. Bins can be used to consolidate up to 3000 coins, which is equivalent to six new coins stacks.
 Finished Goods
Finished goods created by the craftsdwarf's workshop, as well as the clothes maker's shop and the leather works, are placed here before being used in trade or other uses. This type of stockpile can use bins to consolidate up to 25 items.
As one would assume based on the name, food is stored here. Unexpectedly, lye, venom, bags of dye, and liquid fire are as well. Raw fish is brought here before being processed by a fishery and turned into edible meat. Drinks are always stored in barrels. Seeds can be stored in bags, whereas other food items can be stored in barrels (up to 10 items per barrel, but note that the stack +Cow meat roast + would count as eight items.)
Note that prepared meals in stacks larger than ten (☼Dwarven Beer Roast ☼ is possible) will not fit in a barrel, but will not rot once placed in a food stockpile, and still only take up one space. To free up barrels, you may decide to have separate prepared food stockpiles that do not accept barrels. If you cook larger meals, this shouldn't be a problem.
Food stockpiles should in most cases be specified as things like seed stockpiles or meat stockpiles or unprepared fish stockpiles; there are simply too many things that go in them.
Completed items from the carpenter's workshop, mason's workshop, and mechanic's workshop will be stored here, along with furniture created from other shops, until placed or used in another building. Bags filled with sand can also be stored in furniture stockpiles.
Since this is a very broad category, it may be useful to create stockpiles for a specific type of item (like barrels, bags, bins, mechanisms) via the stockpile settings.
Dead dwarves and pets that have no burial location will be placed here. If placed indoors, decaying bodies will generate miasma, but bones will not removed at the end of the season. Rotting pets or friends gives dwarves unhappy thoughts unless they are given a proper burial in a tomb.
The mining stockpile is simply a combination of an Ore stockpile and a Stone stockpile.
All metal ores will be brought here, including bituminous coal. This is one of the simpler stockpiles.
Since dwarves hate rot because of the miasma it spreads when in an enclosed place like a cave, any garbage item that can rot will be stored in a refuse stockpile. Many players prefer to place this stockpile outside their cavern, usually a small distance from the entrance. If placed indoors, decaying items will generate miasma, which will spread through your fortress and generate a small unhappy thought in any dwarf passing through it. For this reason it is sensible to build doors to all of your indoor refuse stockpiles - the miasma won't spread through a closed door so only dwarves with business in the room will be bothered by the rot.
Bones, skulls, and shells are also stored here, whether they be from defeated enemies or raw food processing. If left outdoors, these will disappear at the end of each season, but will remain indefinitely if stored indoors, so you may wish to make an indoor refuse stockpile that takes bones from the outdoor stockpile.
Rough stone will be stored here. Given the extreme abundance of stone, it is very likely for this stockpile to fill up quickly, if the hauling is ever completed, meaning tha the player may want to create several stone stockpiles, or possibly one giant one. The best use of stone stockpiles is to make sure that workshops and smelters, catapults, and impending construction projects have their materials close at hand. Be aware that these things can use up a lot of stone very quickly, leading to your dwarves scurrying around the fortress trying to keep up. To avoid stone hauling when you don't want it, you can slow down or stop the nearby usage, allowing the stockpile to fill back up (and thus no longer need more stone), or you can set the dwarves to ignore minerals inrders and options.
Weapons of all types are stored here by default, including the weapons that dwarves do not use and trap components. Bins can be used to consolidate up to 10 weapons of any type.
Chopped trees are brought to the wood stockpile before being used by the carpenter's, wood burner's or siege workshop. Because wood takes a long time to haul and tends to travel a long way, the stockpile should be rather close to a fortress entrance. It is a good idea to position this stockpile close to your carpenter's workshop (or the other way round) since he is likely to be the main "customer".
 Custom stockpiles
With custom stockpiles you can change which types of materials, goods, etc, can be stored in that pile. Any types of things can be mixed, so you could have a stockpile that will hold raw turtle, mechanisms and all stone types apart from onyx if you wanted, all quivers (a Finished Good), and metal Crossbows (a Weapon) - the combinations are endless, and can be finely tuned. Highlighting a stockpile with , then pressing will allow you to adjust the stockpile settings or in the menu you can press to adjust a custom stockpiles settings before placing it with .
 Stockpile Settings
The Stockpile Settings screen is weird to use. In the first column are the major categories. In the second column there may or may not be subcategories. In the third you will see the individual items. The second and third columns are only visible when a category is enabled and selected.
You navigate this screen withand , and left and right on the arrow keys. and are used to enable and disable the categories. and are used to allow or disallow all the subcategories. and will permit of forbid individual subcategories. These six keys work no matter which column you have selected, though the last 4 will not always be available. will toggle individual item types.
Some categories will have a special extra type of item(s) that can be toggled withand sometimes .
|Animals||Empty cages, Empty animal traps|
If you disable an item or items that are already sitting in a stockpile then they become loose items and your dwarves will move them to a more suitable stockpile should one exist.
 Uses for Custom Stockpiles
A custom stockpile is most useful for food, furniture, and bar/block stockpiles, to prevent your lye and venom sitting next to the kitchens, your floodgates and mechanisms near the rooms that need statues and doors, your stone blocks next to the forges, and your metal bars by the farms.
One use for this is to have an outdoor stockpile next to your gate that will accept all refuse except bones, shells, skins and skulls, and then an indoor pile near your craftsdwarf's workshop that will only accept these things. If you have set the option for dwarves to gather refuse from outside, the bones will be brought in once all the meat has rotted off of any carcasses outside. This means added risk to your dwarves if they try to gather refuse that is far from your gate, and additional hauling.
Another effective use of custom stockpiles is Elven trading. Make a stockpile just for elf-safe trade goods: most categories where it's relevant have a 'materials' option.
A highly efficient method is to have wood burning furnaces feeding into a 'charcoal only' bar/blocks stockpile, which in turn is near the smelting furnaces and forges. Bonus points if you also place a small wood stockpile near the wood furnaces.
Other good uses:
- Planter's stock: seeds and potash. (If your ashery is nearby, include ashes and lye)
- Smelter stock: ore and limestone.
- Sandpile: sand bags.
- Clothes Plus: a cloth stockpile that also includes dyes. (Dyes normally count as food)
- Food Plus: a food stockpile that includes barrels. This spares your dwarves from carrying empty barrels to and from the furniture stores.
- Skins: a refuse stockpile limited to skins, a bit like the bone & shell stockpile above. Place near the tannery.
- Brewer's stock: brewable plants.
- Refreshment stand: Since dwarves drink twice as often as they eat, having several small food stockpiles that only accept drinks scattered strategically through your fort can minimise smoko breaks. The usefullness of this kind of stockpile is often disputed as dwarves go to the fullest barrel first, so if you can't keep your stockpile constantly filled with new full barrels of alcohol your masons might decide to run all the way over to the alcohol stockpile you have setup for your brewers or your metalsmiths. If you can keep each stockpile constantly being filled with fresh supplies of full barrels of alcohol then this can increase productivity greatly. A simple way of doing this is by keeping a brewery near each separate alcohol stockpile, or locking dwarves in so that local stockpile is the only one they can path to.
- Artifact materials: The massive value and effectiveness of artifacts means the materials used in them can have drastic effects, sometimes even into the millions. Having special stockpiles for high-value metals, stones, gems, and other such materials will make it that much easier to insure that you will get the most out of each strange mood.
- Ingredients: Store things that are cookable but not edible, like milk and quarry bush leaves, near kitchens. For that matter, store both fat and tallow near kitchens for efficient rendering.