Skip to content

Commit

Permalink
Quick cardboard roll fixes (CleverRaven#66731)
Browse files Browse the repository at this point in the history
* quick fix

* docs
  • Loading branch information
Karol1223 authored Jul 7, 2023
1 parent c347c8a commit 105f568
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion data/json/items/containers.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
]
1 change: 1 addition & 0 deletions doc/JSON_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 105f568

Please sign in to comment.