Project Zomboid

Project Zomboid

Better Sorting - Patch Smorgasbord
68 Comments
Pipamonium 9 Jun @ 11:58pm 
Might I request a 'More Maps' being added to the covered mods list?
marshmallow justice 16 Mar @ 6:23am 
sapphs cooking ok or should i pair with other mod too?
Gaist Heidegger  [author] 18 Apr, 2024 @ 10:45am 
You can make a copy of the mod from your steam workshop folder and put it into the local PZ workshop folder as an option, the issue you're going to have with trying to override the established categories is that PZ doesn't really have a reliable way to 'prioritize' mods -- a lot of what it does is straight-up alphabetical loading. Hopefully the next major version has a little bit more nuance to structuring which mods should override which.

If you want to explore local edits, the local workshop folder (on Windows at least) is in Users\(Your username\Zomboid\Workshop on your system drive. You can look at the Workshop ID that gets appended at the end of every mod description to narrow down the folder for the particular mod you want to copy over (so for example this mod's ID is 2869324238.)
Kelzhul 18 Apr, 2024 @ 9:56am 
I posted this and then decided to delve a bit deeper myself. You are right, a lot of my issues were with base better sorting, rather than your mod. I just happened to see authentic z as part of your covered mods reference sheet.

Base bettersorting uses cook, instead of cooking, which I suppose is why tomato paste/brownsugar appears in it's own cooking category.

I think it is a known issue for easy packing regarding "drainables" but I'm not sure how they handle it. Maybe they do a condense before packing to make sure only full items are packed.

Looking into it, it really seems like it comes down to base better sorting having incomplete support for easy packing. If I wasn't so afraid of steam overwriting my local edits, I'd just change it myself (I probably still will). I don't know how to make my own mod, though I probably should learn. I wonder if it would be possible to make a mod that changes these categories in game.
Gaist Heidegger  [author] 18 Apr, 2024 @ 9:15am 
I don't believe I've got any Authentic Z coverage in this in the Basic module, so if that's the case it's probably something else as the culprit for those items.

It's been a very long time since I've played PZ myself so I've mostly been in maintenance mode with the mods periodically trying to fulfill requests for additions when free time accommodates it.
Gaist Heidegger  [author] 18 Apr, 2024 @ 9:14am 
Whoops, it does look like I overlooked that -- if you want to nix it on a local copy before I get a chance to upload an update, just delete zz-BSS-VanillaToolWep.lua from basic's media\lua\server folder and that should resolve it for you.

I'm not sure why Tomato paste would duplicate categories because I just pointed it at the basic Cooking category, but I imagine that has since become supported by the base Better Sorting, so I can just remove it from the mix and let that handle it.

I'm surprised easy packing is packing liquid containers since Zomboid's tracking of containers and consumables that have partial uses makes packing / unpacking them behave really strangely (at least from my experience with Pantry Packing, which is what I'd used / supported myself.) I can see about possibly looking at easy packing but if it's already covered by base better sorting doing overrides on them gets a bit more tangled.
Kelzhul 18 Apr, 2024 @ 8:57am 
Is it just me or is the basic version still adding the tool/weapon and cooking/weapon categories? I thought the basic version would use the same categories as base better sorting.

Requests: easy packing and easy packing skill books https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2857301610 .

I know easy packing is already included in the base better sorting, but some of it makes no sense. Aluminum is electronics, but packed aluminum becomes material. Gas can starts in container/fuel but packed gas cans become mechanics. Packed chips become food, instead of non-perishable. Packed literature entertainment becomes regular literature. Packed electronics is it's own duplicate category, etc

Small oddities: Tomato paste ended up in it's own duplicate cooking category. Spatula should be cooking, not junk. Aqua bottles from Authentic Z is in a duplicate container category, white glowstick is in household while the others are in misc.
Gaist Heidegger  [author] 24 Feb, 2024 @ 6:41am 
Basic version is same categories / style as base better sorting, non-basic has additional categories and expansions on that and consistency tweaks overrides some things sorted by better sorting to revise them to work with the new expanded categories.

I'll get rid of the tool category on weapons when I get a chance to take an update pass at this.
tobyfox2002 24 Feb, 2024 @ 5:08am 
I am sorry if this has been addressed already but what does the two sub-mods do? Do you only install one or all three?
Vivid Wyzard 20 Dec, 2023 @ 11:46am 
Tool / Weapon - Melee causes items to get locked out of being equiped to the tool belt because the tool belts are coded to only equip items labeled "tools." Saw is in this category which is crazy because it's not a weapon in the game. I would recommend getting rid of the Tool categories that you've added. It pretty much makes the tool belts obsolete if I can't equip all the tools to it.
TastesLikeWall 29 Oct, 2023 @ 2:18pm 
Any chance to get Simple Overhaul: Melee Weapons into compatibility?
Solodon 1 Oct, 2023 @ 11:44pm 
ah the item I saw was bottled tea, i'll have to check when it isnt late, maybe i messed up my mods
Gaist Heidegger  [author] 1 Oct, 2023 @ 11:35pm 
I do have Pomp's Items - Just the Food in coverage including beverages, though; did I miss some? You should be able to find zz--BSS-PompsItems.lua in the sub-folders for both the basic and full versions.
Solodon 1 Oct, 2023 @ 11:32pm 
if youre up for more recommendations, "pomp's items - just the food" could use some defines for beverages and the like
Gaist Heidegger  [author] 24 Sep, 2023 @ 11:46am 
Awesome, much appreciated and thanks!
Champy 24 Sep, 2023 @ 11:28am 
Hey there, just popping in to say that More Loot Settings now supports the categories of this mod properly, specifically the survival and mechanics ones. Nice mod btw, didn't know it existed until someone requested a compatibility patch.
TiTAN 17 Aug, 2023 @ 11:37am 
Bah no worries at all! Appreciate the quick response :)
Gaist Heidegger  [author] 17 Aug, 2023 @ 10:43am 
Dangit, sorry about that - I'll upload a fix shortly.
TiTAN 17 Aug, 2023 @ 10:17am 
Just a FYI, there is an error in the file zz--BSS-INeedMoreStyle.lua lines 5 to 33. They have a ""); and should be ");
Gaist Heidegger  [author] 16 Aug, 2023 @ 7:56am 
That's quite annoying, but now that I've cottoned to it I'm going back through -everything- currently covered in both versions of the mod and making corrections and revisions. I -should- have everything this is presently slated as covering handled with this next update, but as before if there's anything from your fork you'd like me to fold into this I am happy to.
Jacques the Crab 16 Aug, 2023 @ 6:57am 
If you want I can go to the discussion and paste the stuff I've checked over. I have done my own fork based on your categories (and even more, hurray!) but can easily check what you haven't done yet that I may have. What mods (and Base. items as well?) haven't you checked?
Jacques the Crab 16 Aug, 2023 @ 6:54am 
It did. As well as Container to Cont and some others. I thought the same. Was a bit of work going through it all. If you don't use it yet I recommend the mod "manage containers" to check it. At least for me I found it the fastest way to check items in wrong categories.
Gaist Heidegger  [author] 16 Aug, 2023 @ 6:01am 
Hmm, did Better Sorting change Medical to Med? I am a little perplexed as to why if so, there are longer definitions than Medical and nothing that would have been too similar.
Gaist Heidegger  [author] 13 Aug, 2023 @ 6:04am 
Ahh, whoops! Alright I tracked it down and have adjusted it - the holsters, slings, etc. will be fixed with the next update.
Jacques the Crab 13 Aug, 2023 @ 1:42am 
I believe the mod overrides the vanilla holsters because it adds a model to them.
Salt 11 Aug, 2023 @ 3:25pm 
I believe the holster is from the base game. From what I know, I don't believe that mod adds any new holsters, but I'm very likely wrong.
Jacques the Crab 10 Aug, 2023 @ 5:40pm 
Ah got it, thanks for the explanation! I'm actually checking the categories again and from what I've gathered (based on my modlist), the visible holster is from a mod. Both Noir's Slings and the Visibile Holster mod need updating the category to ClothAcc. (for reference, their entries are in the Bugs/Errors/Omissions topic).
Gaist Heidegger  [author] 9 Aug, 2023 @ 6:33am 
It gets somewhat expounded on when there's multiple instances of Item Tweaker API with the original implementation because basically each of those mods packed it in with themselves to make sure they weren't missing it as a dependency, but it was coded in such a way that it doesn't really recognize that so long story short every mod that includes Item Tweaker API will promp tthe game to run it when starting and you can go 20 seconds -> 40 seconds -> etc.

I can take a look at Real Metalworking, Improvised Bandages etc. with the next round, sure. Is that Visible Holster vanilla or from a mod, where you're encountering that?
Gaist Heidegger  [author] 9 Aug, 2023 @ 6:28am 
Short answer is performance improvements, Item Tweaker API's implemented with duplicates in several mods that haven't been updated for several engine versions and essentially what happens is each individual instance of those go through their own 'copy' of the same rundown when you start the game session and that can pile up.

Tyrir, who's credited on this mod, is the one behind those improvements - the case example was a large mod loadout with roughly 5500 items: Item Tweaker API took around 22 seconds to apply tweaks to all those items. With the revised code, it took less than a second.

Given how many items / mods I was conceivably going to include in this, I reached out to get his help because I figured it would benefit folks if these tweaks were performance-efficient.
Jacques the Crab 9 Aug, 2023 @ 5:39am 
Hey, just came back to PZ and saw categories are different now. The revisions begin again ah! I never got around to asking before, any reason why you used your own method instead of Item Tweaker API to change categories?
Salt 6 Aug, 2023 @ 2:16am 
As Atherlight pointed out below, I'm running into a broken translation for Visible Holster. Not sure if this is because of your mod, but figured I would let you know as this was an issue before. Maybe something just slipped through.

Also, could we possibly get support for Real Metalworking, Soul Filcher's Awesome Time, Improvised Bandages and Improvised Adhesive Bandages PLUS!, and Totally's Scavanged Weapons? This would be awesome! Love the mod by the way, making things so much easier to sort through with big item lists.
Solodon 28 Jul, 2023 @ 9:00pm 
youre the best
Gaist Heidegger  [author] 26 Jul, 2023 @ 8:52am 
Sure thing, I've pushed an update incorporating Hanabi's Beers & Sodas, and made an effort to tackle the (pretty hefty) changes necessary to account for Better Sorting changing some category definitions.
Solodon 26 Jul, 2023 @ 2:49am 
Would you consider incorporating Hanabi's mods to properly assign drinks and beverages
Aetherlight 15 Jun, 2023 @ 11:51am 
The redundancy issue is barely noticeable since your mod already covers the majority of what the base-mod does. for me, only a few items seem to slip through
Gaist Heidegger  [author] 15 Jun, 2023 @ 11:23am 
Hmmm, I could add definitions for the missing ones but as you noted they'd sort independently - so I'll need to go through and just update the existing categories to the new format. That will take some time given the number of entries and files involved, but I will try to tackle it when I get a chance.
Aetherlight 15 Jun, 2023 @ 9:48am 
Better Sorting recently changed some of it's category definitions, resulting in missing translation strings like "IGUI_ItemCat_ClothB" (ClothB is now ClothBag or ClothBack).

This also causes some redundant categories with the same translation string that are sorted separately (ClothF vs ClothFeet).
Duchess 2 May, 2023 @ 11:58pm 
Hey, thanks for including PKMN Cards. I tried to do categories myself but the game just wouldn't play ball :steamthumbsup:
Ampyr 1 Mar, 2023 @ 11:12pm 
I now realize that the toolbelt is from the mod "The Workshop". Sorry for the bother on that and thanks for explaining!
Gaist Heidegger  [author] 1 Mar, 2023 @ 6:02pm 
Hmm, it's likely that the toolbelt exclusively wants the Tool category -- as far as I know a given item can only have one category, so while these may look like 'Tool - Weapon' behind the scenes it's still just a single category like e.g. ToolWeap.

I'm not sure that there's a workaround short of just reverting / changing the category for the desired items to just 'Tool.'

That much is relatively straightforward to edit, provided you jot down the names of the items and suss out if they're from the base game or a mod. From there's it's just making edits in the lua files to change those items to 'Tool' for their category.
Ampyr 1 Mar, 2023 @ 5:56pm 
Is there something I can edit to allow subcategories of tools ie tool/weapon - melee to be allowed into the toolbelt? It will only accept the items that only have tool in the category. Not sure if other people have this problem but it would be a good change to make if it isn't going to cause a conflict.
J2002 10 Feb, 2023 @ 10:37am 
Thanks for the fast and detailed response, have an award :BL3Thumbsup:!
Gaist Heidegger  [author] 10 Feb, 2023 @ 7:38am 
To make any manual adjustments then, you can go into the .lua file for mine covering ToolsOftheTrade (media\lua\server\zz--BSS-ToolsOftheTrade.lua in this case) and insert another line above 'end' at the end of the file that looks like this:

GaistUtils.doParam("ToolsOfTheTrade.PencilEraser","DisplayCategory","LitW")

Syntax is generally trying to make sure you're getting the source of a given item right, typically mods will define their own module (ToolsOfTheTrade in this case) but occasionally you'll find one that doesn't and just uses 'Base' like the base game. If you're ever in doubt, just look at the top of whatever script file you're checking for item names -- it will begin with module (whatever it's called) {

Hopefully that makes sense -- I will try to see if I can get the time to do a more comprehensive update when I can, but that is a fairly easy workaround in the meantime if you spot something that isn't currently covered.
Gaist Heidegger  [author] 10 Feb, 2023 @ 7:38am 
Sure -- essentially all you need to do is find out what the item name is for a given thing, which you'll typically find in the media\scripts sub-folder of a given mod in your workshop directories. In your example, I'm assuming it is the item called PencilEraser within ToolsofTheTrade_weapons.txt

Then it's a matter of finding what the dictionary entry for the new category is -- I added a few additional ones for the basic and a lot more for the non-basic versions of this, but in either case media\lua\shared\Translate\EN will contain IG_UI_EN.txt -- this is where the categories get actually defined for how they display in-game.

If you're looking for Literature - Writing, the display category in this example would be LitW
J2002 10 Feb, 2023 @ 3:29am 
Thanks for making this mod. Could you shed some light on how to patch one item not covered by this mod? For example let's say the "Pencil with eraser" item from the mod "Tools of the Trade" is currently categorized as "Household" and is not patched by your mod (fellow OCD here:LamentMoonman:), is there any way for me to patch its category to "Literature - Writing" just like the original Better Sorting mod intended? I tried to directly change it by editing the lua file inside that mod's folder using notepad but the in-game category showed "IGUI-itemcat...." or something like that. I am using the basic version of your mod btw, thx in advance.
Gaist Heidegger  [author] 9 Jan, 2023 @ 2:50pm 
Thanks for the heads-up, I've pushed an update to correct that on the basic side.
Edin 9 Jan, 2023 @ 1:03pm 
Hi! I just wanted to mention that the bug with Coavins Firearm Repair mod and the gun part category still exists for the Smorgasbord-Basic version of this mod.

If you could fix that it would be absolutely grand!
Gaist Heidegger  [author] 3 Dec, 2022 @ 9:41pm 
Cheers, thank you!
ChthonicKnight 3 Dec, 2022 @ 8:56pm 
Nice additions!
⢕⢕⢕⢕⢕⠅⢗⢕⠕⣠⠄⣗⢕⢕⠕⢕⢕⢕⠕⢠⣿⠐⢕⢕⢕⠑⢕⢕⠵⢕
⢕⢕⢕⢕⠁⢜⠕⢁⣴⣿⡇⢓⢕⢵⢐⢕⢕⠕⢁⣾⢿⣧⠑⢕⢕⠄⢑⢕⠅⢕
⢕⢕⠵⢁⠔⢁⣤⣤⣶⣶⣶⡐⣕⢽⠐⢕⠕⣡⣾⣶⣶⣶⣤⡁⢓⢕⠄⢑⢅⢑
⠍⣧⠄⣶⣾⣿⣿⣿⣿⣿⣿⣷⣔⢕⢄⢡⣾⣿⣿⣿⣿⣿⣿⣿⣦⡑⢕⢤⠱⢐
⢠⢕⠅⣾⣿⠋⢿⣿⣿⣿⠉⣿⣿⣷⣦⣶⣽⣿⣿⠈⣿⣿⣿⣿⠏⢹⣷⣷⡅⢐
⣔⢕⢥⢻⣿⡀⠈⠛⠛⠁⢠⣿⣿⣿⣿⣿⣿⣿⣿⡀⠈⠛⠛⠁⠄⣼⣿⣿⡇⢔
⢕⢕⢽⢸⢟⢟⢖⢖⢤⣶⡟⢻⣿⡿⠻⣿⣿⡟⢀⣿⣦⢤⢤⢔⢞⢿⢿⣿⠁⢕
⢕⢕⠅⣐⢕⢕⢕⢕⢕⣿⣿⡄⠛⢀⣦⠈⠛⢁⣼⣿⢗⢕⢕⢕⢕⢕⢕⡏⣘⢕
⢕⢕⠅⢓⣕⣕⣕⣕⣵⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣿⣷⣕⢕⢕⢕⢕⡵⢀⢕⢕
⢑⢕⠃⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢃⢕⢕⢕
Vivaria—In Vivo 25 Oct, 2022 @ 6:44pm 
Oh my, that was fast! Thank you so much!!