[2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
protocol_1903
Filter Inserter
Filter Inserter
Posts: 275
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

[2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work

Post by protocol_1903 »

As in title. A loader prototype with the flags `wait_for_full_stack` and `adjustable_belt_stack_size` will not throw an error, even though adjusting the stack size is not doable in-game but waiting for the full stack is. This is counterintuitive, as the game accepting these values implies that they aren't mutually exclusive, but then when the player opens the entity they can't adjust the stack size. I see this as one of two issues:
  • This is intended behaviour and an error is missing (or exists but is not properly catching the mistake)
  • This is not intended, and the player should be able to adjust the stack size and force it to make full stacks
For now I'm going to assume the former, but I would love for the latter to be true if possible. So this is a mixed bug report and feature request, but I can definitely guess that it's not possible given the lack of previous implementation.
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4043
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work

Post by boskid »

Cannot reproduce any issues.

Code: Select all

data.raw["loader"]["loader"].wait_for_full_stack = true
data.raw["loader"]["loader"].adjustable_belt_stack_size = true
data.raw["loader"]["loader"].max_belt_stack_size = 4
07-23-2025, 09-13-33.png
07-23-2025, 09-13-33.png (278.04 KiB) Viewed 173 times
protocol_1903
Filter Inserter
Filter Inserter
Posts: 275
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: [2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work

Post by protocol_1903 »

Apologies, some script had been obstructing my view of the issue.

Using a script to change the value of the override stack size causes an error. That's the issue, not it quasi-working.
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4043
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work

Post by boskid »

I am not going to play a guessing game, if you want to get an answer, please provide a reproduction where i can observe what is not working.

When adding "wait for full stack" i was aware that belt stack size can be changed at runtime, there is a test covering this exact use case and loader is required to wake up when threshold is reduced (for example from 4 down to 3 when there were 3 items in the source that could not be moved with previous configuration but can be moved with new configuration). Given that this test passes and it covers what you are now describing as not working, you should understand my unwillingness for guessing.
Post Reply

Return to “Pending”