- 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
[2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work
-
- 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
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:
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.
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.
Re: [2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work
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
-
- 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
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.
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.
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.
Re: [2.0.60] Loaders with wait_for_full_stack and adjustable_belt_stack size are valid but do not work
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.
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.