Containers

From The Cataclysm: Dark Days Ahead Wiki
Revision as of 23:23, 9 October 2020 by Nancok (talk | contribs) (Added pockets)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are two variants of containers, either containers in which you store items, or containers in which you store drinks. And both can be wearable clothing, or just normal objects. If you are looking for clothing items in which you can store other items (which was simplified to just increasing your max volume in pre-0.F (Frank) versions), you should look at the wearable containers page.

Unrelated to items storing other items and liquids, there is a maximum of 4096 items per floor tile, less for container type furniture and vehicle parts.

The rest of this page is written assuming drink containers, not item containers.

Container data

These items exist to store liquids of various kinds. Most liquids that spawn in buildings spawn within one of these objects, and some containers also rarely spawn by themselves (regular and 3-liter glass jars have a range of spawn rates for different areas try foraging in forests).

To calculate how much gasoline can be stored in a container, multiply its capacity by 200. Example: a plastic jerrycan can hold 40 units of liquid, so it can store 8000 gasoline units (40 * 200 = 8000).

Pockets

Containers can have a variable number of pockets, each pocket has a volume, weight and length limit, for example: a box might have a single pocket with 5,0L of volume and a max length of 10 inches, this means that you can store up to 5 items of 1L of volume as long as they are less than 10 inches in length, but you wouldn't be able to store an item that's even 0,5L in volume if it is longer than 10 inches

Transfering/Dumping Liquids

To transfer liquids from one container to another one only needs to Unload it and then select the letter of an empty or partially empty container. Keep in mind how much the containers can hold, and that you cannot mix different liquids in one container. To acquire fuel from a vehicle requires a rubber hose and an empty container. Simply activate the rubber hose, select the direction of the vehicle, and then select the letter of your container. One can also use this method to transfer fuel from one vehicle directly to another if they are parked one space apart. If you want to unload liquid into heavy containers like the 55 gallon drum, make sure they are on the same tile as you and Unload the container in your inventory into the heavier container on the ground. To dump the liquids of a container on the ground Unload the container but then hit ESC followed by the direction you would like to unload the container. Be careful however, liquids that are dumped onto the ground cannot be retrievedVerify, but liquids such as gasoline can still be set on fire, you can use a mop to clean up spills.

Item storing containers

See Wearable containers.

Item Browser for Clothing: The Item Browser has a clothing catalog, it is updated using the recent stable and experimental game's data files, so it is more likely to be accurate.

Drink storing containers

Name
R
Price
Material
Vol
Weight
Bash
Hit
Capacity
Flags
) plastic bag 10 1 plastic 1 2 -4 -8 24
) plastic bottle 10 8 plastic 2 13 -8 1 2 RIGID, WATERTIGHT, SEALS
) glass bottle 10 1 glass 3 200 -8 1 3 RIGID, WATERTIGHT, SEALS
) aluminum can 10 1 steel 1 13 0 0 1 RIGID, WATERTIGHT
) tin can 10 2 iron 1 400 -1 1 1 RIGID, WATERTIGHT
) sm. cardboard box 10 0 paper 4 151 -5 1 4 RIGID
) plastic canteen 10 1000 plastic 6 155 -8 1 6 RIGID, WATERTIGHT, SEALS
) plastic jerrycan 10 2500 plastic 40 1587 -2 -2 40 RIGID, WATERTIGHT, SEALS
) gallon jug 10 2500 plastic 15 190 -8 1 15 RIGID, WATERTIGHT, SEALS
) glass flask 0 2500 glass 1 48 8 1 1 RIGID, WATERTIGHT, SEALS
) small waterskin 0 2000 leather 1 453 1 -1 6 WATERTIGHT, SEALS
) waterskin 0 5000 leather 2 783 2 -1 12 WATERTIGHT, SEALS
) large waterskin 0 12000 leather 3 990 3 -1 20 WATERTIGHT, SEALS
) steel jerrycan 10 5000 steel 100 4815 -3 -3 100 RIGID, WATERTIGHT, SEALS
) aluminum keg 10 6000 steel 200 13500 -4 -4 200 RIGID, WATERTIGHT, SEALS
) glass jar varies 2500 glass 1 264 8 1 1 RIGID, WATERTIGHT, SEALS
) 3L glass jar varies 3000 glass 12 365 10 1 12 RIGID, WATERTIGHT, SEALS
) plastic bowl 0 1 plastic 1 0 2 1 1 RIGID
) metal tank 10 6000 steel 225 2834 6 -4 225 RIGID, WATERTIGHT, SEALS
) hip flask varies 250000 aluminum 1 120 3 1 1 RIGID, WATERTIGHT, SEALS
) 55 gallon drum 0 0 steel 825 20000 8 -5 825 RIGID, WATERTIGHT, SEALS
) 30 gallon drum 0 0 steel 450 6800 8 -5 450 RIGID, WATERTIGHT, SEALS
) wooden barrel 0 0 wood / steel 400 42408 8 -5 400 RIGID, WATERTIGHT, SEALS
) 2.5L canteen 10 125000 plastic 10 155 1 -1 10 RIGID, WATERTIGHT, SEALS
) 30 gallon barrel 0 0 plastic 450 6800 8 -5 450 RIGID, WATERTIGHT, SEALS

A quick rundown of container-only flags:
RIGID - Containers with this flag always have the same volume. Containers without it have their volume increased by their contents' volume.
WATERTIGHT - An object without this flag is not suitable for storing liquid in. However...
SEALS - Currently, this flag is also required for an item to be able to store liquid.

Due to the way 'solid' and 'liquid' comestibles are currently handled, containers which do not have WATERTIGHT and SEALS set as flags are essentially useless for the purpose of player storage - there is currently no way to move solid items into containers, and those two flags are required for an item to be able to hold liquid. However, these items are still useful for the purpose of non-comestible crafting.

Item Browser for containers: The Item Browser has a container catalog, it is updated using the recent stable and experimental game's data files, so it is more likely to be accurate.