Project Zomboid

Project Zomboid

33 ratings
JK's Boxes Of Garbage Bags
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
36.631 KB
15 Nov, 2023 @ 3:54am
22 Nov, 2023 @ 11:18am
3 Change Notes ( view )

Subscribe to download
JK's Boxes Of Garbage Bags

Description
Really simple mod, just adds boxes of garbage bags that spawn in places like Gigamarts, toolstores, etc. where you would expect these things to be.

Each box gives you 4 garbage bags each, normally it would be like 100 but this is made with a mix of balance and realism in mind.

Update 1 -
Boxes of Plastic Bags have been added. 10 plastic bags per box.
Sandbox variability has been added (Thank you Sapphs Cooking mod for giving me some good reference code to look at)

Workshop ID: 3084003901
Mod ID: JKGRB
Popular Discussions View All (2)
2
22 Nov, 2023 @ 1:43am
And now...
dtoxic
0
23 Jan, 2024 @ 4:14am
error on new game start
>)
24 Comments
Finklestein  [author] 15 Jun, 2024 @ 5:59pm 
@Coldsteel I understand completely, I'm planning to keep this mod up separately so people can do just what you said - cherry pick features. I appreciate your concern for fellow players.
Coldsteel 15 Jun, 2024 @ 2:34am 
@ronald just please don't merge everything into the same mod and make this one obsolete. People don't usually want the entire bundle of different unrelated features, they usually want to cherry pick them.
Finklestein  [author] 14 Jun, 2024 @ 7:08pm 
I want to say thank you to all of those that pointed out errors in my code, i'm really new to this so literally any pointers help so much, so from the bottom of my heart, thank you!!
I'm also here to say I'm working on a new mod that combines this mod, my cold medicine mod, and a couple new features into what I believe should be in the game already for realism. I don't know when it'll be done, but I've already made the changes to this code in the new files. Eager to test them out and play around with more code. Thanks again y'all!
Finklestein  [author] 14 Jun, 2024 @ 6:51pm 
@Babies Thanks Bae <3
Babies 30 May, 2024 @ 5:52pm 
I love you pooks
Coldsteel 30 Apr, 2024 @ 3:14pm 
>I took a look at the code and honestly have no idea what's causing it
A syntax error in your Lua code causes it. It even says exactly what's the issue: you have extraneous colon after declaring "local inv".

I can tell it's meant to be a semicolon. Except in Lua you don't need them altogether. And that code just seems to add an extra bag when you open a pack? Looks like you don't need the whole file, and you can remove the "OnCreate" fields from the recipes.
Finklestein  [author] 5 Mar, 2024 @ 6:09pm 
@Archadies Leafwalker It's 4 per bag, the spawnrate is pretty high so for balance reasons it's only 4. Additionally, I've never played hydrocraft so I wouldn't know, haha. And thanks for the feedback, and thanks for the appreciation! :)
Finklestein  [author] 5 Mar, 2024 @ 6:07pm 
@Champy Thanks for the specificity, I'll take a look when my schedule loosens up.
Archadies Leafwalker 5 Mar, 2024 @ 11:01am 
I'm sorry, I'm confused. Which is it? The number of bags per box I mean. Is it 4 or is it 10? I'm sure the answer is possibly in the comments which I have yet to read. And which ever number it is, I'm sure it was done with balance in mind, even though a real box of trash bags can hold I think something like 20 bags or so. lol. Though 10 bags per box can make for a bunch of water collector Also, doesn't Hydrocraft have boxes of trash bags? Anyway, please don't take anything I said in a negative light. I have already liked and faved this mod and I do look forward to trying it out. Thank you very much for taking the time to make this mod. It sounds amazing!! :praisesun:
Champy 6 Feb, 2024 @ 5:00am 
@ronald Hey, there, good idea for a mod. I just checked your code for the error that @Meyar pointed out. I think you just have to remove the colons at the end of line 2 and 7 of the recipe functions file. Or replace them with semi-colons.