expose max_belt_stack_size for inserters at runtime stage
-
minecrafter8001
- Manual Inserter

- Posts: 2
- Joined: Fri Sep 29, 2023 9:15 am
- Contact:
expose max_belt_stack_size for inserters at runtime stage
we can access this for loaders (loader_max_belt_stack_size), so why not inserters?
- protocol_1903
- Filter Inserter

- Posts: 453
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: expose max_belt_stack_size for inserters at runtime stage
I believe that's because inserter's stacking abilities are derived from the currently researched stack size and the inserter's hand size. If it's holding 6 items and the stack size is 2 it will create stack sizes of 2. It doesn't make sense to set the stack size via script/on the inserters like you can on loaders
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
-
minecrafter8001
- Manual Inserter

- Posts: 2
- Joined: Fri Sep 29, 2023 9:15 am
- Contact:
Re: expose max_belt_stack_size for inserters at runtime stage
im talking about reading the value, not setting itprotocol_1903 wrote: Tue Jan 13, 2026 8:33 pm I believe that's because inserter's stacking abilities are derived from the currently researched stack size and the inserter's hand size. If it's holding 6 items and the stack size is 2 it will create stack sizes of 2. It doesn't make sense to set the stack size via script/on the inserters like you can on loaders
loader_max_belt_stack_size is read only as well because its from LuaEntityPrototype not LuaEntity
Last edited by minecrafter8001 on Tue Jan 13, 2026 8:37 pm, edited 1 time in total.
- protocol_1903
- Filter Inserter

- Posts: 453
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: expose max_belt_stack_size for inserters at runtime stage
Gotcha, sorry i had the wrong idea. +1
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
Re: expose max_belt_stack_size for inserters at runtime stage
Added LuaEntityPrototype::inserter_max_belt_stack_size read for the next release.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
