Project Zomboid

Project Zomboid

[OBSOLETE as of 42.12 beta] Smart Stack [B41/B42]
125 条留言
Xerox 10 月 2 日 下午 7:06 
Thx for the work until now <3
SnIon  [作者] 9 月 29 日 上午 2:57 
Good point, Zara, thanks!
Zara ♡ 9 月 28 日 上午 10:19 
Might want to put obsolete in the title now for future peeps.

Thats good though! Id be happy if a dev of a game added a QoL mechanic I made a mod for lol

Congrats! Your mod basically made it to vanilla game
SnIon  [作者] 9 月 28 日 上午 2:32 
Old buttons on the panel don't appear anymore, but context menu on RMB still works.

Yeah, as of B42.12 developers added buttons "Transfer Same Type" which do what this mod does. So there's no point in using this mod anymore.
mbm6705 9 月 27 日 下午 2:26 
doesn't work B42.12
Zara ♡ 9 月 27 日 上午 9:09 
I think this is a vanilla thing in B42 now?
Zara ♡ 9 月 25 日 下午 7:15 
Getting errors when using this mod after the update today.
function: addContainerStackButton -- file: ItemStacker.lua line # 46 | MOD: Smart Stack

ERROR: General f:0, t:1758852279252> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: attempted index: getRight of non-table: function toggleStove:419 at KahluaThread.tableget(KahluaThread.java:1530).
Stack trace:
se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1530)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:502)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:174)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1826)
se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1653)
se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
zombie.Lua.Event.trigger(Event.java:72)
깝노노노 6 月 14 日 下午 7:30 
smart stack lua is written 966221273/SmartStack in pz_modlist_setting.cfg
it makes setting menu is disappeared
whenever I add some lua, I need to fix in every time
Unamelable 6 月 12 日 下午 8:30 
I guess this mod will not be updated but i say it anyways

Is there will be an mod option to "stack everything, but save 1 instance of item" so i can use this container to stack in loot runs?
Primedew 6 月 11 日 上午 9:59 
@mountainofcheezo you should look up "manage container" mod
Eliaz 3 月 26 日 下午 2:22 
Hello !
The Stack All doesn't work anymore in my save, only the Stack to Selected works, am I the only one with this problem ?
mountainofcheezo 3 月 20 日 下午 2:31 
Are you able to make this a thing for transfer all but use category logic? and include a hotkey? been searching desperately for that feature
Wolgrave 3 月 20 日 上午 3:30 
i love terraria's quick stack feature, i think it should be a feature in every game that have a storage system lol. thanks for this
B u n z 3 月 11 日 上午 9:48 
absolutely love this mod and the functionality inspiration from terraria, you're doing god's work for all of us loot goblins out there. hope you keep maintaining the mod in the future if possible. much love
SnIon  [作者] 2 月 6 日 上午 9:25 
@Johnny Dollar, in B42 there are settings under mods > smartstack which should allow you to hide those buttons that intersects with existing UI elements. Instead of the hidden buttons you can use hotkeys or context menu. I can’t align the buttons so they won’t interfere.
Johnny Dollar 2 月 5 日 上午 6:54 
@SnIon
Hey SnIon, thank you so much for keeping this mod updated for almost 8 years!
There's a problem in B42 when using ovens.
The stacking buttons on inventory screens overlay the turn on function on ovens so it looks like
"Tur-Stack all"
I tried messing around with some UI settings and moving the size of the inventory window, but couldn't change anything.
leon2356 1 月 23 日 下午 4:58 
@Juice

