i'm just trying to fix a bug in my mod regarding blueprint-books that are stored in the library.
I try to get the blueprint-book that i have picked from my shortlink-bar in a lua script.
The following works correctly, if the book is stored in my inventory:
Code: Select all
local blueprint_book = player.cursor_stack
Code: Select all
<Empty LuaItemStack>
| "valid": true
| "valid_for_read": false
Code: Select all
player.get_blueprint_entities()
This also does not return the complete information stored in the blueprint...
Any help is welcome.