Project Zomboid

Project Zomboid

[B42/41] Customizable Containers
 This topic has been pinned, so it's probably important
dane  [developer] 18 Jan, 2022 @ 10:43pm
The Options Guide
This guide provides a comprehensive overview of all sandbox options available.

Abbreviations Used:
  • WR: Weight Reduction (%)
  • Cap: Capacity

A Note on Vehicle Capacity (Build 41 vs. Build 42):
In Build 41, modifying vehicle trunk capacity is considered EXPERIMENTAL. While functional, there is a risk of items despawning from trunks.
In Build 42, within my testing, I have not found this to be an issue, so the EXPERIMENTAL tag is not present.



Container Presets (Backpacks, Bags, etc.)
These presets, available as dropdown menus in the sandbox settings, offer a quick way to adjust the stats of wearable containers without needing to tweak individual settings.
  • Normal: This setting uses the default, unmodified values from vanilla Project Zomboid or the loaded mods.
  • Well Balanced: This preset was designed with real-world function and practicality in mind. Values are primarily based on the container's visual size, material, and intended purpose.
  • Balanced: This preset acts as a general buff to vanilla values, increasing both capacity and weight reduction across the board. It is more of a straight upgrade compared to the nuanced changes in "Well Balanced".
Below are the values for the "Well Balanced" and "Balanced" presets for all vanilla containers.

Backpacks
Well Balanced
Item Name
WR
Cap
Schoolbag
66
18
Hiking Bag
80
25
Big Hiking Bag
87
29
Large Backpack / Survivor Bag
88
30
Military Backpack / ALICE Pack
89
30
Duffel Bag
72
28
Golf Bag
70
26
Hydration Backpack
87
13

Balanced
Item Name
WR
Cap
Schoolbag
70
20
Hiking Bag
85
26
Big Hiking Bag
90
28
Large Backpack / Survivor Bag
95
35
Military Backpack / ALICE Pack
95
35
Duffel Bag
80
23
Golf Bag
75
23
Hydration Backpack
90
15

Bags
Well Balanced
Item Name
WR
Cap
Plastic Bag
38
12
Garbage Bag
23
22
Tote Bag
65
15
Purse
65
13
Empty Sandbag
23
18
Suitcase
65
18
Handbag
45
11
Toolbox
23
11
First Aid Kit
35
5
Lunchbox
40
6
Briefcase
12
11
Cooler
12
11
Gun Case
13
10
Seed Bag
35
9
Sewing Kit
35
9
Bowling Ball Bag
27
11
Grocery Bag
40
9
Rifle Case
35
8
Paper Bag
18
6

Balanced
Item Name
WR
Cap
Plastic Bag
40
12
Garbage Bag
25
24
Tote Bag
70
17
Purse
70
17
Empty Sandbag
25
20
Suitcase
70
20
Handbag
50
12
Toolbox
35
12
First Aid Kit
55
6
Lunchbox
55
6
Briefcase
15
12
Cooler
15
12
Gun Case
15
11
Seed Bag
40
9
Sewing Kit
40
9
Bowling Ball Bag
30
12
Grocery Bag
55
10
Rifle Case
50
10
Paper Bag
26
7

Chest Rigs & Satchels
Well Balanced
Item Name
WR
Cap
Chest Rig
87
5
ALICE Webbing
86
6
Shoulder Holster
87
1
Ammo Strap
88
2
Satchel
87
15

Balanced
Item Name
WR
Cap
Chest Rig
90
6
ALICE Webbing
89
7
Shoulder Holster
92
2
Ammo Strap
92
3
Satchel
90
20

Fanny Packs
Well Balanced
Item Name
WR
Cap
Fanny Pack
88
4

Balanced
Item Name
WR
Cap
Fanny Pack
90
4




