[2.1] insert_plan jank with rocket silo inventory
Posted: Sun Jul 19, 2026 3:53 pm
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:
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.
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.