allow inserters to overfill into locked slots

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
hay_guise
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Aug 30, 2022 5:27 pm
Contact:

allow inserters to overfill into locked slots

Post by hay_guise »

TL;DR
inserters can get stuck holding an item. if they could put items into locked slots, they wouldn't (usually)

What ? (option 1)
add a boolean to allow inserters to place items into locked slots
but don't count locked slots when inserters pick up items. keep that the same as it is now

this boolean could be:
- in the UI for the container
- in the scripting API for the container
- in the prototype for the container
- in the UI for the inserter
- in the scripting API for the inserter
- in the prototype for the inserter

if i had to pick one, it'd be the scripting API for the container. it's the most flexible, without changing vanilla
Alternative
Allow a dedicated "overflow" filter for inventory slots (maybe use the "everything" virtual signal icon?), that is prioritized after other slots, and counts as locked when inserters are picking up items.
Why ?
in vanilla (or in a standalone mod that added it to the UI) it would make multi-item train stops much less of a hassle

it would also simplify how multi-item train stops are handled in mods like LTN and Project Cybersyn. those mods currently set the cargo wagon to have filtered slots, plus a few empty ones, and expect the player to use circuits to avoid overfilling. with this change, they could leave a few locked slots instead, and regular inserters would do the right thing with only a circuit to make sure a train is stopped

it would also make mods that add filterable inventories nicer (i have one called "hub ship", which makes the crashed ship's inventory filterable). you could chain filterable chests together with inserters, and have them mostly behave nicely without a mess of circuits

Gummiente27
Inserter
Inserter
Posts: 49
Joined: Mon Jul 16, 2018 2:59 am
Contact:

Re: allow inserters to overfill into locked slots

Post by Gummiente27 »

I fail to see how this is a problem for multi-item trains

mrvn
Smart Inserter
Smart Inserter
Posts: 5709
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: allow inserters to overfill into locked slots

Post by mrvn »

It would be nice if this would behave like with assemblers. The inserters activate when there are unlocked slots but then keep filling the chest with any leftovers like described.

GUI wise chests could have red (locked like now) and yellow (locked from waking up inserters) slot.

Post Reply

Return to “Ideas and Suggestions”