Page 1 of 1

Filtered Chests Like Train Wagons

Posted: Thu Mar 04, 2021 7:22 pm
by ThatGuyStyx
Would it be possible to filter chests in the same way you can train wagons?

This would be useful for when using a single chest to store multiple items, and preventing one item from gradually building up making no space for others.

Re: Filtered Chests Like Train Wagons

Posted: Thu Mar 04, 2021 9:54 pm
by Ranakastrasz
I second this. Would be great for sorting/storage hybrid systems especially.

Re: Filtered Chests Like Train Wagons

Posted: Fri Mar 05, 2021 7:42 am
by ssilk
This suggestion is a mod. It has very low chance to get into vanilla.
:) should I move it to modding ideas?

Re: Filtered Chests Like Train Wagons

Posted: Fri Mar 05, 2021 8:44 am
by Optera
Seems like a legit base feature request to me.

Sure, if it became a base feature filters should be exposed in the API.

Re: Filtered Chests Like Train Wagons

Posted: Fri Mar 05, 2021 12:48 pm
by ThatGuyStyx
ssilk wrote:
Fri Mar 05, 2021 7:42 am
This suggestion is a mod. It has very low chance to get into vanilla.
:) should I move it to modding ideas?
What mod does this? Would be nice to have it in vanilla.

Re: Filtered Chests Like Train Wagons

Posted: Sat Mar 06, 2021 9:32 am
by ssilk
Hm, I shouldn’t post, when I’ve no time. Sorry.

@Optera: yes, should be made possible via Lua-Api. Mods should be made possible, because now you need a modded wagon on rails... :roll: But I think the devs had reasons to not have storage-chests with 48 filter options in vanilla...

@ThatGuyStyx There is no mod. I meant, that this suggestion should be implemented as mod, and not in vanilla.

More arguments: the size of the chests is already pretty small, space is no real issue in Factorio, so I don’t see a problem with having a chest for each item. And for the case you need it: it has a pretty deep puzzle factor do do it without filters; there is more possible as you might think on first view. ;)

Re: Filtered Chests Like Train Wagons

Posted: Sat Mar 06, 2021 9:24 pm
by Ranakastrasz
True enough. You have to determine stack size of all types of items that might end up in the chest, and use that to determine how full a chest will end up being, use that as a limiter to avoid the chest hitting 100% capacity, so as to ensure there is always room for inserters to insert one of the other item types. It was a pain in the ass for ores, and I imagine it is drastically worse for things with different stack caps.