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 "Using bins and barrels"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Removing {{migrated article}})
(Removed the section on reserving barrels, as it is not possible in v50)
 
(34 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{quality|unrated}}{{av}}
+
{{migrated article}}
Ordinarily, each item or stack (e.g. ≡Dwarven Ale Stew [12]≡) of items occupies one space of [[stockpile]] room. You can consolidate stockpile space by making [[bin]]s, [[barrel]]s and [[large pot|pots]] that can hold many items at once. Barrels and pots store [[food]] and [[alcohol]]; bins can store many types of smaller items, such as [[finished goods]], [[metal]] [[bar]]s, [[ammo]], and [[gem]]s. Building a steady supply of [[container]]s helps reduce the space you need for storage.
+
{{Quality|Unrated}}
 +
{{av}}
 +
{{buggy}}
 +
Ordinarily, each item or stack (e.g. ≡Dwarven Ale Stew [12]≡) of items occupies one space of [[stockpile]] room. You can consolidate stockpile space by making [[bin]]s, [[barrel]]s and [[large pot|pots]] that can hold many items at once. Barrels and pots store [[food]] and [[alcohol]]; bins can store many types of smaller items, such as [[finished goods]], [[metal]] [[bar]]s, [[ammo]], and [[gem]]s. Building a steady supply of [[container]]s helps reduce the space you need for storage.  If resources permit, it's very easy to keep a nominal amount of bins and/or barrels available by using [[Manager]] work orders.
  
==Food Storage==
+
==Food storage==
  
Food can be stored in [[barrel]]s and [[large pot|pots]]. Each barrel can hold up to 30 total units of food; each large pot can hold up to 60 total units. Each unit in a stack counts towards the total storage.
+
Food can be stored in [[barrel]]s and [[large pot|pots]]. Each barrel or large pot can hold up to 60 total units. Each unit in a stack counts towards the total storage.
  
 
Foods will only be stored together if they're from the same category.  For example, dwarves will never mix plants and meat in the same barrel.
 
Foods will only be stored together if they're from the same category.  For example, dwarves will never mix plants and meat in the same barrel.
  
One thing to note about storing [[seed]]s is that [[bag]]s are required to put seeds in. These bags will then be placed inside the barrel or pot. Otherwise, the dwarves'll end up with one seed per tile - quite inefficient![http://www.bay12forums.com/smf/index.php?topic=79168.msg2055095#msg2055095]
+
One thing to note about storing [[seed]]s is that [[bag]]s are required to put seeds in. These bags will then be placed inside the barrel or pot. Otherwise, the dwarves will end up with one seed per tile. Furthermore, as seeds will rot outside of a stockpile, you may find that your fortress is not getting seeds from the plants you're consuming when the food stockpile is full. Get your textile industry started early; you may want to avoid milling plants until it ramps up. [http://www.bay12forums.com/smf/index.php?topic=79168.msg2055095#msg2055095]
  
==Drink Storage==
+
==Drink storage==
  
[[Alcohol]] must be [[brewer|brewed]] into either a barrel or pot; container storage limitations are not enforced for brewing, so stacks of alcohol larger than 30 are allowed in both barrels and pots.  
+
[[Alcohol]] must be [[brewer|brewed]] into either a barrel or pot. Each container can hold a single stack of alcohol. Larger batches should be, but aren't, split across multiple containers automatically.  
  
There appears to be no way to empty a barrel or pot containing alcohol, short of forcing your dwarves to drink the rest.
+
You can empty a container of alcohol by drinking, cooking, shotgunning it out of a minecart, trading, or application of extreme cold that destroys the container.
  
==Goods Storage==
+
==Goods storage==
  
Most non-food items can be stored in [[bin]]s; the quantity allowed depends upon the items stored. Each bin can store up to 5 [[bar]]s or [[block]]s, while 30 or more small [[craft]]s may fit into a single bin.  
+
Most non-food items can be stored in [[bin]]s; the quantity allowed depends upon the items stored. Each bin can store up to 12 [[bar]]s or [[block]]s, while 30 or more small [[craft]]s may fit into a single bin.  
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Good !! Bin Capacity
 +
