- Open the character gui, switch to the Auto Trash tab
Code: Select all
/c game.player.auto_trash_filters = {["wood"] = 0, ["iron-plate"] = 5}; game.print(serpent.line(game.player.auto_trash_filters))
- Displayed filters are not updated, changing to the logistics tab and back to Auto Trash also doesn't update, although the game.print says they have been set (and robots come to pick it up without reopening the gui)
- Close the gui and open it again: filters are displayed
Doing the same with the request slots works as expected:
Code: Select all
/c game.player.character.set_request_slot({name="iron-plate", count = 100}, 1);
game.player.character.set_request_slot({name="copper-plate", count = 150}, 2)
factorio-current.log