Force Inventory Insert


Allows fast insert and stack transfer of items into chests with limited inventory size, without having to manually click on each slot.

Utilities
30 days ago
1.1 - 2.0
3.52K
Storage

b Error: when canceling crafting

4 months ago

How did I do it: we create something in our pocket, set up a chest, impose a restriction inside, hold down the CTRL key, poke at any crafting item in the crafting queue.

Error while running event force-inventory-insert::fii-inventory-transfer (ID 200)
Unknown item name: electronic-circuit-stone
stack traceback:
[C]: in function 'get_insertable_count'
force-inventory-insert/control.lua:15: in function 'get_validated_bar'
force-inventory-insert/control.lua:98: in function <force-inventory-insert/control.lua:88>

Hmm... I double-checked on other subjects, this does not happen. The error appears when trying to cancel the crafting of the electrical circuit (craft through a stone). Mods: SE + Krastorio. If it doesn't work out again, I can provide a save.

4 months ago

I believe that's because the recipe name didn't match the item, but I shouldn't let any code run if you're trying to cancel crafting something anyway. I'll take a look when I get home!

New response