[0.12.33] player.insert() ignores quickbar filter

This subforum contains all the issues which we already resolved.

[0.12.33] player.insert() ignores quickbar filter

Postby prg » Wed May 04, 2016 8:47 am

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
prg
Filter Inserter
Filter Inserter
 
Posts: 940
Joined: Mon Jan 19, 2015 12:39 am

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

Postby Klonan » Tue May 24, 2016 1:54 pm

Thanks for the report,
I can confirm the listed behavior:
https://gfycat.com/SlightSorrowfulFly
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 2697
Joined: Sun Jan 11, 2015 2:09 pm

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

Postby Rseding91 » Fri Jun 03, 2016 11:16 pm

Fixed for 0.13.
If you want to get ahold of me I'm almost always on IRC.
My Github page with my mods: https://github.com/Rseding91?tab=repositories
Find my mods on the mod portal: https://mods.factorio.com/mods/Rseding91
Rseding91
Factorio Staff
Factorio Staff
 
Posts: 5914
Joined: Wed Jun 11, 2014 5:23 am


Return to Resolved Problems and Bugs

Who is online

Users browsing this forum: No registered users and 1 guest