Code: Select all
game.player.auto_trash_filters = {["iron-plate"] = 20, ["copper-cable"] = 42}
Code: Select all
game.player.auto_trash_filters["iron-plate"] = 20
Code: Select all
print(game.player.auto_trash_filters["iron-plate"])
I've tried a lot of variations on this, using dot notation or character instead of player; all with the same results.
how can I modify a single entry of the table, but leave everything else?
Also what is the event for modifying player logistic/auto trash slots?