Project Zomboid

Project Zomboid

Quick Sort Build 41
33 kommentarer
Robob27  [ophavsmand] 5. aug. kl. 3:09 
I have finally gotten around to publishing a build 42 version for this. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3542556795

Sorry for the wait! I did it as a separate mod to avoid potentially breaking anything for anyone on B41.
Nisverah 26. juli kl. 13:10 
Cool! Thanks again for the great mod, it's incredibly convenient
Robob27  [ophavsmand] 26. juli kl. 8:28 
Hey @Nisverah, yeah absolutely, I consider this mod and any PZ mods I make to be under WTFPL. Feel free to modify, create derivative versions and redistribute them as you please, with or without attribution as you see fit!
Nisverah 17. juli kl. 20:03 
@Robob27, I really love this mod to the point I created a modified version for myself and a couple friends that sorts items into nearby containers based on their category, prioritizing proximity.
Can I have your permission to upload to the workshop publicly?
To be clear, it doesn't include your functionality of sorting a single item/stack (unless it's the only item of that category), and I'd recommend this mod to go with it and give credit in the description.
GFreenD 27. mar. kl. 9:13 
please make it 42 version
Zitronen 12. mar. kl. 9:54 
Doesn't seem to be working for me as of 03/12/2025
thog 14. juni 2024 kl. 12:54 
Not working anymore.
space is cool 31. aug. 2023 kl. 1:12 
does this happen to work for tetris inventory, to be able to sort items inside your own bags
JustCallMeJon 18. aug. 2023 kl. 19:08 
Hello! This mod works amazingly for sorting a lot of stuff into crates. Quick question. Is there a way to get the ability to sort multiple selected items at once? That is the only thing that is bothering me, as I'm having to manually sort a lot of books into storage to try to find a single magazine I'm missing.
Robob27  [ophavsmand] 29. maj 2023 kl. 11:11 
It was multiplayer compatible when it was initially published at least!
jacrispy360 29. maj 2023 kl. 10:07 
I have been using it and it's great! Godsend even. Is it multiplayer compatible? I guess I'm about to find out lol.
Robob27  [ophavsmand] 29. maj 2023 kl. 9:12 
Hey y'all sorry been a while since I've had time to look at this mod. If there's still people trying to use it I can try to get an update out at some point
Legendanny 29. maj 2023 kl. 3:11 
Seems like it has problems with Organized trait that increases storage over the normal value. At least the Quick Sort will not put stuff into container, that e.g. have 51 of 65 storage used, while the normal value would be 50 (50 * 30% = 65 storage). When i remove some stuff and it stays below 50, it works again.
Ith 29. apr. 2023 kl. 3:26 
Looks like this does not work anymore. Can someone confirm they got it working in 2023? @Robob27 would you be willing to take a look?
Camping_Zone 19. feb. 2023 kl. 16:55 
i cant see the button either
[MOSSAD] Ananas 5. jan. 2023 kl. 3:09 
is there a possibility that any mod conflicts could prohibit the quick sort button to not appear?
I cant see the button
Polarbog 3. aug. 2022 kl. 13:17 
@hugo9cf thank you so much! It worked like a charm
Hugo Qwerty 15. juli 2022 kl. 12:34 
Hi Polarbog, I did - but then I removed the mod and lost all the changes. I've just added it again to check, I think if you remove line 215 of Steam\steamapps\workshop\content\108600\2588721141\mods\RPQuickSortB41\media\lua\client\RPISQuickSort.lua (the line starts with "ISTimedActionQueue.add "). I think that will remove the walk to the container.

Lines 88 and 89 can be edited to increase the teleport range.

If you run with Organized, change line 159 to "local capacity = itemContainer:getCapacity() * 1.3;" - otherwise it will stop transferring at normal capacity.
Polarbog 15. juli 2022 kl. 12:15 
@hugo9cf how did you manage to remove the walking part? That would be perfect for me
Kenobus 26. juni 2022 kl. 13:49 
Is there a way to just select a bunch of items and queue them to be sorted at once instead of adding every item one by one?
OwO 15. maj 2022 kl. 22:06 
Love it ! Thank you for making it!!!
turg 10. mar. 2022 kl. 7:45 
BTW great idea though..........
turg 10. mar. 2022 kl. 7:45 
don't know how or why but ALL of my bundled items, soap,smokes,coffee etc disappeared?????????????
famwater 10. feb. 2022 kl. 8:41 
This is a great mod but I have a small problem. It doesn't work for "freezer"... (It's okay with "fridge")
Retrific 18. jan. 2022 kl. 6:29 
getting errors
Robob27  [ophavsmand] 9. jan. 2022 kl. 10:38 
Hey hugo9cf, glad you like it! I'll try to get the Organised thing fixed up soon.
Hugo Qwerty 8. jan. 2022 kl. 2:11 
One small issue... this doesn't take into account the Organised trait, so a crate with more than 50 units won't accept more stuff even though they have 65 capacity.
Hugo Qwerty 7. jan. 2022 kl. 17:04 
This looks amazing, and so much less weighty and complex compared to other sorting mods. I've added a custom modification to remove the walk to container code (1 line) and it's now 100% to my liking. :D
Yonan 20. okt. 2021 kl. 3:33 
This would fix the most boring chore in the game, awesome.
Robob27  [ophavsmand] 29. aug. 2021 kl. 17:44 
So I haven't tested it myself yet, but I'm wondering if this has already been fixed with updates to the AdjacentFreeTileFinder class.

The mod uses this class to find the adjacent square to move to, and I see this code in the class now:

-- if there is a wall between the two tiles, not adjacent.
if not AdjacentFreeTileFinder.privTrySquareForWalls(src, test) then
return false;
end

If someone still has this happen, please let me know!
Robob27  [ophavsmand] 29. aug. 2021 kl. 17:05 
@Tchernobill hey thanks! That looks like it'd be pretty easy to implement. I'll take a look now since I'm in the modding mood :)
Tchernobill 29. aug. 2021 kl. 16:56 
for the wall management, the following code from ISInventoryPage.lua may help

-- stop grabbing thru walls...
local currentSq = playerObj:getCurrentSquare()
if gs ~= currentSq and currentSq and currentSq:isBlockedTo(gs) then
gs = nil
end
Robob27  [ophavsmand] 29. aug. 2021 kl. 16:01 
If you are playing builds older than 41, try this version instead if this one gives you trouble https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2163270729