Anti-spoiling belt terminator.

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
BlakeMW
Filter Inserter
Filter Inserter
Posts: 952
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Anti-spoiling belt terminator.

Post by BlakeMW »

On Gleba there's this issue, where inserters refuse to take from the end of a belt, particularly exacerbated by using Stack Inserters, here's a screenshot:
spoilage makes me sad.jpg
spoilage makes me sad.jpg (185.13 KiB) Viewed 822 times
I've circled the nutrient stacks which the inserter prefers to take from and x'd the ones it refuses to take. Changing the orientation of the belt can help but I can't find any belt orientation where it'll grab the very last one and even if there is some very particular belt and inserter orientation, I don't want to be constrained in such a way (later edit: Found one: A Stack Inserter pulling from a corner can clear the belt).

Also inserters stubbornly ignore the "freshness" filter settings when grabbing from the belt, it seems that setting only applies to Chests.

The result: the last nutrients on the belt inevitably spoil as the cruel heartless inserter shuns them until they spoil and the nice spoilage inserter sends them on their way to a better place where they'll be appreciated (aka the Heating Tower).

Hence the anti-spoiling belt terminator:
illbeback.jpg
illbeback.jpg (131.78 KiB) Viewed 822 times
It's literally just the belt wired to anything, here I use a small power pole but it doesn't matter what it's wired to, as it's reacting to its own signal, it could even be wired to another belt. It only allows one stack of nutrients into the belt giving the inserter no choice in the matter.

This means spoiling only happens when something goes wrong rather than it being an inevitability.

Very trivial, quite meaningless in terms of improving the performance of the build, but satisfying to not have that last piece of nutrients spoiling away and to enjoy perfect freshness management. Also, it's a zero cost fix, the automation wire is free and if the belt is wired to something that is going to be there anyway, it takes up no more space.

This issue seems to affect any situation where an inserter grabs from the end of a belt but particularly when stacks are involved: the genericized version uses "Everything = 0", it doesn't need to be specific.
dragon_gawain
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Sun Dec 19, 2021 11:37 pm
Contact:

Re: Anti-spoiling belt terminator.

Post by dragon_gawain »

Huh, that's a fascinating tidbit of inserter trivia, and a pretty elegant (and very simple!) to the problem!
Now excuse me for a moment as I put this in a few places in my Gleba base...
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 165
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: Anti-spoiling belt terminator.

Post by LCStark »

Very interesting. I've used a similar setup in my last modded run before 2.0 for a different thing, but I didn't think to try it for the nutrient anti-spoilage. :D I've been wiring the belt to the inserter that takes from it, since it's gonna be there anyway. Made me wish we could just have a connect button for the belt to connect it to itself, kinda like we can connect it to the logistics network.
User avatar
MBas
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Fri Jan 06, 2017 12:57 pm
Contact:

Re: Anti-spoiling belt terminator.

Post by MBas »

Could you explain why you want to do that? What is the issue with having two instances of spoilage at the end of the belt? Or is it just an aesthetic thing? For example, I am not using inserters for this at all. I always prioritize splitters, as they consistently operate at full belt speed. And its free of energy, free of entity calculation (in case you are worring about cpu). All win.

I actually have very few places where nutrients "just end." The Gleba philosophy is all about keeping everything flowing and ensuring nothing goes to stuck—burning everything unused :D. With a higher fresh input, you get a higher fresh output. You should aim for science packs with an output freshness of 94% or more.
BlakeMW
Filter Inserter
Filter Inserter
Posts: 952
Joined: Thu Jan 21, 2016 9:29 am
Contact:

Re: Anti-spoiling belt terminator.

Post by BlakeMW »

MBas wrote: Mon Nov 18, 2024 11:20 pm Could you explain why you want to do that? What is the issue with having two instances of spoilage at the end of the belt? Or is it just an aesthetic thing?
Yes.
I actually have very few places where nutrients "just end." The Gleba philosophy is all about keeping everything flowing and ensuring nothing goes to stuck—burning everything unused :D. With a higher fresh input, you get a higher fresh output. You should aim for science packs with an output freshness of 94% or more.
There are zero recipes where the freshness of nutrients impact the freshness of the output. Pentapod eggs and fish both come out 0% spoiled, while Biochambers and artificial soil aren't subject to spoilage.
User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 279
Joined: Mon Feb 11, 2013 7:25 am
Contact:

Re: Anti-spoiling belt terminator.

Post by Narc »

BlakeMW wrote: Tue Nov 05, 2024 9:00 am [...]if there is some very particular belt and inserter orientation, I don't want to be constrained in such a way (later edit: Found one: A Stack Inserter pulling from a corner can clear the belt).
I just use a looping belt for my nutrients. All the contents of the belt will (eventually) go past all the inserters taking from the belt, I can output spoilage onto the same belt, and a filtered splitter takes spoilage away off the belt. It seemed like a simpler option, especially since freshness of nutrients doesn't matter.
Post Reply

Return to “Combinator Creations”