Vehicle Storage Presets
These presets adjust the capacity of vehicle parts that can hold items, like trunks and glove boxes.
  • Normal: This setting uses the default, unmodified values from vanilla Project Zomboid.
  • Balanced: This setting provides a reasonable increase to storage capacity.
  • Boosted: This setting provides a significant increase to storage capacity for those who need to haul a lot of gear.
Part Name
Normal Cap.
Balanced Cap.
Boosted Cap.
Glove Box (Small)
3
4
5
Glove Box (Standard)
10
12
15
Glove Box (Large)
5
6
8
Trunk (Small - Sport)
30
35
45
Trunk (Small - Standard)
40
45
55
Trunk (Small - Heavy Duty)
70
75
85
Trunk (Normal - Sport)
45
50
60
Trunk (Normal - Standard)
55
65
70
Trunk (Normal - Heavy Duty)
85
95
105
Trunk (Big - Sport)
50
55
65
Trunk (Big - Standard)
70
75
80
Trunk (Big - Heavy Duty)
150
175
200
Van Seats/Trunk
50
55
65
Trailer Trunk
100
110
125




Advanced Customization Options

For more specific adjustments, you can bypass the presets and use the "Custom" settings. These allow you to set precise container stats using specific values or percentages. These settings are found in the Advanced Customizable Characteristics page of the sandbox menu.

How to Use Custom Settings:
  • On the main Customizable Characteristics page, find the setting for the characteristic you want to change (e.g., "Backpacks - Capacity").
  • Set its dropdown menu to one of the "Custom - ..." options (e.g., "Custom - Static Set").
  • Navigate to the Advanced Customizable Characteristics page. The corresponding numerical input box for your selection (e.g., "Backpacks - Capacity - Static Set") will now be active.
  • Adjust this newly-activated setting to your liking.

Custom Capacity Options
  • Custom - Static Set: Sets the capacity of all containers of that type to a single, fixed value.
    Example: Select "Custom - Static Set" for "Backpacks - Capacity", then set the "Backpacks - Capacity - Static Set" value to 40. Every backpack will now have 40 capacity.
  • Custom - Static Increase / WB / B: Adds a fixed amount to each container's base value. This can be done for the "Normal", "Well Balanced", or "Balanced" presets.
    Example: If a Schoolbag's Normal capacity is 15, selecting "Custom - Static Increase" and setting the "Backpacks - Capacity - Static Increase" value to 5 will make its final capacity 20.
  • Custom - Randomized: Sets capacity to a random value between a minimum and maximum defined in the advanced options.
    Example: Use the "Backpacks - Capacity - Randomized - Minimum" and "Maximum" input boxes to set a range. A Min of 20 and Max of 50 could result in one bag having 22 capacity and another having 48.
  • Custom - Percentage: Multiplies the base capacity by a percentage. The value is a float (e.g., 1.5 = 150%).
    Example: A Duffel Bag with 18 capacity and a "Backpacks - Capacity - Percentage" value of 1.5 will result in a final capacity of 27.

Custom Weight Reduction (WR) & Item Weight Options
  • Custom - Static (WR Only): Sets the weight reduction of all containers of that type to a single, fixed value.
  • Custom - Randomized (WR Only): Sets the weight reduction to a random value between a minimum and maximum defined in the advanced options.
  • Custom - Percentage: For Weight Reduction and Item Weight, this allows you to set a precise multiplier for the original value.




Randomized Options

The "Randomized" presets and "Custom - Randomized" settings assign random stats to containers when they are discovered.

IMPORTANT: For these settings to work, you must also set the "Randomized - Update Frequency". This determines how often the game generates new random values.

How it Works:
The game generates random stats for containers within a "chunk" (a portion of the game map) when that chunk is first loaded by a player. This means that two Schoolbags found in the same house will have identical randomized stats. However, a Schoolbag and a Hiking Bag in that same house will have different stats. A Schoolbag found in a different chunk across town will also have different stats.