|-
 +
| Bars/Block || 12
 +
|-
 +
| Bolts || 400
 +
|-
 +
| Coins || 193 (stacks of 500)
 +
|-
 +
| Cloth || 303
 +
|-
 +
| Leather || 45
 +
|-
 +
| Small Gems || 305
 +
|-
 +
| Thread || 205
 +
|}
  
 
==Managing stockpiles directly==
 
==Managing stockpiles directly==
  
It is possible to set whether bins can be used in a stockpile with {{k|q}} → {{k|C}}/{{k|V}}. For barrels, {{k|E}} and {{k|R}} are used instead of C and V. By default, bins are used for Bar/[[Block]], ammo, gems, finished goods, [[cloth]] and [[leather]] stockpiles, and barrels are used for food stockpiles. Also by default, the stockpiles that use barrels or bins to store other items will permit a barrel or bin on each of their spaces. You can override this by specifying the maximum number of barrels and bins that an individual stockpile is allowed to utilize, using {{k|q}} → {{k|c}}/{{k|v}} and {{k|e}}/{{k|r}} to decrease and increase the limits.
+
It is possible to set whether bins and barrels can be used in a stockpile by opening the stockpile's menu ({{Menu icon|p}} and clicking on the pile, or creating it) and then clicking on the barrel icon within the menu. By default, bins are used for Bar/[[Block]], ammo, gems, finished goods, [[cloth]] and [[leather]] stockpiles, and barrels are used for food stockpiles. Also by default, the stockpiles that use barrels or bins to store other items will permit a barrel or bin on each of their spaces. You can override this by specifying the maximum number of barrels and bins that an individual stockpile is allowed to utilize by clicking the plus and minus buttons or by clicking the pound sign and typing the desired number. These buttons are invisible in ASCII mode currently{{v|50.11}}. Take care when changing a stockpile's allowed contents or size: it can reset the allowed numbers of barrels and bins.
 
 
==Reserving containers for other tasks==
 
 
 
"Reserved Barrels/Bins" is a global setting that reserves a certain number of barrels or bins, preventing them from being claimed by a stockpile until they are filled by a Workshop that requires their use. This feature is most often used to ensure that a fortress has ample empty barrels for the production of alcohol, although empty barrels are also necessary for other jobs. You can change this setting in the stockpile menu {{k|p}}. If there are 5 reserved barrels, no stockpile will claim an empty barrel until you have at least 6 lying around. In this way you can ensure that jobs like making alcohol always have free barrels available.
 
 
 
In the case of barrels necessary for producing alcohol and [[dwarven syrup]], they do not have to be located on a [[furniture]] stockpile. This is because the "Store Item in <container>" task only looks at furniture stockpiles for available containers. Normal production tasks behave as mentioned earlier, they will just grab the nearest barrel. You can exert some limited control over this by setting a number of reserved barrels; however, you cannot set where these barrels will be.
 
  
Though it is possible to reserve bins, there is no advantage in doing so, as no workshop tasks require empty bins.
+
==Bin/Barrel reassignment==
  
