Merging Chests

by Atria

Enables merging of multiple chests into one entity. Supports merging of arbitrary number of chests (configurable in mod settings).

Content
a day ago
0.13 - 2.0
115K
Storage

g Incompatibility with AAI containers mod

a month ago

Error while sorting items-to-place for entity prototype "WideChests_steel-chest-trashdump-10x10" (container): item-to-place "steel-chest" count (100) can't be larger than the the item stack size (50).

a month ago

Same problem here.

a month ago

Same for me.

a month ago

What other mods do you have enabled? And what max width, height and area mod settings do you have?

a month ago

I've also received this error yesterday, from swapping out mods I believe it's caused by using this mod and AAI containers and warehouses at the same time

sorry I didn't report this yesterday, I figured it would've gotten caught very quickly since AAI's fairly popular

a month ago

Confirmed at my end that it conflicts with AAI containers and warehouses. Disabling that mod let merging chests load.

a month ago

Made issue post for Earendel https://github.com/EarendelDevelopers/factorio-mods/issues/354 , but I'm not expecting fast response.

There is just incompatibility between two mods, so he's not going to fix it in "some amount of days" I'll declare the mod incomplatibility on my side.

a month ago

Confirmed at my end that it conflicts with AAI containers and warehouses. Disabling that mod let merging chests load.
thank you it works

a month ago

Проблемы с AAI Containers & Warehouses - при отключении этого мода все работает

a month ago

Да спасибо

a month ago

Add after 259 line in "data_init.lua":
MergingChests.chest_override = MergingChests.chest_override or {}
MergingChests.chest_override[entity_data.chest_name] = math.max(data.raw.item[entity_data.chest_name].stack_size, max_area)

create new file "data-final-fixes.lua":
if MergingChests and MergingChests.chest_override then
for name, size in pairs(MergingChests.chest_override) do
data.raw.item[name].stack_size = size
end
end

It's fix all conflicts.

a month ago

You should send that a PR to the git repo iZlovreD

a month ago
(updated a month ago)

This would be a workaround. For proper solution the AAI containers mod should not just set the stack_size, but also use math.max(current_stack_size, new_stack_size).

a month ago

Just wondering, why would you use math.max() that way?

Is it to eliminate datatype errors?

a month ago

The stack size shouldn't be lowered exactly because of this problem

Anyway, AAI Containers mod was updated (0.3.1) to reuse ols stack_size, so it should work now.

30 days ago

Yep, I know, I poked at Earendel about it yesterday :P

New response