Container free space signal

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Koub
Global Moderator
Global Moderator
Posts: 8117
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Container free space signal

Post by Koub »

[Koub] Merged several threads into an older one with the same suggestion.
Koub - Please consider English is not my native language.
Loren Pechtel
Burner Inserter
Burner Inserter
Posts: 17
Joined: Mon Aug 19, 2024 9:56 pm
Contact:

Re: Container free space signal

Post by Loren Pechtel »

I came looking for this with a different use case: mining platforms. Resources are coming in, if space runs out you only want to keep the best ones. Sitting in orbit you don't collect a lot, but if you're moving you can't drop them until you get someplace. Full, have power: upcycling is effectively free. But such a system has to know when it should throw stuff overboard. A slew of combinators (why can't we count total quantity of all qualities??) or a simple check of free space?
Ruuttu
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sat Jun 09, 2018 6:50 pm
Contact:

Re: Container free space signal

Post by Ruuttu »

+1 to reading the amount of free space from chests.

For supply trains, I want to set train stations to automatically turn off when the chests are full of supplies. I have 48 chests of different items and amounts, and setting up a circuit for determining if all of them are full is very tedious. I have to "read contents" and compare the item counts to a premade list, and any change to what I put in the chests has to be reflected in multiple places. I just want to know if the chests are full or not -- it doesn't need to be so difficult.

And it's not just a convenience thing. I want to try and create a machine which will automatically construct whatever random products are missing (btw, what a shame the "unfulfilled logistics requests" on roboport doesn't report ghosts missing building material). This involves buffering items in chests for efficiency, and what's needed keeps changing. I need a way to start emptying the chest when it's getting too full, and currently that is simply impossible in cases where I can't hardcode what items I expect the chest to contain.

For my needs, one signal which outputs the "space taken" intuitively as a percentage (100 = full) would suffice.
ignatio
Fast Inserter
Fast Inserter
Posts: 103
Joined: Mon Jun 27, 2016 3:59 pm
Contact:

Re: Container free space signal

Post by ignatio »

Another vote on this (specifically, output the number of empty slots in a container).

My current use case is to balance chests containing ores of mixed qualities. Just counting them isn't good enough since they won't mix in the same stacks.

However I've run into this many times for all kinds of logistics contraptions, both in old vanilla, Space Age, and various mods. Trying to work around it can be fun to some extent, but I think it'd allow more fun builds than it'd take away.
macdjord
Fast Inserter
Fast Inserter
Posts: 204
Joined: Fri Feb 22, 2013 4:26 am
Contact:

Re: Container free space signal

Post by macdjord »

+1
Post Reply

Return to “Ideas and Suggestions”