Project Zomboid

Project Zomboid

1,421 ratings
Dynamic Backpack Upgrades [ B42/B41 ]
3
2
4
2
2
3
4
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
453.390 KB
Jun 30, 2023 @ 3:57pm
Jan 27 @ 1:35pm
20 Change Notes ( view )

Subscribe to download
Dynamic Backpack Upgrades [ B42/B41 ]

Description
Are you tired of backpacks being too small?
Have you ever spent 3 hours digging around looking for a decent bag only to get stuck with the school bag?
Do you want a backpack upgrade mod that works with all modded backpacks?

This is the mod for you!

Introducing Dynamic Backpack Upgrades!
The only backpack upgrade mod that can upgrade EVERY inventory container item in the game!

Upgrade Mechanics Explanation

Each container item will now have 1 or 2 Upgrade Slots. Containers that can be worn on your back get 2 slots. all other containers get 1.

To add an upgrade you will need the upgrade item you want to add, a sewing needle, and at least 1 unit of thread.
To remove upgrades you will need a pair of scissors.

At level 10 tailoring, you can add an additional upgrade to any bag.
Upgraded bags retain their upgrades until the item is destroyed or the upgrade is removed. This means you can add an additional upgrade to other people's bags if you have level 10 tailoring.

Obtaining/Crafting Upgrade Items

All upgrade items can be looted in the world, and all but the best ones can be crafted.

The stats for each upgrade and spawn rates for each tier of item can be changed in the Sandbox settings.
These stats are always displayed as part of the Upgrade Items tooltip and changes dynamically based on the sandbox settings of the world.

Military upgrades cannot be crafted, but you can convert Military upgrades into their opposite type if you have level 10 tailoring. (Meaning you can turn a Military Capacity upgrade into a Military Weight Reduction upgrade)

Capacity Upgrades

Bag capacity upgrades have 2 components to them. Flat Bonuses and Multipliers.
The Bonus will add a flat amount of capacity regardless of what kind of bag its attached to.
The Multiplier will add a percentage bonus to the bags existing size, rounding to the nearest whole number.

Example; a 10% bonus for the duffel bag would increase its capacity from 18 to 20. the bonus from the multiplier is +1.8, rounded up to to a +2.

Formula; Capacity = math.ceil((BaseCapacity*(1+SumMultiplierBonus))+SumFlatBonus)