Update Frequency:
This setting tells the server when to re-roll the potential values for newly discovered items. It does not change the stats of containers that have already been generated in the world.
  • Every Restart: Random values are generated once when the save is created and remain consistent for the life of that save.
  • Every Ten Minutes / Every Hour / Every Day: The seed for the random number generator is updated on the schedule you set. This means containers generated in newly explored chunks after a re-roll will have different values than those generated before the re-roll.

Randomized Value Ranges
These are the ranges used by the non-custom "Randomized" presets.
  • Backpacks, Bags, Satchels:
    • Randomized - Well Balanced: WR 40-92, Cap 4-34
    • Randomized - Balanced: WR 50-95, Cap 5-40
  • Chest Rigs & Fanny Packs:
    • Randomized - Well Balanced: WR 40-92, Cap 4-9
    • Randomized - Balanced: WR 50-95, Cap 5-13




Tiered Storage Containers

This feature allows you to craft and upgrade various world containers, such as crates and refrigerators, through a tier system. Higher tiers provide significantly more storage capacity but require higher skill levels and more complex materials to build and upgrade.

How it Works:
  • Enable the Feature: First, you must enable this system in the sandbox settings under the "Tiered Storage Containers" option. The value you choose (e.g., "Up to 500", "Up to 2000") determines the maximum tier you can craft and upgrade to. If this is set to "Disabled", none of the recipes or upgrade options will be available.
  • Craft a Tier 1 Container: With the feature enabled, you will find new recipes in your crafting menu (default key "B") under the "Containers" category. These allow you to build a Tier 1 version of a container, like a "Crate Tier 1".
  • Craft an Upgrade Kit: To upgrade a container, you need a corresponding Upgrade Kit. For example, to upgrade a wooden crate to Tier 2, you need a "Carpentry Upgrade Kit - Tier 2". These kits are also found in the crafting menu.
  • Upgrade the Container: Place the Tier 1 container on the ground. With the appropriate Upgrade Kit in your main inventory, right-click the placed container. You will see an "Upgrade" context menu option. Hovering over it will show the available tiers you can upgrade to.

Important Notes:
  • You must have the required skill level for the target tier.
  • The context menu will show you what skill and level are required if you do not meet them.
  • Upon a successful upgrade, the Upgrade Kit is consumed.
  • You can upgrade directly from a low tier to a high tier (e.g., from Tier 1 to Tier 4) as long as you have the correct Upgrade Kit (a Tier 4 kit in this case) and meet the skill requirements for Tier 4.

Container Tiers & Capacities
The capacity of a container is determined by its tier.
Tier
Capacity
Tier 1
100
Tier 2
250
Tier 3
500
Tier 4
750
Tier 5
1000
Tier 6
2000
Tier 7
5000
Tier 8
10000

Upgrade Skill Requirements
Each upgrade requires a specific skill level. The required skill depends on the type of container you are upgrading.
Target Tier
Carpentry
Metalworking
Electrical
Tier 2
3
3
3
Tier 3
4
4
4
Tier 4
6
6
6
Tier 5
7
7
7
Tier 6
8
8
8
Tier 7
9
9
9
Tier 8
10
10
10

Craftable Container Types
  • Carpentry Based: Wooden Crates (in 16 colors), Half Crates (in 16 colors), Cardboard Boxes.
  • Metalworking Based: Metal Crates, Military Crates (in 16 colors), Lockers, Chests, and Cabinets.
  • Electrical Based: Refrigerators (in 6 styles), Ice Freezers.




Additional Gameplay Options

These settings alter clothing behavior and other game mechanics.

