-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Containers
"contains": 3
Default value: 0
How much volume can be stored inside this container. This field is mandatory and must be >0
.
"contains": true
Default value: false
Container must be watertight to store liquids. A non-watertight container will not be presented to player when handling liquids. At the moment there is no way for the player to utilize non-watertight containers as containers.
"seals": true
Default value: false
A resealable container can be used to store contents without altering it. Most used containers are of this kind.
A container that isn't resealable, doesn't unseal into any other type and is watertight is a bucket.
Bucket is a container that can't store its contents when it is in inventory, vehicle cargo or when worn. A bucket can store its contents only when held (wielded) or when standing on a map tile.
Forcing a loaded bucket into an inventory or cargo will make it spill its contents on the ground.
"preserves": true
Default value: false
A container that preserves contents will stop all rot checks of the contents. Only rot checks are affected - a sealed can will not preserve "(hot)" or "(cold)" status and will not stop a grenade from exploding inside.
"unseals_into": "jar_glass"
Default value: null
A container that unseals into other container will change type to the stated one when its contents are accessed: when it is unloaded, loaded with more contents, eaten from etc.
Contents of containers that unseal into other containers will not be presented for crafting and similar actions since accessing them permanently alters the containers.
A container that unseals into a different container must not be resealable.
Back to the Guide for first time contributors