Project Zomboid

Project Zomboid

252 ratings
[B42] Nested Containers
4
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
43.046 KB
19 Jan @ 4:38pm
21 Oct @ 1:50pm
15 Change Notes ( view )

Subscribe to download
[B42] Nested Containers

Description
🎒 Nested Containers

Ever get tired of dragging bags out of your backpack just to see what’s inside?
With Nested Containers, you can look directly into containers stored inside other inventories.
  • Peek inside backpacks, boxes, and bags without unpacking
  • Save time and stay organized on the go
  • Perfect for scavenging trips and hardcore inventory managers
No more tedious shuffling—just seamless access to all your loot, wherever it’s stored!


⚙️ Mod Options

Option
Default Value
Description
Nesting Depth
2
Defines how deep the nesting should work
Show Parent Icon
True
Shows an parent icon to quickly see where the container is inside


✅ Compatible Mods



⚠️ Note

Needs to load before Proximity Inventory or it won't pickup the nested containers


🐞 Known Issues

  • Equipped containers will have a nesting depth + 1 (not sure if that's a real issue)
    Please let me know if I should reduce / fix that


🪧 In Work

  • Keybinds to change nesting depth on the go
  • Toggling the visibility of selected containers


📝 Credits

This is an updated version for Build 42,
inspired by the original Nested Containers mod

Type
ID
Workshop
3410947298
Mod
nm_nested_containers
Popular Discussions View All (1)
5
28 Sep @ 3:09pm
Bug
Un9
168 Comments
Q 30 Oct @ 7:36pm 
Hi: im not able to put any of my bags in any of my subsequent bags. Im running your container mod and inventory tetris mod. Is there any way to make these work together?
TheStorySmith 30 Oct @ 1:10am 
Do the nested containers reduce the weight of their items? Or is it like vanilla where the weight reduction is only for items directly equipped?
I really want a mod where there is a good reason to utilize containers within other containers (like using bags in a trunk, or a First Aid Kit in a backpack)

Is it possible to do and if so would it also apply to modded containers (I got Unofficial Fools) or only vanilla?
I'm trying to steal every gold bar in the game but they are 16 weight each
Nikku Miru  [author] 27 Oct @ 7:19am 
@Viatorem Don't have to apologize for that xD
I don't mind adding options at all since it'll make it just better for everyone so they can configure it to their liking.
Viatorem 27 Oct @ 7:03am 
sorry for being confusing haha, yeah i didnt remember nested containers working inside equipped containers, not a bug just bad memory lol. love the mod, but dont code options just for me if its annoying lol
Nikku Miru  [author] 27 Oct @ 2:11am 
Yeah that's no problem since I added a few options already
PANZER 27 Oct @ 1:20am 
Yes trunks and seats work right now, just an idea for a "vehicle" setting
Nikku Miru  [author] 27 Oct @ 12:36am 
@PANZER But trunks and seats work rn or am I wrong? maybe did something wrong then
Yeah I can add that, there's a different tag for trunk and trailer, will take a look at that!

You're welcome! :)
PANZER 26 Oct @ 4:59pm 
If it is possible, I would like it if the trunks and seats (everything within a vehicle) had normal mod functionality. If I had a bag within a bag on a seat (my main use case) I would like to see the second bag within the first.

I'm not sure if possible, but I would prefer it disabled for trailers. I dont know if the base code differentiates trailers from a normal vehicle trunk though. Perhaps there is a "trailer" tag?

Again, thank you for the work you put into this Nikku!
Nikku Miru  [author] 26 Oct @ 1:09pm 
@PANZER Could you please tell me how the vehicles as a toggle option should work exactly?
Just so I have a clear image of what option I should add, so far I added options to toggle nesting for player inventory or loot inventory and also filters to both so you can switch between everything / only pockets / only equipped and same for loot inventory so it's either everything or vehicle only basically seats / glove box.

But still need to polish it a bit.
Nikku Miru  [author] 26 Oct @ 1:39am 
@PANZER Thanks for letting me know, I will add some more options so everyone can configure it to their liking! :)