Clothing & Equipment Options
  • Satchel Wearable with Backpack/Fanny Pack: Changes the equipment slot for Satchels via a dropdown menu.
    • Disabled: Satchels are equipped to the back, conflicting with backpacks. (Vanilla behavior)
    • Backpack & Fanny Pack: Equips the Satchel to a slot that does not conflict with a backpack, but will conflict with a back-worn fanny pack.
    • Backpack & 2 Fanny Packs: Creates a new, dedicated slot for the Satchel, allowing it to be worn with a backpack and fanny packs on both front and back.
  • Chest Rig Wearable with Fanny Pack/Satchel: A checkbox that creates a new, dedicated slot for Chest Rigs, allowing them to be worn simultaneously with other gear like satchels and fanny packs.
  • Shoulder Armor Wearable with Backpack: A checkbox that creates new, dedicated slots for shoulder armor, allowing them to be worn with a backpack.
  • Clothing - Remove Durability: A checkbox that, when enabled, prevents your worn clothing from ever losing condition. Any damaged clothing you equip will be instantly repaired.
  • Clothing - Remove Degradation: A checkbox that, when enabled, prevents clothing from getting dirty, bloody, or wet. Any affected clothing you equip will be instantly cleaned.
  • Allow Equipping Heavy Backpacks: A checkbox that removes the default limit that prevents you from equipping backpacks that are heavier than half your carrying capacity.
Miscellaneous Options
  • Exercise with Gear Equipped: A checkbox that, if enabled, allows you to perform exercises without having to unequip your gear first.
  • Remove RunSpeedModifier: A checkbox that sets the RunSpeedModifier on all supported containers to 1.0, effectively removing any speed penalty from the item itself. Note: This stat is not fully functional in the base game.
Last edited by dane; 13 Jul @ 1:05am
< >
Showing 1-15 of 18 comments
dane  [developer] 22 Jan, 2022 @ 1:08pm 
Reserved
dane  [developer] 23 Jan, 2022 @ 8:18am 
Reserved
dane  [developer] 23 Jan, 2022 @ 8:18am 
Reserved
dane  [developer] 23 Jan, 2022 @ 8:18am 
Reserved
dane  [developer] 23 Jan, 2022 @ 8:19am 
Reserved
dane  [developer] 23 Jan, 2022 @ 8:19am 
Reserved
PlaneGoVroom 24 Jan, 2023 @ 9:56am 
Reserved
Last edited by PlaneGoVroom; 24 Jan, 2023 @ 9:56am
AzizTheGazele552 10 Sep, 2023 @ 11:02am 
Does this mean that if I want to put Randomized to get ±5 kg for example, it won't work, and has to be randomized every hour/day/restart, etc.? why not have it so that some bags are rarer than others by having more capacity when you find them? kind of like finding gold-blue-grey gun in fortnite. Unless this is a limitation, could you please add the option to never re-randomize?
dane  [developer] 10 Sep, 2023 @ 11:53am 
Originally posted by N°1 Active Shooter:
Does this mean that if I want to put Randomized to get ±5 kg for example, it won't work, and has to be randomized every hour/day/restart, etc.? why not have it so that some bags are rarer than others by having more capacity when you find them? kind of like finding gold-blue-grey gun in fortnite. Unless this is a limitation, could you please add the option to never re-randomize?
It's a limitation. Making any items "rarer" would require altering distribution tables(this mod doesn't do this at all), and doing so for thousands of items, and having them be as rare or as common as you'd want and also scale capacity and weightreduction on top of that would be very very difficult. Option to never re-randomize would require somehow caching the values of thousands of items and storing them in a table, then having them persist through a sp or mp save. I don't know how to do this, sorry. Project Zomboid is already horribly difficult to get even some basic things working. A way to only randomize containers once would be to set the "Randomized Frequency" to "Every Restart", then load into the game and load all cells in the map and have loot respawning disabled, then set the "Randomized Frequency" to "Disabled", and load back in. How to do this properly, I'm not sure.
SoberSnacks 7 Oct, 2023 @ 6:42pm 
Question regarding using this with Inventory Tetris mod.

