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 "Container"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Changed quality rating from "Exceptional" to "Superior" using the rating script)
(Discussed in the DFHack discord - container is generally used elsewhere in the natural-language sense)
 
(19 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Quality|Superior|09:46, 21 August 2021 (UTC)}}
+
{{Quality|Exceptional}}
 
{{av}}
 
{{av}}
 +
{{Move|Box}}
  
{{furniture|name=Container
+
{{V50_furniture|name=Container
 +
|graphic=[[File:Chest_Premium.png]]
 
|tile=Æ
 
|tile=Æ
 
|wood=y
 
|wood=y
|stone=y
+
|stonecarve=y
 
|metal=y
 
|metal=y
 +
|bars=3
 
|glass=y
 
|glass=y
|cloth=y
+
|cloth=n
|leather=y
+
|leather=n
 
|rooms=
 
|rooms=
 
* [[Barracks]]
 
* [[Barracks]]
 +
* [[Hospital]]
 
* [[Library]]
 
* [[Library]]
 +
* [[Tavern]]
 +
* [[Temple]]
 +
|value=10
 +
|size=20,000
 +
|capacity=60,000
 
}}
 
}}
 
{{Translation| dwarven = etost | elvish = thale | goblin = ustêx | human = puti}}
 
{{Translation| dwarven = etost | elvish = thale | goblin = ustêx | human = puti}}
 +
:''This article is about buildable containers, for all types of containers see: [[storage]]''.
  
'''Containers''' is a general term used for various types of similar [[item]]s which are used for [[storage|storing]]. Containers are named differently depending on what they are made of (see table, below), but they all fill the same function. They are a common requirement for [[noble]]s, and they are also good for increasing the [[room value|value]] of a [[room]]. Each different type of container holds a varying number of items. Dwarves may walk through tiles with containers.
+
'''Containers''' is a general term used for various types of similar [[item]]s which are used for [[storage]]. Containers are named differently depending on what they are made of (see table, below), but they all fill the same function. They are a common requirement for [[noble]]s, and they are also good for increasing the [[room value|value]] of a [[room]]. Each different type of container holds a varying number of items. Dwarves may walk through tiles with containers.
 +
 
 +
If a dwarf does not own a container in their bedroom, they will leave any possessions on the floor. Containers are also used in [[barracks]] to store [[squad]] equipment, [[tavern|taverns]] and [[temple|temples]] to store musical instruments (and mugs for [[tavern keeper]]s), and [[library|libraries]] to store blank writing materials such as [[quire]]s. Note that a [[bookcase]] is needed for ''written'' [[book|materials]].
  
 
Containers are listed under "tools" in some menus.
 
Containers are listed under "tools" in some menus.
  
If a dwarf does not own a container in his bedroom, he or she will leave any possessions on the floor. Containers are also used in [[barracks]] to store [[squad]] equipment, and needed in a [[library]] to store blank writing materials such as [[quire]]s. Note that a [[bookcase]] is needed for ''written'' [[book|materials]].
+
;Container names by material type:
;Different names for containers:
 
 
{| class = "wikitable unsortable"
 
{| class = "wikitable unsortable"
! Name !! Material !! Required materials !
+
! Name !! Material !! Required materials
 
|-
 
|-
 
|'''Box'''
 
|'''Box'''
 
|[[Glass]]
 
|[[Glass]]
| 1 bag of sand (+ pearlash if crafting clear glass), or 1 uncut rock crystal gem
+
| 1 bag of sand (+ pearlash if crafting clear glass), or 1 uncut rock crystal gem + 1 pearlash
 
|-
 
|-
 
|'''Coffer'''
 
|'''Coffer'''
Line 36: Line 47:
 
|[[Wood]], [[Metal]]
 
|[[Wood]], [[Metal]]
 
| 1 log or 3 bars of metal
 
| 1 log or 3 bars of metal
|-
 
|'''Bag'''
 
|[[Cloth]], [[Leather]]
 
| 1 cloth or 1 leather
 
 
|}
 
|}
Both bags and barrels (and all other containers) function exactly the same in-game - they report a container capacity (either hardcoded or derived from the item_tool raws), they have references to their contents (general_ref_contains_itemst), and their contents have references back to the container itself (general_ref_contained_in_itemst).
 
 
Any behavioral differences between them are entirely due to the way jobs handle them and the way they (and their contents) are categorized for selection by jobs, and custom reactions don't necessarily follow all of those rules. Custom reactions can definitely use seeds that are stored in bags without requesting the bags themselves (I just checked), but plant growths might be treated differently, possibly an attempt to keep quarry bush leaves inside their bags (and similar scenarios).
 
 
Bags are a special type of box.  While they can be built as furniture, they are more commonly used by dwarves to store seeds, mill plants at a [[millstone]] or quern, or collect [[sand]].  Dwarves have a habit of filling bags with seeds whenever possible, so, typically, many of them need to be made if they are going to be used for other purposes.
 
  
 
==See also==
 
==See also==
 
* [[Storage]]
 
* [[Storage]]
 
{{D for Dwarf}}
 
Currently, bags are unable to reproduce due to being all-male. This may be a bug.
 
  
 
{{buildings}}
 
{{buildings}}

Latest revision as of 22:18, 11 December 2024

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

Container
Chest Premium.png
/ Æ
Construction
Materials Workshops Labors
Rooms
Value Size Capacity
10☼ 20,000 cm³ 60,000 cm³
"Container" in other Languages Books-aj.svg aj ashton 01.svg
Dwarven: etost
Elven: thale
Goblin: ustêx
Human: puti
This article is about buildable containers, for all types of containers see: storage.

Containers is a general term used for various types of similar items which are used for storage. Containers are named differently depending on what they are made of (see table, below), but they all fill the same function. They are a common requirement for nobles, and they are also good for increasing the value of a room. Each different type of container holds a varying number of items. Dwarves may walk through tiles with containers.

If a dwarf does not own a container in their bedroom, they will leave any possessions on the floor. Containers are also used in barracks to store squad equipment, taverns and temples to store musical instruments (and mugs for tavern keepers), and libraries to store blank writing materials such as quires. Note that a bookcase is needed for written materials.

Containers are listed under "tools" in some menus.

Container names by material type
Name Material Required materials
Box Glass 1 bag of sand (+ pearlash if crafting clear glass), or 1 uncut rock crystal gem + 1 pearlash
Coffer Stone 1 rock
Chest Wood, Metal 1 log or 3 bars of metal

See also[edit]


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