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
[1.1.77] [modded] inserter stack_size_bonus = 4294967295 crash
I have mods! I guess!
Link
Link
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.