Use the Proximity Inventory mod. Adds a container to the loot window that shows all the loot in 8 surrounding tiles and containers. Then you can just tap loot all and it will take from everything around you, on the ground or in a container.
SnIon  [作者] 1 月 17 日 下午 1:45 
I will try implementing later. For now, while this is not exactly the functionality, there is a couple of mods with similar ideas:
AutoLoot 42
AutoLoot 41
Fast Keys 41/42
Creamy Bandito 1 月 16 日 下午 1:36 
Can you make a loot all hotkey so it will loot any containers that are nearby the player?
FootFeetish69 1 月 15 日 上午 7:32 
Huge thanks, from another hoarder. Been needing this for a long long time, wish I realized this existed before now lol
leon2356 1 月 10 日 下午 7:07 
OMG I was just looking for a mod like this! I am such a hoarder.
Sarah52 1 月 10 日 下午 3:25 
Best mod ever
Qifi 1 月 10 日 上午 11:27 
this is literally the best mod i have ever seen
CocoWarma 1 月 1 日 下午 9:57 
Amazing!Thanks for updating for B42.
Sssss 2024 年 12 月 29 日 下午 5:01 
Wow, created in 2017 and still being updated??? Sick
Xer 2024 年 12 月 27 日 下午 7:37 
Thx!:steamhappy::steamhappy::steamhappy:
SnIon  [作者] 2024 年 12 月 27 日 下午 1:52 
@Xer there's now an option to hide buttons in Options > Mods > SmartStack, but for now only in build 42 and higher
SnIon  [作者] 2024 年 12 月 25 日 下午 2:09 
@Jaxx - pshoooo, thanks for the report. I think it's pretty much impossible to place those buttons correctly, they will be intersecting with game elements. I want to add ability to disable buttons and context menus, and players will be choosing which way they want to use the mod. This would be the optimal solution, I think.
Jaxx - pshoooo 2024 年 12 月 25 日 下午 1:48 
heads up but the buttons are a little close on trash can-type items that have a Delete All button, overlaps a bit https://i [dot]gyazo[dot]com/fa0a442816fe41c70897a20bf30b3c1d.png
SnIon  [作者] 2024 年 12 月 25 日 上午 10:05 
@Johnny Dollar, you can add tags in workshop file like
here [github.com]
SnIon  [作者] 2024 年 12 月 25 日 上午 9:26 
@Xer, yeah hiding buttons option is something I want to do, but I should figure out how to do it.
Johnny Dollar 2024 年 12 月 25 日 上午 8:28 
Hello Snion
Thank you very much for updating the mod.

How do you add the build 42 tag to a workshop item that was created during build 41?
I've tried a couple of times now with no luck.
Xer 2024 年 12 月 25 日 上午 6:57 
NO ERRORS after the update, nice work!
and a suggestion, can i have choice to hide the ContextMenu button? something like making a switch in the mod option.
anyway, thx for your efforts❤ @SnIon
SnIon  [作者] 2024 年 12 月 25 日 上午 3:38 
@Xer @dcm4n, I updated the mod, if the issue is still present, please tell me more about reproducing (game build version, where the error happens). Hope it's fixed tho.
Xer 2024 年 12 月 25 日 上午 1:03 
same as @dcm4n
dcm4n 2024 年 12 月 25 日 上午 12:51 
Man thanks for the mod and for updating it to B42 so quickly, but something broke in the last update. I'm getting erros, even with only this mod activated.

Error in getKeyName - addKeybindingPanel, pretty sure it has to do with the new keybinding.

Back in B41 I used another mod (SmartStack HotKey by tooHzzub's) to get this exact funcionality and it worked fine, maybe you want to take a look at it.

@early_retirement that was probably it.
ZivaBigBen 2024 年 12 月 24 日 下午 4:14 
Bless u @Snion
bHeaded 2024 年 12 月 24 日 下午 2:10 
You are my hero @Snion
SnIon  [作者] 2024 年 12 月 24 日 下午 1:54 
@early_retirement it might have been another mod, never was in this one. But the idea was good, so I implemented it. You should now be able to assign keybinds in game menu for stacking. Enjoy!
SnIon  [作者] 2024 年 12 月 24 日 下午 1:53 
@RayVi should now be fixed
RayVi 2024 年 12 月 24 日 上午 9:18 
@SnIon now the encoding has gone wrong in the Russian translation file, to fix this you need to save the file in ANSI encoding
bHeaded 2024 年 12 月 24 日 上午 1:07 
I could have sworn there used to be keybindings you could bind these functions to.
Am I mistaken?
Its been a while since I played lol but Im not seeing them in the keybinds menu.
SnIon  [作者] 2024 年 12 月 23 日 上午 8:31 
@ZivaBigBen the issue is now fixed, you can use stack buttons from context menu (gif in the description) on a controller
SnIon  [作者] 2024 年 12 月 23 日 上午 2:02 
@ZivaBigBen yes, that's a longstanding controller issue. I will try to address it again.
KarlF 2024 年 12 月 22 日 下午 9:02 
huge
ZivaBigBen 2024 年 12 月 22 日 下午 4:19 
not seeing the stack buttons, is it a controller issue? i know some ui stuff changes from keyboard to controller
SnIon  [作者] 2024 年 12 月 22 日 上午 11:29 
@early_retirement Update to B42 is done, enjoy! Let me know if something breaks
bHeaded 2024 年 12 月 21 日 下午 4:39 
Not sure I can live w/o this mod, hope you update to B42! Thanks!
Sauce 2024 年 11 月 7 日 下午 4:55 
@Did u go tomorrow are you selecting the right bag on the container menu? I thought it was bugged as well but you have to favorite the bag first by clicking on it (a star will appear on your favorite bag). Once you do that the stack button should work.
SnIon  [作者] 2024 年 11 月 7 日 上午 11:00 
Can you specify exactly with which item it doesn't work or provide a screenshot? That would help.