Description

Automation of TheMrDemonized's Combine All Items functionnalities when inventory is opened.

Preview
[0.2 - 26/03] ZAS - Zatura's Auto-Stacking items
Post comment Comments
MangAsar
MangAsar - - 180 comments

Very nice. This is a must have for hoarders who wants to maximize their carry weight

Reply Good karma Bad karma+3 votes
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

IIRC, this doesn't optimize the carry weight by a lot, still a bit though. But I'd say a good argument I could use for combining all items automatically is the entity ID limit, as combined items release their IDs.

Reply Good karma+3 votes
Theisgood
Theisgood - - 567 comments

Sweet. This is a top tier quality of life addon for sure.

Love the fact it will just auto combine things now.

10/10 from me.

Reply Good karma Bad karma+4 votes
StronGV
StronGV - - 594 comments

Do items in a personal stash combine when you open it? Does the script constantly check if the items are combined when the inventory is open, or only once during the opening of the inventory? If a loop check is performed, this can affect performance.

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Hello!
-Only items in the player's inventory are affected. I may add something to auto-combine stash items later.
-The function is called only once when the inventory is opened. No loop to check.
Though, I want to find a way to make the checks not happen everytime, like if the inventory hasn't been updated since the last time it auto-combined items.
Cheers!

Reply Good karma+1 vote
Kentucky2510
Kentucky2510 - - 124 comments

Добрый день. Совместим ли ваш мод с Sorting Plus? Просто я не совсем понял из описания, что делает ваш мод, потому что использую переводчик страницы

Reply Good karma Bad karma+2 votes
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Я использовал переводчик для этого ответа.
По сути, наличие Sorting Plus не влияет на этот мод. Все, что он делает, это автоматически комбинирует все предметы с несколькими вариантами использования, которые можно комбинировать, чтобы избежать беспорядка предметов. Базовая функция «Combine All Items» не моя, и я просто автоматизировал ее, когда игрок открывает свой инвентарь.
Ваше здоровье.

Reply Good karma+1 vote
strygwyr8609
strygwyr8609 - - 37 comments

У тебя один швейный набор 4\7, у тебя один швейный набор 1\7, у тебя один швейный набор 6\7, у тебя один швейный набор 3\7.
Открываешь инвентарь - буууум, у тебя вместо 4 швейных наборов с разным ресурсом выработки - всего два полных.
Если я правильно понял, с едой и таблетками это тоже работает. То есть 10 пачек с разным кол-вом таблеток совмещаются в меньшее количество пачек с большим количеством таблеток.
Зачем? Потому что движок начинает лагать, страдать и чуть ли не кровью блевать, когда у тебя в инвентаре слишком много предметов.

Reply Good karma Bad karma+1 vote
malgin141285
malgin141285 - - 320 comments

такой же вопрос

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Я использовал переводчик для этого ответа.
Привет! Я только что ответил человеку над вашим комментарием. Я думаю, это должно прояснить ваш вопрос.
Ваше здоровье.

Reply Good karma+1 vote
FujinWasTaken
FujinWasTaken - - 57 comments

<3

Reply Good karma Bad karma+2 votes
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

ZAS has been updated.

Now the auto-stacking function only triggers if the inventory has changed since the last time it has been ordered.
Small optimization but still on the right way to 1.0.

Cheers.

Reply Good karma+1 vote
JackTheReaperr
JackTheReaperr - - 27 comments

Your meme game is stronk

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Your pfp game is stronk

Reply Good karma+1 vote
Tosox
Tosox - - 295 comments

Thank you for the last update. I think that optimizations are very important for this nice little QoL addon.

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Thanks.
It ain't much but it's honest work.

Reply Good karma+1 vote
drFaus
drFaus - - 123 comments

I'd recommend to make auto stacking triggered by keypress only. As of now, automatic stacking causes CTDs from time to time. Log states nothing, but the last lines are something like: jar is not multiuse, skipping.

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

That's in the work like right now.
As Grokitach seems interested in ZAS for GAMMA, I need to fix stuff and find optimized ways to do it.
Key-bind auto-stacking should be out by tonight.
Next things should be white-listed items that are multi-use for further filtering therefore faster stacking.

Also I'm not sure, but as jars are junk items, they may be in the last item checked. Tho, if it's the last line before the crash then yes, may be related to ZAS.

Reply Good karma+1 vote
StronGV
StronGV - - 594 comments

When will you do the combination of items in the stash? This is important, because it happens that an item moved to a personal stash does not have a full pack, for example 1 first-aid kit, and as a result, a certain amount of them accumulates in the stash and you still have to stack them manually using the mod on the basis of which you made your mod.
Yes, I will also support drFaus about the stacking button. Because the script still delays the opening of the inventory for a few milliseconds, noticeable by eye. I once asked TheMrDemonized make to stack items when opening the inventory, but he refused (you can check for yourself, there is my post). And I was very glad that at last there was a kind person who did this. But it turned out that this is not the best option due to the extra delay in opening the inventory, albeit a small delay. Still, the option with the button would be better. You can make this option optional through the MCM menu.

Reply Good karma Bad karma+1 vote
ZaturaMakesMods Author
ZaturaMakesMods - - 44 comments

Sure I can do that, I'm already on it rn.
So to summarize, the next update will have :
-MCM settings
-keybind auto-stacking
-stash auto-stacking

Reply Good karma+2 votes
munja05
munja05 - - 49 comments

The game itself actually needs preventing combine and separate items. Gasballon i ****** love it, separate this bad boy in 7 stacks and overweight my character coze my masochist pretension. If someone is familiar with preventing mentioned mod like would be much appreciated to share with a rest of us scoffed players.

Reply Good karma Bad karma+1 vote
2vlado
2vlado - - 16 comments

Hi. I have a suggestion for improvement. Please expose ability to disable auto-stacking in MCM.

Description of my problem:
I have in my inventory "Purified water" with 3 uses and I want to leave the base with just 1 use of purified water and leave the remaining 2 uses in a stash at base. Currently this mod prevents me from doing that because every time I open stash, the purified water is automatically combined.

Thanks!

Reply Good karma Bad karma+1 vote
strangerism
strangerism - - 186 comments

thank you for this mod, but you should use mcm and have an option to enable/disable logging and replace all the printf with some printlog funtion that checks whether to log or not.

Currently the mod spams the console with logs every time you open the inventory
is not a big deal for casuals but for modders (who checks the console logs quite often to debug their stuff) can be an hassle

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags