Containers: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(Non-"RIGID" containers (waterskins) work now)
(Added pockets)
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Items]]
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-{{inlineVer|0.F}} versions), you should look at the [[wearable containers]] page.


If you're looking for clothing items which exist primarily to increase your personal storage by raising your max volume, you should proceed on to [[wearable containers]].
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|vehicle parts]].


Previously this page listed the max number of items certain vehicle parts or container-type furniture could contain. With the limit of 64 items per tile bumped to the considerably more generous 4096 items per tile, the only currently relevant limit to such storage is the max volume a vehicle part can hold (generally 400).
The rest of this page is written assuming drink containers, not item containers.


== Container data ==
== Container data ==
These items exist to store comestibles of various kinds. Most comestibles 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).
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 {{spoiler|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).
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 {{k|U}}nload 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 {{k|a}}ctivate 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 {{k|U}}nload the container in your inventory into the heavier container on the ground. To dump the liquids of a container on the ground {{k|U}}nload the container but then hit {{k|ESC}} followed by the direction you would like to unload the container. Be careful however, liquids that are dumped onto the ground cannot be retrieved{{Verify}}, 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 [http://cdda-trunk.chezzo.com Item Browser] has a [http://cdda-trunk.chezzo.com/armors 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 ==


{{header/{{PAGENAME}}}}
{{header/{{PAGENAME}}}}
Line 33: Line 47:
{{row/{{PAGENAME}}|glass flask|0|2500|c_ltcyan|GLASS|MNULL|1|48|8|1|1|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|glass flask|0|2500|c_ltcyan|GLASS|MNULL|1|48|8|1|1|RIGID, WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|small waterskin|0|2000|c_brown|LEATHER|MNULL|6|453|1|-1|6|WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|small waterskin|0|2000|c_brown|LEATHER|MNULL|1|453|1|-1|6|WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|waterskin|0|5000|c_brown|LEATHER|MNULL|12|783|2|-1|12|WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|waterskin|0|5000|c_brown|LEATHER|MNULL|2|783|2|-1|12|WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|large waterskin|0|12000|c_brown|LEATHER|MNULL|20|990|3|-1|20|WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|large waterskin|0|12000|c_brown|LEATHER|MNULL|3|990|3|-1|20|WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|steel jerrycan|10|5000|c_green|STEEL|MNULL|100|4815|-3|-3|100|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|steel jerrycan|10|5000|c_green|STEEL|MNULL|100|4815|-3|-3|100|RIGID, WATERTIGHT, SEALS}}
Line 45: Line 59:
{{row/{{PAGENAME}}|glass jar|varies|2500|c_ltcyan|GLASS|MNULL|1|264|8|1|1|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|glass jar|varies|2500|c_ltcyan|GLASS|MNULL|1|264|8|1|1|RIGID, WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|3l glass jar|varies|3000|c_ltcyan|GLASS|MNULL|12|365|10|1|12|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|3L glass jar|varies|3000|c_ltcyan|GLASS|MNULL|12|365|10|1|12|RIGID, WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|plastic bowl|0|1|c_ltcyan|PLASTIC|MNULL|1|0|2|1|1|RIGID}}
{{row/{{PAGENAME}}|plastic bowl|0|1|c_ltcyan|PLASTIC|MNULL|1|0|2|1|1|RIGID}}


{{row/{{PAGENAME}}|metal tank|10|6000|c_ltcyan|STEEL|MNULL|225|2834|6|-4|225|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|metal tank|10|6000|c_ltcyan|STEEL|MNULL|225|2834|6|-4|225|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|small metal tank|0|2000|c_ltcyan|STEEL|MNULL|45|1600|5|-3|45|RIGID, WATERTIGHT, SEALS}}


{{row/{{PAGENAME}}|hip flask|varies|250000|c_ltgray|ALUMINUM|MNULL|1|120|3|1|1|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|hip flask|varies|250000|c_ltgray|ALUMINUM|MNULL|1|120|3|1|1|RIGID, WATERTIGHT, SEALS}}
Line 62: Line 74:


{{row/{{PAGENAME}}|2.5L canteen|10|125000|c_dkgray|PLASTIC|MNULL|10|155|1|-1|10|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|2.5L canteen|10|125000|c_dkgray|PLASTIC|MNULL|10|155|1|-1|10|RIGID, WATERTIGHT, SEALS}}
{{row/{{PAGENAME}}|30 gallon barrel|0|0|c_dkgray|PLASTIC|MNULL|450|6800|8|-5|450|RIGID, WATERTIGHT, SEALS}}


</table>
</table>
Line 71: Line 85:


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.
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 [http://cdda-trunk.chezzo.com Item Browser] has a [http://cdda-trunk.chezzo.com/containers container catalog], it is updated using the recent stable and experimental game's data files, so it is more likely to be accurate.
[[Category:Items]]

Latest revision as of 23:23, 9 October 2020

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.