Repro command (imports a book containing an empty blueprint)
Code: Select all
/c game.player.cursor_stack.import_stack("0eNqrVkrKKU0tKMrMK4lPys/PVrKqRogUK1lFI3FBcpklqblKVkhiOkplqUXFmfl5SlZGFoYm5pZG5iYGxuZGJha1OkqZeSmpFUpWBrWxOhg6dcHW6SglJpdklqXGw5TiMa8WAESYOOY=") game.player.cursor_stack.get_inventory(defines.inventory.item_main)[1].set_stack("blueprint")