diff --git a/data/json/items/containers.json b/data/json/items/containers.json index 16bd60dc823dd..cc60b1db1c1d8 100644 --- a/data/json/items/containers.json +++ b/data/json/items/containers.json @@ -4228,7 +4228,15 @@ "material": [ "cardboard" ], "symbol": "o", "color": "dark_gray", - "pocket_data": [ { "pocket_type": "CONTAINER", "max_contains_volume": "1 L", "max_contains_weight": "2 kg" } ], + "pocket_data": [ + { + "pocket_type": "CONTAINER", + "max_contains_volume": "1 L", + "max_contains_weight": "1 kg", + "item_restriction": [ "duct_tape", "medical_tape", "toilet_paper" ], + "volume_multiplier": 0.75 + } + ], "flags": [ "NO_UNLOAD", "NO_RELOAD" ] } ] diff --git a/doc/JSON_INFO.md b/doc/JSON_INFO.md index ead352d1d6bf8..6074d42e40871 100644 --- a/doc/JSON_INFO.md +++ b/doc/JSON_INFO.md @@ -3566,6 +3566,7 @@ Any Item can be a container. To add the ability to contain things to an item, yo "max_item_length": "0 mm", // Maximum length of items that can fit in this pocket, by their longest_side. Default is the diagonal opening length assuming volume is a cube (cube_root(vol)*square_root(2)) "spoil_multiplier": 1.0, // How putting an item in this pocket affects spoilage. Less than 1.0 and the item will be preserved longer; 0.0 will preserve indefinitely. "weight_multiplier": 1.0, // The items in this pocket magically weigh less inside than outside. Nothing in vanilla should have a weight_multiplier. + "volume_multiplier": 1.0, // The items in this pocket have less volume inside than outside. Can be used for containers that'd help in organizing specific contents, such as cardboard rolls for duct tape. "moves": 100, // Indicates the number of moves it takes to remove an item from this pocket, assuming best conditions. "rigid": false, // Default false. If true, this pocket's size is fixed, and does not expand when filled. A glass jar would be rigid, while a plastic bag is not. "forbidden": true, // Default false. If true, this pocket cannot be used by players.