Project Zomboid

Project Zomboid

30 ratings
JK's Boxes Of Garbage Bags
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41
File Size
Posted
Updated
36.631 KB
Nov 15, 2023 @ 3:54am
Nov 22, 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
Nov 22, 2023 @ 1:43am
And now...
dtoxic
0
Jan 23 @ 4:14am
error on new game start
>)
20 Comments
Babies May 30 @ 5:52pm 
I love you pooks
Coldsteel Apr 30 @ 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.
ronald  [author] Mar 5 @ 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! :)
ronald  [author] Mar 5 @ 6:07pm 
@Champy Thanks for the specificity, I'll take a look when my schedule loosens up.
Archadies Leafwalker Mar 5 @ 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 Feb 6 @ 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.
elspbeth Jan 12 @ 2:37am 
I love those who make mods and I especially wanted to thank you for making this. Finding bags is slow and often tedious, especially when you only have a couple in game weeks to make rain catchers, this is so much faster!! I love they spawn in china cabinets which makes them easy to find. Thank you so very much!!
>) Jan 7 @ 11:32pm 
appreciate the attention! I know theres a way to like manually direct the texts of names to another lua but Ive only done it for items not sure if it'll works with recipes and such, but anyway thx for ur time!
ronald  [author] Jan 7 @ 6:20am 
@>) At present, there is no already implemented way to translate this mod. I'll look into it, but I don't know any other language besides English anyways.
>) Dec 30, 2023 @ 4:58am 
I was just wondering is there anyway to translate this mod? I checked the files and theres only texts for sandbox settings but no item names nor interactions