eg. add a blueprint book to the "game blueprints"-frame in script.
Code: Select all
game.blueprints.add("somestring")
Code: Select all
game.blueprints.add("somestring")
This is already possible through https://lua-api.factorio.com/latest/Lua ... port_stack and https://lua-api.factorio.com/latest/Lua ... port_stack.
Regrettably that requires a stack, so it's impractical to use when all you want is the list of entities/settings. I think 0.17 was going to have a decoding operation blueprint_string → blueprint_table?Bilka wrote: ↑Mon Oct 08, 2018 11:21 amThis is already possible through https://lua-api.factorio.com/latest/Lua ... port_stack and https://lua-api.factorio.com/latest/Lua ... port_stack.
I'd love to be able to access the blueprint library via API, as I already described in detail here. Noone ever bothered to answer though...