Read access to Blueprint Book inventory_size
Posted: Mon Jul 25, 2016 6:30 am
/c game.player.print(game.item_prototypes["blueprint-book"].inventory_size)
Error: LuaItemPrototype doesn't contain key inventory_size.
My use case: I want to automatically craft a blueprint book filled with blueprints, but only if the player has enough advanced circuits to afford it. Currently I don't know how many advanced circuits I need until I craft a blueprint book!
Error: LuaItemPrototype doesn't contain key inventory_size.

My use case: I want to automatically craft a blueprint book filled with blueprints, but only if the player has enough advanced circuits to afford it. Currently I don't know how many advanced circuits I need until I craft a blueprint book!