Project Zomboid

Project Zomboid

Better Jar Spawn
25 Comments
Gustavo Pava  [author] Apr 15 @ 3:23pm 
@东方彩虹🌈 I don't know, honestly. I don't play this game anymore. Sorry.
东方彩虹🌈 Mar 30 @ 6:59pm 
42?
The Dutchman Feb 22 @ 7:07pm 
@Ironfoxx How dumb can you possibly be???
Czaritsa Dec 13, 2024 @ 4:57am 
@Ironfoxx apparantly, you can can food in this game. Jars are hard to find, lids - harder.
Ironfoxx Jun 18, 2024 @ 10:40pm 
i have absolutely no idea why anyone would want this mod or why they would have a use for this mod but this is a pretty cool mod.
Arlocke May 23, 2024 @ 1:44pm 
Works very well, thank you!
Arès Oct 5, 2023 @ 8:20am 
best mod :steamhappy: thanks
Fèru Or Sep 18, 2023 @ 2:46pm 
very useful mod. and as alway, as is tradition in a standard steam comment, this compliment is a polite lead in to a ............you guessed it, .......a suggestion.

please add a 'box up 6 jars' recipe please
ferret Jan 3, 2023 @ 5:05am 
excellent mod
otter Nov 30, 2022 @ 12:23pm 
I ran through every building in West Point and not once found any jars, not even the Gigamart had any.

I need this mod
Gustavo Pava  [author] Oct 15, 2022 @ 3:38pm 
@Café Yes, just remember to loot a new cell to see its effects.
Café Oct 15, 2022 @ 2:49pm 
Still work?
Gustavo Pava  [author] Sep 8, 2022 @ 4:20pm 
@Thundercraft Well, I looked at the files and I think it doesn't conflict since it doesn't change anything about the vanilla jars's spawn.
Thundercraft Sep 7, 2022 @ 8:54pm 
Q: Should this work okay alongside the Jar Lid MOD ? I ask because the comments for that mod discuss how adding more jar lids may indirectly change the spawn rate of jars in the distribution of items, possibly making them rarer as a consequence.
Gustavo Pava  [author] Jul 25, 2022 @ 6:06am 
@fisheslikeme Hey! Sorry for the delay.
No need to apologize. The main goal of collecting feedback is always improve! The more the better. Feel free to comment at anytime you wish.

Yeah, loot is pre-generated. I'm not sure about the quantity tho. I think the chance is rolled every time you open something, but, again, I'm not sure.
About find jars in more places: I've considered that but, again, I don't want to make an imbalance, but I'll consider that on the next update.

Again, thanks for your feedback and I wish you all the best!
fisheslikeme Jul 24, 2022 @ 1:48pm 
And the last thought for now -- and I'm sorry for the feedback spam, but it kinda got me thinking.

This game seems to be quite asymmetrical at times in different dimensions of digging or not into more or less details or "realism" in some area in exchange for smoothness of gameplay. Sometimes it can get pretty ridiculous like with me currently having more machetes from survivor houses than glass jars. But to me it does not seem that it has to be unrealistically improbable to find a glass jar in a drawer of spices, dry beans or something like that.

So I would maybe add an even smaller, but still non-zero chance of spawning jars and lids to KitchenDryFood . Technically, on the level of "what actually might happen if it was a tv series", you might rummage through somebody's cupboard full of ramen packs and find a jar with buckwheat or rice, which you, let's say, throw out et voila, you got the jar! *Happy Zelda chest opening noises*
fisheslikeme Jul 24, 2022 @ 11:29am 
> the loot is actually pre-generated in the containers on the map cell when you load it

I think that’s indeed how it works. At the very least I’ve tested it by backing up my save and reloading and revisiting the same already discovered but not yet looted house, and the items in it were the same every time.

Ah well, live and learn I guess. Thanks for the reply!

(Since I already visited half of LV on my current run, I guess I will just go and delete already created map chunks excluding my base, because, eh, why not…)
fisheslikeme Jul 24, 2022 @ 10:57am 
> to loot a new map cell

Oh wait.

So I had this impression that the loot is generated in the container when you click on it for the first time. But from your comment I derive that the loot is actually pre-generated in the containers on the map cell when you load it for the first time. Is that right?

(Because if what I wrote above is how it actually works, then it might explain why I couldn't find jars -- simply because I was looting houses on the already visited cells, yet unopened containers)
Gustavo Pava  [author] Jul 24, 2022 @ 10:38am 
@fisheslikeme Hey, friend! Thanks for your feedback!
I've created the mod because of the same frustration you felt, but I've not increased too much to not make an imbalance. I highly recommend you and everyone to take a look at the mod files and change the values for your taste. And one more thing: if you've enabled this mod on your current save, you have to loot a new map cell to see its effects (not sure if you've done this already, if so, bad luck :(). I'm also planning to make an update with Vinegar and Sugar increase spawn rate.

Anyway, I wish you all the luck on your runs!
fisheslikeme Jul 24, 2022 @ 4:16am 
Heh, after installing the mod and raiding about 30 more houses I got another bunch of jar lids (!) and aluminum, but still no jars. Given that jarring in PZ is not an optimal food preservation method (if you have access to generators, of course), and that you would need vinegar and such anyway, I think jar spawn rate could even be bumped up some more...
fisheslikeme Jul 24, 2022 @ 3:33am 
On my current playthrough in Louisville, one Gigamart didn't have jars or lids at all, and one farming store didn't have them too, so I decided to raid all houses I saw. I kinda lost count to the amount of kitchen drawers that I have cleared in Louisville and not finding jars, I stopped counting after 200 I think.

Looking at the game files, an empty jar has the same spawn chance in the KitchenRandom counter as an aluminum. And yet even with the lucky trait I got just a single empty jar so far. Like, what the hell. And all I wanted are just some jars for curing for GreenFire mod.

I got so frustrated that I wanted to mod this myself, but thankfully you already did that. Gonna try it out now!
Gustavo Pava  [author] Jul 6, 2022 @ 10:06am 
@Andre the Giant You're welcome.
@fish @Quill I hope you guys enjoy the mod!

Feedback is much appreciated!
Quill Jul 4, 2022 @ 8:42pm 
@fish They're way too rare in Vanilla. Took me and 3 other people wiping entire towns clean and even raiding the Prison to find a Box of Jars.
Fish Jun 21, 2022 @ 9:03pm 
ngl i didnt even know jars were in the game until recently
Andre the Giant May 22, 2022 @ 6:31am 
Will check this out soon, thanks for addressing this imbalance.