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.

Difference between revisions of "Storage"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(→‎Quick reference: corrected based on raws when possible and DFHackery)
 
(24 intermediate revisions by 15 users not shown)
Line 1: Line 1:
 +
{{migrated article}}
 
{{av}} {{buggy}}
 
{{av}} {{buggy}}
{{Quality|Exceptional|06:09, 29 July 2010 (UTC)}}
+
{{Quality|Unrated}}
  
{{furniture|name=Container
+
[[File:storage_sprites_preview.png|right]]Types of items used for '''storage''' include [[container]]s, [[cabinet]]s, [[barrel]]s, [[large pot]]s, [[bag]]s, [[bin]]s, and [[bookcase]]s. All storage objects are used to hold items, from personal possessions to [[gem]]s, [[alcohol]], [[seed]]s, [[quarry bush]] leaves, and even living [[creature]]s, but their use is context-sensitive, so you cannot for example use your barrels for storing [[coin]]s.
|tile=Æ
 
|wood=y
 
|stone=y
 
|metal=y
 
|glass=y
 
}}
 
 
 
Types of containers the game knows are '''chests''', '''coffers''', '''boxes''', '''cabinets''', '''bags''', '''[[barrel]]s''', '''[[large pot]]s''' and '''[[bin]]s'''. All containers are used to hold items, from personal possessions to [[gem]]s, [[alcohol]], [[quarry bush]] leaves, and even living [[creature]]s, but their use is context-sensitive, so you cannot use your barrels for storing [[coin]]s, but you ''can'' {{key|b}}uild a bag as a dwarf's personal container, analogous to a chest.
 
  
Chests, coffers, boxes and bags are subsumed under ''boxes and bags'' in the [[status]] stocks screen, and these can be built as "containers" from the {{key|b}}uilding menu to satisfy the "Needs: X Chests" requirement for nobles. Each other container type has its own entry.
+
Chests, coffers, and boxes are subsumed under ''boxes'' in the [[status]] stocks screen, and these can be built as "[[container]]s" from the {{key|b}}uilding menu, {{key|f}}urniture submenu to satisfy the "Needs: X Chests" requirement for nobles. Each other storage object type has its own entry.
  
To examine a container's contents when the container is in a stockpile, select the object location with the {{key|k}} key. Then, use {{key|+}} and {{key|-}} until the container is highlighted, then press {{key|enter}}.  Press {{key|enter}} again to select the contents, if any. The i{{key|t}}ems command can be used to see items that are stored in a built container.  See also, [[stocks]].
+
To examine a storage object's contents, select the object location with the mouse. If the storage object isn't selected (say, if there are multiple items or units on the same tile) it should be selectable as a tab on the upper right of the window.
  
 
== Barrels, bins, bags, pots ==
 
== Barrels, bins, bags, pots ==
 +