I frequently run into an issue with that mod where I have grid space left but the container in question is at max weight limit, therefore I cannot put anything in there. I asked that mod author about it and they pointed me to this mod, with the caveat that I do NOT change any capacity parameters. How would I go about changing things so that I am only limited by grid space via Tetris mod and weight isn't a factor without removing the weight of items or changing the weight reduction?
dane  [developer] 7 Oct, 2023 @ 9:45pm 
Originally posted by UlfLord:
Question regarding using this with Inventory Tetris mod.

I frequently run into an issue with that mod where I have grid space left but the container in question is at max weight limit, therefore I cannot put anything in there. I asked that mod author about it and they pointed me to this mod, with the caveat that I do NOT change any capacity parameters. How would I go about changing things so that I am only limited by grid space via Tetris mod and weight isn't a factor without removing the weight of items or changing the weight reduction?
So if I'm understanding you correctly, the "Capacity" value limit of the container is being hit, and not allowing you to add more items that weigh x amount even though slots are still available? For example: a Fanny Pack has 4 slots and a Capacity value of 1. You then add an item that weighs 1 and takes up 2 slots. Now you're unable to add anything else to the Fanny Pack even though it has 2 slots still available. IF this is what you mean, then I don't believe you can. The only way 'would' be to increase capacity, but I'm not sure how increasing capacity affects Inventory Tetris mod (would depend on how slots are calculated and added and if they're preset for each container, but I'm not sure). I believe Inventory Tetris is supposed to work and have slots and capacity be dependecies for each container, since you're trying to go around that, the only way would be TO increase capacity(but might break that mod). Try increasing Capacity, spawn in a new item and check what happens and then report back.
SoberSnacks 8 Oct, 2023 @ 7:52am 
Originally posted by dane:
Originally posted by UlfLord:
Question regarding using this with Inventory Tetris mod.

I frequently run into an issue with that mod where I have grid space left but the container in question is at max weight limit, therefore I cannot put anything in there. I asked that mod author about it and they pointed me to this mod, with the caveat that I do NOT change any capacity parameters. How would I go about changing things so that I am only limited by grid space via Tetris mod and weight isn't a factor without removing the weight of items or changing the weight reduction?
So if I'm understanding you correctly, the "Capacity" value limit of the container is being hit, and not allowing you to add more items that weigh x amount even though slots are still available? For example: a Fanny Pack has 4 slots and a Capacity value of 1. You then add an item that weighs 1 and takes up 2 slots. Now you're unable to add anything else to the Fanny Pack even though it has 2 slots still available. IF this is what you mean, then I don't believe you can. The only way 'would' be to increase capacity, but I'm not sure how increasing capacity affects Inventory Tetris mod (would depend on how slots are calculated and added and if they're preset for each container, but I'm not sure). I believe Inventory Tetris is supposed to work and have slots and capacity be dependecies for each container, since you're trying to go around that, the only way would be TO increase capacity(but might break that mod). Try increasing Capacity, spawn in a new item and check what happens and then report back.

That was pretty much my thought process, and after messing around with settings, I didn't find a way to make it work out. I really appreciate you getting back to me about this, especially since it really pertains to a different mod lol. I'm running close to 500 mods and I think I spend more time troubleshooting conflicts than I do playing at this point. Anywho, great work on this mod, I will definitely be keeping it in my collection, and thank you once again for the quick reply.
SpyroThyKing 20 Dec, 2023 @ 3:04am 
Minor request. Could you include the vanilla values for the items in the "Vanilla" section for quick comparison? Otherwise I love this mod thanks for the hard work ^-^
dane  [developer] 25 Dec, 2023 @ 12:41pm 
Originally posted by SpyroThyKing:
Minor request. Could you include the vanilla values for the items in the "Vanilla" section for quick comparison? Otherwise I love this mod thanks for the hard work ^-^
Sure I'll add it soon. :)
Hello dane,
first: thanks for this awesome mod, it's really important for me.

my question:
I just want to push the toolbox capacity to like 25-30, which category do I have to edit? Is it "bags"? Thanks in advice!
< >
Showing 1-15 of 18 comments
Per page: 1530 50