[0.18.38] LuaInventory.insert() broken on full blueprint-book

This subforum contains all the issues which we already resolved.
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

[0.18.38] LuaInventory.insert() broken on full blueprint-book

Post by justarandomgeek »

Code: Select all

/c game.player.cursor_stack.set_stack('blueprint-book') game.player.cursor_stack.get_inventory(defines.inventory.item_main).insert('blueprint')
produces an empty book, rather than the expected book with one print.

Inserting does appear to work when there is already a print in the book and there are "gaps" before the existing print(s) to insert into, but not when the book is "full"
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.18.38] LuaInventory.insert() broken on full blueprint-book

Post by kovarex »

Thanks for the report, it is now fixed for the next release.
Post Reply

Return to “Resolved Problems and Bugs”