[[Barrel]]s are [[wood]]en or [[metal]] containers that are useful for storing items in a [[Stockpile#food|food stockpile]] and are used to store [[alcohol]], [[plant]]s, [[seed]] bags, [[meat]], [[Creature#Aquatic|fish]], [[dwarven syrup]], [[quarry bush]] leaf bags, [[flour]] bags and [[dye]] bags, cooked food, [[fat]] and [[tallow]], and all [[prepared organs]]. They are made at a [[Carpenter's workshop]] with 1 log or at a [[Forge]] with 3 bars of metal. Barrels can be disabled in a stockpile to prevent haulers from running off with everything else inside to pick up a stray seed.
  
[[Barrel]]s are [[wood]]en or [[metal]] containers that are useful for storing items in a [[Stockpile#food|food stockpile]] and are used to store [[alcohol]], [[plant]]s, [[seed]] bags, [[meat]], [[fish]], [[dwarven syrup]], [[quarry bush]] leaf bags, [[flour]] bags and [[dye]] bags, cooked food, [[fat]] and [[tallow]], and all [[prepared organs]].  They are made at a [[Carpenter's workshop]] with 1 log or at a [[Forge]] with 3 bars of metal. Barrels can be disabled in a stockpile to prevent haulers from running off with everything else inside to pick up a stray seed.
+
[[Pot]]s, an alternative for barrels, can be made of wood, stone, clay, glass, or metal. Pots can also be used to store alcohol and other related liquids, though clay pots (earthenware) must be [[glaze]]d to hold liquids. Pots hold the same amount as barrels (60 total units of food, or 30 units of alcohol) and weigh 1/4th as much as a barrel of equivalent material. Except for a few barrel-specific requirements, pots are generally a superior replacement.
 
 
[[Pot]]s, the larger equivalent of barrels, can be made of wood, stone, clay, glass, or metal. Pots can also be used to store alcohol and other related liquids, though clay pots (earthenware) must be [[glaze]]d to hold liquids. Pots hold twice as much as barrels (60 total units of food) and weigh one fourth as much as a barrel of equivalent material. Except for a few barrel-specific requirements, pots are generally a superior replacement.
 
  
[[Bin]]s are containers, again made from wood or metal, used for most non-food items. They are sent to all the other stockpiles (with the exclusion of the [[refuse]], [[stone]] and [[graveyard]] piles) and will hold much larger stacks of items, making organizing those endless piles of +giant cave spider silk socks+ and trade goods much easier to manage. They are made at a [[Carpenter's workshop]] with 1 log or at a [[Forge]] with 3 bars of metal. Bars and blocks will stack into a bin, but not into any other container, so a stockpile with bar/block enabled will default to requesting bins.
+
[[Bin]]s are containers, again made from wood or metal, used for most non-food items. They are sent to all the other stockpiles (with the exclusion of the [[refuse]], [[stone]] and [[graveyard]] piles) and will hold much larger stacks of items, making organizing those endless piles of +giant cave spider silk socks+ and trade goods much easier to manage. They are made at a [[Carpenter's workshop]] with 1 log or at a [[Forge]] with 3 bars of metal. Bars and blocks will stack into a bin, but not into any other container, so a stockpile with bar/block enabled will default to requesting bins.
  
Bags are used to store [[seed]]s, [[quarry bush]] leaves, [[mill]] products ([[flour]], [[sugar]], [[dye]]) and [[sand]] ("[[powder]]s"). They are made from [[plant fiber]] (or [[silk]]) [[cloth]], [[leather]], or [[adamantine]]. Bags are used to gather and transport powders the same way [[bucket]]s are used to carry [[water]]. Bags can be placed inside other containers, such as barrels. Bags can be placed as [[furniture]] and then function as [[coffer]]s (see below).  They are made at a [[Clothier's shop]] with 1 cloth or at a [[Leather works]] with 1 leather.
+
[[Bag]]s are used to store [[seed]]s, [[quarry bush]] leaves, [[mill]] products ([[flour]], [[sugar]], [[dye]]), [[gypsum plaster]], [[quicklime]] and [[sand]] ("[[powder]]s"). They are made from [[plant fiber]] (or [[silk]]) [[cloth]], [[leather]], or [[adamantine]]. Bags are used to gather and transport powders the same way [[bucket]]s are used to carry [[water]]. Bags can be placed inside other containers, such as barrels. They are made at a [[Clothier's shop]] with 1 cloth or at a [[Leather works]] with 1 leather.
  
Empty barrels, bins and bags can all be stored in a [[furniture]] [[stockpile]].
+
Empty barrels, pots, bins and bags can all be stored in a [[furniture]] [[stockpile]].
  
 
== Cabinets and "chests" ==
 
== Cabinets and "chests" ==
 +
These two containers are both furniture items only. A [[stone]] chest is called a '''coffer''', and a [[glass]] chest is called a '''box''', but they are used for the same purpose.
  
These two containers are both furniture items only.  They must be built in rooms assigned to dwarves in order to fulfill the dwarves' room requirements. Cabinets are used to store clothing, and chests are used to store everything else.
+
They must be built in rooms assigned to dwarves in order to fulfill the dwarves' room requirements. Cabinets are used to store clothing, and chests are used to store everything else.  Also, locations like [[tavern]]s, [[temple]]s, [[library|libraries]], and [[hospital]]s need containers for their supply storage.
  
Also, the [[hospital]] needs containers for its supply-storage.
+
Once built as furniture, their contents can be viewed by clicking on them with the mouse.
  
A [[stone]] chest is called a '''coffer''', and a [[glass]] chest is called a '''box''', but they are used for the same purpose.  Bags can also be built as chests.
+
== Quick reference ==
 
+
{{storage table head}}
Once built as furniture, their contents can be viewed with the {{k|t}} menu.
+
{{storage table row|container=[[Animal trap]]|stockpile=Animals|furniture=y|solidcap=30000|liquidcap=|stores=Vermin, Bait|graphic=[[File:animal_trap_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
 
+
}}
== Quick Reference ==
+
{{storage table row|container=[[Armor stand]]|stockpile=Furniture > Type > Armor Stands|furniture=y|solidcap=60000|liquidcap=|stores=Armor|graphic=[[File:armor_stand_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=n
{| border = 1 cellspacing="0" cellpadding="5" class="wikitable sortable"
+
}}
|-
+
{{storage table row|container=[[Equipment#Backpacks|Backpack]]|stockpile=Finished Goods > Type > Backpacks|furniture=n|solidcap=30000|liquidcap=|stores=Food|graphic=[[File:backpack_sprite.png]]|stone=n|wood=n|glass=n|metal=n|cloth=y|leather=y|ceramic=n|sup_cloth=3
! Container || Stockpile || Furniture || Solid Capacity (in [[size|cm<sup>3</sup>]]) || Liquid Capacity || Stores
+
}}
            || Stone || Wood || Glass || Metal || Cloth || Leather || Ceramic
+
{{storage table row|container=[[Bag]]|stockpile=Furniture > Type > Bag|furniture=n|solidcap=60000|liquidcap=|stores=Seeds, Leaves, Powders|graphic=[[File:bag_sprite.png]]|stone=n|wood=n|glass=n|metal=n|cloth=y|leather=y|ceramic=n
|-
+
}}
|[[Barrel]] || Furniture > Type > Barrels        || No || 6000 || 6000 || Food, Alcohol<sup>4</sup>, Extracts<sup>4</sup>, Milk, Lye, Bags 
+
{{storage table row|container=[[Container|Box]]<br/>Chest<br/>Coffer|stockpile=Furniture > Type > Boxes|furniture=y|solidcap=60000|liquidcap=|stores=Bags: Seeds, Leaves, Powders<br/>Others: Owned items|graphic=[[File:chest_sprite.png]]|stone=Coffer|wood=Chest|glass=Box|metal=Chest|cloth=n|leather=n|ceramic=n
            || No || Yes || No || Yes || No || No || No
+
}}
|-
+
{{storage table row|container=[[Barrel]]|stockpile=Furniture > Type > Barrels|furniture=n|solidcap=60000|liquidcap=60000|stores=Food, Alcohol, Extracts, Milk, Lye, Bags|graphic=[[File:barrel_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
|[[Bin]]   || Furniture > Type > Bins          || No || 6000 ||       || Items, Jugs, Flasks
+
}}
            || No || Yes || No || Yes || No || No || No
+
{{storage table row|container=[[Bin]]|stockpile=Furniture > Type > Bins|furniture=n|solidcap=60000|liquidcap=|stores=Items, Jugs, Flasks|graphic=[[File:bin_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
|-
+
}}
|[[Bucket]] || Furniture > Type > Buckets        || No ||       || 600 || Milk, Lye, Water<sup>2</sup>
+
{{storage table row|container=[[Bucket]]|stockpile=Furniture > Type > Buckets|furniture=n|solidcap=|liquidcap=6000|stores=Milk, Lye, Water<sup>2</sup>|graphic=[[File:bucket_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
            || No || Yes || No || Yes || No || No || No
+
}}
|-
+
{{storage table row|container=[[Cabinet]]|stockpile=Furniture > Type > Cabinets|furniture=y|solidcap=60000|liquidcap=|stores=Owned clothing|graphic=[[File:cabinet_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=n
|[[Flask]]<br />Vial<br />Waterskin
+
}}
            || Finished Goods > Type > Flasks    || No ||       || 180 || Alcohol, Water<br />Vials: Extracts<sup>4</sup>
+
{{storage table row|container=[[Cage]]<br/>Aquarium<br/>Terrarium|stockpile=Animals|furniture=y|solidcap=60000|liquidcap=60000|stores=Creatures, Vermin<br/>Aquarium: Water|graphic=[[File:cage_sprite.png]]|stone=n|wood=Cage|glass=Terrarium<br/>Aquarium|metal=Cage|cloth=n|leather=n|ceramic=n
            || No || No || Vial || Flask || No || Waterskin || No
+
}}
|-
+
{{storage table row|container=[[Coffin]]<br/>Casket<br/>Sarcophagus|stockpile=Furniture > Type > Coffins|furniture=y|solidcap=60000|liquidcap=|stores=Creature/Vermin Corpses/Remains|graphic=[[File:coffin_sprite.png]]|stone=Coffin|wood=Casket|glass=Coffin|metal=Sarcophagus|cloth=n|leather=n|ceramic=n
|[[Equipment#Backpacks|Backpack]]
+
}}
            || Finished Goods > Type > Backpacks || No ||  3000 ||        || Food
+
{{storage table row|container=[[Flask]]<br/>Vial<br/>Waterskin|stockpile=Finished Goods > Type > Flasks|furniture=n|solidcap=|liquidcap=1800|stores=Alcohol, Water<br/>Vials: Extracts|graphic=[[File:flask_collection_sprite.png]]|stone=n|wood=n|glass=Vial|metal=Flask|cloth=n|leather=Waterskin|ceramic=n
            || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
+
}}
|-
+
{{storage table row|container=[[Hive]]|stockpile=Finished Goods > Type > Tools|furniture=y|solidcap=5000|liquidcap=5000|stores=Honey Bees, Royal Jelly, Honeycomb|graphic=[[File:hive.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=y|sup_stonewood=4
|[[Equipment#Quiver|Quiver]]
+
}}
            || Finished Goods > Type > Quivers  || No || 1200 ||       || Ammunition
+
{{storage table row|container=[[Jug]]|stockpile=Finished Goods > Type > Tools|furniture=n|solidcap=|liquidcap=10000|stores=Royal Jelly, Honey, Rock Nut Oil|graphic=[[File:jug_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=y|sup_stonewood=4
            || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
+
}}
|- 
+
{{storage table row|container=[[Large pot]]|stockpile=Finished Goods > Type > Large pots/food storage|furniture=n|solidcap=60000|liquidcap=60000|stores=Food, Alcohol, Bags|graphic=[[File:large_pot_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=y|sup_stonewood=4
| Bag<br />Chest<br />Coffer<br />Box
+
}}
            || Furniture > Type > Boxes and Bags || Special || 6000 ||        || Bags: Seeds, Leaves, Powders<br />Other: Owned items
+
{{storage table row|container=[[Minecart]]|stockpile=Furniture > Type > Minecarts|furniture=n|sup_furn=5|solidcap=500000|liquidcap=500000|stores=Hauled items;<br/>[[Minecart#Loading_liquids|scooped]], but not loaded: Water, Magma|graphic=[[File:minecart_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
            || Coffer || Chest || Box || Chest || Bag || Bag || No
+
}}
|- 
+
{{storage table row|container=[[Nest box]]|stockpile=Finished Goods > Type > Tools|furniture=y|solidcap=2000|liquidcap=|stores=Eggs|graphic=[[File:nest_box_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=n|sup_stonewood=4
|Pouch
+
}}
            || Finished Goods > Type > Tools{{verify}}    || No  ||   100 ||      || Coins (in [[adventurer mode]])
+
{{storage table row|container=Pouch|stockpile=Finished Goods > Type > Tools{{verify}}|furniture=n|solidcap=1000|liquidcap=|stores=Coins (in [[adventurer mode]])|graphic=[[File:pouch_sprite.png]]|stone=n|wood=n|glass=n|metal=n|cloth=y|leather=y|ceramic=n
            || No || No || No || No || Yes || Yes || No
+
}}
|-
+
{{storage table row|container=[[Equipment#Quiver|Quiver]]|stockpile=Finished Goods > Type > Quivers|furniture=n|solidcap=12000|liquidcap=|stores=Ammunition|graphic=[[File:quiver_sprite.png]]|stone=n|wood=n|glass=n|metal=n|cloth=y|leather=y|ceramic=n|sup_cloth=3
|[[Cabinet]]
+
}}
            || Furniture > Type > Cabinets      || Yes || 6000 ||     || Owned clothing
+
{{storage table row|container=[[Weapon rack]]|stockpile=Furniture > Type > Weapon Racks|furniture=y|solidcap=60000|liquidcap=|stores=Weapons|graphic=[[File:weapon_rack_sprite.png]]|stone=y|wood=y|glass=y|metal=y|cloth=n|leather=n|ceramic=n
            || Yes || Yes || Yes || Yes || No || No || No
+
}}
|-
+
{{storage table row|container=[[Wheelbarrow]]|stockpile=Furniture > Type > Wheelbarrows|furniture=n|solidcap=100000|liquidcap=|stores=Hauled items|graphic=[[File:wheelbarrow_sprite.png]]|stone=n|wood=y|glass=n|metal=y|cloth=n|leather=n|ceramic=n
|[[Jug]]   || Finished Goods > Type > Tools    || No ||       || 1000 || Royal Jelly, Honey, Rock Nut Oil
+
}}
            || Yes<sup>5</sup> || Yes<sup>5</sup> || Yes || Yes || No || No || Yes
 
|-
 
|[[Large pot]]
 
            || Finished Goods > Type > Tools    || No || 6000 ||  6000 || Food, Alcohol, Bags
 
            || Yes<sup>5</sup> || Yes<sup>5</sup> || Yes || Yes || No || No || Yes
 
|-
 
|[[Nest box]]
 
            || Finished Goods > Type > Tools     || Yes ||   200 ||       || Eggs
 
            || Yes<sup>5</sup> || Yes<sup>5</sup> || Yes || Yes || No || No || No
 
|-
 
|[[Hive]]   || Finished Goods > Type > Tools     || Yes ||   500 ||  500 || Honey Bees, Royal Jelly, Honeycomb
 
            || Yes<sup>5</sup> || Yes<sup>5</sup> || Yes || Yes || No || No || Yes
 
|-
 
|[[Wheelbarrow]]
 
            || Furniture > Type > Wheelbarrows  || No || 10000 ||       || hauled items
 
            || No || Yes || No || Yes || No || No || No
 
|-
 
|[[Minecart]]
 
            || Furniture > Type > Minecarts     || No<sup>6</sup> || 50000 || 50000 || hauled items;<br />[[Minecart#Loading_liquids|scooped]], but not loaded: Water, Magma
 
            || No || Yes || No || Yes || No || No || No
 
|-
 
|[[Cage]]<br />Terrarium<br />Aquarium
 
            || Animals                          || Yes & No || 6000 || 6000 || Creatures, Vermin<br />Aquarium: Water
 
            || No || Cage || Terrarium<br />Aquarium || Cage || No || No || No
 
|-
 
|[[Animal trap]]
 
            || Animals                          || Yes & No || 3000 || || Vermin, Bait
 
            || No || Yes || No || Yes || No || No || No
 
|-
 
|[[Coffin]]<br />Casket<br />Sarcophagus
 
            || Furniture > Type > Coffins        || Yes || 6000 || || Creature/Vermin Corpses/Remains
 
            || Coffin || Casket || Coffin || Sarcophagus || No || No || No
 
|-
 
|[[Weapon rack]]
 
            || Furniture > Type > Weapon Racks   || Yes || 6000 || || Weapons
 
            || Yes || Yes || Yes || Yes || No || No || No
 
|-
 
|[[Armor stand]]
 
            || Furniture > Type > Armor Stands  || Yes || 6000 || || Armor
 
            || Yes || Yes || Yes || Yes || No || No || No
 
 
|}
 
|}
 
:<sup>1</sup> - Large Pots can be made from any hard material, including wood and metal
 
:<sup>1</sup> - Large Pots can be made from any hard material, including wood and metal
 
:<sup>2</sup> - Used to carry water, can store Milk and Lye but will be emptied into Barrels
 
:<sup>2</sup> - Used to carry water, can store Milk and Lye but will be emptied into Barrels
 
:<sup>3</sup> - Backpacks and quivers can only be made from Adamantine cloth, though ones made from other cloth can be purchased from caravans
 
:<sup>3</sup> - Backpacks and quivers can only be made from Adamantine cloth, though ones made from other cloth can be purchased from caravans
:<sup>4</sup> - Brewing and extracting can store any amount of liquid within a barrel or flask
+
:<sup>4</sup> - Rock and Wood versions of these items are made in [[Craftsdwarf's workshop]] rather than [[Carpenter's workshop]] or [[Mason's workshop]] as usual.
:<sup>5</sup> - Rock and Wood versions of these items are made in [[Craftsdwarf's workshop]] rather than [[Carpenter's workshop]] or [[Mason's workshop]] as usual.
+
:<sup>5</sup> - A [[minecart]] can be placed where you need it and used for storage, but technically it's not built furniture
:<sup>6</sup> - A [[minecart]] can be placed where you need it and used for storage, but technically it's not built furniture
 
  
 
*[[Tools]] have capacity set in units 10 times smaller; liquids take container capacity 60 per 1 unit, i.e. capacity 180 = 3 units of water, 50000 = 833 units, etc.
 
*[[Tools]] have capacity set in units 10 times smaller; liquids take container capacity 60 per 1 unit, i.e. capacity 180 = 3 units of water, 50000 = 833 units, etc.
*Large Pots are like Barrels but with different capacities.
+
*Large Pots are equivalent to Barrels except for a few specific uses (e.g. process plant to barrel).
 
*Bins are like Barrels but store different stuff.
 
*Bins are like Barrels but store different stuff.
 
*Buckets are used for temporary storage of Milk, Lye, and Water.
 
*Buckets are used for temporary storage of Milk, Lye, and Water.
 
*Jugs are mini containers for honey and royal jelly and can be stored inside Bins, in this sense they are like Bags.
 
*Jugs are mini containers for honey and royal jelly and can be stored inside Bins, in this sense they are like Bags.
 
*Bags are mini containers for powders and can be stored inside Barrels/Large Pots if holding food items.
 
*Bags are mini containers for powders and can be stored inside Barrels/Large Pots if holding food items.
*Bags are like Chests/Coffers/Boxes made of cloth or leather, can be placed as furniture in the same fashion.
 
 
*Flasks/Waterskins/Vials are different names for the same containers depending on the material it's made from.
 
*Flasks/Waterskins/Vials are different names for the same containers depending on the material it's made from.
 
*Chests/Coffers/Boxes are different names for the same piece of furniture depending on the material it's made from.
 
*Chests/Coffers/Boxes are different names for the same piece of furniture depending on the material it's made from.
Line 142: Line 93:
  
 
== Bugs ==
 
== Bugs ==
 +
* Hauling jobs block access to all the items in the destination containers until the hauling is complete. This often results in cancellation spam and work delays.{{bug|9004}} One workaround is creating a "feeder stockpile" with containers disabled.
 
* Container size works in mysterious ways. Items only have "SIZE" determining the volume of their material and thus [[weight]], but ''no separate external volume''. For containers, CAPACITY is ''not'' added to it, i.e. they all are treated like soft bags: you can put 30 other bags inside a bag, and you can load a minecart with minecarts. At the same time, containers are assumed to ''not'' be soft bags - while weight of contents adds to the container's, the ambiguous SIZE is constant. Together, these facts make containers nest-able ''indefinitely'', as long as CAPACITY>SIZE (which normally is the case) and potentially act like bags of holding - have the same stated volume whether empty or holding an arbitrary total amount of items via nested containers. The only nesting that normally happens in Fortress mode is minecart > barrel > bag, but this still makes a minor [[exploit]].
 
* Container size works in mysterious ways. Items only have "SIZE" determining the volume of their material and thus [[weight]], but ''no separate external volume''. For containers, CAPACITY is ''not'' added to it, i.e. they all are treated like soft bags: you can put 30 other bags inside a bag, and you can load a minecart with minecarts. At the same time, containers are assumed to ''not'' be soft bags - while weight of contents adds to the container's, the ambiguous SIZE is constant. Together, these facts make containers nest-able ''indefinitely'', as long as CAPACITY>SIZE (which normally is the case) and potentially act like bags of holding - have the same stated volume whether empty or holding an arbitrary total amount of items via nested containers. The only nesting that normally happens in Fortress mode is minecart > barrel > bag, but this still makes a minor [[exploit]].
 
* Stacks made by a single job tend to ignore capacity. For one, dwarves picking up items may stuff a [[Exploit#Quantum_stockpiles|quantum stockpile]] worth of items into one container.{{bug|6063}} The same applies to brewing and extracting.
 
* Stacks made by a single job tend to ignore capacity. For one, dwarves picking up items may stuff a [[Exploit#Quantum_stockpiles|quantum stockpile]] worth of items into one container.{{bug|6063}} The same applies to brewing and extracting.
Line 147: Line 99:
  
 
{{Buildings}}
 
{{Buildings}}
 +
{{Category|Items}}

Latest revision as of 11:27, 2 December 2023

This article is about the current version of DF.
Note that some content may still need to be updated.

Storage sprites preview.png

Types of items used for storage include containers, cabinets, barrels, large pots, bags, bins, and bookcases. All storage objects are used to hold items, from personal possessions to gems, alcohol, seeds, quarry bush leaves, and even living creatures, but their use is context-sensitive, so you cannot for example use your barrels for storing coins.

Chests, coffers, and boxes are subsumed under boxes in the status stocks screen, and these can be built as "containers" from the building menu, furniture submenu to satisfy the "Needs: X Chests" requirement for nobles. Each other storage object type has its own entry.

To examine a storage object's contents, select the object location with the mouse. If the storage object isn't selected (say, if there are multiple items or units on the same tile) it should be selectable as a tab on the upper right of the window.

Barrels, bins, bags, pots[edit]

Barrels are wooden or metal containers that are useful for storing items in a food stockpile and are used to store alcohol, plants, seed bags, meat, fish, dwarven syrup, quarry bush leaf bags, flour bags and dye bags, cooked food, fat and tallow, and all prepared organs. They are made at a Carpenter's workshop with 1 log or at a Forge with 3 bars of metal. Barrels can be disabled in a stockpile to prevent haulers from running off with everything else inside to pick up a stray seed.

Pots, an alternative for barrels, can be made of wood, stone, clay, glass, or metal. Pots can also be used to store alcohol and other related liquids, though clay pots (earthenware) must be glazed to hold liquids. Pots hold the same amount as barrels (60 total units of food, or 30 units of alcohol) and weigh 1/4th as much as a barrel of equivalent material. Except for a few barrel-specific requirements, pots are generally a superior replacement.

Bins are containers, again made from wood or metal, used for most non-food items. They are sent to all the other stockpiles (with the exclusion of the refuse, stone and graveyard piles) and will hold much larger stacks of items, making organizing those endless piles of +giant cave spider silk socks+ and trade goods much easier to manage. They are made at a Carpenter's workshop with 1 log or at a Forge with 3 bars of metal. Bars and blocks will stack into a bin, but not into any other container, so a stockpile with bar/block enabled will default to requesting bins.

Bags are used to store seeds, quarry bush leaves, mill products (flour, sugar, dye), gypsum plaster, quicklime and sand ("powders"). They are made from plant fiber (or silk) cloth, leather, or adamantine. Bags are used to gather and transport powders the same way buckets are used to carry water. Bags can be placed inside other containers, such as barrels. They are made at a Clothier's shop with 1 cloth or at a Leather works with 1 leather.

Empty barrels, pots, bins and bags can all be stored in a furniture stockpile.

Cabinets and "chests"[edit]

These two containers are both furniture items only. A stone chest is called a coffer, and a glass chest is called a box, but they are used for the same purpose.

They must be built in rooms assigned to dwarves in order to fulfill the dwarves' room requirements. Cabinets are used to store clothing, and chests are used to store everything else. Also, locations like taverns, temples, libraries, and hospitals need containers for their supply storage.

Once built as furniture, their contents can be viewed by clicking on them with the mouse.

Quick reference[edit]

Container Stockpile Furniture Solid
Capacity
(in cm3)
Liquid
Capacity
Can Store Graphic Made From
Stone Wood Glass Metal Cloth Leather Ceramic
Animal trap Animals Yes 30000 Vermin, Bait Animal trap sprite.png No Yes No Yes No No No
Armor stand Furniture > Type > Armor Stands Yes 60000 Armor Armor stand sprite.png Yes Yes Yes Yes No No No
Backpack Finished Goods > Type > Backpacks No 30000 Food Backpack sprite.png No No No No Yes3 Yes No
Bag Furniture > Type > Bag No 60000 Seeds, Leaves, Powders Bag sprite.png No No No No Yes Yes No
Box
Chest
Coffer
Furniture > Type > Boxes Yes 60000 Bags: Seeds, Leaves, Powders
Others: Owned items
Chest sprite.png Coffer Chest Box Chest No No No
Barrel Furniture > Type > Barrels No 60000 60000 Food, Alcohol, Extracts, Milk, Lye, Bags Barrel sprite.png No Yes No Yes No No No
Bin Furniture > Type > Bins No 60000 Items, Jugs, Flasks Bin sprite.png No Yes No Yes No No No
Bucket Furniture > Type > Buckets No 6000 Milk, Lye, Water2 Bucket sprite.png No Yes No Yes No No No
Cabinet Furniture > Type > Cabinets Yes 60000 Owned clothing Cabinet sprite.png Yes Yes Yes Yes No No No
Cage
Aquarium
Terrarium
Animals Yes 60000 60000 Creatures, Vermin
Aquarium: Water
Cage sprite.png No Cage Terrarium
Aquarium
Cage No No No
Coffin
Casket
Sarcophagus
Furniture > Type > Coffins Yes 60000 Creature/Vermin Corpses/Remains Coffin sprite.png Coffin Casket Coffin Sarcophagus No No No
Flask
Vial
Waterskin
Finished Goods > Type > Flasks No 1800 Alcohol, Water
Vials: Extracts
Flask collection sprite.png No No Vial Flask No Waterskin No
Hive Finished Goods > Type > Tools Yes 5000 5000 Honey Bees, Royal Jelly, Honeycomb Hive.png Yes4 Yes4 Yes Yes No No Yes
Jug Finished Goods > Type > Tools No 10000 Royal Jelly, Honey, Rock Nut Oil Jug sprite.png Yes4 Yes4 Yes Yes No No Yes
Large pot Finished Goods > Type > Large pots/food storage No 60000 60000 Food, Alcohol, Bags Large pot sprite.png Yes4 Yes4 Yes Yes No No Yes
Minecart Furniture > Type > Minecarts No5 500000 500000 Hauled items;
scooped, but not loaded: Water, Magma
Minecart sprite.png No Yes No Yes No No No
Nest box Finished Goods > Type > Tools Yes 2000 Eggs Nest box.png Yes4 Yes4 Yes Yes No No No
Pouch Finished Goods > Type > Tools[Verify] No 1000 Coins (in adventurer mode) Pouch sprite.png No No No No Yes Yes No
Quiver Finished Goods > Type > Quivers No 12000 Ammunition Quiver sprite.png No No No No Yes3 Yes No
Weapon rack Furniture > Type > Weapon Racks Yes 60000 Weapons Weapon rack sprite.png Yes Yes Yes Yes No No No
Wheelbarrow Furniture > Type > Wheelbarrows No 100000 Hauled items Wheelbarrow sprite.png No Yes No Yes No No No
1 - Large Pots can be made from any hard material, including wood and metal
2 - Used to carry water, can store Milk and Lye but will be emptied into Barrels
3 - Backpacks and quivers can only be made from Adamantine cloth, though ones made from other cloth can be purchased from caravans
4 - Rock and Wood versions of these items are made in Craftsdwarf's workshop rather than Carpenter's workshop or Mason's workshop as usual.
5 - A minecart can be placed where you need it and used for storage, but technically it's not built furniture
  • Tools have capacity set in units 10 times smaller; liquids take container capacity 60 per 1 unit, i.e. capacity 180 = 3 units of water, 50000 = 833 units, etc.
  • Large Pots are equivalent to Barrels except for a few specific uses (e.g. process plant to barrel).
  • Bins are like Barrels but store different stuff.
  • Buckets are used for temporary storage of Milk, Lye, and Water.
  • Jugs are mini containers for honey and royal jelly and can be stored inside Bins, in this sense they are like Bags.
  • Bags are mini containers for powders and can be stored inside Barrels/Large Pots if holding food items.
  • Flasks/Waterskins/Vials are different names for the same containers depending on the material it's made from.
  • Chests/Coffers/Boxes are different names for the same piece of furniture depending on the material it's made from.
  • A terrarium can be designated as an Aquarium. A dwarf will use a bucket to fill it with water. If deconstructed it'll stay filled with Water[10] and can even be sold with the water inside. The water costs 1☼ each, so you get 10☼ for the water.
  • A hive won't be destroyed if you don't have a stockpile for its products. You could use t on the hive and dump the item to use it.

Spilling[edit]

A container item that moves fast and collides with an obstacle spills its contents. If the obstacle permits (i.e. fortification), these continue to move in the same direction with some scattering, otherwise displaced 1 tile above and retain velocity. This was introduced for minecarts, but applies at least to other tools and cages. If the tile above also contains an obstacle and the spilled item is a container, the process repeats on the next tick, until it runs out of either nested containers or wall height (see the first link above).

Bugs[edit]

  • Hauling jobs block access to all the items in the destination containers until the hauling is complete. This often results in cancellation spam and work delays.Bug:9004 One workaround is creating a "feeder stockpile" with containers disabled.
  • Container size works in mysterious ways. Items only have "SIZE" determining the volume of their material and thus weight, but no separate external volume. For containers, CAPACITY is not added to it, i.e. they all are treated like soft bags: you can put 30 other bags inside a bag, and you can load a minecart with minecarts. At the same time, containers are assumed to not be soft bags - while weight of contents adds to the container's, the ambiguous SIZE is constant. Together, these facts make containers nest-able indefinitely, as long as CAPACITY>SIZE (which normally is the case) and potentially act like bags of holding - have the same stated volume whether empty or holding an arbitrary total amount of items via nested containers. The only nesting that normally happens in Fortress mode is minecart > barrel > bag, but this still makes a minor exploit.
  • Stacks made by a single job tend to ignore capacity. For one, dwarves picking up items may stuff a quantum stockpile worth of items into one container.Bug:6063 The same applies to brewing and extracting.
  • Conversely, a freshly produced stack, no matter how small, will be put into a new container and not added into the old ones. Which may be justified with brewing, but also happens to production of items/substances without quality modifiers.

Furniture
Animal trapAnvilArmor standBedBlocksBox (chest • coffer) • BucketCabinetCage (aquarium • terrarium) • Coffin (casket • sarcophagus) • RestraintSlabStatueTableThrone (chair) • Weapon rack
Tools
AltarBookcaseDisplay (display case • pedestal) • HiveNest box

Access
BarsBridgeDoor (portal) • FloodgateGrateHatchRoadWindow
Constructions
Machine and trap parts
Other buildings

Related articles