What I did:
data.raw["inserter"]["burner-inserter"].stack_size_bonus = 4294967295
What I expected:
Error: "stack_size_bonus must be smaller than or equal to 254.000000" (1 + 254) = 255, same error writing the force inserter bonus
What happened:
situation 1)
inserter shows 0 + 0 stack size
Open inserter:
3776.774 Error Util.cpp:83: Can't set min > max value.
moves item stack size at a time
situation 2)
inserter has stack_size bonus, shows 0 + 2
no error, moves two items.
Additionally:
data.raw["inserter"]["burner-inserter"].stack_size_bonus = 4294967294
No error, in-game shows 4294967295 + 0, moves 255 items, slider works from 1-255
[1.1.77] [modded] inserter stack_size_bonus = 4294967295 crash
-
Honktown
- Smart Inserter

- Posts: 1079
- Joined: Thu Oct 03, 2019 7:10 am
- Contact:
[1.1.77] [modded] inserter stack_size_bonus = 4294967295 crash
I have mods! I guess!
Link
Link
- boskid
- Factorio Staff

- Posts: 4793
- Joined: Thu Dec 14, 2017 6:56 pm
- Contact:
Re: [1.1.77] [modded] inserter stack_size_bonus = 4294967295 crash
Thanks for the report. In 1.1.78 the InserterPrototype::stack_size_bonus will only accept values from 0 to 255.