Page 1 of 1

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

Posted: Thu Jul 30, 2020 4:47 pm
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"

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

Posted: Fri Jul 31, 2020 2:10 pm
by kovarex
Thanks for the report, it is now fixed for the next release.