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.

Editing v0.34:Container

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{av}} {{buggy}}
+
{{av}}
 
{{Quality|Exceptional|06:09, 29 July 2010 (UTC)}}
 
{{Quality|Exceptional|06:09, 29 July 2010 (UTC)}}
  
Line 18: Line 18:
 
== 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]], [[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 in a stack of 15 or less, [[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, 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.
+
[[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 (30 total units of food) at the cost of weighing 2.5 times as much as a barrel of an equivalent material.
  
[[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 will stack into a bin, but not into any other container, so a stock pile with bars 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.
 
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.
Line 30: Line 30:
 
== Cabinets and "chests" ==
 
== Cabinets and "chests" ==
  
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.
+
These two containers are both furniture items only.  They must be built in rooms assigned to dwarves in order to function properly.  Cabinets are used to store clothing, and chests are used to store everything else.
  
 
Also, the [[hospital]] needs containers for its supply-storage.
 
Also, the [[hospital]] needs containers for its supply-storage.
Line 36: Line 36:
 
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.
 
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.
  
Once built as furniture, their contents can be viewed with the {{k|t}} menu.
+
Their contents can be viewed with the {{k|t}} menu.
  
 
== Quick Reference ==
 
== Quick Reference ==
 
{|  border = 1 cellspacing="0" cellpadding="5" class="wikitable sortable"
 
{|  border = 1 cellspacing="0" cellpadding="5" class="wikitable sortable"
 
|-
 
|-
! Container || Stockpile || Furniture || Solid Capacity (in [[size|cm<sup>3</sup>]]) || Liquid Capacity || Stores
+
! Container || Stockpile || Furniture || Solid Capacity || Liquid Capacity || Stores
 
             || Stone || Wood || Glass || Metal || Cloth || Leather || Ceramic
 
             || Stone || Wood || Glass || Metal || Cloth || Leather || Ceramic
 
|-
 
|-
|[[Barrel]] || Furniture > Type > Barrels        ||  No ||  3000 || 3000 || Food, Alcohol<sup>4</sup>, Extracts<sup>4</sup>, Milk, Lye, Bags   
+
|   Barrel || Furniture > Type > Barrels        ||  No ||  3000 || 3000 || Food, Alcohol<sup>4</sup>, Extracts<sup>4</sup>, Milk, Lye, Bags   
 
             || No || Yes || No || Yes || No || No || No
 
             || No || Yes || No || Yes || No || No || No
 
|-
 
|-
|[[Bin]]   || Furniture > Type > Bins          ||  No ||  3000 ||        || Items, Jugs, Flasks
+
| Large Pot || Finished Goods > Type > Tools    || No ||  6000 ||  6000 || Food, Alcohol, Bags
 +
            || Yes || Yes || Yes || Yes || No || No || Yes
 +
|-
 +
|    Bin    || Furniture > Type > Bins          ||  No ||  3000 ||        || Items, Jugs, Flasks
 
             || No || Yes || No || Yes || No || No || No
 
             || No || Yes || No || Yes || No || No || No
 
|-
 
|-
|[[Bucket]] || Furniture > Type > Buckets        ||  No ||      || 600 || Milk, Lye, Water<sup>2</sup>
+
|   Bucket || Furniture > Type > Buckets        ||  No ||      || 600 || Milk, Lye, Water<sup>2</sup>
 
             || No || Yes || No || Yes || No || No || No
 
             || No || Yes || No || Yes || No || No || No
 
|-
 
|-
|[[Flask]]<br />Vial<br />Waterskin
+
|   Jug    || Finished Goods > Type > Tools    ||  No ||      || 1000 || Royal Jelly, Honey, Rock Nut Oil
 +
            || Yes || Yes || Yes || Yes || No || No || Yes
 +
|-
 +
| Flask<br />Vial<br />Waterskin
 
             || Finished Goods > Type > Flasks    ||  No ||      || 180 || Alcohol, Water<br />Vials: Extracts<sup>4</sup>
 
             || Finished Goods > Type > Flasks    ||  No ||      || 180 || Alcohol, Water<br />Vials: Extracts<sup>4</sup>
 
             || No || No || Vial || Flask || No || Waterskin || No
 
             || No || No || Vial || Flask || No || Waterskin || No
 
|-
 
|-
|[[Equipment#Backpacks|Backpack]]
+
| Backpack || Finished Goods > Type > Backpacks ||  No ||  3000 ||        || Food
            || Finished Goods > Type > Backpacks ||  No ||  3000 ||        || Food
 
 
             || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
 
             || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
 
|-
 
|-
|[[Equipment#Quiver|Quiver]]
+
|   Quiver || Finished Goods > Type > Quivers  ||  No || 1200 ||        || Ammunition
            || Finished Goods > Type > Quivers  ||  No || 1200 ||        || Ammunition
 
 
             || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
 
             || No || No || No || No || Adamantine<sup>3</sup> || Yes || No
 
|-   
 
|-   
| Bag<br />Chest<br />Coffer<br />Box
+
| Bag<br />Chest<br />Coffer<br />Box
 
             || Furniture > Type > Boxes and Bags || Special || 3000 ||        || Bags: Seeds, Leaves, Powders<br />Other: Owned items
 
             || Furniture > Type > Boxes and Bags || Special || 3000 ||        || Bags: Seeds, Leaves, Powders<br />Other: Owned items
 
             || Coffer || Chest || Box || Chest || Bag || Bag || No
 
             || Coffer || Chest || Box || Chest || Bag || Bag || No
 
|-   
 
|-   
|[[Cabinet]]
+
| Cabinet || Furniture > Type > Cabinets || Yes || 3000 ||       ||   Owned clothing
            || Furniture > Type > Cabinets       || Yes || 3000 ||     || Owned clothing
 
 
             || Yes || Yes || Yes || Yes || No || No || No
 
             || Yes || Yes || Yes || Yes || No || No || No
 
|-
 
|-
|[[Jug]]    || Finished Goods > Type > Tools    || No ||       || 1000 || Royal Jelly, Honey, Rock Nut Oil
+
| Nest Box || Finished Goods > Type > Tools    || Yes ||   200 ||       ||   Eggs 
             || Yes<sup>5</sup> || Yes<sup>5</sup> || Yes || Yes || No || No || Yes
+
             || Yes || Yes || Yes || Yes || No || No || No
|-
 
|[[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]]
+
| Hive    || Finished Goods > Type > Tools    || Yes ||  500 || 500 || Honey Bees, Royal Jelly, Honeycomb{{verify}}
            || Finished Goods > Type > Tools    || Yes ||  200 ||       || Eggs
+
             || Yes || Yes || Yes || Yes || No || No || Yes
             || 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{{verify}}
+
|  Cage<br />Terrarium<br />Aquarium
            || 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
 
             || Animals                          || Yes & No || 6000 || 6000 || Creatures, Vermin<br />Aquarium: Water
 
             || No || Cage || Terrarium<br />Aquarium || Cage || No || No || No
 
             || No || Cage || Terrarium<br />Aquarium || Cage || No || No || No
 
|-
 
|-
|[[Animal trap]]
+
| Animal Trap || Animals                         || Yes & No || 3000 || || Vermin, Bait
            || Animals                           || Yes & No || 3000 || || Vermin, Bait
 
 
             || No || Yes || No || Yes || No || No || No
 
             || No || Yes || No || Yes || No || No || No
 
|-
 
|-
|[[Coffin]]<br />Casket<br />Sarcophagus
+
| Coffin<br />Casket<br />Sarcophagus
 
             || Furniture > Type > Coffins        || Yes || 6000 || || Creature/Vermin Corpses/Remains
 
             || Furniture > Type > Coffins        || Yes || 6000 || || Creature/Vermin Corpses/Remains
 
             || Coffin || Casket || Coffin || Sarcophagus || No || No || No
 
             || Coffin || Casket || Coffin || Sarcophagus || No || No || No
 
|-
 
|-
|[[Weapon rack]]
+
| Weapon Rack || Furniture > Type > Weapon Racks || Yes || 6000 || || Weapons
            || Furniture > Type > Weapon Racks   || Yes || 6000 || || Weapons
 
 
             || Yes || Yes || Yes || Yes || No || No || No
 
             || Yes || Yes || Yes || Yes || No || No || No
 
|-
 
|-
|[[Armor stand]]
+
| Armor Stand || Furniture > Type > Armor Stands || Yes || 6000 || || Armor
            || Furniture > Type > Armor Stands   || Yes || 6000 || || Armor
 
 
             || Yes || Yes || Yes || Yes || No || No || No
 
             || Yes || Yes || Yes || Yes || No || No || No
 
|}
 
|}
Line 119: Line 103:
 
:<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> - Brewing and extracting can store any amount of liquid within a barrel or flask
:<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>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.
 
 
*Large Pots are like Barrels but with different capacities.
 
*Large Pots are like Barrels but with different capacities.
*Bins are like Barrels but store different stuff.
+
*Bins are like Barrels but stores 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.
Line 133: Line 114:
 
*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 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 {{key|t}} on the hive and dump the item to use it.
 
*A hive won't be destroyed if you don't have a stockpile for its products. You could use {{key|t}} on the hive and dump the item to use it.
 
== Spilling ==
 
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 [[minecart]]s, but applies at least to [http://www.bay12forums.com/smf/index.php?topic=109460.msg3315406#msg3315406 other tools] and [http://www.bay12forums.com/smf/index.php?topic=109460.msg3340230#msg3340230 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 ==
 
* Hauling containers ties up all the items in the containers until the hauling is complete. This often results in cancellation spam and work delays.{{bug|5992}} With heavy containers, hauling them around is also inefficient.{{bug|5964}} One workaround is creating a "feeder stockpile" with containers disabled.
 
* Stockpiles with containers enabled and wheelbarrows assigned perform poorly.{{bug|5964}}
 
* 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}} Same goes for brewing and extracting. Some of related bugs{{bug|3986}} are fixed, so the details may need re-checking{{verify}}.
 
* 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.
 
* Metal chests cannot be [[melt]]ed; attempting to do so will leave the chest intact but cause the furnace operator to gain experience (and waste [[fuel]] at non-magma smelters). {{bug|2493}}
 
 
{{Buildings}}
 
{{Buildings}}

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: