get blueprint-book from library link
Posted: Fri Jan 29, 2021 10:14 pm
Hi there,
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:
But if the book is stored in the library, i only get an
Is there another way to get to the actual blueprint book behind that?
seems to only return the active blueprint - but I'd like to get them all.
This also does not return the complete information stored in the blueprint...
Any help is welcome.
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.