[2.1] insert_plan jank with rocket silo inventory

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
OhSnap
Burner Inserter
Burner Inserter
Posts: 18
Joined: Sat Sep 06, 2025 6:47 pm
Contact:

[2.1] insert_plan jank with rocket silo inventory

Post by OhSnap »

Rocket silo inventory size now scales dynamically with contents, so I believe for the first time the contents of an insert_plan for an item-request-proxy can point at non-existant indices. You can have a rocket silo look like this:
Screenshot from 2026-07-19 17-37-00.png
Screenshot from 2026-07-19 17-37-00.png (21.15 KiB) Viewed 106 times
and bots will happily fill the exact slots, resizing the inventory as needed, allowing gaps in between. The api does not allow that, inventory.resize() doesn't work.
You can insert new items, but not at the indices of the requests. I believe this can be worked around by inserting and then shifting the contents of the insert-plan around so they don't overlap with what was just inserted in case the item inserted is different to the ghost in the slot, but this feels very janky and might look weird for players.
The easiest solution I believe would be supporting inventory.resize() on rocket inventories, but I am fine with other solutions or a confirmation that it stays how it is and jank is the intended solution.
Post Reply

Return to “Modding interface requests”