To reproduce:
- Open logistics tab
Code: Select all
/c game.player.set_personal_logistic_slot(10, {name = "iron-plate", min = 100})
Code: Select all
/c game.player.set_personal_logistic_slot(31, {name = "iron-plate", min = 100})
- Close and open gui, item is shown in slot 31
Code: Select all
/c game.player.set_personal_logistic_slot(10, {name = "iron-plate", min = 100})
- Close and open gui, item is shown in slot 10
A bit more testing showed that appears to only not work as expected when setting the item forces Factorio to add a new row to the gui. Setting another item at slot 40 and then repeating the commands works as expected.
Same issue when using set_vehicle_logistic_slot on the spidertron