Containers: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(I think it almost sort of possibly works now)
(0.8 update pass 2, still needs some work and fact-checking)
Line 2: Line 2:
[[Category:Items]]
[[Category:Items]]


== Liquid containers ==
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]].
Objects that can hold any kind of liquid (water, gasoline, etc).
 
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).
 
== 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).


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).
Line 44: Line 48:
</table>
</table>


== Wearable containers ==
A quick rundown of container-only flags:<br>
Cloth pieces the only purpose of which is to store items. You can {{k|W}}ear up to two of each of these.
'''RIGID''' - Currently disabled. Conceptually, this would make flagged containers maintain the same volume no matter what is in them, while containers without this flag would calculate their volume by adding the base volume to the volume of the contents.<br>
 
'''WATERTIGHT''' - An object without this flag is not suitable for storing liquid in. However...<br>
{{:Wearable_containers}}
'''SEALS''' - Currently, this flag is ''also'' required for an item to be able to store liquid.
 
== Static containers ==
Furniture and vehicle parts able to store items.
 
{| border="1" cellpadding="3" class="va-table sortable" style="border-collapse: collapse; border: 1px dashed white; margin: 1em 0"
|-style="background-color:lightgreen"
! Object
! Storage Capacity
 
|-
| Trunk (vehicle) || align="center"|64
 
|-
| Box (vehicle) || align="center"|64
 
|-
| Seat (vehicle) || align="center"|64
 
|-
| Bed (vehicle) || align="center"|64
 
|-
| Dresser || align="center"|64
 
|-
| Bookcase || align="center"|64
 
|-
| Counter || align="center"|64
 
|-
| Refrigerator || align="center"|64


|}
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.

Revision as of 06:06, 14 October 2013

This page is not complete enough; please help if you can.

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.

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).

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).

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).


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 10 190 -8 1 10 RIGID, WATERTIGHT, SEALS
) glass flask 0 2500 glass 1 48 8 1 1 RIGID, WATERTIGHT, SEALS
) waterskin 0 0 leather 6 453 -8 -5 6 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 3 365 10 1 3 RIGID, WATERTIGHT, SEALS
) plastic bowl 0 1 plastic 1 0 2 1 1 RIGID

A quick rundown of container-only flags:
RIGID - Currently disabled. Conceptually, this would make flagged containers maintain the same volume no matter what is in them, while containers without this flag would calculate their volume by adding the base volume to the volume of the contents.
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.