The line that is causing the problem is
Code: Select all
game.players[1].force.item_production_statistics.input_counts[item]
As an attachment is the save in question and the original save. (The " - kopie" is the modified one)
Code: Select all
game.players[1].force.item_production_statistics.input_counts[item]