Trash Sync deprecated

by Optera

Prevents requested items being instantly trashed or overflowing into new stacks by syncing auto trash to requests when players close their inventory. Sync can be toggled by hotkey or shortcut.

Content
4 years ago
0.17 - 0.18
6
Logistics

b [0.2.2] Crash when an item name changes

4 years ago

Krastorio update changed gold to gold-ore. The first time I opened my inventory post-update, I was presented with this:

Error while running event TrashSync::on_gui_closed (ID 84)
Unknown item name: gold
stack traceback:
    __TrashSync__/control.lua:10: in function <__TrashSync__/control.lua:2>
stack traceback:
    [C]: in function '__newindex'
    __TrashSync__/control.lua:10: in function <__TrashSync__/control.lua:2>
4 years ago

Thanks for reporting.

Next version checks stored trash slots for no longer existing item references and removes them.
I was hoping migration scripts would update stored item name references. Seems like removing such items is the best I can do.

New response