==Barrel Reassignment==
+
If you have a limited number of barrels and pots (possibly due to a lumber and stone shortage because you're playing in a [[Fun]] place like the tundra) and your food stockpile is using too many barrels and you need some for booze, or if for some reason the opposite is true, you can force the dwarves through a series of steps to have the barrels switch from one stockpile to another.  Assume you have too much barrelled food and you need barrels for booze.  First, designate a small [[Activity_zone#Garbage_Dump|garbage dump]] zone nearby.  Then set the maximum barrel limit on the food stockpile way down--possibly to zero.  Don't worry, the existing barrels won't be dumped as a result.  Now you can dump items in the barrels individually, by clicking on the barrel and clicking the dump icon on each item within... or, you can dump en masse with [[designations]]: {{Menu icon|i|p}} and click on each barrel. When dumping en masse, you can leave designations with {{key|esc}} or {{key|right click}} and click into each barrel afterwards to remove dumping on the barrel itself.
  
If you have a limited number of barrels and pots (possibly due to a lumber and stone shortage because you're playing in a [[Fun]] place like the tundra) and your food stockpile is using too many barrels and you need some for booze, or if for some reason the opposite is true, you can force the dwarves through a series of steps to have the barrels switch from one stockpile to another.  Assume you have too much barrelled food and you need barrels for booze.  First, designate a small [[Activity_zone#Garbage_Dump|garbage dump]] zone nearby.  Then set the maximum barrel limit on the food stockpile way down--possibly to zero.  Don't worry, the existing barrels won't be dumped as a result.  Now view a barrel and then once inside, view each individual food item and set it to {{k|d}} for dump (but do not dump the barrel itself).  The dwarves will take the food from the barrel and throw it into the garbage zone, and once the barrel is empty they will immediately move it to a furniture stockpile because the food stockpile barrel limit is exceeded already.  Now you have a free barrel with which to [[brewing|brew]].  You can reclaim the food from the garbage dump now, and the dwarves will do what they can to store it.  Be warned that this might end up being on the floor in the stockpile which could attract flies.  Remember to set the barrel limit on the food stockpile back up to some reasonable level if you get your hands on some new barrels.
+
Once the contents are marked for dumping, the dwarves will take the food from the barrel and throw it into the garbage zone, and once the barrel is empty they will immediately move it to a furniture stockpile because the food stockpile barrel limit is exceeded already.  Now you have a free barrel with which to [[brewing|brew]].  You can reclaim the food from the garbage dump now, and the dwarves will do what they can to store it.  Be warned that this might end up being on the floor in the stockpile which could attract flies.  Remember to set the barrel limit on the food stockpile back up to some reasonable level if you get your hands on some new barrels.
  
A faster way to dump the contents of a barrel or bin is to use designations. {{k|d|b|d}}, then select the barrels or bins you wish to dump. The container and all of its contents will be dumped separately. Then simply {{k|d|b|c}} to reclaim the items once they are in the dump.
+
This trick does not work on [[artifact]]s as these cannot be dumped. One way to remove artifacts from a bin is to select them for display on a [[pedestal]].
  
 
==Barrel and bin material==
 
==Barrel and bin material==
Line 44: Line 60:
  
 
The material of the container also determines whether the container is [[fire-safe]] and [[magma-safe]].
 
The material of the container also determines whether the container is [[fire-safe]] and [[magma-safe]].
 +
 +
== 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.
 +
 +
* Items in bins are sometimes not found for tasks.{{bug|8755}}
 +
 +
==See also==
 +
* [[Storage]]
  
 
{{Farming FAQ}}
 
{{Farming FAQ}}
 
{{Category|Stockpiles}}
 
{{Category|Stockpiles}}
 +
[[ru:Using bins and barrels]]

Latest revision as of 14:50, 15 October 2024

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

Ordinarily, each item or stack (e.g. ≡Dwarven Ale Stew [12]≡) of items occupies one space of stockpile room. You can consolidate stockpile space by making bins, barrels and pots that can hold many items at once. Barrels and pots store food and alcohol; bins can store many types of smaller items, such as finished goods, metal bars, ammo, and gems. Building a steady supply of containers helps reduce the space you need for storage. If resources permit, it's very easy to keep a nominal amount of bins and/or barrels available by using Manager work orders.

Food storage[edit]

Food can be stored in barrels and pots. Each barrel or large pot can hold up to 60 total units. Each unit in a stack counts towards the total storage.

Foods will only be stored together if they're from the same category. For example, dwarves will never mix plants and meat in the same barrel.

One thing to note about storing seeds is that bags are required to put seeds in. These bags will then be placed inside the barrel or pot. Otherwise, the dwarves will end up with one seed per tile. Furthermore, as seeds will rot outside of a stockpile, you may find that your fortress is not getting seeds from the plants you're consuming when the food stockpile is full. Get your textile industry started early; you may want to avoid milling plants until it ramps up. [1]

Drink storage[edit]

Alcohol must be brewed into either a barrel or pot. Each container can hold a single stack of alcohol. Larger batches should be, but aren't, split across multiple containers automatically.

You can empty a container of alcohol by drinking, cooking, shotgunning it out of a minecart, trading, or application of extreme cold that destroys the container.

Goods storage[edit]

Most non-food items can be stored in bins; the quantity allowed depends upon the items stored. Each bin can store up to 12 bars or blocks, while 30 or more small crafts may fit into a single bin.

Good Bin Capacity
Bars/Block 12
Bolts 400
Coins 193 (stacks of 500)
Cloth 303
Leather 45
Small Gems 305
Thread 205

Managing stockpiles directly[edit]

It is possible to set whether bins and barrels can be used in a stockpile by opening the stockpile's menu (Ui p.pngp and clicking on the pile, or creating it) and then clicking on the barrel icon within the menu. By default, bins are used for Bar/Block, ammo, gems, finished goods, cloth and leather stockpiles, and barrels are used for food stockpiles. Also by default, the stockpiles that use barrels or bins to store other items will permit a barrel or bin on each of their spaces. You can override this by specifying the maximum number of barrels and bins that an individual stockpile is allowed to utilize by clicking the plus and minus buttons or by clicking the pound sign and typing the desired number. These buttons are invisible in ASCII mode currentlyv50.11. Take care when changing a stockpile's allowed contents or size: it can reset the allowed numbers of barrels and bins.

Bin/Barrel reassignment[edit]

If you have a limited number of barrels and pots (possibly due to a lumber and stone shortage because you're playing in a Fun place like the tundra) and your food stockpile is using too many barrels and you need some for booze, or if for some reason the opposite is true, you can force the dwarves through a series of steps to have the barrels switch from one stockpile to another. Assume you have too much barrelled food and you need barrels for booze. First, designate a small garbage dump zone nearby. Then set the maximum barrel limit on the food stockpile way down--possibly to zero. Don't worry, the existing barrels won't be dumped as a result. Now you can dump items in the barrels individually, by clicking on the barrel and clicking the dump icon on each item within... or, you can dump en masse with designations: Ui i.pngiFile:Ui ip.pngp and click on each barrel. When dumping en masse, you can leave designations with esc or right click and click into each barrel afterwards to remove dumping on the barrel itself.

Once the contents are marked for dumping, the dwarves will take the food from the barrel and throw it into the garbage zone, and once the barrel is empty they will immediately move it to a furniture stockpile because the food stockpile barrel limit is exceeded already. Now you have a free barrel with which to brew. You can reclaim the food from the garbage dump now, and the dwarves will do what they can to store it. Be warned that this might end up being on the floor in the stockpile which could attract flies. Remember to set the barrel limit on the food stockpile back up to some reasonable level if you get your hands on some new barrels.

This trick does not work on artifacts as these cannot be dumped. One way to remove artifacts from a bin is to select them for display on a pedestal.

Barrel and bin material[edit]

Heavy barrels and bins slow down hauling, so it is wise to make them from light materials when possible. Even the heaviest types of wood are lighter than any metal (excluding adamantine) - the wood of feather trees is the best of all. As an alternative, you can place small "feeder" stockpiles that disallow barrels/bins and link them to larger storage stockpiles nearby to greatly reduce the distance traveled while carrying a heavy container.

Metal barrels are supposedly better for food stockpiles because they resist vermin; unfortunately there is no good way to convince your dwarves to allocate metal barrels for food storage aside from using them exclusively.

The material of the container also determines whether the container is fire-safe and magma-safe.

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.
  • Items in bins are sometimes not found for tasks.Bug:8755

See also[edit]