Page 1 of 1

[0.12.33] player.insert() ignores quickbar filter

Posted: Wed May 04, 2016 8:47 am
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?)

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

Posted: Tue May 24, 2016 1:54 pm
by Klonan
Thanks for the report,
I can confirm the listed behavior:
https://gfycat.com/SlightSorrowfulFly

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

Posted: Fri Jun 03, 2016 11:16 pm
by Rseding91
Fixed for 0.13.