40d:Stack

From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about an older version of DF.
(See pump stack if seeking information on that concept.)

A stack is a pile of objects, such as food, bones, or ammo, that came from the same source at the same time - the same farm plot tile, animal, or workshop job. A stack is considered a single object for purposes of hauling and jobs, but single, individual objects can be used from it, one at a time, such as one bolt shot from a crossbow, or one food item taken for eating. If the item survives that use (the bolt doesn't break, or the food item is dropped for some reason), it then becomes an individual item, unconnected to any stack. Individual items cannot be stacked or re-stacked.

Stacks of items are counted as the total number in the stack for purposes of storing in barrels or bins, as will items produced in workshops for determining clutter - this can occur very quickly with some items.

Items can be viewed a number of ways, but the easiest is via the k key or in the z-stocks menu; a stack of 4 plump helmets would look like this:

Plump helmet [4]


Plants usually grow in stacks of 2-6, depending on the skill of the planter (though fertilizer can potentially boost stack size as high as 11). Butchering an animal produces stacks of meat, chunks, and bones equal to that creature's size (as does rotting for bones). Prepared meals come in stacks of size equal to the total number of items used - since up to 4 ingredients can be used to cook a lavish meal, and each ingredient itself can be a stack, this can be quite large. Bolts come in stacks of 25 for wood or metal bolts, and creating bone bolts from a stack of bones gives a stack of bolts equal to the input bone stack size multiplied by 5. (Immigrants can bring bigger stacks.)

Note that some stacks of items currently do not behave as might be expected. When making bone crafts or crossbows, a stack of bones will produce the same number of crafts as a single bone, making stacks of bones highly uneconomical for making anything other than bolts. Additionally, lye comes in stacks of 10 when purchased from caravans, but attempting to make it into potash will produce only one bar from the entire stack, making stacks of lye useful only for making soap.