0-to-inf logistic request causes items to be trashed if Trash Unrequested is enabled

Things that has been reported already before.
nzer
Inserter
Inserter
Posts: 38
Joined: Sat Jun 24, 2023 11:30 pm
Contact:

0-to-inf logistic request causes items to be trashed if Trash Unrequested is enabled

Post by nzer »

With personal logistic requests, at least, setting a request to have a min of 0 and a max of inf while Trash Unrequested is enabled causes all items of that type to be moved to trash slots. The expected behavior in this case is that the items would not be trashed because they are part of an active logistic request.

I've verified this is present in 2.0.20, but it was present before that as well.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2964
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: 0-to-inf logistic request causes items to be trashed if Trash Unrequested is enabled

Post by boskid »

I am considering this a duplicate of a Not a bug: 117306.

Explanation given to me is that if you configure request upper limit to "Inf", it should be interpreted as "trashing not configured" and so when using Trash unrequested it is supposed to trash anything above the request threshold. I cannot say i agree with this explanation but this is what was requested and it is covered by tests and the gui respects that by showing only 1 number when a request slot is configured with no upper bound.
nzer
Inserter
Inserter
Posts: 38
Joined: Sat Jun 24, 2023 11:30 pm
Contact:

Re: 0-to-inf logistic request causes items to be trashed if Trash Unrequested is enabled

Post by nzer »

I strongly disagree and request this be changed.

The way logistic requests work is that items above the configured max get trashed. The way Trash Unrequested works is that items without an active request get trashed.

If I create a 0-to-inf request, I am requesting between 0 and infinity of the item be in my inventory. Trash Unrequested should not apply, because I have specifically created a request for the item, and normal trashing should not apply because no matter how much of the item I have in my inventory it is still below the configured max.

Put simply, inf should not be interpreted to mean "trashing not configured." It should be interpreted to mean "trashing not allowed." To interpret it any other way violates the way the system is supposed to work.

This isn't some niche use case either. It's perfectly legitimate to want to exempt a particular item from Trash Unrequested without actively requesting a specific amount of it. If what the player wants is to trash any amount above 0 there are already multiple other ways to do that which frankly make more intuitive sense than a 0-to-inf request.

I can't see a reason why 0-to-inf needs to work this way. The effects are purely negative.
Kyralessa
Filter Inserter
Filter Inserter
Posts: 568
Joined: Thu Sep 29, 2016 5:58 pm
Contact:

Re: 0-to-inf logistic request causes items to be trashed if Trash Unrequested is enabled

Post by Kyralessa »

I was about to argue, but when I read more closely, I see that you're talking about 0 to infinity, not [some other number] to infinity.

So yeah, I agree. 0 to infinity should mean "any number of these in my inventory is OK with me" and nothing should be trashed (unless I explicitly trash it myself).

If I want all of an item trashed, I would do that by deleting the request completely.
Post Reply

Return to “Duplicates”