Code: Select all
game.player.selected.get_transport_line(1).get_contents()
but I'm getting following error:
Code: Select all
1: Unknown key: "4"
Code: Select all
"item-name": 4
I'm running Factorio 0.16.51 (build 36654, linux64, alpha) with Bob's mods and some QoL mods, but it keeps happening on every item on belt. If you think it might be bug, not misusing, I'm happy to provide log file with modlist.