Project Zomboid

Project Zomboid

Better Sorting Expanded
32 Comments
TheCheeseBroker 21 Mar @ 7:48am 
@Red-Shanked Douc

This is because of the (TheWorkshop.AcceptItemFunctionToolbelt) fuction in the workshop mod Inside the lua/server/TW.lua

You could edit this code to add more Category by adding more

=

local category = scriptItem:getDisplayCategory()
if category == "Tool" or category == "ToolWeapon"
or category == "ToolCarpentry"
or category == "ToolCleaning"
or category == "ToolElectrical"
or category == "ToolFarming"
or category == "ToolMechanics"
or category == "ToolMedical"
or category == "ToolMetalworking"
or category == "ToolSurvival"
or category == "ToolTailoring"
then

=
Vorpal Void 24 Feb @ 1:58am 
-- Move alternative medical categories back into medical
elseif item:getDisplayCategory() == "Surgery" or item:getDisplayCategory() == "FirstAid" then
category = "Medical";

Should be

category = "Med";

This is to fix IGUI_ItemCat_Medical showing for some items.
tilarium 30 Nov, 2024 @ 4:13pm 
Newest update? You mean 41.78.16 which was released on 12 Dec, 2022?
ratarat666 30 Nov, 2024 @ 2:10pm 
Not working in newest update
小姐姐QAQ 29 Nov, 2024 @ 12:58am 
Hello, author. If I want to provide localized translations, how should I contact you?
Red-Shanked Douc 24 Nov, 2024 @ 2:05pm 
By changing tools to be in specific categories rather than just tools, it removes the ability to put them in the tool belt from The Workshop mod
AndrewMV 1 Nov, 2024 @ 12:35pm 
I don't know how this would be done but it would be great if ammo was at the top with weapons on the list when looting with 'proximity inventory' so I wouldn't have to scroll all the way down on massive piles of bodies repeatedly.
Dümbük Enişte 14 Oct, 2024 @ 12:33pm 
Finally! There had been a serious need for an up-to-date sorting mod for a while.
Pyotr 14 Oct, 2024 @ 7:12am 
By any chance, did you miss categorizing the pipe wrench? Seems like it's the only tool i have that just says "Tool" with no subcategories.
恶魔地瓜 12 Oct, 2024 @ 4:52am 
i need chinese please! my hero!
Kechna  [author] 10 Sep, 2024 @ 12:41pm 
@thecarvalhogamer only English, if you want to help translate the categories to other languages I can implement it!
Kechna  [author] 10 Sep, 2024 @ 12:40pm 
@Aush ah, it's just a translation thing. I'll see if I can fix it soon.
Kechna  [author] 10 Sep, 2024 @ 12:40pm 
@Jaxx - pshoooo ah yes, I use that one myself too so will give it some extra attention in the next update :)
thecarvalhogamer 9 Sep, 2024 @ 6:40pm 
How many languages ​​does mod have?
Aush 7 Sep, 2024 @ 6:47pm 
@Kechna In place of the category, ' IGUI_ItemCat_Medical ' is displayed
Jaxx - pshoooo 6 Sep, 2024 @ 4:46pm 
any chance you could look at Easy Packing as a better sorting compat mod? :') a ton of its items are incorrectly categorized even taking into account base categories, like 10x Pack of Batteries being Crafting instead of Crafting - Electronics etc.
Kechna  [author] 3 Sep, 2024 @ 11:08am 
@Shimo @twitch.tv/thefaith818 it _should_ be compatible with anything better sorting is compatible with, I'm doing pretty much the same thing as that mod is already doing, just with more granular categories and some different logic for automatic categorization.
Kechna  [author] 3 Sep, 2024 @ 11:06am 
@Aush what do you mean by broken categories?
Kechna  [author] 3 Sep, 2024 @ 11:06am 
@Soul G it logs which items have their categories changed, with the old and the new category, and whether it was done automatically or by a manual mapping.
The † Faith † 30 Aug, 2024 @ 2:59am 
is this compatible with Loot Is First - Sorting
Shimo 26 Aug, 2024 @ 3:06am 
Is it compatible with Better Sorting - Patch Smorgasbord?
Aush 23 Aug, 2024 @ 8:01pm 
The mod seems to have an incompatibility with the More Food Pack mod [41.78+/MP] , more specifically with the medicines, the categories are broken.
Soul G 21 Aug, 2024 @ 1:08pm 
What does verbose option do, by the way?
maiker 20 Aug, 2024 @ 3:31pm 
Kechna, you're the Curry hero we didn't know we needed. Thanks for releasing your work to the masses.
Kechna  [author] 19 Aug, 2024 @ 1:18am 
@Jaxx - pshoooo that is definitely something this covers :)
Jaxx - pshoooo 17 Aug, 2024 @ 2:08pm 
if you tell me it fixes Sapph's Curry Powder to be fixed to show as Cooking/Seasoning, i will be instantly sold
Kechna  [author] 15 Aug, 2024 @ 4:13pm 
@Brekkik, yup, haven't even gotten to fixing the display name yet. Will do next update :)
Kechna  [author] 15 Aug, 2024 @ 4:11pm 
Sorry, made this for myself initially and did not expect anyone to be interested (yet). In short, it extends on what Better Sorting does, but with more granular categories, and categorizations i consider incorrect or annoying "fixed". With specific mod support focused on mods I use with my friends, like Lifestyle, Sapph's Cooking, all kinds of crafting additions, and many others.

In case you don't know how BS works under the hood: It attempts to auto-categorize items based on their properties, and includes many, many manual category overrides for base items and those of a ton of popular mods.

As for the more granular categories, some examples are: Condiments, spices, servings (so finished meals), tools per relevant skill, liquid containers, perishable beverages, money and more.



There are still a bunch of things that aren't categorized correctly, I will write more and put out more updates soon. I'm going on vacation next week, though, so I hope I can find some time before then.
Sir Doggy Jvla 14 Aug, 2024 @ 12:33pm 
Would be nice more detail of what the categories you are adding are. Also what about mod compatibility ? Mods that added compatibility to better sorting will not take on these changes ?
Brekkik 12 Aug, 2024 @ 10:36pm 
Disregard my prior post. I finally managed to find it. If anyone else is having trouble with it, it's listed in the mod manager as CABetterSortingExpanded
莫名某某 12 Aug, 2024 @ 8:12pm 
Can you add a more detailed description and in-game screenshot comparison? To see what categories are added to the mod
Brekkik 12 Aug, 2024 @ 8:52am 
Attempted to try your mod out since I'm always looking for expansions to Better Sorting, but the mod doesn't appear in the mod manager, so I'm unable to activate it.