[0.12.33] wrong item in filtered quickbar slot
Posted: Wed May 04, 2016 4:58 pm
when changing the cursor stack around.
Set a quickbar filter for let's say basic inserter. Hold an inserter in the cursor stack, press 'q' to clear the stack and the inserter goes where it belongs.
Now hold the inserter again and change the cursor stack to something else:
Press 'q' and you have an iron plate in a quickbar slot with a filter set for inserters.
It's probably not intended that this is possible, even with scripting, since calling set_stack on a filtered slot with a wrong item returns false and does not set the item.
Set a quickbar filter for let's say basic inserter. Hold an inserter in the cursor stack, press 'q' to clear the stack and the inserter goes where it belongs.
Now hold the inserter again and change the cursor stack to something else:
Code: Select all
game.player.cursor_stack.set_stack{name="iron-plate"}
It's probably not intended that this is possible, even with scripting, since calling set_stack on a filtered slot with a wrong item returns false and does not set the item.