Container Capacity is still affected by the Organized and Disoragnized traits. This leads to some pretty insane bag capacities with modded backpacks. (Brita's)

Default values for Capacity upgrades;
Type
Multiplier
Bonus
Crafting Requirements
Cloth
+10%
+1
Tailoring 3
Denim
+20%
+1
Tailoring 5
Leather
+25%
+2
Tailoring 7
Military
+35%
+2
Loot Only

Weight Reduction Upgrades

Weight reduction upgrades only have 1 component, their Weight Reduction Efficiency bonus.
This value is not a flat bonus to the weight reduction of an item, and the math is fairly complicated compared to the capacity bonus.
The weight reduction increase is a bonus based on the difference between its current value and 100%.
Simply put, increasing a bags weight reduction efficiency by 50% will cause the items in the bag to weigh half as much as they did before. Increasing the efficiency by 25% will make the items in the bag weigh 25% less than they did before. and so on.

Example 1: the Big Hiking Bag has an 80% weight reduction value. giving it a 50% bonus adds an even 10% bonus (20*0.5) bringing it up to a 90% reduction.
Example 2: the Duffel bag has a 65% weight reduction, giving it a 35% bonus results in a bonus of 12.25, rounded to 12% totaling a 77% reduction
Example 3: the Military Backpack has a 87% weight reduction, giving it a 20% bonus would add 2.6 (13*0.2), rounded up to 3%, totaling 90%

Formula; Weight Reduction = 100-( (100-BaseWR)*ProductEfficiencyBonus )

Type
EffiencyBonus
Crafting Requirements
Cloth
+15%
Tailoring 3
Denim
+25%
Tailoring 5
Leather
+35%
Tailoring 7
Military
+50%
Loot Only

Is this mod compatible with Inventory Tetris?
Yes and no, I've never used inventory tetris so i don't know how it works. I've been told in the vanilla game it segments the bags into various compartments. and that does break with modified inventory size values. turning it into quote "one big box" but otherwise I've been told it does work functionally.

I can't pick up my backpack / My backpack is stuck in a container
Yeah.. this is an issue caused by the 50 weight hard limit on every character. The game will not let you pick up an item that would put your character's total weight over 50. This hard limit completely ignores strength or modified carry weight. (pack mule)
With that in mind, Weight reduction also doesn't apply until you have the bag equipped, and since you have to pick up the bag before you can equip it, there's a period of time where you have to be able to carry the full weight of the backpack. for most normal bags this isn't an issue.
But, when dealing with upgraded or modded bags, its possible to fill a bag so much that picking it up would put you over that 50 weight hard limit, which prevents you from picking it up in the first place.
Since the bag is probably equipped when you fill it, its actual weight wont be applied to the character. But if you drop the bag or put it in a container. it now weights the full weight which can prevent you from picking it back up.

To fix the problem, move the bag to the floor directly if its not already there. Once the bag is on the floor you can access its inventory like any other container and take some stuff out to reduce the weight, then you can pick up the bag and put it on, then put the stuff back into the bag from the floor. Its an awkward fix, but there's no way to fix it without pseudo-permanently changing the weight of items manually, which could cause tons of other issues.

Crafting Upgraded Items Warning
When you upgrade an item with this mod, that upgrade info is saved as part of the items Mod Data. If you use the upgraded item to craft another item, it will be deleted and the upgrades will be lost.
This isn't too likely, as very few mods use backpacks as crafting ingredients, but it's worth a warning anyway.

Known Issues
This mod has text clipping issues with pretty much any other mod that adds custom Tooltips.

Sometimes items have their stats reset.
Upgraded items will not automatically fix their stats by default. This was done to hopefully avoid conflicts with other mods that change item stats. If an item has unexpected stats then an option to Fix Upgrades will appear in the context menu for that item.

Translations;
Traditional Chinese ( CH ) by Roc Tseng
Russian ( RU ) by Fleshka and Arikahika
Simplified Chinese ( CN ) by LotharioSun
German ( DE ) by Kandlo
Spanish ( ES ) by Pela667
Portuguese ( PTBR ) by Consagradu
Turkish ( TR ) by Uyesta


I'm usually pretty active on my workshop pages comment sections but i also have a discord.
If you'd like to help translate one of my mods or just need help sorting something out feel free to join the discord and message me.
https://discord.gg/FgvW5vDyYV

Workshop ID: 2996978365
Mod ID: LazoloDynamicBackpackUpgrades
Popular Discussions View All (13)
4
May 9 @ 3:42pm
Opening transfer liquid UI sometimes lead to errors
Polawris
3
Jul 18 @ 4:55pm
Bags pushing capacity over 50.
Valkerion™
7
Dec 4, 2023 @ 3:10am
Tradisional Chinese translation
Roc Tseng
474 Comments
hervey 8 hours ago 
Okay for some reason it's just working today lol. I even restarted it the other day.
hervey Sep 14 @ 4:59pm 
I can't get this to work on my ALICE belt & suspenders for some reason. It says there's 1 upgrade slot but won't let me use it.
ZeroTwo.exe ( Allkeyshop ) Sep 10 @ 9:50am 
@alp15 im playing with custom rules, all item spawn are in extremely rare (idk how it calls but the lowest) and backpacks and something like this in dont spawn so the game are hard to me in the start
alp15 Sep 10 @ 5:20am 
@ZeroTwo.exe yes, but that depends on how hard you want to play the game. You can play a simple metropolitan citizen and the challenge can make the game even better. I love this mode because I'm incredibly impatient with hoarding items.
ZeroTwo.exe ( Allkeyshop ) Sep 9 @ 1:42am 
@alp15 Is there anyone who doesn't use the organized trait? It's almost a mandatory trait in any game, just like the “Dextrous” trait.
alp15 Sep 9 @ 1:36am 
@ZeroTwo.exe It's okay; someone claimed I was lying, so I wrote them back. I can use the mod without any problems. Let me reiterate one last time: organized trait is a must. I used the parameters in the last image for the Clothbag upgrade feature. Please examine the images I shared. This mod is the only one that has bags enabled in my game.
ZeroTwo.exe ( Allkeyshop ) Sep 8 @ 6:46am 
@alp15 ??? what are you talking about?
alp15 Sep 8 @ 12:39am 
I've shared the images of the thesis I made up. Sandbox parameters are included. Don't blame my ass and cry about your incompetence. There's over 2k hours of gameplay, and some kid is talking about my ass :))
Cuddlygunman Sep 4 @ 4:45am 
@ZeroTwo.exe Turns out same, thanks
ZeroTwo.exe ( Allkeyshop ) Sep 4 @ 1:53am 
@cuddlygunman nvm, for me it was a conflict with the “Customizable Containers” mod.