[0.18.38] LuaInventory.insert() broken on full blueprint-book
Posted: Thu Jul 30, 2020 4:47 pm
Code: Select all
/c game.player.cursor_stack.set_stack('blueprint-book') game.player.cursor_stack.get_inventory(defines.inventory.item_main).insert('blueprint')
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"