Watch it in action:
Or download the map: 13x9-micro-factory.zip
The factory loops through 32 blueprints to produce all 7 science packs.
Here is the basic circuit design used to control it.
Tick 1: The construction trigger (decider combinator) detects that the supply of items is full, and outputs a constuction signal.
Tick 2: The deconstruction trigger (inserter) detects the construction signal, and removes an item from the chest.
Tick 3: The inserter outputs a 1-tick pulse of its hand contents, which is a construction robot, to the deployer chest with the deconstruction planner.
Tick 4: The construction signal stays on, but the deconstruction signal turns off.
The two deployer chests from Recursive Blueprints read the signals and apply the deconstruction planner and blueprint book on top of the factory.
The rocket silo blueprint operates with very limited space, so I use some tricks to reduce the circuit count.
- Construction settings combinator is removed. The settings are construction-robot=1, which is provided by the deconstruction trigger. This builds the first blueprint in the blueprint book. The rocket silo blueprint is strategically located at the end of the blueprint book.
- Deconstruction settings combinator is removed. The settings are W=3, which is provided by the roboport.
- Construction trigger is removed.
- Deconstruction chest is removed. The construction robot is picked up out of the roboport.