[0.12.33] player.insert() ignores quickbar filter

This subforum contains all the issues which we already resolved.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

[0.12.33] player.insert() ignores quickbar filter

Post by prg »

under certain circumstances that don't fit into the title.

Set a quickbar filter for let's say basic inserter. Run

Code: Select all

game.player.insert{name="basic-inserter", count=5}
That will put five inserters into the filtered slot if there's enough free space. Great.

Now hold those inserters in the cursor stack and run

Code: Select all

game.player.cursor_stack.clear()
game.player.insert{name="basic-inserter", count=5}
The inserters will be placed in a different slot, the filtered slot will remain empty.

Expected outcome: the inserters go where they belong.

(Is there a better way of returning the items in the cursor stack to the inventory?)
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5266
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.12.33] player.insert() ignores quickbar filter

Post by Klonan »

Thanks for the report,
I can confirm the listed behavior:
https://gfycat.com/SlightSorrowfulFly
Rseding91
Factorio Staff
Factorio Staff
Posts: 14247
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.12.33] player.insert() ignores quickbar filter

Post by Rseding91 »

Fixed for 0.13.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”