Page 1 of 1

Read Blueprint Content

Posted: Sun Mar 24, 2019 1:16 pm
by Tolot
Hello @all,

I am having a question:

I want to fill a chest with all the items in a blueprint or send the content to the circuit network. Is there any way to do this?

Thanks in advance.

Re: Read Blueprint Content

Posted: Sun Mar 24, 2019 5:45 pm
by DaleStan
This feels like something that Recursive Blueprints should be able to do, but I don't think it can directly.

Zebulah has an idea here that seems like it would work, though it won't be particularly quick.

Re: Read Blueprint Content

Posted: Sun Mar 24, 2019 5:46 pm
by steinio
Have a look at how Fast Filter Fill does it.
https://mods.factorio.com/mod/fast-filter-fill

Code: Select all

blueprint.get_blueprint_entities()