Simple Recursive Blueprints


Continue a snap-to-grid blueprint one placement at a time when its direction marker is built.

Utilities
a month ago
2.1
6
Owner:
Qweasd123tg
Source:
https://github.com/Qweasd123tg/simple...
Homepage:
N/A
License:
MIT
Created:
a month ago
Latest Version:
0.1.8 (a month ago)
Factorio version:
2.1
Downloaded by:
6 users

Simple Recursive Blueprints

Continue a snap-to-grid blueprint one copy at a time with a single direction marker. No combinators, chests, or circuit commands are required.

Source code and issue tracker: GitHub

How to use

  1. Craft a Recursive blueprint marker from one iron plate.
  2. Put exactly one marker inside the block you want to repeat and rotate its arrow toward the next copy.
  3. Create a blueprint of the whole block.
  4. Enable Snap to grid in the blueprint. Its grid size is the distance between copies.
  5. Confirm and place the blueprint. The mod activates it automatically; Ctrl+Shift+B is only an optional manual validation shortcut.
  6. When the current copy's marker is physically built, it is consumed and the next copy is placed.

The marker can be built by a player, construction robots, or a space platform. Keep marker items available to the construction network or platform hub.

Finite or infinite chains

  • With no suffix, the chain continues indefinitely.
  • End the blueprint label with #repeat=N to create exactly N additional copies.
  • #repeat=100 creates 100 copies after the initially placed one.
  • #repeat=0 creates no additional copies.

Placement behavior

  • The visible marker arrow always selects the continuation direction.
  • Rotation and horizontal, vertical, or combined reflection of the first placement are preserved by every recursive copy.
  • On planets, missing chunks are requested asynchronously without revealing the fog of war.
  • On space platforms, the blueprint must contain the required foundation and the hub must supply all construction items.
  • Trees and rocks may be marked for deconstruction, but existing player buildings are not removed automatically.

Important limitations

  • The blueprint must contain exactly one marker and use a positive snap-to-grid size.
  • The grid step in the continuation direction must be at least as large as the blueprint on that axis, otherwise copies would overlap.
  • A triggered marker is consumed even if a later placement fails.
  • Circuit wires inside a copy are preserved, but wires are not automatically connected across copy boundaries.
  • A blueprint imported into another save must be activated again because the complete recursive plan is stored in the save.

Russian / Русский

Мод продолжает чертёж с привязкой к сетке по направлению единственного маркера-стрелки. Маркер каждой построенной копии расходуется и создаёт следующую. Без суффикса цепочка бесконечна; суффикс имени #repeat=N задаёт ровно N дополнительных копий. Поворот и зеркальное отражение первой установки сохраняются во всей цепочке. Подробная русская инструкция находится в README внутри архива.